| 1 |
Change notes from older releases. For current info, see RELEASE-NOTES-1.43. |
| 2 |
|
| 3 |
= MediaWiki 1.42 = |
| 4 |
|
| 5 |
PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/ |
| 6 |
PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/ |
| 7 |
PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/ |
| 8 |
|
| 9 |
== MediaWiki 1.42.3 == |
| 10 |
|
| 11 |
This is a maintenance release of the MediaWiki 1.42 branch. |
| 12 |
|
| 13 |
=== Changes since MediaWiki 1.42.2 === |
| 14 |
* Fix issue related to backport of AbuseFilter patch for T372998. |
| 15 |
|
| 16 |
== MediaWiki 1.42.2 == |
| 17 |
|
| 18 |
This is a security and maintenance release of the MediaWiki 1.42 branch. |
| 19 |
|
| 20 |
=== Changes since MediaWiki 1.42.1 === |
| 21 |
* Localisation updates. |
| 22 |
* Parser: Deprecate use of mOutput before initialization. |
| 23 |
* (T365565) PrefixSearch: Make sure $prefix is a string. |
| 24 |
* Clarify that $wgAllowCrossOrigin only applies to REST. |
| 25 |
* composer.json: Add 5 more ext- to suggests. |
| 26 |
* resources: Fix 404 Not Found for foreign Financial-Times/polyfill-library. |
| 27 |
* ResourceLoader: Upgrade wikimedia/less.php to 4.4.1. |
| 28 |
* SpecialExport: Prevent passing null to strtolower. |
| 29 |
|
| 30 |
Additionally, some language support improvements which went out in 1.42.0 were |
| 31 |
not noted; they are included here for completeness: |
| 32 |
|
| 33 |
* (T343865) Added language support for Pu–Xian Min (Simplified Han script) |
| 34 |
(cpx-hans). |
| 35 |
* (T343865) Added language support for Pu–Xian Min (Traditional Han script) |
| 36 |
(cpx-hant). |
| 37 |
* (T284043) Added language support for Manchu (mnc). |
| 38 |
* (T284043) Added language support for Manchu (Mongolian script) (mnc-mong). |
| 39 |
* Added language converter for Central Moroccan Tamazigh (zgh). |
| 40 |
|
| 41 |
== MediaWiki 1.42.1 == |
| 42 |
|
| 43 |
This is a maintenance release of the MediaWiki 1.42 branch. |
| 44 |
|
| 45 |
=== Changes since MediaWiki 1.42.0 === |
| 46 |
* Localisation updates. |
| 47 |
* Name the PagerTools array entries to allow hooks to unset them. |
| 48 |
|
| 49 |
== MediaWiki 1.42.0 == |
| 50 |
|
| 51 |
=== Changes since MediaWiki 1.42.0-rc.0 === |
| 52 |
* Localisation updates. |
| 53 |
* wrapOldPasswords: Improve progress output and decrease batch size. |
| 54 |
* (T365060) Serialization test cases: fix filename after ParserOutput |
| 55 |
namespacing. |
| 56 |
* Use virtual domain when running update maintenance scripts. |
| 57 |
* (T361367) ApiFeedWatchlist: Fix handling of array parameters. |
| 58 |
* (T366130) EncryptedPassword: Store default parameters as strings. |
| 59 |
|
| 60 |
== MediaWiki 1.42.0-rc.0 == |
| 61 |
|
| 62 |
== Upgrading notes for 1.42 == |
| 63 |
Don't forget to always back up your database before upgrading! |
| 64 |
|
| 65 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 66 |
oldest supported upgrading version, MediaWiki 1.35. |
| 67 |
|
| 68 |
Some specific notes for MediaWiki 1.42 upgrades are below: |
| 69 |
* MediaWiki 1.42 requires PHP 8.1 or above (up from 7.4) (T359868). |
| 70 |
* MediaWiki now requires Composer 2.x, and any related (vendor) files generated |
| 71 |
by Composer must be generated by Composer 2.x. Composer 1.x is mostly end of |
| 72 |
life by upstream, and using it will result in slower actions when downloading |
| 73 |
and installing packages. See the upstream blog post at |
| 74 |
https://blog.packagist.com/deprecating-composer-1-support/ for further |
| 75 |
information. |
| 76 |
|
| 77 |
For notes on 1.41.x and older releases, see HISTORY. |
| 78 |
|
| 79 |
=== Configuration changes for system administrators in 1.42 === |
| 80 |
* Composer 1.x is no longer supported, and can no longer be used with MediaWiki. |
| 81 |
|
| 82 |
==== New configuration ==== |
| 83 |
* $wgMicroStashType: This setting allows for control of the object cache backend |
| 84 |
for the MicroStash service. |
| 85 |
* $wgEditRecoveryExpiry: This setting sets the number of seconds for which to |
| 86 |
keep edit recovery data after each edit is stored. |
| 87 |
* $wgDjvuUseBoxedCommand and $wgDjvuShell: The first is a temporary flag to |
| 88 |
control whether or not to use BoxedCommand when wrapping DejaVu rendering, and |
| 89 |
the second sets the command to call if so. |
| 90 |
* $wgConditionalUserOptions: This setting makes it possible to define which user |
| 91 |
properties have defaults varying by user, without growing the user_properties |
| 92 |
table. The typical use-case is to enable a feature only for users created |
| 93 |
after a certain date when rolling out features on large wiki farms. |
| 94 |
* $wgGrantRiskGroups: This setting controls the risk levels for each grant, used |
| 95 |
to indicate on various UIs which grants should be considered risky. (T290790) |
| 96 |
* $wgTempAccountCreationThrottle: This setting is like AccountCreationThrottle, |
| 97 |
but to be used for managing temporary account creations. |
| 98 |
|
| 99 |
==== Changed configuration ==== |
| 100 |
* $wgAutoCreateTempUser: This setting (in active development), which configures |
| 101 |
automatic 'temporary' user creation on page save, has had two changes: |
| 102 |
- it now supports multiple match patterns on the 'matchPattern' key; and |
| 103 |
- it now uses a different format for deciding how to label temporary accounts; |
| 104 |
if your wiki used temporary accounts before 1.42, you will need to override |
| 105 |
the configuration value to also match the old format of *$1. |
| 106 |
* $wgLogActionsHandlers: This setting, which configures handlers for different |
| 107 |
log actions, is now ObjectFactory compatible. |
| 108 |
* $wgBotPasswordsCluster and $wgBotPasswordsDatabase: These settings have been |
| 109 |
deprecated; use $wgVirtualDomainsMapping['virtual-botpasswords'] instead. |
| 110 |
* $wgMainPageIsDomainRoot: This setting is no longer considered experimental. |
| 111 |
|
| 112 |
==== Removed configuration ==== |
| 113 |
* $wgDisableCookieCheck: Removed without deprecation. |
| 114 |
* $wgStatsCacheType: Removed without deprecation. Set $wgMicroStashType instead. |
| 115 |
* $wgJobSerialCommitThreshold: Removed without deprecation. Any setups using |
| 116 |
this config will perform just fine, but might be less performant. |
| 117 |
* $wgLogoHD: Deprecated since 1.35. Use $wgLogo instead. |
| 118 |
* $wgContentHandlerTextFallback: Deprecated since 1.37. No longer customizable. |
| 119 |
* $wgSquidPurgeUseHostHeader: Deprecated since 1.33. No longer customizable, and |
| 120 |
always true. |
| 121 |
* $wgAllowImageTag: Deprecated since 1.35. Instead, you can register an |
| 122 |
extension tag named <img>. |
| 123 |
* $wgMinimalPasswordLength and $wgMaximalPasswordLength: Deprecated since 1.26. |
| 124 |
Use $wgPasswordPolicy instead. |
| 125 |
* $wgUseMediaWikiUIEverywhere: Experimental, removed without deprecation. |
| 126 |
* $wgHTMLFormAllowTableFormat: Experimental, removed without deprecation. |
| 127 |
* $wgOpenSearchTemplate: Deprecated since 1.25. Instead, you can use |
| 128 |
$wgOpenSearchTemplates['application/x-suggestions+json']. |
| 129 |
* $wgUseSameSiteLegacyCookies: Removed without deprecation. |
| 130 |
|
| 131 |
=== New user-facing features in 1.42 === |
| 132 |
* (T308160) filter: is now allowed in inline CSS in wikitext |
| 133 |
|
| 134 |
=== New developer features in 1.42 === |
| 135 |
* (T326466) MediaWikiIntegrationTestCase's database and set-up code now avoids |
| 136 |
using dynamic properties, which was causing deprecation warnings in PHP 8.2. |
| 137 |
* (T13555) MediaWiki now includes styles that allow more accessible markup for |
| 138 |
section headings. MediaWiki's own HTML output will be changed in the future. |
| 139 |
More information: https://www.mediawiki.org/wiki/Heading_HTML_changes |
| 140 |
* (T193472) PHP Notice and Warning errors that are silenced (e.g. by the "@" |
| 141 |
operator, error_reporting directive, or Wikimedia\AtEase) are now logged to |
| 142 |
a new "silenced-error" channel. |
| 143 |
* (T347347) The CLI installer accepts a "--with-developmentsettings" argument |
| 144 |
to require the DevelopmentSettings.php file at install time. |
| 145 |
* (T350054) MediaWiki's ResourceLoader has been updated to add basic support |
| 146 |
for code-splitting (aka "tree-shaking") when using the Codex component |
| 147 |
library. A ResourceLoader module can now specify a list of "codexComponents" |
| 148 |
in its module defintion and ensure that only the code for those components |
| 149 |
gets sent to the client. More information: |
| 150 |
https://www.mediawiki.org/wiki/Codex#Subset_of_components |
| 151 |
* (T345185) The SessionProviderInterface now allows defining providers that |
| 152 |
are exempt from rights checks when auto creating users. |
| 153 |
|
| 154 |
=== External library changes in 1.42 === |
| 155 |
|
| 156 |
==== New external libraries ==== |
| 157 |
* Added mediawiki/json-codec at v2.2.1. |
| 158 |
* Added mck89/peast at v1.16.2. |
| 159 |
|
| 160 |
==== Changed external libraries ==== |
| 161 |
* Updated OOUI from v0.48.1 to v0.49.1. |
| 162 |
* Updated OOjs Router from 0.3.0 to 0.5.0. |
| 163 |
* Updated codex, codex-design-tokens and codex-icons |
| 164 |
from v1.0.0 to v1.3.6. |
| 165 |
* Updated Vue from v3.2.37-compat to v3.3.9. |
| 166 |
* Updated composer/semver from 3.3.2 to 3.4.0. |
| 167 |
* Updated guzzlehttp/guzzle from 7.5.3 to 7.7.1. |
| 168 |
* Updated monolog/monolog from 2.2.0 to 2.9.2. |
| 169 |
* Updated pear/mail from 1.5.1 to 1.6.0. |
| 170 |
* Updated pear/mail_mime from 1.10.11 to 1.10.12. |
| 171 |
* Updated pear/net_smtp from 1.10.1 to 1.11.1. |
| 172 |
* Updated psr/http-message from 1.0.1 to 1.1. |
| 173 |
* Updated symfony/polyfill-php80 from 1.28.0 to 1.29.0. |
| 174 |
* Updated symfony/polyfill-php81 from 1.28.0 to 1.29.0. |
| 175 |
* Updated symfony/polyfill-php82 from 1.28.0 to 1.29.0. |
| 176 |
* Updated symfony/polyfill-php83 from 1.28.0 to 1.29.0. |
| 177 |
* Updated symfony/yaml from 5.4.23 to 5.4.35. |
| 178 |
* Updated wikimedia/less.php from 4.1.1 to 4.2.1. |
| 179 |
* Updated wikimedia/minify from 2.5.1 to 2.7.0. |
| 180 |
* Updated wikimedia/relpath from 3.0.0 to 4.0.0. |
| 181 |
* Updated wikimedia/remex-html from 4.0.1 to 4.1.0. |
| 182 |
* Updated wikimedia/shellbox from 4.0.0 to 4.0.1. |
| 183 |
|
| 184 |
===== Changed development-only external libraries ===== |
| 185 |
* Updated QUnit from v2.19.4 to v2.20.0. |
| 186 |
* Updated composer/spdx-licenses from 1.5.7 to 1.5.8. |
| 187 |
* Updated doctrine/dbal from 3.4.2 to 3.7.2. |
| 188 |
* Updated doctrine/sql-formatter from 1.1.1 to 1.1.3. |
| 189 |
* Updated grunt-banana-checker from 0.11.0 to 0.11.1. |
| 190 |
* Updated mediawiki/mediawiki-codesniffer from 42.0.0 to 43.0.0. |
| 191 |
* Updated mediawiki/mediawiki-phan-config from 0.13.0 to 0.14.0. |
| 192 |
* Updated php-parallel-lint/php-parallel-lint from 1.3.2 to 1.4.0. |
| 193 |
* Updated phpunit/phpunit from 9.5.28 to 9.6.16. |
| 194 |
* Updated psy/psysh from ^0.11.1 to ^0.12.3. |
| 195 |
* Updated seld/jsonlint from 1.8.3 to 1.10.1. |
| 196 |
* Updated wikimedia/testing-access-wrapper from 2.0.0 to 3.0.0. |
| 197 |
|
| 198 |
=== Action API changes in 1.42 === |
| 199 |
* APIQueryTags now includes "software" in the "source" array for software |
| 200 |
generated tags. Reliance on the "extension" entries in this array is now |
| 201 |
deprecated, but they will remain for backwards compatibility. |
| 202 |
|
| 203 |
=== Languages updated in 1.42 === |
| 204 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 205 |
Below only new and removed languages are listed, as well as changes to languages |
| 206 |
because of Phabricator reports. |
| 207 |
|
| 208 |
* (T268143) Language variant conversion has been removed for Kazakh. |
| 209 |
* (T352776) Updated autonym spelling for the Mon language (mnw). |
| 210 |
* (T351874) Added language support for Komering (kge). |
| 211 |
* (T351992) Added language support for Efik (efi). |
| 212 |
* (T352954) Added language support for Rutul (rut). |
| 213 |
* (T353058) Added language support for Arbëresh (aae). |
| 214 |
* (T353307) Added language support for Guadeloupean Creole (gcf). |
| 215 |
* (T353500) Added language support for Southeastern Kolami (nit). |
| 216 |
* (T354519) Added language support for Tooro (ttj). |
| 217 |
* (T354926) Added language support for Nyoro (nyo). |
| 218 |
* (T356616) Added language support for Chinook Jargon (chn). |
| 219 |
* (T357879) Added language support for Ibibio (ibb). |
| 220 |
|
| 221 |
=== Breaking changes in 1.42 === |
| 222 |
* (T340802) ResourceLoader: The targets system is no longer active; all modules |
| 223 |
will load on all platforms even if they are marked as desktop- or mobile-only |
| 224 |
in the 'targets' field, which is no longer read. As part of this, the internal |
| 225 |
methods RL\Module::setTarget() & ::getTargets(), and OutputPage::setTarget(), |
| 226 |
have been removed. |
| 227 |
* TitleArray, deprecated since 1.41, has been removed. |
| 228 |
* UserRightsProxy, deprecated since 1.38, has been removed. |
| 229 |
* SiteConfiguration::getConfig(), deprecated in 1.41, has been removed. |
| 230 |
* UserLoginCompleteHook is always called with its $direct parameter set to |
| 231 |
boolean true. The false case has been removed. |
| 232 |
* MagicWord::load() has been marked @internal, and may change in the future |
| 233 |
without further notice. |
| 234 |
* All classes that implemented the IDBAccessObject interface and all interfaces |
| 235 |
that extended it, no longer do that. See https://w.wiki/9DAX for more info. |
| 236 |
* The type of the last parameter of BeforeInitializeHook::onBeforeInitialize() |
| 237 |
and MediaWikiPerformActionHook::onMediaWikiPerformAction() changed from the |
| 238 |
MediaWiki class to the new ActionEntryPoint. Relevant methods are still |
| 239 |
available on the object. |
| 240 |
* Classes that override Maintenance::finalSetup() must now declare the $settings |
| 241 |
parameter and pass it on when calling the parent implementation. |
| 242 |
MaintenanceRunner will always provide this parameter when calling |
| 243 |
finalSetup(). |
| 244 |
* WebResponse::disableForPostSend() is no longer static. |
| 245 |
* MediaWiki's virtualrest internal library has been removed, in favor of just |
| 246 |
using other HTTP libraries: Guzzle, MultiHttpClient or MwHttpRequest. |
| 247 |
* Several deprecated methods have been removed from the Content interface, |
| 248 |
in favor of the respective methods in ContentHandlers. Callers should |
| 249 |
use a more narrow interface like ContentRenderer or ContentTransformer |
| 250 |
when possible. The following methods have been removed from Content: |
| 251 |
- getParserOutput() |
| 252 |
- preSaveTransform() |
| 253 |
- preloadTransform() |
| 254 |
- prepareSave() |
| 255 |
* User::blockedFor() and AbstractBlock::getReason(), deprecated in 1.35, have |
| 256 |
been removed. Use AbstractBlock::getReasonComment() instead. |
| 257 |
* SerializedValueContainer::newUnified(), deprecated in 1.41 has been removed. |
| 258 |
* Use of ActorMigration for any of the following tables, deprecated since 1.34, |
| 259 |
is no longer supported: |
| 260 |
- archive |
| 261 |
- image |
| 262 |
- oldimage |
| 263 |
- filearchive |
| 264 |
- recentchanges |
| 265 |
- logging |
| 266 |
- ipblocks |
| 267 |
* ParserOutput::setFlag() and ::getFlag(), deprecated in 1.38, were removed. You |
| 268 |
should use ::setOutputFlag() and ::getOutputFlag() instead. |
| 269 |
* ParserOutput::getCategories(), deprecated in 1.40, has been removed. You |
| 270 |
should use ::getCategoryNames() and ::getCategorySortKey() instead. |
| 271 |
* ParserOutput::getTOCHTML(), deprecated in 1.40, has been removed. You should |
| 272 |
use ::getTOCData() instead. |
| 273 |
* The parser does not substitute the default category sort key at parse time; |
| 274 |
this is substituted when the category links table is updated instead. As a |
| 275 |
result {{DEFAULTSORT}} will affect all the contents of the page (not just |
| 276 |
categories added after the location of {{DEFAULTSORT}} in the article) and |
| 277 |
ParserOutput::getCategorySortKey() will return the empty string (still |
| 278 |
meaning "use the default sort key") instead of the immediate value of |
| 279 |
{{DEFAULTSORT}}. ParserOutput::getCategorySortKey() will directly reflect the |
| 280 |
category link contents, instead of having post-processing done to it |
| 281 |
(character references decoded, new lines replaced, language conversion). That |
| 282 |
post-processing is now done when the category links table is updated, and so |
| 283 |
it consistently applies even when categories are added directly via API. |
| 284 |
* PostgresUpdater::addPgEnumValue() unused everywhere, have been removed |
| 285 |
without deprecation. Use of ENUM is highly discouraged. |
| 286 |
* ILoadBalancer::getAnyOpenConnection() has been removed without deprecation, |
| 287 |
use ::getConnection() instead. |
| 288 |
* The unused method CommentStore::getFields() has been removed without |
| 289 |
depreaction. |
| 290 |
* LanguageConverter's internal properties, all deprecated in 1.35 or 1.36, have |
| 291 |
now had their deprecated property accessors dropped: |
| 292 |
- mConvRuleTitle |
| 293 |
- mUserVariant |
| 294 |
- mHeaderVariant |
| 295 |
- mMaxDepth |
| 296 |
- mVarSeparatorPattern |
| 297 |
- mLangObj |
| 298 |
- mTablesLoaded |
| 299 |
- mTables |
| 300 |
- mVariants |
| 301 |
- mMainLanguageCode |
| 302 |
- mVariantFallbacks |
| 303 |
- mFlags |
| 304 |
- mVariantNames |
| 305 |
- mDescCodeSep |
| 306 |
- mDescVarSep |
| 307 |
* OutputPage::addParserOutputText has been marked @internal since there are no |
| 308 |
known users of it. Its old behavior has been deprecated and will change |
| 309 |
in the future without further notice. |
| 310 |
* A some methods of ConnectionManager and SessionConsistentConnectionManager, |
| 311 |
previously deprecated, have been removed: |
| 312 |
- ::releaseConnection(), deprecated in 1.38; do not use |
| 313 |
- ::getWriteConnectionRef(), deprecated in 1.39; use getWriteConnection() |
| 314 |
- ::getReadConnectionRef(), deprecated in 1.38; use getReadConnection() |
| 315 |
- ::getLazyWriteConnectionRef(), deprecated in 1.39; use getWriteConnection() |
| 316 |
- ::getLazyReadConnectionRef(), deprecated in 1.38; use getReadConnection() |
| 317 |
* CoreParserFunctions::mwnamespace(), deprecated in 1.39, has been removed. Use |
| 318 |
CoreParserFunctions::namespace() instead. |
| 319 |
* Processor:: and ExtensionProcessor::getExtraAutoloaderPaths(), deprecated in |
| 320 |
1.39, have been removed; use ::getExtractedAutoloadInfo() instead. |
| 321 |
* MWExceptionHandler::rollbackMasterChangesAndLog(), deprecated in 1.37, has |
| 322 |
been removed. Use ::rollbackPrimaryChangesAndLog() instead. |
| 323 |
* Passing a custom database connection to DatabaseBlockStore::insertBlock(), |
| 324 |
deprecated since 1.41, is no longer supported. |
| 325 |
* LanguageConverterFactory::isTitleConversionDisabled(), deprecated in 1.36, |
| 326 |
has been removed. Use ::isLinkConversionDisabled() instead. |
| 327 |
* MediaWikiIntegrationTestCase::$tablesUsed has been deprecated. The framework |
| 328 |
now detects these automatically. |
| 329 |
* Passing an actor id to the constructor of UserIdentityValue, deprecated |
| 330 |
since 1.36, is no longer being supported. |
| 331 |
* Support for setting dynamic property on StatusValue object has been removed. |
| 332 |
To pass your arbitrary data along the object, use StatusValue::statusData |
| 333 |
property (which is always declared). |
| 334 |
* The global function wfReportTime(), deprecated since 1.40, has been removed. |
| 335 |
* The skin template parameter 'reporttime', deprecated since 1.41, has been |
| 336 |
removed. |
| 337 |
* WikiPage::getPageIsRedirectField(), deprecated since 1.41, has been removed. |
| 338 |
* WikiPage::insertRedirect(), deprecated since 1.41, has been removed. |
| 339 |
* Several methods in PageArchive, all deprecated in 1.38, have been removed: |
| 340 |
- ::listRevisions() |
| 341 |
- ::getRevisionRecordByTimestamp() |
| 342 |
- ::getArchivedRevisionRecord() |
| 343 |
- ::getPreviousRevisionRecord() |
| 344 |
- ::getLastRevisionId() |
| 345 |
- ::isDeleted() |
| 346 |
- ::getFileStatus() |
| 347 |
- ::getRevisionStatus() |
| 348 |
* Database, DatabaseInstaller, DatabaseUpdater, DBPrimaryPos, ResultWrapper and |
| 349 |
SQLPlatform are no longer stable to extend. It is not possible to define |
| 350 |
database types in an extension. |
| 351 |
* UserDef::PARAM_ALLOWED_USER_TYPES now differentiates between temporary account |
| 352 |
usernames and user accounts. Any endpoints that want temp users to be |
| 353 |
valid but were passing a name through will break. Temp users must now be |
| 354 |
explicitly allowed. |
| 355 |
* The Hooks class, a legacy wrapper for HooksContainer, has been removed. All of |
| 356 |
its contents have been previously deprecated in 1.35 (or 1.41 for ::runner()): |
| 357 |
- ::register() |
| 358 |
- ::clear(), |
| 359 |
- ::isRegistered() |
| 360 |
- ::getHandlers() |
| 361 |
- ::run() |
| 362 |
- ::runWithoutAbort() |
| 363 |
- ::runner() |
| 364 |
* Article::__get(), ::__set(), deprecated since 1.35, have been removed. |
| 365 |
* Several API calls have been updated to return a 'temp' user flag: |
| 366 |
- ApiQueryImageInfo |
| 367 |
- ApiQueryLogEvents |
| 368 |
- ApiQueryRecentChanges |
| 369 |
- APIs extended from ApiQueryRevisionsBase |
| 370 |
* Parser::getCustomDefaultSort() and ::setDefaultSort(), deprecated since 1.38, |
| 371 |
have been removed. |
| 372 |
* UserOptionsLookup::getDefaultOptions() and ::getDefaultOption() now accept a |
| 373 |
UserIdentity, to take conditional defaults for user properties into account. |
| 374 |
When run on a wiki where conditional defaults are used, calling those methods |
| 375 |
without the UserIdentity might produce unexpected results. |
| 376 |
* Installer-related classes have been namespaced without having aliases added. |
| 377 |
The following have been moved to MediaWiki\Installer: |
| 378 |
- CliInstaller |
| 379 |
- DatabaseInstaller |
| 380 |
- InstallDocFormatter |
| 381 |
- Installer |
| 382 |
- InstallerOverrides |
| 383 |
- InstallerSessionProvider |
| 384 |
- LocalSettingsGenerator |
| 385 |
- MysqlInstaller |
| 386 |
- PostgresInstaller |
| 387 |
- PostgresUpdater |
| 388 |
- SqliteInstaller |
| 389 |
- SqliteUpdater |
| 390 |
- WebInstaller |
| 391 |
- WebInstallerComplete |
| 392 |
- WebInstallerCopying |
| 393 |
- WebInstallerDBConnect |
| 394 |
- WebInstallerDBSettings |
| 395 |
- WebInstallerDocument |
| 396 |
- WebInstallerExistingWikis |
| 397 |
- WebInstallerInstall |
| 398 |
- WebInstallerLanguage |
| 399 |
- WebInstallerName |
| 400 |
- WebInstallerOptions |
| 401 |
- WebInstallerOutput |
| 402 |
- WebInstallerPage |
| 403 |
- WebInstallerReleaseNotes |
| 404 |
- WebInstallerRestart |
| 405 |
- WebInstallerUpgrade |
| 406 |
- WebInstallerUpgradeDoc |
| 407 |
- WebInstallerWelcome |
| 408 |
* The file mediawiki.ui/variables.less, deprecated since 1.41, has been |
| 409 |
removed in favor of mediawiki.skin.variables.less. |
| 410 |
* The file mediawiki.ui/utilities.less, with its three layout CSS classes, has |
| 411 |
been removed. |
| 412 |
* The module `jquery.cookie` (deprecated as of 1.41) has been removed. Please |
| 413 |
use `mediawiki.cookie` instead |
| 414 |
* The no-op module `es6-polyfills` (deprecated as of 1.41) has been removed. |
| 415 |
* Log formatters (as defined in $wgLogActionsHandlers) are now created by |
| 416 |
ObjectFactory, which means their constructors must be public. Legacy log |
| 417 |
formatters using callbacks instead of class names are no longer supported. |
| 418 |
* The old aliases for the namespaced ResourceLoader classes, deprecated since |
| 419 |
they were moved in MediaWiki 1.39, have now been dropped: |
| 420 |
- ResourceLoader – use MediaWiki\ResourceLoader\ResourceLoader |
| 421 |
- ResourceLoaderCircularDependencyError |
| 422 |
– use MediaWiki\ResourceLoader\CircularDependencyError |
| 423 |
- ResourceLoaderClientHtml – use MediaWiki\ResourceLoader\ClientHtml |
| 424 |
- ResourceLoaderCodexModule – use MediaWiki\ResourceLoader\CodexModule |
| 425 |
- ResourceLoaderContext – use MediaWiki\ResourceLoader\Context |
| 426 |
- ResourceLoaderFileModule – use MediaWiki\ResourceLoader\FileModule |
| 427 |
- ResourceLoaderFilePath – use MediaWiki\ResourceLoader\FilePath |
| 428 |
- ResourceLoaderForeignApiModule |
| 429 |
– use MediaWiki\ResourceLoader\ForeignApiModule |
| 430 |
- ResourceLoaderImage – use MediaWiki\ResourceLoader\Image |
| 431 |
- ResourceLoaderImageModule – use MediaWiki\ResourceLoader\ImageModule |
| 432 |
- ResourceLoaderLessVarFileModule |
| 433 |
– use MediaWiki\ResourceLoader\LessVarFileModule |
| 434 |
- ResourceLoaderModule – use MediaWiki\ResourceLoader\Module |
| 435 |
- ResourceLoaderMwUrlModule – use MediaWiki\ResourceLoader\MwUrlModule |
| 436 |
- ResourceLoaderOOUIFileModule – use MediaWiki\ResourceLoader\OOUIFileModule |
| 437 |
- ResourceLoaderOOUIIconPackModule |
| 438 |
– use MediaWiki\ResourceLoader\OOUIIconPackModule |
| 439 |
- ResourceLoaderOOUIImageModule |
| 440 |
– use MediaWiki\ResourceLoader\OOUIImageModule |
| 441 |
- ResourceLoaderOOUIModule – use MediaWiki\ResourceLoader\OOUIModule |
| 442 |
- ResourceLoaderSiteModule – use MediaWiki\ResourceLoader\SiteModule |
| 443 |
- ResourceLoaderSiteStylesModule |
| 444 |
– use MediaWiki\ResourceLoader\SiteStylesModule |
| 445 |
- ResourceLoaderSkinModule – use MediaWiki\ResourceLoader\SkinModule |
| 446 |
- ResourceLoaderStartUpModule – use MediaWiki\ResourceLoader\StartUpModule |
| 447 |
- ResourceLoaderUserModule – use MediaWiki\ResourceLoader\UserModule |
| 448 |
- ResourceLoaderUserOptionsModule |
| 449 |
– use MediaWiki\ResourceLoader\UserOptionsModule |
| 450 |
- ResourceLoaderUserStylesModule |
| 451 |
– use MediaWiki\ResourceLoader\UserStylesModule |
| 452 |
- ResourceLoaderWikiModule – use MediaWiki\ResourceLoader\WikiModule |
| 453 |
- DerivativeResourceLoaderContext |
| 454 |
– use MediaWiki\ResourceLoader\DerivativeContext |
| 455 |
- MessageBlobStore – use MediaWiki\ResourceLoader\MessageBlobStore |
| 456 |
- VueComponentParser – use MediaWiki\ResourceLoader\VueComponentParser |
| 457 |
* (T318989) Skin::lastModified, deprecated since 1.40, has been removed. |
| 458 |
* Composer 1.x is no longer supported, and can no longer be used with MediaWiki. |
| 459 |
* Title::GAID_FOR_UPDATE, deprecated in 1.34, has been removed. Instead, your |
| 460 |
code should use IDBAccessObject::READ_LATEST. |
| 461 |
* Six private Title class members, deprecated in 1.37, are now fully private; |
| 462 |
use their corresponding accessor methods: |
| 463 |
- $mTextform -> getText() |
| 464 |
- $mUrlform -> getPartialURL() |
| 465 |
- $mDbkeyform -> getDBkey() |
| 466 |
- $mNamespace -> getNamespace() |
| 467 |
- $mInterwiki -> getInterwiki() |
| 468 |
- $mFragment -> getFragment() |
| 469 |
* Skin::bottomScripts, deprecated since 1.37, has been removed. |
| 470 |
* Fallback index and options have been removed from |
| 471 |
DBAccessObjectUtils::getDBOptions() without deprecation. |
| 472 |
* The deprecated class aliases for now-namespaced or renamed PHP classes that |
| 473 |
were added in or before 1.39 LTS have now been removed: |
| 474 |
- Blob -> Wikimedia\Rdbms\Blob |
| 475 |
- Block -> MediaWiki\Block\DatabaseBlock |
| 476 |
- DBAccessError -> Wikimedia\Rdbms\DBAccessError |
| 477 |
- DBConnectionError -> Wikimedia\Rdbms\DBConnectionError |
| 478 |
- DBError -> Wikimedia\Rdbms\DBError |
| 479 |
- DBExpectedError -> Wikimedia\Rdbms\DBExpectedError |
| 480 |
- DBQueryError -> Wikimedia\Rdbms\DBQueryError |
| 481 |
- DBReadOnlyError -> Wikimedia\Rdbms\DBReadOnlyError |
| 482 |
- DBReplicationWaitError -> Wikimedia\Rdbms\DBReplicationWaitError |
| 483 |
- DBTransactionError -> Wikimedia\Rdbms\DBTransactionError |
| 484 |
- DBTransactionSizeError -> Wikimedia\Rdbms\DBTransactionSizeError |
| 485 |
- DBUnexpectedError -> Wikimedia\Rdbms\DBUnexpectedError |
| 486 |
- DatabaseMysqlBase -> Wikimedia\Rdbms\DatabaseMySQL |
| 487 |
- DatabaseMysqli -> Wikimedia\Rdbms\DatabaseMySQL |
| 488 |
- EasyDeflate -> Deflate |
| 489 |
- Field -> Wikimedia\Rdbms\Field |
| 490 |
- IMaintainableDatabase -> Wikimedia\Rdbms\IMaintainableDatabase |
| 491 |
- LinksDeletionUpdate -> MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate |
| 492 |
- LinksUpdate -> MediaWiki\Deferred\LinksUpdate\LinksUpdate |
| 493 |
- LoadBalancer -> Wikimedia\Rdbms\LoadBalancer |
| 494 |
- LoadBalancerSingle -> Wikimedia\Rdbms\LoadBalancerSingle |
| 495 |
- RCFeedEngine -> FormattedRCFeed |
| 496 |
- RandomPage -> MediaWiki\Specials\SpecialRandomPage |
| 497 |
* The return value of IDatabase::upsert(), deprecated since 1.33, has been |
| 498 |
removed. |
| 499 |
* Instancing MediaWiki\Specials\SpecialRandomPage without injected services has |
| 500 |
been removed. |
| 501 |
* SpecialPage::listed() and ::setListed(), deprecated since 1.35, have both been |
| 502 |
removed. Use ::isListed() to read, and over-ride by implementing isListed() or |
| 503 |
by sub-classing UnlistedSpecialPage. |
| 504 |
* BlockListPager::getTotalAutoblocks() was removed. |
| 505 |
|
| 506 |
=== Deprecations in 1.42 === |
| 507 |
* (T273239) wfGetDB(), deprecated in 1.39, now emits deprecation warnings. Most |
| 508 |
code can migrate to MediaWikiServices::getInstance()->getConnectionProvider() |
| 509 |
->getReplicaDatabase() or …->getPrimaryDatabase() as appropriate. |
| 510 |
* (T166010) All PHP code in MediaWiki is slowly being moved to be in a class |
| 511 |
namespace as appropriate, so that we can use PSR-4 auto-loading, which will |
| 512 |
speed up general code loading of MediaWiki. The old global namespace class |
| 513 |
names are being left behind as deprecated aliases. |
| 514 |
In this release of MediaWiki, 1868 classes now have a namespace and 821 do |
| 515 |
not yet (69% done, up from 63% in MediaWiki 1.41.0). The following have newly |
| 516 |
been moved: |
| 517 |
- MediaWiki\Cache: |
| 518 |
- BacklinkCache |
| 519 |
- FileCacheBase |
| 520 |
- GenderCache |
| 521 |
- HTMLCacheUpdater (and fix case for consistency with HTMLFileCache) |
| 522 |
- LinkBatch |
| 523 |
- LinkCache |
| 524 |
- UserCache |
| 525 |
- MediaWiki\Context: |
| 526 |
- ContextSource |
| 527 |
- DerivativeContextSource |
| 528 |
- IContextSource |
| 529 |
- MutableContext |
| 530 |
- RequestContext |
| 531 |
- MediaWiki\Deferred: |
| 532 |
- AtomicSectionUpdate |
| 533 |
- AutoCommitUpdate |
| 534 |
- CdnCacheUpdate |
| 535 |
- DataUpdate |
| 536 |
- DeferrableCallback |
| 537 |
- DeferrableUpdate |
| 538 |
- DeferredUpdates |
| 539 |
- DeferredUpdatesScope |
| 540 |
- DeferredUpdatesScopeMediaWikiStack |
| 541 |
- DeferredUpdatesScopeStack |
| 542 |
- EnqueueableDataUpdate |
| 543 |
- HtmlFileCacheUpdate |
| 544 |
- JobQueueEnqueueUpdate |
| 545 |
- MWCallableUpdate |
| 546 |
- MergeableUpdate |
| 547 |
- MessageCacheUpdate |
| 548 |
- SearchUpdate |
| 549 |
- SendPasswordResetEmailUpdate |
| 550 |
- SiteStatsUpdate |
| 551 |
- TransactionRoundAwareUpdate |
| 552 |
- TransactionRoundDefiningUpdate |
| 553 |
- UserEditCountInfo |
| 554 |
- UserEditCountUpdate |
| 555 |
- MediaWiki\HTMLForm: |
| 556 |
- CodexHTMLForm |
| 557 |
- CollapsibleFieldsetLayout |
| 558 |
- HTMLForm |
| 559 |
- HTMLFormActionFieldLayout |
| 560 |
- HTMLFormElement |
| 561 |
- HTMLFormField |
| 562 |
- HTMLFormFieldLayout |
| 563 |
- HTMLFormFieldRequiredOptionsException |
| 564 |
- HTMLNestedFilterable |
| 565 |
- OOUIHTMLForm |
| 566 |
- VFormHTMLForm |
| 567 |
- MediaWiki\HTMLForm\Field: |
| 568 |
- HTMLApiField |
| 569 |
- HTMLAutoCompleteSelectField |
| 570 |
- HTMLButtonField |
| 571 |
- HTMLCheckField |
| 572 |
- HTMLCheckMatrix |
| 573 |
- HTMLComboboxField |
| 574 |
- HTMLDateTimeField |
| 575 |
- HTMLEditTools |
| 576 |
- HTMLExpiryField |
| 577 |
- HTMLFileField |
| 578 |
- HTMLFloatField |
| 579 |
- HTMLFormFieldCloner |
| 580 |
- HTMLFormFieldWithButton |
| 581 |
- HTMLHiddenField |
| 582 |
- HTMLInfoField |
| 583 |
- HTMLIntField |
| 584 |
- HTMLMultiSelectField |
| 585 |
- HTMLNamespacesMultiselectField |
| 586 |
- HTMLRadioField |
| 587 |
- HTMLRestrictionsField |
| 588 |
- HTMLSelectAndOtherField |
| 589 |
- HTMLSelectField |
| 590 |
- HTMLSelectLanguageField |
| 591 |
- HTMLSelectLimitField |
| 592 |
- HTMLSelectNamespace |
| 593 |
- HTMLSelectNamespaceWithButton |
| 594 |
- HTMLSelectOrOtherField |
| 595 |
- HTMLSizeFilterField |
| 596 |
- HTMLSubmitField |
| 597 |
- HTMLTagFilter |
| 598 |
- HTMLTagMultiselectField |
| 599 |
- HTMLTextAreaField |
| 600 |
- HTMLTextField |
| 601 |
- HTMLTextFieldWithButton |
| 602 |
- HTMLTimezoneField |
| 603 |
- HTMLTitleTextField |
| 604 |
- HTMLTitlesMultiselectField |
| 605 |
- HTMLToggleSwitchField |
| 606 |
- HTMLUserTextField |
| 607 |
- HTMLUsersMultiselectField |
| 608 |
- MediaWiki\Installer: |
| 609 |
- DatabaseUpdater |
| 610 |
- MysqlUpdater |
| 611 |
- MediaWiki\LinkedData: |
| 612 |
- PageDataRequestHandler |
| 613 |
- MediaWiki\Maintenance: |
| 614 |
- Version |
| 615 |
- MediaWiki\Message: |
| 616 |
- Message |
| 617 |
- MediaWiki\Parser: |
| 618 |
- Parser |
| 619 |
- ParserOutput |
| 620 |
- MediaWiki\PoolCounter: |
| 621 |
- PoolCounter |
| 622 |
- PoolCounterNull |
| 623 |
- PoolCounterRedis |
| 624 |
- PoolCounterWork |
| 625 |
- PoolCounterWorkViaCallback |
| 626 |
- PoolWorkArticleView |
| 627 |
- PoolWorkArticleViewCurrent |
| 628 |
- PoolWorkArticleViewOld |
| 629 |
- MediaWiki\Site: |
| 630 |
- CachingSiteStore |
| 631 |
- DBSiteStore |
| 632 |
- HashSiteStore |
| 633 |
- MediaWikiSite |
| 634 |
- Site |
| 635 |
- SiteExporter |
| 636 |
- SiteImporter |
| 637 |
- SiteList |
| 638 |
- SiteLookup |
| 639 |
- SiteStore |
| 640 |
- (T352284) MediaWiki\User\Options: |
| 641 |
- DefaultOptionsLookup |
| 642 |
- UserOptionsLookup |
| 643 |
- UserOptionsManager |
| 644 |
- StaticUserOptionsLookup |
| 645 |
* Some hook classes have been moved from the generic MediaWiki\Hooks namespace |
| 646 |
to live closer to the code which uses them: |
| 647 |
- MediaWiki\Output\Hook: |
| 648 |
- AfterBuildFeedLinksHook |
| 649 |
- AfterFinalPageOutputHook |
| 650 |
- BeforePageDisplayHook |
| 651 |
- BeforePageRedirectHook |
| 652 |
- GetCacheVaryCookiesHook |
| 653 |
- LanguageLinksHook |
| 654 |
- MakeGlobalVariablesScriptHook |
| 655 |
- OutputPageAfterGetHeadLinksArrayHook |
| 656 |
- OutputPageBeforeHTMLHook |
| 657 |
- OutputPageBodyAttributesHook |
| 658 |
- OutputPageCheckLastModifiedHook |
| 659 |
- OutputPageMakeCategoryLinksHook |
| 660 |
- OutputPageParserOutputHook |
| 661 |
* API modules using ApiBase::requirePostedParameters() must also override |
| 662 |
mustBePosted() to return true. |
| 663 |
* Overriding MWException::getHTML(), ::getText(), ::getPageTitle(), and |
| 664 |
::reportHTML() in order to display custom exception messages is now |
| 665 |
deprecated. Provide the error message when constructing the Exception, |
| 666 |
or if you need a whole custom error page, use ErrorPageError instead. |
| 667 |
* Using `new ImportReporter( … )` or `new ApiImportReporter( … )` without |
| 668 |
the $context parameter is now deprecated. |
| 669 |
* Using `WikiImporterFactory::getWikiImporter()` without the $performer |
| 670 |
parameter is now deprecated. |
| 671 |
* BlockManager::getUserBlock() was deprecated. Instead use |
| 672 |
BlockManager::getBlock(), which expects the caller to do ipblock-exempt |
| 673 |
checking. |
| 674 |
* The `composer phpunit:entrypoint` entrypoint has been deprecated, along with |
| 675 |
bootstrap.integration.php and suite.xml. Run tests with `composer phpunit` |
| 676 |
instead, or simply `vendor/bin/phpunit`, which use bootstrap.php and |
| 677 |
phpunit.xml.dist. |
| 678 |
* The global variable $wgCommandLineMode is deprecated. In most cases checks |
| 679 |
for `$wgCommandLineMode` can be replaced with `MW_ENTRY_POINT === 'cli'`. |
| 680 |
* The global function wfUnpack is deprecated and emits deprecation |
| 681 |
warnings. Use StringUtils::unpack instead. |
| 682 |
* BagOStuff::setNewPreparedValues() now emits deprecation warnings. |
| 683 |
* SpecialEmailUser::getTarget() has been deprecated. |
| 684 |
* User::isBlocked(), ::isBlockedFromCreateAccount() and ::isBlockedFrom() now |
| 685 |
emit deprecation warnings. They were deprecated since 1.34, 1.37 and 1.33 |
| 686 |
respectively. |
| 687 |
* DatabaseBlock::newFromID() was deprecated and will emit deprecation warnings. |
| 688 |
Instead use DatabaseBlockStore::newFromID(). |
| 689 |
* DatabaseBlock::getAutoblockExpiry() was deprecated without replacement. |
| 690 |
* MagicWord::getId() has been deprecated. |
| 691 |
* MagicWordFactory::getSubstIDs() has been deprecated. |
| 692 |
* Status::setMessageLocalizer is deprecated. Callers that want to control the |
| 693 |
localization of the Status object should obtain a StatusFormatter from |
| 694 |
the StatusFormatterFactory. |
| 695 |
* Html::buttonAttributes() and Html::getTextInputAttributes() methods |
| 696 |
no longer do anything and have been deprecated. |
| 697 |
* DatabaseBlock::doAutoblock and ::updateTimestamp are now deprecated, use |
| 698 |
DatabaseBlockStore::doAutoblock and ::updateTimestamp instead. |
| 699 |
* The MediaWiki class has been deprecated. Type hints in hooks should be |
| 700 |
changed to refer to MediaWikiEntryPoint instead. Note that extensions should |
| 701 |
not define their own entry points and should not interfere with the state of |
| 702 |
MediaWikiEntryPoint instances. |
| 703 |
* Various methods in ObjectCache have been deprecated and their equivalent made |
| 704 |
available in ObjectCacheFactory, use them instead: |
| 705 |
- ::getInstance() -> ObjectCacheFactory::getInstance() |
| 706 |
- ::newFromParams() -> ObjectCacheFactory::newFromParams() |
| 707 |
- ::newAnything() -> ObjectCacheFactory::newInstance( |
| 708 |
ObjectCache::getAnythingId() ) |
| 709 |
- ::getLocalServerInstance() -> ObjectCacheFactory::getLocalServerInstance() |
| 710 |
- ::clear() -> ObjectCacheFactory::clear() |
| 711 |
- In addition, the ObjectCache::$instances member has been deprecated as well. |
| 712 |
* Vuex has been deprecated in favor of its successor, Pinia. Though deprecated, |
| 713 |
Vuex 4 will remain accessible for the foreseeable future. Pinia should be used |
| 714 |
for new projects. |
| 715 |
* Linker::makeHeadline() has been deprecated. |
| 716 |
* SerializedValueContainer::isUnified() has been deprecated and now emits |
| 717 |
deprecation warnings since 1.42. |
| 718 |
* Linker::generateTOC(), Linker::tocIndent(), Linker::tocUnindent(), |
| 719 |
Linker::tocLine(), Linker::tocLineEnd(), Linker::tocList() are deprecated. |
| 720 |
* Title::getBrokenLinksFrom() has been deprecated. |
| 721 |
* LogFormatter subclasses now emit deprecation warnings unless they are |
| 722 |
constructed using LogFormatterFactory. |
| 723 |
* ReplicatedBagOStuff has been deprecated since 1.42. |
| 724 |
* The third argument to ContentRenderer::getParserOutput() now accepts a |
| 725 |
RevisionRecord or WikiRevision; passing an integer revision id has been |
| 726 |
deprecated and emits a warning. |
| 727 |
* Passing a null value to ParserOutput::setPageProperty() has been deprecated |
| 728 |
and emits a warning; pass an empty string or use `::unsetPageProperty()` |
| 729 |
instead. |
| 730 |
* Passing a non-string value to ParserOutput::setPageProperty() has been |
| 731 |
deprecated; use ::setNumericPageProperty() instead. |
| 732 |
* Passing a non-scalar value to ParserOutput::setPageProperty() will emit |
| 733 |
a warning (it has never worked). |
| 734 |
* ParserOutput::setLanguageLinks() has been deprecated. |
| 735 |
* ParserOutput::getTimestamp() and ::setTimestamp() have been deprecated; use |
| 736 |
::getRevisionTimestamp() and ::setRevisionTimestamp() instead. |
| 737 |
* ParserOutput::setText() has been deprecated; use ::setRawText() instead which |
| 738 |
matches the name of the corresponding getter, ParserOutput::getRawText(). |
| 739 |
* ParserOutput::addTemplate() will emit a deprecation warning if it is called |
| 740 |
with a non-local title, such as an interwiki link. In a future release it will |
| 741 |
throw InvalidArgumentException. |
| 742 |
* The use of dynamic properties of Parser has been deprecated and will emit |
| 743 |
deprecation warnings. |
| 744 |
* The following deprecated public properties of Parser will emit deprecation |
| 745 |
warnings: |
| 746 |
- Parser::$ot, deprecated since 1.35 |
| 747 |
- Parser::$mTitle, deprecated since 1.35 |
| 748 |
- Parser::$mOptions, deprecated since 1.35 |
| 749 |
* The following deprecated public properties of Parser are now marked |
| 750 |
for internal use only: |
| 751 |
- Parser::$mPPNodeCount, deprecated since 1.35 |
| 752 |
- Parser::$mHighestExpansionDepth, deprecated since 1.35 |
| 753 |
* ApiQueryBlockInfoTrait::addBlockInfoToQuery() will emit deprecation warnings |
| 754 |
and will soon stop working due to schema changes. Instead use |
| 755 |
addDeletedUserFilter() or getBlockDetailsForRows(). |
| 756 |
* UploadBase::getImageInfo was deprecated, subclasses of ApiUpload can use |
| 757 |
ApiUpload::getUploadImageInfo() instead. |
| 758 |
* DatabaseBlockStore::updateTimestamp() is now internal and should not be |
| 759 |
called. |
| 760 |
* The LocalisationCache helper class GlobalDependency has been deprecated, |
| 761 |
use MainConfigDependency instead. |
| 762 |
* The module `mediawiki.icon` has been deprecated. Use the Codex mixin instead |
| 763 |
(T351681). |
| 764 |
* ConfigRepository::class and MediaWikiServices::getConfigRepository() have been |
| 765 |
deprecated, they are unused. |
| 766 |
* Passing a WikiPage to PageEditStash::parseAndCache() has been deprecated. |
| 767 |
Use PageUpdater instance. |
| 768 |
* SpecialBlock::getSuggestedDurations() has been deprecated, use |
| 769 |
Language::getBlockDurations() instead. |
| 770 |
* MediaWikiServices::getBlockErrorFormatter() has been deprecated, use |
| 771 |
MediaWikiServices::getFormatterFactory()->getBlockErrorFormatter() instead. |
| 772 |
* DummyLinker has been deprecated. The DummyLinker parameter to the |
| 773 |
'ImageBeforeProduceHTML' hook will become null in the future. |
| 774 |
* Database::listViews() has been deprecated. This was previously used to filter |
| 775 |
views out of the return value of Database::listTables(). Now listTables() |
| 776 |
will not include views. MediaWiki does not use views. |
| 777 |
* (T207621) UserMailer::rfc822Phrase(), deprecated since 1.38, now emits |
| 778 |
deprecation warnings. |
| 779 |
* TempUserConfig::getMatchPattern() has been deprecated, use getMatchPatterns() |
| 780 |
instead. |
| 781 |
* (T230025) Title::purgeSquid(), deprecated in 1.35, now emits warnings. |
| 782 |
* Title::getCdnUrls(), deprecated in 1.35, now emits warnings. |
| 783 |
* The rarely-used convenience method Xml::wrapClass() is now deprecated. Instead |
| 784 |
you can use Xml::tags('span', ['class'=>'foo'], 'bar'). |
| 785 |
* WebRequest::getCrossSiteCookie() has been deprecated due to the removal of |
| 786 |
$wgUseSameSiteLegacyCookies. It will emit deprecation warnings. Use |
| 787 |
WebRequest::getCookie(). |
| 788 |
* Using the array_merge_recursive merge strategy in extension.json and skin.json |
| 789 |
now emits deprecation warnings. |
| 790 |
* DBAccessObjectUtils::getDBFromIndex() is now deprecated, use |
| 791 |
::getDBFromRecency() instead. |
| 792 |
* Many Xml methods that are specific to HTML but not XML are deprecated: |
| 793 |
- Xml::buildForm |
| 794 |
- Xml::buildTable |
| 795 |
- Xml::buildTableRow |
| 796 |
- Xml::check |
| 797 |
- Xml::checkLabel |
| 798 |
- Xml::dateMenu |
| 799 |
- Xml::fieldset |
| 800 |
- Xml::input |
| 801 |
- Xml::inputLabel |
| 802 |
- Xml::inputLabelSep |
| 803 |
- Xml::label |
| 804 |
- Xml::languageSelector |
| 805 |
- Xml::listDropdown |
| 806 |
- Xml::listDropdownOptions |
| 807 |
- Xml::listDropdownOptionsOoui |
| 808 |
- Xml::monthSelector |
| 809 |
- Xml::option |
| 810 |
- Xml::password |
| 811 |
- Xml::radio |
| 812 |
- Xml::radioLabel |
| 813 |
- Xml::span |
| 814 |
- Xml::submitButton |
| 815 |
- Xml::textarea |
| 816 |
- Xml::attrib (only for use in HTML, not XML contexts) |
| 817 |
* IMaintainableDatabase::truncate() has been deprecated. Use truncateTable() |
| 818 |
instead. |
| 819 |
* TextConflictHelper->incrementStatsByUserEdits() is now deprecated. The action |
| 820 |
this function previously handled should be moved into incrementConflictStats() |
| 821 |
and incrementResolvedStats(). |
| 822 |
* SQLPlatform::getQueryVerb() is now deprecated. |
| 823 |
|
| 824 |
=== Other changes in 1.42 === |
| 825 |
* Gallery: Image captions are no longer wrapped in <p> tags. Skins that |
| 826 |
customize rendering for galleries may need to tweak their CSS. |
| 827 |
* Scripts under maintenance/dev/, for quickly setup a local MediaWiki for |
| 828 |
development purposes, have been removed, see DEVELOPERS.md for alternatives. |
| 829 |
|
| 830 |
= MediaWiki 1.41 = |
| 831 |
|
| 832 |
PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/ |
| 833 |
PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/ |
| 834 |
PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/ |
| 835 |
PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/ |
| 836 |
|
| 837 |
== MediaWiki 1.41.4 == |
| 838 |
|
| 839 |
This is a maintenance release of the MediaWiki 1.41 branch. |
| 840 |
|
| 841 |
=== Changes since MediaWiki 1.41.3 === |
| 842 |
* Fix issue related to backport of AbuseFilter patch for T372998. |
| 843 |
|
| 844 |
== MediaWiki 1.41.3 == |
| 845 |
|
| 846 |
This is a security and maintenance release of the MediaWiki 1.41 branch. |
| 847 |
|
| 848 |
=== Changes since MediaWiki 1.41.2 === |
| 849 |
* Localisation updates. |
| 850 |
* Parser: Deprecate use of mOutput before initialization. |
| 851 |
* Clarify that $wgAllowCrossOrigin only applies to REST. |
| 852 |
* composer.json: Add 5 more ext- to suggests. |
| 853 |
* resources: Fix 404 Not Found for foreign Financial-Times/polyfill-library. |
| 854 |
* ResourceLoader: Fix regression of color mapping in Less.php. |
| 855 |
* ResourceLoader: Upgrade wikimedia/less.php to 4.4.1. |
| 856 |
* SpecialExport: Prevent passing null to strtolower. |
| 857 |
|
| 858 |
== MediaWiki 1.41.2 == |
| 859 |
|
| 860 |
This is a maintenance release of the MediaWiki 1.41 branch. |
| 861 |
|
| 862 |
=== Changes since MediaWiki 1.41.1 === |
| 863 |
* Localisation updates. |
| 864 |
* maintenance/generateSitemap.php: Partially revert 676fcf4. |
| 865 |
* tests: Skip failing tests on php8.2 (and make pass). |
| 866 |
* (T326480) ApiResult: Make array ordering consistent across PHP versions. |
| 867 |
* (T352789, T287972) build: Raise TestingAccessWrapper from 2.0.0 to 3.0.0. |
| 868 |
* (T326478) tests: Create new classes to hold dynamic properties in auth tests. |
| 869 |
* (T353180) WANObjectCacheTest::testPreemptiveRefresh: Skip flaky test for PHP |
| 870 |
8.2+. |
| 871 |
* tests: Remove es6 option from StartUpModuleTest. |
| 872 |
* (T326478) tests: Avoid dynamic properties in AuthenticationProvider Test. |
| 873 |
* tests: Skip failing tests on php8.3 (and make pass). |
| 874 |
* (T326466) Introduce and use DynamicPropertyTestHelper. |
| 875 |
* (T326478) tests: Avoid dynamic properties in auth tests. |
| 876 |
* (T352910) tests: Use TestingAccessWrapper::newFromClass in session tests. |
| 877 |
* (T326478) tests: Avoid dynamic properties in SessionManagerTest. |
| 878 |
* ArticleTest: Skip testGetOrSetOnNewProperty() if PHP >= 8.2. |
| 879 |
* tests: Remove dead code from WikiPageDbTest::assertPreparedEditNotEquals. |
| 880 |
* (T326479, T361985) StatusValue: Allow passing arbitrary data to augment |
| 881 |
result. |
| 882 |
* (T357760) Use i18n strings for truncated subpage message in SpecialMovePage. |
| 883 |
* debug: Update PsySH 0.11.1 -> 0.12.3. |
| 884 |
* (T361991) Fix slash-delimited regex from CLI on maintenence/grep.php. |
| 885 |
* (T352695) tests: Only set $dbSetup if setupTestDB() ends without throwing. |
| 886 |
* (T362272) api: Replace null $httpCode by 0 in ApiBase::dieWithErrorOrDebug. |
| 887 |
* (T362740) api: Pass wikiId to UserIdentity instance for action=userrights. |
| 888 |
* (T343994) SpecialPages: Document which class getDescription is returning a |
| 889 |
string from. |
| 890 |
* (T150647, T216682) Make EncryptedPassword work with Argon2Password. |
| 891 |
* (T364270) Fix long param names overlapping docs in API help pages. |
| 892 |
* wrapOldPasswords: Improve progress output and decrease batch size. |
| 893 |
* (T361367) ApiFeedWatchlist: Fix handling of array parameters. |
| 894 |
* (T366130) EncryptedPassword: Store default parameters as strings. |
| 895 |
* Name the PagerTools array entries to allow hooks to unset them. |
| 896 |
* Do not mark HttpRequestFactory as @internal. |
| 897 |
|
| 898 |
== MediaWiki 1.41.1 == |
| 899 |
|
| 900 |
This is a security and maintenance release of the MediaWiki 1.41 branch. |
| 901 |
|
| 902 |
=== Changes since MediaWiki 1.41.0 === |
| 903 |
* Localisation updates. |
| 904 |
* CategoryViewer: Fix "count(): Argument #1 ($value) must be of type |
| 905 |
Countable|array, null given". |
| 906 |
* (T353929) ActiveUsersPager: Count actions only once. |
| 907 |
* composer: Use @php instead of php. |
| 908 |
* (T334992) Headings in the license pickers should not be selected. |
| 909 |
* (T326065) Indent JsonContent using tabs. |
| 910 |
* Correct deprecation version of mediawiki.ui resource loader module. |
| 911 |
* Resources.php: Replace short urls with full urls. |
| 912 |
* (T354541) authmanager: Improve AuthenticationRequest docs. |
| 913 |
* Tweak docs for UseLegacyMediaStyles. |
| 914 |
* (T353870) Parse custom edit intro as content to enable language conversion. |
| 915 |
* (T330428) ForeignResourceManager: Add trailing newline in validateLicense. |
| 916 |
* ForeignResourceManager: Make it clearer what is being skipped for |
| 917 |
documentation-only. |
| 918 |
* (T355017) Add missing space in Special:RecentChangesLinked. |
| 919 |
* (T355003) composer.json Add ext-bcmath and ext-gmp to suggests. |
| 920 |
* PHPVersionCheck: Update text to match currently supported upstream PHP |
| 921 |
versions (8.1+). |
| 922 |
* (T354045) API: mark HTML output as non-cacheable. |
| 923 |
* (T355530) filerepo: Fix img_major_mime for files with a non-standard |
| 924 |
extensions. |
| 925 |
* (T355530) MimeAnalyzer: Add @since to isValidMajorMimeType. |
| 926 |
* (T352554) ZhConverter: Fix language variant fallback chain. |
| 927 |
* (T347541) Add 'maxlength' and 'minlength' support to HTMLTextAreaField. |
| 928 |
* (T357668) Parser::getExternalLinkAttribs: Don't set rel attribute to null. |
| 929 |
* LockManagerGroupIntegrationTest: Remove test depending on DBLockManager. |
| 930 |
* (T357808) LinkRendererTest: Add missing import for LinkTarget. |
| 931 |
* (T353305) ApiResetPassword: Allow both user and email parameters to be passed |
| 932 |
for reset. |
| 933 |
* (T358949) updateCollation: Explicitly cast $scale to int. |
| 934 |
* (T359055) api: Improve linking of language codes lists in top level i18n |
| 935 |
messages. |
| 936 |
* (T359294) Make sure MovePage::isValidFileMove matches UploadBase::getTitle. |
| 937 |
* (T230245) Respect $maxConcurrency when queuing async FileOps. |
| 938 |
* (T352554) Follow-up "ZhConverter: Fix language variant fallback chain". |
| 939 |
* (T359139) Restore ability to disable footer links with "-". |
| 940 |
* Fix use of array keys in SessionManager::getVaryHeaders(). |
| 941 |
* (T292237, T317451) build: Restore Doxygen output for MediaWiki release tags. |
| 942 |
* (T324903) HistoryPager: Add #[AllowDynamicProperties]. |
| 943 |
* (T360850) Update Apache config syntax in .htaccess files. |
| 944 |
* Update wikimedia/parsoid to 0.18.2. |
| 945 |
* docs: Remove use of $IP from mwdocgen.php. |
| 946 |
* (T317451) build: Restore Doxygen output for MediaWiki release tags (take 3). |
| 947 |
* docs: Set stable permalink on markdown files. |
| 948 |
* (T360608) WebRequest: detectServer appends default ports that should be |
| 949 |
omitted. |
| 950 |
* (T357019) allow maintenance/deleteBatch.php to accept page ID. |
| 951 |
* (T355538, CVE-2024-34507) SECURITY: XSS in edit summary parser. |
| 952 |
* (T357760, CVE-2024-34506) SECURITY: Denial of service vector via GET request |
| 953 |
to Special:MovePage on pages with thousands of subpages. |
| 954 |
|
| 955 |
=== Changes since MediaWiki 1.41.0-rc.0 === |
| 956 |
* Localisation updates. |
| 957 |
* Update wikimedia/parsoid to 0.18.0. |
| 958 |
* (T351758) DEVELOPERS.md: reword WSL instructions to include best practices. |
| 959 |
* (T350615) PoolCounterConnectionManager: Add support for ipv6. |
| 960 |
* (T321234) Make MagicWordArray not fail on old revs with broken UTF-8. |
| 961 |
* thumb: Fix "PHP Deprecated: strlen(): Passing null to parameter". |
| 962 |
* (T344971) Maintenance: Fix RebuildTextIndex. |
| 963 |
* (T327007) htmlform: Correct validation for file input field. |
| 964 |
|
| 965 |
== MediaWiki 1.41.0-rc.0 == |
| 966 |
|
| 967 |
== Upgrading notes for 1.41 == |
| 968 |
Don't forget to always back up your database before upgrading! |
| 969 |
|
| 970 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 971 |
oldest supported upgrading version, MediaWiki 1.35. |
| 972 |
|
| 973 |
Some specific notes for MediaWiki 1.41 upgrades are below: |
| 974 |
* (T178356) MediaWiki now requires browsers to support ES6 for them to receive |
| 975 |
JavaScript, up from ES5. In practice, this primarily means that users of |
| 976 |
Internet Explorer 11 (EOL in 2022) will no longer get JavaScript tools. |
| 977 |
|
| 978 |
For notes on 1.40.x and older releases, see HISTORY. |
| 979 |
|
| 980 |
=== Configuration changes for system administrators in 1.41 === |
| 981 |
* $wgGroupPermissions: The 'purge' permission is now considered an |
| 982 |
implicit right that can be rate limited, but not revoked. This has |
| 983 |
effectively already been the case for a long time, see T291316. |
| 984 |
|
| 985 |
==== New configuration ==== |
| 986 |
* $wgPrivilegedGroups – Users belonging in some of the listed groups will be |
| 987 |
audited more aggressively. |
| 988 |
* $wgPageLinksSchemaMigrationStage – This temporary flag lets you control the |
| 989 |
migration stage for converting the pagelinks database table into normal form. |
| 990 |
* $wgExternalLinksDomainGaps – Can be used by large wikis to optimize certain |
| 991 |
external link queries. |
| 992 |
* $wgResourceLoaderEnableSourceMapLinks - Add a SourceMap header to |
| 993 |
ResourceLoader responses for JavaScript modules (T47514). |
| 994 |
* $wgVirtualDomainsMapping - Mapping of virtual domains to other dbs. It's |
| 995 |
useful to get connection to the external cluster. |
| 996 |
|
| 997 |
==== Changed configuration ==== |
| 998 |
* $wgAuthManagerAutoConfig – When using this setting to modify the |
| 999 |
authentication system in MediaWiki, the classes |
| 1000 |
TemporaryPasswordPrimaryAuthenticationProvider, |
| 1001 |
LocalPasswordPrimaryAuthenticationProvider and |
| 1002 |
EmailNotificationSecondaryAuthenticationProvider now require |
| 1003 |
DBLoadBalancerFactory, not DBLoadBalancer, as a service. |
| 1004 |
* $wgUseFileCache is no longer used for ResourceLoader module caching. |
| 1005 |
* $wgLBFactoryConf['secret'] has been replaced by $wgChronologyProtectorSecret. |
| 1006 |
|
| 1007 |
==== Removed configuration ==== |
| 1008 |
* $wgCommentTempTableSchemaMigrationStage – This temporary flag did let you |
| 1009 |
control the migration stage for the temporary comment database table, from |
| 1010 |
revision. |
| 1011 |
* $wgExternalLinksSchemaMigrationStage – This temporary flag did let you |
| 1012 |
control the migration stage for the externallinks database table. |
| 1013 |
* $wgParserOutputHooks - This array interacted with |
| 1014 |
ParserOutput::addOutputHook(), which has been deprecated since 1.38 and was |
| 1015 |
removed in this release. |
| 1016 |
|
| 1017 |
=== New user-facing features in 1.41 === |
| 1018 |
* Special:RandomPage can now take multiple namespaces in its URL, split by ','. |
| 1019 |
* The aria-level HTML attribute is now allowed in wikitext by the Sanitizer. |
| 1020 |
|
| 1021 |
=== New features for sysadmins in 1.41 === |
| 1022 |
* $wgDBssl can now enabled in the installer when the database type is |
| 1023 |
Postgres or MariaDB/MySQL (T335828). |
| 1024 |
* MWHttpRequest will forward 'tracestate' and/or 'traceparent' headers when |
| 1025 |
those are present in the original request and $wgAllowExternalReqID is set |
| 1026 |
to true. |
| 1027 |
* MultiHttpClient will send X-Request-Id header and additionally will forward |
| 1028 |
'tracestate' and/or 'traceparent' headers when those are present in the |
| 1029 |
original request and $wgAllowExternalReqID is set to true. |
| 1030 |
|
| 1031 |
=== New developer features in 1.41 === |
| 1032 |
* Added ForeignResourcesDir extension.json / skin.json attribute, which should |
| 1033 |
point to the directory holding your foreign-resources.yaml file. See |
| 1034 |
https://www.mediawiki.org/wiki/Foreign_resources for background. |
| 1035 |
* Added PrivilegedGroups attribute for extension.json / skin.json, which lets |
| 1036 |
you add any new user groups you define to wgPrivilegedGroups (see above). |
| 1037 |
* Added a .gitmessage commit template. To use it, run: |
| 1038 |
`git config commit.template .gitmessage` |
| 1039 |
* A new hook, TextSlotDiffRendererTablePrefixHook, has been added to allow |
| 1040 |
extensions to add content within #mw-content-text but after the |
| 1041 |
DifferenceEngineViewHeader or DifferenceEngineShowDiffPage hooks have been |
| 1042 |
run. The new hook is used to add elements within a horizontal display area, |
| 1043 |
where their order can be explicitly set. Examples of uses for this include |
| 1044 |
adding the VisualEditor diff-type switch, and the legend for inline diffs that |
| 1045 |
is displayed if Wikidiff2 is installed. |
| 1046 |
* validation callbacks for HTMLForm fields can now return Status objects. |
| 1047 |
HTMLForm::validate will convert good Status instances to true and Status |
| 1048 |
instances to a string containing a list with the errors. |
| 1049 |
* ?action=rollback, if successful, will fire core's postEdit JavaScript hook; |
| 1050 |
for now, we do *not* display a success message to the user via mw.notify(), |
| 1051 |
as the RollbackAction form's success page is already shown |
| 1052 |
* MultiHttpClient constructor will accept `headers` property which defines a |
| 1053 |
set of headers attached to every request performed by the client. |
| 1054 |
* New `Wikimedia/Http/TelemetryHeadersInterface` interface that provides a |
| 1055 |
telemetry information which could be attached to HTTP Requests |
| 1056 |
* Wikimedia/Http/TelemetryHeadersInterface can be passed to MultiHttpClient |
| 1057 |
via 'telemetry' option. |
| 1058 |
* UserRegistrationLookup adds support for multiple kinds of registration dates |
| 1059 |
Extensions providing support for wiki-farm can use this to provide a global |
| 1060 |
registration date (across all wikis), for example. |
| 1061 |
* When $wgUseXssLanguage is set to true (enabled by default in |
| 1062 |
DevelopmentSettings.php), ?uselang=x-xss can be used to easily test |
| 1063 |
whether all messages are being escaped correctly. |
| 1064 |
* Html::noticeBox accepts new optional parameters, 'heading' & 'iconClassName'. |
| 1065 |
'heading' allows to pass an string as title; 'iconClassName' overwrites the |
| 1066 |
default info icon. |
| 1067 |
|
| 1068 |
=== External library changes in 1.41 === |
| 1069 |
|
| 1070 |
==== New external libraries ==== |
| 1071 |
* Added pinia at v2.0.16. |
| 1072 |
* Added symfony/polyfill-php81 at v1.28.0. |
| 1073 |
* Added symfony/polyfill-php82 at v1.28.0. |
| 1074 |
* Added symfony/polyfill-php83 at v1.28.0. |
| 1075 |
|
| 1076 |
==== Changed external libraries ==== |
| 1077 |
* Updated codex, codex-design-tokens and codex-icons |
| 1078 |
from v0.6.2 to v1.0.0. |
| 1079 |
* Updated guzzlehttp/guzzle from 7.5.0 to 7.5.3. |
| 1080 |
* Updated jQuery from v3.6.1 to v3.7.0. |
| 1081 |
* Updated justinrainbow/json-schema from 5.2.12 to v5.2.13. |
| 1082 |
* Updated Mustache from 3.0.1 to 4.2.0. |
| 1083 |
* Updated OOjs from 6.0.0 to 7.0.1. |
| 1084 |
* Updated OOUI from v0.46.3 to v0.48.1. |
| 1085 |
* Updated pear/mail from 1.5.0 to 1.5.1. |
| 1086 |
* Updated symfony/polyfill-php82 from v1.27.0 to v1.28.0. |
| 1087 |
* Updated symfony/yaml from v5.4.17 to v5.4.23. |
| 1088 |
* Updated wikimedia/bcp-47-code from 1.0.0 to 2.0.0. |
| 1089 |
* Updated wikimedia/common-passwords from 0.4.0 to 0.5.0. |
| 1090 |
* Updated wikimedia/composer-merge-plugin from 2.0.1 to 2.1.0. |
| 1091 |
* Updated wikimedia/html-formatter from 3.0.1 to 4.0.3. |
| 1092 |
* Updated wikimedia/ip-utils from 4.0.0 to 5.0.0. |
| 1093 |
* Updated wikimedia/less.php from 4.0.0 to 4.1.1. |
| 1094 |
* Updated wikimedia/minify from 2.3.0 to 2.5.1. |
| 1095 |
* Updated wikimedia/remex-html from 3.0.3 to 4.0.1. |
| 1096 |
* Updated wikimedia/timestamp from 4.1.0 to 4.1.1. |
| 1097 |
* Updated wikimedia/utfnormal from 3.0.2 to 4.0.0. |
| 1098 |
|
| 1099 |
===== Changed development-only external libraries ===== |
| 1100 |
* Updated mediawiki/mediawiki-codesniffer from 41.0.0 to 42.0.0. |
| 1101 |
* Updated mediawiki/mediawiki-phan-config from 0.12.1 to 0.13.0. |
| 1102 |
|
| 1103 |
==== Removed external libraries ==== |
| 1104 |
* jquery.hoverIntent was removed. |
| 1105 |
* codex-search was removed, it's part of codex now. |
| 1106 |
* wikimedia/ip-set was removed, it's part of wikimedia/ip-utils now. |
| 1107 |
* jquery.color was removed. |
| 1108 |
* jquery.fullscreen was removed. |
| 1109 |
* jquery.form was removed. |
| 1110 |
|
| 1111 |
=== Action API changes in 1.41 === |
| 1112 |
* (T322944) `Authorization` was added to the default list of headers |
| 1113 |
allowed for cross-origin API requests ($wgAllowedCorsHeaders). |
| 1114 |
|
| 1115 |
=== Languages updated in 1.41 === |
| 1116 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 1117 |
Below only new and removed languages are listed, as well as changes to languages |
| 1118 |
because of Phabricator reports. |
| 1119 |
|
| 1120 |
* (T345807) Added language support for Karekare (kai). |
| 1121 |
* (T333765) Removed language support for Akan (Ak). |
| 1122 |
* (T332113) Added language support for Northern Hindko (hno). |
| 1123 |
* (T333425) Added language support for Iraqi (Mesopotamian) Arabic (acm). |
| 1124 |
* (T336919) Added language support for Crimean Tatar (Romania) (crh-ro). |
| 1125 |
* (T338416) Added language support for Betawi (bew). |
| 1126 |
* (T341545) Added language support for West Coast Bajau (a.k.a. Sama; bdr). |
| 1127 |
* (T332118) Namespace translations for Angika (anp) were added |
| 1128 |
* (T341942) The autonym of the Buginese language is changed to the Latin-script |
| 1129 |
name "Basa Ugi", and the localization in the language code "bug" is now only |
| 1130 |
in the Latin script. It's possible to add localization in the Lontara script |
| 1131 |
in translatewiki under the code "bug-bugi". |
| 1132 |
* (T341943) Main Page name translation was changed from "Leppa Indoë" |
| 1133 |
to "Watangpola". If you manage a wiki in this language, make sure that |
| 1134 |
links to the main page are correctly updated. See |
| 1135 |
https://translatewiki.net/w/i.php?title=Support&oldid=11723654#Change_MediaWiki:Mainpage/bug |
| 1136 |
|
| 1137 |
=== Breaking changes in 1.41 === |
| 1138 |
* Article::doDelete(), deprecated since 1.37, has been removed. |
| 1139 |
* CommentStore::getStore(), deprecated since 1.31, has been removed. |
| 1140 |
* Article::getRedirectHeaderHtml() no longer accepts an array as $target. |
| 1141 |
Passing an array was deprecated in 1.39. (The method itself has also |
| 1142 |
been deprecated.) |
| 1143 |
* BagOStuff::addBusyCallback(), deprecated since 1.39, has been removed. |
| 1144 |
* IExpiringStore has been removed, use either ExpirationAwareness or |
| 1145 |
StorageAwareness constants instead. |
| 1146 |
* IDatabase::wasErrorReissuable(), deprecated since 1.40, has been removed. |
| 1147 |
* IDatabase::lastQuery and IReadableDatabase::lastQuery, deprecated in 1.40, |
| 1148 |
have been removed. |
| 1149 |
* Database::queryMulti(), unused, has been removed without deprecation. |
| 1150 |
The protected Database::doMultiStatementQuery method was removed, and the |
| 1151 |
protected Database::executeQuery method signature was changed to take |
| 1152 |
Query object as argument instead of a raw SQL string. |
| 1153 |
* Database::unionConditionPermutations(), unused, has been removed without |
| 1154 |
deprecation. |
| 1155 |
* SimpleSearchResultSetWidget and SimpleSearchResultWidget classes, deprecated |
| 1156 |
in 1.31, have been removed. |
| 1157 |
* Database::factory(), deprecated in 1.39, has been removed. |
| 1158 |
* Calling IDatabase::delete() or IDatabase::update() with empty conditions |
| 1159 |
has been deprecated since 1.35. This now throws an error. |
| 1160 |
* Maintenance::shutdown() has been moved over into the MaintenanceRunner class |
| 1161 |
without deprecation. |
| 1162 |
* The following DatabasePostgres methods were unused and have been removed: |
| 1163 |
- ::currentSequenceValue() |
| 1164 |
- ::triggerExists() |
| 1165 |
- ::ruleExists() |
| 1166 |
* The following IDatabase methods were unused and removed without deprecation: |
| 1167 |
- ::wasLockTimeout() |
| 1168 |
- ::wasConnectionLoss() |
| 1169 |
* Database::getTempTableWrites(), previously protected, is now private. |
| 1170 |
* DatabasePostgres class parameter "keywordTableMap", deprecated since 1.37, |
| 1171 |
has been removed. |
| 1172 |
* Database::doUpsert() and ::doReplace() have been removed without deprecation. |
| 1173 |
Subclasses should override ::upsert() or ::replace() respectively. |
| 1174 |
* SelectQueryBuilder::lockForUpdate(), deprecated in 1.40 and unused, |
| 1175 |
has been removed without hard deprecation. |
| 1176 |
* TransactionProfiler::setSilenced() deprecated in 1.40, has been removed. |
| 1177 |
* ILoadBalancer::closeConnection, unused, has been removed without deprecation. |
| 1178 |
* ILoadBalancer::waitFor, unused, has been removed without deprecation. |
| 1179 |
* ILBFactory::resolveDomainID and ::getChronologyProtectorTouched, unused, |
| 1180 |
have been removed without deprecation. |
| 1181 |
* The following methods have been moved from ILoadBalancer to |
| 1182 |
ILoadBalancerForOwner: |
| 1183 |
- ::redefineLocalDomain() |
| 1184 |
- ::hasPrimaryConnection() |
| 1185 |
- ::setIndexAliases() |
| 1186 |
* LBFactory::makeCookieValueFromCPIndex() and ::getCPInfoFromCookieValue() |
| 1187 |
has been moved to ChronologyProtector class without backward compatability |
| 1188 |
as they are not supposed to be used outside of core. |
| 1189 |
* MWHttpRequest::factory(), deprecated since 1.34, has been removed. |
| 1190 |
* The Http class, deprecated since 1.34, with the functions ::request(), |
| 1191 |
::get(), ::post(), ::userAgent(), ::isValidURI(), ::getProxy(), |
| 1192 |
::createMultiClient() have been removed. |
| 1193 |
* WikiPage::factory(), ::newFromID() and ::newFromRow, deprecated in 1.36, |
| 1194 |
have been removed. |
| 1195 |
* Maintenance::$mArgList, ::shouldExecute(), ::setAgentAndTriggers(), |
| 1196 |
::adjustMemoryLimit(), ::globals(), and ::loadSettings() have been removed. |
| 1197 |
* The GenericArrayObject class, deprecated in 1.40, |
| 1198 |
has been removed. |
| 1199 |
* The $replace parameter has been removed from HookContainer::scopedRegister. |
| 1200 |
This parameter was unused outside core, and the functionality was intended |
| 1201 |
for testing. |
| 1202 |
* PrevNextNavigationRenderer class, deprecated in 1.39, |
| 1203 |
has been removed. |
| 1204 |
* class alias MediaWiki\User\WatchlistNotificationManager, deprecated in 1.36, |
| 1205 |
has been removed. |
| 1206 |
* MediaWikiServices::getWatchlistNotificationManager(), deprecated in 1.36, |
| 1207 |
has been removed. |
| 1208 |
* Interface MediaWiki\Hook\ParserTestTablesHook, deprecated in 1.36, |
| 1209 |
has been removed. |
| 1210 |
* The NewPagesLineEndingHook now takes NewPagesPager instead of |
| 1211 |
SpecialNewpages as first argument. |
| 1212 |
* The following methods in the Title class, deprecated since 1.37, have been |
| 1213 |
removed: |
| 1214 |
- ::areCascadeProtectionSourcesLoaded() |
| 1215 |
- ::areRestrictionsCascading() |
| 1216 |
- ::areRestrictionsLoaded() |
| 1217 |
- ::getAllRestrictions() |
| 1218 |
- ::getCascadeProtectionSources() |
| 1219 |
- ::getFilteredRestrictionTypes() |
| 1220 |
- ::getRestrictionExpiry() |
| 1221 |
- ::getRestrictionTypes() |
| 1222 |
- ::getRestrictions() |
| 1223 |
- ::isCascadeProtected() |
| 1224 |
- ::isProtected() |
| 1225 |
- ::isSemiProtected() |
| 1226 |
- ::loadRestrictionsFromRows() |
| 1227 |
* Global function wfShowingResults, deprecated in 1.40, has been removed. |
| 1228 |
* Global function wfClearOutputBuffers, deprecated in 1.36, has been removed. |
| 1229 |
* LinkBatch::__construct() now requires that all parameters be passed. The |
| 1230 |
fallback to MediaWikiServices emitted deprecation notices since 1.35. |
| 1231 |
* The methods IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and |
| 1232 |
IndexPager::buildPrevNextNavigation(), deprecated in 1.39, |
| 1233 |
have been removed. |
| 1234 |
* Overriding the method IndexPager::makeLink(), deprecated in 1.39, |
| 1235 |
is no longer possible. |
| 1236 |
* MagicWordFactory::getCacheTime() is deprecated and returns -1. |
| 1237 |
* Various mediawiki.less mediawiki.ui variables, deprecated in 1.35, have been |
| 1238 |
removed. See also below that the remaining mediawiki.ui variables are now also |
| 1239 |
deprecated. |
| 1240 |
* Calling getId() on an AbstractBlock from the wrong wiki, deprecated since |
| 1241 |
1.38, now throws an exception. |
| 1242 |
* SQLite no longer supports raw MySQL queries. |
| 1243 |
* The following functions from the mediawiki.mixins Less import, deprecated |
| 1244 |
since 1.37, have been removed: .transition(), .transition-transform(), |
| 1245 |
.transform() and .transform-origin(). |
| 1246 |
* Support was dropped for skins with paths relative to core which has been |
| 1247 |
sending deprecation notices since 1.37. The skin `templateDirectory` key |
| 1248 |
should now always be relative to the skin. |
| 1249 |
* The Skin public thisquery property was removed without deprecation. Only |
| 1250 |
one skin was known to use it and that has been patched accordingly. |
| 1251 |
* The jquery.tipsy module, deprecated since 1.28, has now been removed. |
| 1252 |
* NamespaceInfo::getRestrictionLevels(), deprecated in 1.34, has been removed. |
| 1253 |
Use PermissionManager::getNamespaceRestrictionLevels() instead. |
| 1254 |
* Proto-relative external links are now stored and indexed only as HTTPS |
| 1255 |
instead of two rows, one for HTTP and one for HTTPS. |
| 1256 |
* MediaWikiIntegrationTestCase::getTestUser(), ::getTestSysop(), and |
| 1257 |
::getMutableTestUser() have been made protected and non-static. |
| 1258 |
* MediaWikiIntegrationTestCase::$supportedDBs has been changed to a private |
| 1259 |
constant. |
| 1260 |
* MediaWikiIntegrationTestCase::addCoreDBData() has been deprecated. The method |
| 1261 |
is now a no-op and is no longer called. Tests should create the fixtures |
| 1262 |
they need. |
| 1263 |
* Saving preferences for a temporary user now throws an error (e.g. via |
| 1264 |
UserOptionsManager::saveOptions) |
| 1265 |
* ApiQuery::getNamedDB() and ApiQueryBase::selectNamedDB(), deprecated in |
| 1266 |
1.39, have been removed. |
| 1267 |
* ChangeTags::addTagsAccompanyingChangeWithChecks() and |
| 1268 |
ChangeTags::undefineTag() unused everywhere, have been removed without |
| 1269 |
deprecation. |
| 1270 |
* Usage of MediaWiki::preOutputCommit() with the $postCommitWork arg has been |
| 1271 |
dropped. It's no longer used. |
| 1272 |
* SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage hooks, |
| 1273 |
deprecated in 1.39, have been removed. |
| 1274 |
* The PersonalUrls hook, deprecated in 1.39, has been removed. |
| 1275 |
* OutputPage::getCSPNonce(), soft deprecated in 1.35, now emits deprecation |
| 1276 |
warnings. |
| 1277 |
* Support of the third parameter of LogEventsListGetExtraInputs hook, |
| 1278 |
deprecated since 1.32, has been removed. |
| 1279 |
* JobSpecification::getTitle(), deprecated in 1.37, has been removed. |
| 1280 |
* The module mw.ui.anchor has been removed. Projects that need it should |
| 1281 |
maintain a local copy or use the Codex link mixin. More information |
| 1282 |
at T235961. |
| 1283 |
* ParsoidCachePrewarmJob::newSpec() now requires a PageRecord as the second |
| 1284 |
parameter instead of a page ID. |
| 1285 |
* Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev, |
| 1286 |
mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded, |
| 1287 |
mTextLoaded and mCacheHit, deprecated in 1.32, was removed. |
| 1288 |
* SearchDatabase::db, deprecated since 1.38, has been removed. |
| 1289 |
* SearchDatabase::lb has been removed without deprecation, use ::dbProvider |
| 1290 |
instead. |
| 1291 |
* StreamFile::STREAM_HEADLESS and StreamFile::STREAM_ALLOW_OB, deprecated |
| 1292 |
in 1.34, have been removed. |
| 1293 |
* AbstractAuthenticationProvider::setLogger(), ::setManager(), ::setConfig() |
| 1294 |
and ::setHookContainer() have been removed and also from it's related |
| 1295 |
interface, AuthenticationProvider. The corresponding properties are set in |
| 1296 |
AbstractAuthenticationProvider::init(). For side effects, you can override |
| 1297 |
AbstractAuthenticationProvider::postInitSetup(). |
| 1298 |
* Title::newFromTitleValue(), deprecated since 1.34, has been removed. |
| 1299 |
* Parser::OT_MSG, related to OT_MSG(3) MediaWiki constant, parameter for |
| 1300 |
starting external parse has been dropped. This was kept since 2008 for B/C |
| 1301 |
only and no longer used. Use instead Parser::OT_PREPROCESS as the |
| 1302 |
replacement. |
| 1303 |
* SpecialPageAction has been removed without deprecation. There were no known |
| 1304 |
uses outside of core. |
| 1305 |
* ConfigRepository::getValueOf() has been removed without deprecation. This |
| 1306 |
method was introduced and never used for a long time now. |
| 1307 |
* BacklinkCache::get(), ::getLinks(), ::getCascadeProtectedLinks() which |
| 1308 |
emitted deprecation warnings has no usage left. It has been removed. |
| 1309 |
* The following constants and methods in the Language class, hard deprecated |
| 1310 |
since 1.40, have been removed: |
| 1311 |
- ::ALL |
| 1312 |
- ::SUPPORTED |
| 1313 |
- ::MESSAGES_FALLBACKS |
| 1314 |
- ::STRICT_FALLBACKS |
| 1315 |
- ::factory() |
| 1316 |
- ::isSupportedLanguage() |
| 1317 |
- ::isWellFormedLanguageTag() |
| 1318 |
- ::isValidCode() |
| 1319 |
- ::isValidBuiltInCode() |
| 1320 |
- ::isKnownLanguageTag() |
| 1321 |
- ::getLocalisationCache() |
| 1322 |
- ::fetchLanguageNames() |
| 1323 |
- ::fetchLanguageName() |
| 1324 |
- ::getConverter() |
| 1325 |
- ::autoConvert() |
| 1326 |
- ::autoConvertToAllVariants() |
| 1327 |
- ::convert() |
| 1328 |
- ::convertNamespace() |
| 1329 |
- ::hasVariants() |
| 1330 |
- ::hasVariant() |
| 1331 |
- ::convertHtml() |
| 1332 |
- ::convertCategoryKey() |
| 1333 |
- ::getVariants() |
| 1334 |
- ::getPreferredVariant() |
| 1335 |
- ::getDefaultVariant() |
| 1336 |
- ::getURLVariant() |
| 1337 |
- ::getExtraHashOptions() |
| 1338 |
- ::getParentLanguage() |
| 1339 |
- ::getFileName() |
| 1340 |
- ::getMessagesFileName() |
| 1341 |
- ::getJsonMessagesFileName() |
| 1342 |
- ::getFallbackFor() |
| 1343 |
- ::getFallbacksFor() |
| 1344 |
- ::getFallbacksIncludingSiteLanguage() |
| 1345 |
- ::getMessagesFor() |
| 1346 |
- ::getMessageFor() |
| 1347 |
- ::getMessageKeysFor() |
| 1348 |
- ::getConvRuleTitle() |
| 1349 |
* The parameter noSeparators to Language::formatNum, deprecated since 1.36, |
| 1350 |
has been removed. Use Language::formatNumNoSeparators instead. |
| 1351 |
* The following methods in the ParserOutput class, deprecated since 1.38, have |
| 1352 |
been removed: |
| 1353 |
- ::addOutputHook() |
| 1354 |
- ::addTrackingCategory() |
| 1355 |
- ::addWarning() |
| 1356 |
- ::getCategoryLinks() |
| 1357 |
- ::getOutputHooks() |
| 1358 |
- ::getProperties() |
| 1359 |
- ::getProperty() |
| 1360 |
- ::hasDynamicContent() |
| 1361 |
- ::hideNewSection() |
| 1362 |
- ::preventClickjacking() |
| 1363 |
- ::setCategoryLinks() |
| 1364 |
- ::setProperty() |
| 1365 |
- ::unsetProperty() |
| 1366 |
* OutputPage::allowClickjacking() and ::preventClickjacking(), deprecated |
| 1367 |
since 1.38, have been removed. |
| 1368 |
* ResourceFileCache has been removed without deprecation. There were no known |
| 1369 |
uses outside of core. |
| 1370 |
* Many LocalisationCache constants, properties and methods that have no known |
| 1371 |
usage outside of the class have been made private without deprecation. |
| 1372 |
* User::idFromName(), deprecated in 1.37, has been removed. Instead, you should |
| 1373 |
use UserIdentityLookup::getUserIdentityByName(). |
| 1374 |
* User::incEditCount(), deprecated in 1.37, has been removed. Instead, use |
| 1375 |
UserEditTracker::incrementUserEditCount(). |
| 1376 |
* Article::getTimestamp(), deprecated in 1.35, has been removed. Use WikiPage's |
| 1377 |
or RevisionRecord's version of this method instead. |
| 1378 |
* ActionFactory::actionExists(), deprecated since 1.38, has been dropped. |
| 1379 |
* Action::exists(), deprecated since 1.38, has been dropped. |
| 1380 |
* ContentHandler::getForTitle(), deprecated since 1.35, has been dropped. |
| 1381 |
* LockManagerGroup::getDefault() and ::getAny(), deprecated since 1.35, have |
| 1382 |
been dropped. |
| 1383 |
* BaseTemplate::getToolbox(), deprecated since 1.35, has been dropped. To add |
| 1384 |
items to the toolbox, use the SidebarBeforeOutput hook. To get the toolbox, |
| 1385 |
subclasses can use $this->data['sidebar']['TOOLBOX']. |
| 1386 |
* IndexPager::getHookContainer(), deprecated since 1.40, has been removed. You |
| 1387 |
should instead inject a HookContainer into your code. |
| 1388 |
* Not specifying a manifest_version in your extension.json or skin.json file, |
| 1389 |
deprecated since 1.26 and emitting warnings since 1.29, is no longer supported |
| 1390 |
with a fallback; it will now have unspecified behaviour. |
| 1391 |
* RecentChange::getEngine(), deprecated since 1.29, has been removed. Use |
| 1392 |
RCFeed::factory() instead. |
| 1393 |
* EditPage::showEditForm() no longer respects the $formCallback parameter, which |
| 1394 |
was deprecated in 1.25. Use the EditPage::showEditForm:fields hook instead. |
| 1395 |
* The following properties in EditPage, deprecated in 1.38, were made private: |
| 1396 |
- $mArticle |
| 1397 |
- $mTitle |
| 1398 |
- $isNew |
| 1399 |
- $allowBlankArticle |
| 1400 |
- $selfRedirect |
| 1401 |
- $allowSelfRedirect |
| 1402 |
- $diff |
| 1403 |
- $undoAfter |
| 1404 |
- $edit |
| 1405 |
- $contentLength |
| 1406 |
* EditPage::addNewLineAtEnd(), deprecated since 1.38, was removed. |
| 1407 |
* AuthManager::checkAccountCreatePermissions(), deprecated in 1.39, has been |
| 1408 |
removed. Use authorizeCreateAccount() or probablyCanCreateAccount() instead. |
| 1409 |
* LinkCache::addGoodLinkObj(), deprecated in 1.37, has been removed. You should |
| 1410 |
use ::addGoodLinkObjFromRow(). |
| 1411 |
* Constructing TextConflictHelper without a ContentHandlerFactory, deprecated |
| 1412 |
since 1.35, will now trigger a type error. |
| 1413 |
* JobQueue::getWiki(), deprecated in 1.33, has been removed. |
| 1414 |
* ManualLogEntry::setTags(), deprecated in 1.33, has been removed. |
| 1415 |
* WikiPage::getDeletionUpdates(), deprecated in 1.37, has been removed. |
| 1416 |
* ResourceLoader\Context::getConfig(), deprecated in 1.34, has been removed. |
| 1417 |
* When creating a SearchUpdate instance, passing a non-Content string or Boolean |
| 1418 |
as the $c parameter, deprecated since 1.34, will now trigger type errors. |
| 1419 |
* SkinTemplate::getNameSpaceKey(), deprecated in 1.35, has been dropped. Instead |
| 1420 |
you should use Title::getNamespaceKey(). |
| 1421 |
* The AddNewAccount hook, deprecated since 1.27, will now trigger deprecation |
| 1422 |
warnings. You should use the LocalUserCreated hook instead. |
| 1423 |
* The PrefixSearchBackend hook, deprecated since 1.27, will now trigger |
| 1424 |
deprecation warnings. Override SearchEngine::completionSearchBackend instead. |
| 1425 |
* PrefixSearch::validateNamespaces(), completely unused everywhere, has been |
| 1426 |
removed without deprecation. |
| 1427 |
* BaseTemplate::getTrail() and ::printTrail(), deprecated since 1.39, have been |
| 1428 |
dropped. |
| 1429 |
* Passing a second query parameter to Title::getFullURL(), Title::getLocalURL(), |
| 1430 |
Title::getInternalURL(), or Title::getCanonicalURL(), each deprecated in 1.19, |
| 1431 |
is now not supported. Pass it as a key,value pair in the first parameter array |
| 1432 |
instead. |
| 1433 |
* Title::getBacklinkCache(), deprecated since 1.37, has been dropped. Instead, |
| 1434 |
use BacklinkCacheFactory::getBacklinkCache(). |
| 1435 |
* Title::newFromIDs and TitleFactory::newFromIDs, deprecated in 1.38, have been |
| 1436 |
dropped; use a PageStore QueryBuilder instead. |
| 1437 |
* Title::getSelectFields(), deprecated since 1.36, has been dropped. You can use |
| 1438 |
PageStore::newSelectQueryBuilder() instead. |
| 1439 |
* Title::getTouched() will now trigger an error if you pass it an instance of |
| 1440 |
IDatabase rather than a READ_XXX constant. This legacy behaviour has been |
| 1441 |
deprecated since 1.38. |
| 1442 |
* User::getGroupPermissions(), getGroupsWithPermission() & groupHasPermission(), |
| 1443 |
all of which were deprecated since 1.34, have been removed. Instead, use the |
| 1444 |
GroupPermissionsLookup service. |
| 1445 |
* Similarly, PermissionManager::getGroupPermissions(), getGroupsWithPermission() |
| 1446 |
& groupHasPermission(), all of which were deprecated since 1.36, have also |
| 1447 |
been removed. Instead, use the GroupPermissionsLookup service. |
| 1448 |
* The following old, deprecated aliases for classes in the RDBMS layer, have now |
| 1449 |
been removed: |
| 1450 |
- DBConnRef (use Wikimedia\Rdbms\DBConnRef) |
| 1451 |
- Database (use Wikimedia\Rdbms\Database) |
| 1452 |
- DatabaseBase (use Wikimedia\Rdbms\Database) |
| 1453 |
- DatabaseMysqlBase (use Wikimedia\Rdbms\DatabaseMySQL) |
| 1454 |
- DatabaseMysqli (use Wikimedia\Rdbms\DatabaseMySQL) |
| 1455 |
- DatabasePostgres (use Wikimedia\Rdbms\DatabasePostgres) |
| 1456 |
- DatabaseSqlite (use Wikimedia\Rdbms\DatabaseSqlite) |
| 1457 |
- IDatabase (use Wikimedia\Rdbms\IDatabase) |
| 1458 |
- FakeResultWrapper (use Wikimedia\Rdbms\FakeResultWrapper) |
| 1459 |
- ResultWrapper (use Wikimedia\Rdbms\ResultWrapper) |
| 1460 |
* The following old, deprecated aliases for classes have now been removed: |
| 1461 |
- MediaWiki\Rest\Handler\HtmlInputTransformHelper |
| 1462 |
- MediaWiki\Rest\Handler\HtmlMessageOutputHelper |
| 1463 |
- MediaWiki\Rest\Handler\HtmlOutputRendererHelper |
| 1464 |
- MediaWiki\Rest\Handler\PageContentHelper |
| 1465 |
- MediaWiki\Rest\Handler\PageRestHelperFactory |
| 1466 |
- MediaWiki\Rest\Handler\ParsoidFormatHelper |
| 1467 |
- MediaWiki\Rest\Handler\RevisionContentHelper |
| 1468 |
(use the classes from namespace MediaWiki\Rest\Handler\Helper) |
| 1469 |
- SearchNearMatcher (use MediaWiki\Search\TitleMatcher) |
| 1470 |
* $CHANGEDORCREATED argument of 'enotif_body' message was removed. |
| 1471 |
It wasn't used in the default messages since 1.21. |
| 1472 |
* The AbstractBlock and DatabaseBlock public properties mExpiry, mHideName, |
| 1473 |
mTimestamp, mAuto and mParentBlockId, deprecated since 1.34, have been |
| 1474 |
removed. |
| 1475 |
* WikiPage::doDeleteUpdates() and ::getDeletionUpdates(), deprecated in 1.37, |
| 1476 |
have been removed. |
| 1477 |
* The User public properties mOptions, mBlock, mBlockedby and mHideName, |
| 1478 |
deprecated since 1.35, were removed. |
| 1479 |
* User::CHECK_USER_RIGHTS and User::IGNORE_USER_RIGHTS were removed. They were |
| 1480 |
flags passed to methods which were previously removed. |
| 1481 |
* All public properties of LinksUpdate, deprecated in 1.38, were removed. |
| 1482 |
* The class Wikimedia\Rdbms\MySQLMasterPos, deprecated in 1.37, has been |
| 1483 |
removed. Use Wikimedia\Rdbms\MySQLPrimaryPos instead. |
| 1484 |
* The class GetBlockErrorMessageKey, deprecated in 1.40, has been removed. |
| 1485 |
* The ability to set Parser::mTitle to null, deprecated in 1.34, was removed. |
| 1486 |
* The following MagicWord methods have been removed without deprecation. There |
| 1487 |
were no known uses. |
| 1488 |
- ::addToArray |
| 1489 |
- ::compareStringLength |
| 1490 |
- ::getVariableRegex |
| 1491 |
- ::getVariableStartToEndRegex |
| 1492 |
- ::getWasModified |
| 1493 |
- ::matchStart |
| 1494 |
- ::matchVariableStartToEnd |
| 1495 |
- ::pregRemoveAndRecord |
| 1496 |
- ::substituteCallback |
| 1497 |
* The following MagicWordArray methods have been removed or made private without |
| 1498 |
deprecation. There were no known uses outside of the class. |
| 1499 |
- ::addArray |
| 1500 |
- ::getRegex, already marked as @internal, now private |
| 1501 |
- ::getRegexStart, already marked as @internal, now private |
| 1502 |
- ::getVariableRegex, deprecated since 1.36 |
| 1503 |
- ::getVariableStartToEndRegex, already marked as @internal, now private |
| 1504 |
- ::parseMatch, now private |
| 1505 |
* AbstractContent::getRedirectChain() and ::getUltimateRedirectTarget(), both |
| 1506 |
deprecated in 1.38, have been removed. |
| 1507 |
|
| 1508 |
=== Deprecations in 1.41 === |
| 1509 |
* The MessageCache::get hook is deprecated for performance reasons. Use |
| 1510 |
MessageCacheFetchOverrides instead. |
| 1511 |
* EtcdConfig::setLogger() is deprecated as it was unused and could not be |
| 1512 |
used correctly. As a standalone class, its warnings now surface |
| 1513 |
unconditionally via the native PHP error log. |
| 1514 |
* The interface for hook ParserModifyImageHTML have been renamed from |
| 1515 |
ParserModifyImageHTML to ParserModifyImageHTMLHook, |
| 1516 |
the old name is deprecated. |
| 1517 |
* (T178356) The es6-polyfills module is deprecated and is now a no-op. |
| 1518 |
* SerializedValueContainer::newUnified() is unused and now emits deprecation |
| 1519 |
warnings. |
| 1520 |
* Profiler::setProfileID() and ::getAllowOutput() are now deprecated and also |
| 1521 |
emit deprecation warnings. For ::setProfileID(), override the related class |
| 1522 |
member directly in sub-class. |
| 1523 |
* (T166010) All PHP code in MediaWiki is slowly being moved to be in a class |
| 1524 |
namespace as appropriate, so that we can use PSR-4 auto-loading, which will |
| 1525 |
speed up general code loading of MediaWiki. The old global namespace class |
| 1526 |
names are being left behind as deprecated aliases. |
| 1527 |
|
| 1528 |
In this release of MediaWiki, 1661 classes now have a namespace and 972 do |
| 1529 |
not yet (63% done, up from 54% in MediaWiki 1.40.0). The following have newly |
| 1530 |
been moved: |
| 1531 |
- MediaWiki\Config: |
| 1532 |
- Config |
| 1533 |
- ConfigException |
| 1534 |
- ConfigFactory |
| 1535 |
- EtcdConfig |
| 1536 |
- EtcdConfigParseError |
| 1537 |
- GlobalVarConfig |
| 1538 |
- HashConfig |
| 1539 |
- MultiConfig |
| 1540 |
- MutableConfig |
| 1541 |
- SiteConfiguration |
| 1542 |
- MediaWiki\EventRelayer: |
| 1543 |
- EventRelayer |
| 1544 |
- EventRelayerNull |
| 1545 |
- EventRelayerGroup |
| 1546 |
- MediaWiki\Installer: |
| 1547 |
- Pingback |
| 1548 |
- MediaWiki\Libs: |
| 1549 |
- Emptiable |
| 1550 |
- MediaWiki\Output: |
| 1551 |
- OutputPage |
| 1552 |
- OutputHandler |
| 1553 |
- StreamFile |
| 1554 |
- MediaWiki\Pager: |
| 1555 |
- ActiveUsersPager |
| 1556 |
- AllMessagesTablePager |
| 1557 |
- AlphabeticPager |
| 1558 |
- BlockListPager |
| 1559 |
- CategoryPager |
| 1560 |
- ContribsPager |
| 1561 |
- DeletedContribsPager |
| 1562 |
- HistoryPager |
| 1563 |
- ImageListPager |
| 1564 |
- IndexPager |
| 1565 |
- LogPager |
| 1566 |
- MergeHistoryPager |
| 1567 |
- NewFilesPager |
| 1568 |
- NewPagesPager |
| 1569 |
- Pager |
| 1570 |
- PagerTools |
| 1571 |
- ProtectedPagesPager |
| 1572 |
- ProtectedTitlesPager |
| 1573 |
- RangeChronologicalPager |
| 1574 |
- ReverseChronologicalPager |
| 1575 |
- TablePager |
| 1576 |
- UsersPager |
| 1577 |
- MediaWiki\Parser: |
| 1578 |
- Sanitizer |
| 1579 |
- MediaWiki\Request: |
| 1580 |
- ProxyLookup |
| 1581 |
- WebRequest |
| 1582 |
- MediaWiki\SiteStats: |
| 1583 |
- SiteStats |
| 1584 |
- SiteStatsInit |
| 1585 |
- MediaWiki\Specials: |
| 1586 |
- SpecialActiveUsers |
| 1587 |
- SpecialAllMessages |
| 1588 |
- SpecialAncientPages |
| 1589 |
- SpecialApiHelp |
| 1590 |
- SpecialApiSandbox |
| 1591 |
- SpecialAutoblockList |
| 1592 |
- SpecialBlankpage |
| 1593 |
- SpecialBlock |
| 1594 |
- SpecialBlockList |
| 1595 |
- SpecialBookSources |
| 1596 |
- SpecialBotPasswords |
| 1597 |
- SpecialBrokenRedirects |
| 1598 |
- SpecialCategories |
| 1599 |
- SpecialChangeContentModel |
| 1600 |
- SpecialChangeCredentials |
| 1601 |
- SpecialChangeEmail |
| 1602 |
- SpecialChangePassword |
| 1603 |
- SpecialComparePages |
| 1604 |
- SpecialConfirmEmail |
| 1605 |
- SpecialContribute |
| 1606 |
- SpecialContributions |
| 1607 |
- SpecialCreateAccount |
| 1608 |
- SpecialDeadendPages |
| 1609 |
- SpecialDeletePage |
| 1610 |
- SpecialDeletedContributions |
| 1611 |
- SpecialDiff |
| 1612 |
- SpecialDoubleRedirects |
| 1613 |
- SpecialEditPage |
| 1614 |
- SpecialEditTags |
| 1615 |
- SpecialEditWatchlist |
| 1616 |
- SpecialEmailInvalidate |
| 1617 |
- SpecialEmailUser |
| 1618 |
- SpecialExpandTemplates |
| 1619 |
- SpecialExport |
| 1620 |
- SpecialFewestRevisions |
| 1621 |
- SpecialFileDuplicateSearch |
| 1622 |
- SpecialFilepath |
| 1623 |
- SpecialGoToInterwiki |
| 1624 |
- SpecialImport |
| 1625 |
- SpecialJavaScriptTest |
| 1626 |
- SpecialLinkAccounts |
| 1627 |
- SpecialLinkSearch |
| 1628 |
- SpecialListDuplicatedFiles |
| 1629 |
- SpecialListFiles |
| 1630 |
- SpecialListGrants |
| 1631 |
- SpecialListGroupRights |
| 1632 |
- SpecialListRedirects |
| 1633 |
- SpecialListUsers |
| 1634 |
- SpecialLockdb |
| 1635 |
- SpecialLog |
| 1636 |
- SpecialLonelyPages |
| 1637 |
- SpecialLongPages |
| 1638 |
- SpecialMIMESearch |
| 1639 |
- SpecialMediaStatistics |
| 1640 |
- SpecialMergeHistory |
| 1641 |
- SpecialMostCategories |
| 1642 |
- SpecialMostInterwikis |
| 1643 |
- SpecialMostLinked |
| 1644 |
- SpecialMostLinkedCategories |
| 1645 |
- SpecialMostLinkedTemplates |
| 1646 |
- SpecialMostRevisions |
| 1647 |
- SpecialMute |
| 1648 |
- SpecialMyLanguage |
| 1649 |
- SpecialNewFiles |
| 1650 |
- SpecialNewPages (and capitalisation corrected) |
| 1651 |
- SpecialNewSection |
| 1652 |
- SpecialPageData |
| 1653 |
- SpecialPageHistory |
| 1654 |
- SpecialPageInfo |
| 1655 |
- SpecialPageLanguage |
| 1656 |
- SpecialPagesWithProp |
| 1657 |
- SpecialPasswordPolicies |
| 1658 |
- SpecialPasswordReset |
| 1659 |
- SpecialPermanentLink |
| 1660 |
- SpecialPreferences |
| 1661 |
- SpecialPrefixIndex (and capitalisation corrected) |
| 1662 |
- SpecialProtectedPages (and capitalisation corrected) |
| 1663 |
- SpecialProtectedTitles (and capitalisation corrected) |
| 1664 |
- SpecialProtectPage |
| 1665 |
- SpecialPurge |
| 1666 |
- SpecialRandomInCategory |
| 1667 |
- SpecialRandom |
| 1668 |
- SpecialRandomRedirect |
| 1669 |
- SpecialRandomRootPage |
| 1670 |
- SpecialRecentChanges |
| 1671 |
- SpecialRecentChangesLinked |
| 1672 |
- SpecialRedirect |
| 1673 |
- SpecialRedirectToSpecial |
| 1674 |
- SpecialRemoveCredentials |
| 1675 |
- SpecialRenameUser (and capitalisation corrected) |
| 1676 |
- SpecialResetTokens |
| 1677 |
- SpecialRevisionDelete |
| 1678 |
- SpecialRunJobs |
| 1679 |
- SpecialSearch |
| 1680 |
- SpecialShortPages |
| 1681 |
- SpecialSpecialPages (and capitalisation corrected) |
| 1682 |
- SpecialStatistics |
| 1683 |
- SpecialTags |
| 1684 |
- SpecialTrackingCategories |
| 1685 |
- SpecialUnblock |
| 1686 |
- SpecialUncategorizedCategories |
| 1687 |
- SpecialUncategorizedImages |
| 1688 |
- SpecialUncategorizedPages |
| 1689 |
- SpecialUncategorizedTemplates |
| 1690 |
- SpecialUndelete |
| 1691 |
- SpecialUnlinkAccounts |
| 1692 |
- SpecialUnlockdb |
| 1693 |
- SpecialUnusedCategories |
| 1694 |
- SpecialUnusedImages |
| 1695 |
- SpecialUnusedTemplates |
| 1696 |
- SpecialUnwatchedPages |
| 1697 |
- SpecialUpload |
| 1698 |
- SpecialUploadStash |
| 1699 |
- SpecialUserLogin |
| 1700 |
- SpecialUserLogout |
| 1701 |
- SpecialVersion |
| 1702 |
- SpecialWantedCategories |
| 1703 |
- SpecialWantedTemplates |
| 1704 |
- SpecialWatchlist |
| 1705 |
- SpecialWhatLinksHere |
| 1706 |
- SpecialWithoutInterwiki |
| 1707 |
- MediaWiki\Specials\Redirects: |
| 1708 |
- SpecialAllMyUploads |
| 1709 |
- SpecialListAdmins |
| 1710 |
- SpecialListBots |
| 1711 |
- SpecialMycontributions |
| 1712 |
- SpecialMylog |
| 1713 |
- SpecialMypage |
| 1714 |
- SpecialMytalk |
| 1715 |
- SpecialMyuploads |
| 1716 |
- MediaWiki\SpecialPage: |
| 1717 |
- AuthManagerSpecialPage |
| 1718 |
- ChangesListSpecialPage |
| 1719 |
- DisabledSpecialPage |
| 1720 |
- FormSpecialPage |
| 1721 |
- ImageQueryPage |
| 1722 |
- IncludableSpecialPage |
| 1723 |
- LoginSignupSpecialPage |
| 1724 |
- PageQueryPage |
| 1725 |
- QueryPage |
| 1726 |
- RedirectSpecialArticle |
| 1727 |
- RedirectSpecialPage |
| 1728 |
- SpecialPage |
| 1729 |
- SpecialRedirectToSpecial |
| 1730 |
- SpecialRedirectWithAction |
| 1731 |
- UnlistedSpecialPage |
| 1732 |
- WantedQueryPage |
| 1733 |
- MediaWiki\Status: |
| 1734 |
- Status |
| 1735 |
- MediaWiki\Title: |
| 1736 |
- ForeignTitle |
| 1737 |
- ForeignTitleFactory |
| 1738 |
- ImportTitleFactory |
| 1739 |
- MalformedTitleException |
| 1740 |
- MediaWikiTitleCodec |
| 1741 |
- NaiveForeignTitleFactory |
| 1742 |
- NaiveImportTitleFactory |
| 1743 |
- NamespaceAwareForeignTitleFactory |
| 1744 |
- NamespaceImportTitleFactory |
| 1745 |
- NamespaceInfo |
| 1746 |
- SubpageImportTitleFactory |
| 1747 |
- TitleFormatter |
| 1748 |
- TitleParser |
| 1749 |
- TitleValue |
| 1750 |
- MediaWiki\User: |
| 1751 |
- BotPassword |
| 1752 |
- ExternalUserNames |
| 1753 |
- LoggedOutEditToken |
| 1754 |
- PasswordReset |
| 1755 |
- User |
| 1756 |
- UserArray |
| 1757 |
- UserArrayFromResult |
| 1758 |
- UserGroupMembership |
| 1759 |
- UserRightsProxy |
| 1760 |
- MediaWiki\User\CentralId: |
| 1761 |
- CentralIdLookup |
| 1762 |
- LocalIdLookup |
| 1763 |
- MediaWiki\Utils: |
| 1764 |
- MWTimestamp |
| 1765 |
- GitInfo |
| 1766 |
- ExtensionInfo (previously under MediaWiki\ExtensionInfo) |
| 1767 |
- Wikimedia\Rdbms: |
| 1768 |
- ConfiguredReadOnlyMode |
| 1769 |
- ReadOnlyMode |
| 1770 |
* Various mediawiki.ui variables have been deprecated in favor of |
| 1771 |
'mediawiki.skin.variables.less' Codex design tokens featuring replacements. |
| 1772 |
* Hook handlers must now be specified either as a PHP callable, or as a PHP |
| 1773 |
object that has a method matching the hook name. Other ways to specify |
| 1774 |
the handler are deprecated and will soon be removed. Deprecated ways to |
| 1775 |
specify a hook handler include callables wrapped in an array. Handlers |
| 1776 |
defined using a "HookHandlers" entry in extension.json are not affected. |
| 1777 |
* TitleArray::newFromResult() has been deprecated and now emits deprecation |
| 1778 |
warnings, use TitleArrayFromResults instead. |
| 1779 |
* The MediaWikiIntegrationTestCase::$users has been deprecated. Use Authority |
| 1780 |
if possible, or call ::getTestUser() or ::getTestSysop() directly. |
| 1781 |
* WebRequest::isSafeRequest() and ::markAsSafeRequest() has been deprecated |
| 1782 |
and now emits deprecation warnings. Use ::hasSafeMethod() instead. |
| 1783 |
* The tests/phpunit/phpunit.php entrypoint has been deprecated. PHPUnit |
| 1784 |
tests should be run with composer, for example with the |
| 1785 |
`composer phpunit:entrypoint` command. |
| 1786 |
* The unnamespace UserNamePrefixSearch class, deprecated in 1.36, now emits |
| 1787 |
deprecation warnings. Use the MediaWiki\User\UserNamePrefixSearch service. |
| 1788 |
* The jquery.cookie ResourceLoader module has been merged into the existing |
| 1789 |
mediawiki.cookie module; jquery.cookie remains but is deprecated. |
| 1790 |
* Passing a database to DatabaseBlockStore::insertBlock() is deprecated. |
| 1791 |
DatabaseBlockStoreFactory should be used to fetch a correct |
| 1792 |
DatabaseBlockStore instead. |
| 1793 |
* The global function wfGetLangObj is deprecated and emits deprecation |
| 1794 |
warnings. Use MediaWiki\Languages\LanguageFactory::getLanguage instead. |
| 1795 |
* The SwiftVirtualRESTService class is deprecated in 1.41 and now emits |
| 1796 |
deprecation warnings. |
| 1797 |
* SqlBagOStuff::expireAll() is deprecated and now emits deprecation warnings, |
| 1798 |
use SqlBagOStuff::deleteObjectsExpiringBefore() instead. |
| 1799 |
* SqlBagOStuff::deleteAll() is deprecated and now emits deprecation warnings. |
| 1800 |
* Passing an actor id to the UserIdentityValue constructor is now emits |
| 1801 |
deprecation warnings, it is deprecated since 1.36. |
| 1802 |
* UserGroupMembership::getGroupName(), deprecated in 1.38, and |
| 1803 |
UserGroupMembership::getGroupMemberName(), deprecated in 1.40, now emit |
| 1804 |
deprecation warnings. |
| 1805 |
* UserGroupMembership::getLink() has been deprecated in favour of |
| 1806 |
::getLinkHTML() and ::getLinkWiki(). |
| 1807 |
* Linker::formatComment(), ::formatLinksInComment(), ::commentBlock() and |
| 1808 |
::revComment(), deprecated in 1.38, now emit deprecation warnings. |
| 1809 |
* PageArchive::listRevisions(), ::getRevisionRecordByTimestamp(), |
| 1810 |
::getArchivedRevisionRecord(), ::getPreviousRevisionRecord(), |
| 1811 |
::getLastRevisionId() and ::isDeleted(), deprecated in 1.38, |
| 1812 |
now emit deprecation warnings. |
| 1813 |
* SearchResultThumbnail::getSize() has been deprecated to be dropped in the |
| 1814 |
future as it is resource intensive and degrades performance. |
| 1815 |
* The EmailUserPermissionsErrors and UserCanSendEmail hooks have been |
| 1816 |
deprecated in favour of the EmailUserAuthorizeSend hook. |
| 1817 |
* The EmailUser hook has been deprecated in favour of the EmailUserSendEmail |
| 1818 |
hook. |
| 1819 |
* The InterwikiLoadPrefix hook now emits deprecation warnings. Resetting the |
| 1820 |
$wgInterwikiCache setting instead. |
| 1821 |
* SiteConfiguration::getConfig() now emits deprecation warnings, Use ::get() |
| 1822 |
instead. |
| 1823 |
* SiteConfiguration::extractVar() and ::extractGlobal() have been deprecated |
| 1824 |
and also emit deprecation warnings. |
| 1825 |
* JobQueueGroup::waitForBackups() is deprecated. JobQueue::waitForBackups() |
| 1826 |
should be used instead. |
| 1827 |
* Hooks::isRegistered(), ::getHandlers(), ::run() and ::runWithoutAbort(), |
| 1828 |
deprecated in 1.35, now emit deprecation warnings. |
| 1829 |
* VirtualRESTService class and its subclasses now emit deprecation warnings |
| 1830 |
in 1.41 and as a replacement we can use MultiHttpClient. |
| 1831 |
* Calling the MediaWikiServices::getVirtualRESTServiceClient() function |
| 1832 |
which creates the VirtualRESTServiceClient now emits deprecation warnings. |
| 1833 |
* Language::getMessage and Language::getAllMessages are deprecated. Use |
| 1834 |
LocalisationCache or MessageCache as appropriate. |
| 1835 |
* VirtualRESTService class is deprecated in 1.41 and as a replacement |
| 1836 |
we can use MultiHttpClient. |
| 1837 |
* MediaWikiServices::getConfiguredReadOnlyMode() is deprecated. Use |
| 1838 |
::getReadOnlyMode() instead. ReadOnlyMode::getConfiguredReason() |
| 1839 |
and ::isConfiguredReadOnly() has been added to support that. |
| 1840 |
* UploadBase::isThrottled() has been deprecated and is emitting deprecation |
| 1841 |
warnings. Rate limits are enforced by UploadBase::verifyTitlePermissions(), |
| 1842 |
since rate limit checks are now implicit in permission checks. |
| 1843 |
* JobSpecification::toSerializableArray() now emits deprecation warnings. |
| 1844 |
* The following skin methods were deprecated: |
| 1845 |
- Skin::makeSpecialUrl (use Title or Special class instead) |
| 1846 |
- Skin::makeSpecialUrlSubpage (use Title or Special class instead) |
| 1847 |
* mw.jqueryMsg.parser, deprecated in 1.31, now emits deprecation warnings. |
| 1848 |
* ResourceLoader (T127268): The targets system is deprecated. Modules that |
| 1849 |
have been marked as desktop or mobile only are no longer supported and |
| 1850 |
will send deprecation warnings. |
| 1851 |
* TextSlotDiffRenderer::setLanguage() is deprecated, and calling it will |
| 1852 |
have no effect. Use ContentHandler::getSlotDiffRenderer(), or in subclasses, |
| 1853 |
ContentHandler::createTextSlotDiffRenderer(), to correctly inject |
| 1854 |
dependencies into TextSlotDiffRenderer. |
| 1855 |
* The static methods encodeJsVar() and encodeJsCall() have been moved from the |
| 1856 |
Xml class to the more appropriate MediaWiki\Html\Html one, and the old ones |
| 1857 |
are now deprecated. |
| 1858 |
* Some work to rename classes was done in previous releases, but the renaming |
| 1859 |
was not noted at the time. The old aliases work for now but are deprecated; |
| 1860 |
this is now explicitly noted: |
| 1861 |
From 1.40: |
| 1862 |
- Category -> MediaWiki\Category\Category |
| 1863 |
- CategoriesRdf -> MediaWiki\Category\CategoriesRdf |
| 1864 |
- CategoryViewer -> MediaWiki\Category\CategoryViewer |
| 1865 |
- TrackingCategories -> MediaWiki\Category\TrackingCategories |
| 1866 |
- CommentStore -> MediaWiki\CommentStore\CommentStore |
| 1867 |
- CommentStoreComment -> MediaWiki\CommentStore\CommentStoreComment |
| 1868 |
- EditPage -> MediaWiki\EditPage\EditPage |
| 1869 |
- TemplatesOnThisPageFormatter |
| 1870 |
-> MediaWiki\EditPage\TemplatesOnThisPageFormatter |
| 1871 |
- LinkFilter -> MediaWiki\ExternalLinks\LinkFilter |
| 1872 |
- AtomFeed -> MediaWiki\Feed\AtomFeed |
| 1873 |
- ChannelFeed -> MediaWiki\Feed\ChannelFeed |
| 1874 |
- FeedItem -> MediaWiki\Feed\FeedItem |
| 1875 |
- FeedUtils -> MediaWiki\Feed\FeedUtils |
| 1876 |
- RSSFeed -> MediaWiki\Feed\RSSFeed |
| 1877 |
- Html -> MediaWiki\Html\Html |
| 1878 |
- FormOptions -> MediaWiki\Html\FormOptions |
| 1879 |
- HtmlHelper -> MediaWiki\Html\HtmlHelper |
| 1880 |
- ListToggle -> MediaWiki\Html\ListToggle |
| 1881 |
- TemplateParser -> MediaWiki\Html\TemplateParser |
| 1882 |
- RawMessage -> MediaWiki\Language\RawMessage |
| 1883 |
- FileDeleteForm -> MediaWiki\Page\File\FileDeleteForm |
| 1884 |
- MergeHistory -> MediaWiki\Page\File\MergeHistory |
| 1885 |
- MovePage -> MediaWiki\Page\File\MovePage |
| 1886 |
- ProtectionForm -> MediaWiki\Page\File\ProtectionForm |
| 1887 |
- MediaWiki\BadFileLookup -> MediaWiki\Page\File\BadFileLookup |
| 1888 |
- PageProps -> MediaWiki\Page\PageProps |
| 1889 |
- MagicWord -> MediaWiki\Parser\MagicWord |
| 1890 |
- MagicWordArray -> MediaWiki\Parser\MagicWordArray |
| 1891 |
- MagicWordFactory -> MediaWiki\Parser\MagicWordFactory |
| 1892 |
- Linker -> MediaWiki\Linker\Linker |
| 1893 |
- DummyLinker -> MediaWiki\Linker\DummyLinker |
| 1894 |
- ForkController -> MediaWiki\Maintenance\ForkController |
| 1895 |
- OrderedStreamingForkController |
| 1896 |
-> MediaWiki\Maintenance\OrderedStreamingForkController |
| 1897 |
- ContentSecurityPolicy -> MediaWiki\Request\ContentSecurityPolicy |
| 1898 |
- DerivativeRequest -> MediaWiki\Request\DerivativeRequest |
| 1899 |
- FauxRequest -> MediaWiki\Request\FauxRequest |
| 1900 |
- FauxRequestUpload -> MediaWiki\Request\FauxRequestUpload |
| 1901 |
- PathRouter -> MediaWiki\Request\PathRouter |
| 1902 |
- WebRequestUpload -> MediaWiki\Request\WebRequestUpload |
| 1903 |
- FauxResponse -> MediaWiki\Request\FauxResponse |
| 1904 |
- WebResponse -> MediaWiki\Request\WebResponse |
| 1905 |
- MediaWiki\HeaderCallback -> MediaWiki\Request\HeaderCallback |
| 1906 |
- StubObject -> MediaWiki\StubObject\StubObject |
| 1907 |
- DeprecatedGlobal -> MediaWiki\StubObject\DeprecatedGlobal |
| 1908 |
- StubGlobalUser -> MediaWiki\StubObject\StubGlobalUser |
| 1909 |
- StubUserLang -> MediaWiki\StubObject\StubUserLang |
| 1910 |
- Title -> MediaWiki\Title\Title |
| 1911 |
- TitleArray -> MediaWiki\Title\TitleArray |
| 1912 |
- TitleArrayFromResult -> MediaWiki\Title\TitleArrayFromResult |
| 1913 |
- TitleFactory -> MediaWiki\Title\TitleFactory |
| 1914 |
- ActorMigration -> MediaWiki\User\ActorMigration |
| 1915 |
- ActorMigrationBase -> MediaWiki\User\ActorMigrationBase |
| 1916 |
- WikiMap -> MediaWiki\WikiMap\WikiMap |
| 1917 |
- WikiReference -> MediaWiki\WikiMap\WikiReference |
| 1918 |
From 1.39: |
| 1919 |
- ResourceLoader -> MediaWiki\ResourceLoader\ResourceLoader |
| 1920 |
From 1.29: |
| 1921 |
- IMaintainableDatabase -> Wikimedia\Rdbms\IMaintainableDatabase |
| 1922 |
* The WebRequest::getRequestId() and WebRequest::overrideRequestId() are |
| 1923 |
deprecated. Use methods from MediaWiki\Http\Telemetry class instead. |
| 1924 |
* The XmlJsCode wrapper class has been renamed to MediaWiki\Html\HtmlJsCode, |
| 1925 |
and the old name is now deprecated. |
| 1926 |
* The use of non-serializable arguments to ParserOutput::addWarningMsg() has |
| 1927 |
been deprecated and will emit deprecation warnings. |
| 1928 |
* Class UserRightsProxy, deprecated since 1.38, now emits |
| 1929 |
deprecation warnings from its factory functions. |
| 1930 |
* MediaWiki\ResourceLoader\Module::getDeprecationInformation() is deprecated. |
| 1931 |
Use ::getDeprecationWarning() instead. |
| 1932 |
* Passing a Message to OutputPage::setPageTitle() is deprecated. |
| 1933 |
Use ::setPageTitleMsg() instead (which escapes HTML metacharacters). |
| 1934 |
* Passing arguments to OutputPage::prepareErrorPage() is deprecated. |
| 1935 |
Use explicit calls to OutputPage::setPageTitleMsg() and ::setHTMLTitle() |
| 1936 |
instead. |
| 1937 |
* Returning a string from Action::getPageTitle() is deprecated; |
| 1938 |
return a Message instead, which will be formatted using FORMAT_ESCAPED. |
| 1939 |
* Returning a string from SpecialPage::getDescription() is deprecated; |
| 1940 |
return a Message instead, which will be formatted using FORMAT_ESCAPED. |
| 1941 |
* MediaWiki\Block\AbstractBlock::getReason(), deprecated since 1.35, now emits |
| 1942 |
deprecation warnings. Use ::getReasonComment() instead. |
| 1943 |
* User::getGroups(), ::addGroup(), ::removeGroup(), ::getGroupMemberships(), |
| 1944 |
::getAllGroups(), ::getImplicitGroups(), deprecated since 1.35, now emit |
| 1945 |
deprecation warnings. |
| 1946 |
* The global function wfReportTime(), deprecated since 1.40, now emits |
| 1947 |
deprecation warnings. The SkinTemplate parameter 'reporttime' is deprecated. |
| 1948 |
* RevisionStore::getQueryInfo() and RevisionFactory::getQueryInfo() have been |
| 1949 |
deprecated. Use ::newSelectQueryBuilder() instead. |
| 1950 |
* Following methods in rdbms library have been made internal: |
| 1951 |
- IDatabase::getLBInfo() |
| 1952 |
- IDatabase::setLBInfo() |
| 1953 |
- IDatabase::insert() Use InsertQueryBuilder instead. |
| 1954 |
- IDatabase::update() Use UpdateQueryBuilder instead. |
| 1955 |
- IDatabase::replace() Use ReplaceQueryBuilder instead. |
| 1956 |
- IDatabase::upsert() Use InsertQueryBuilder instead. |
| 1957 |
- IDatabase::delete() Use DeleteQueryBuilder instead. |
| 1958 |
- IReadableDatabase::selectField() Use SelectQueryBuilder instead. |
| 1959 |
- IReadableDatabase::selectFieldValues() Use SelectQueryBuilder instead. |
| 1960 |
- IReadableDatabase::select() Use SelectQueryBuilder instead. |
| 1961 |
- IReadableDatabase::selectRow() Use SelectQueryBuilder instead. |
| 1962 |
- IReadableDatabase::estimateRowCount() Use SelectQueryBuilder instead. |
| 1963 |
- IReadableDatabase::selectRowCount() Use SelectQueryBuilder instead. |
| 1964 |
- ISQLPlatform::unionQueries() Use UnionQueryBuilder instead. |
| 1965 |
* The core Wikimedia\Rdbms\DatabaseMysqlBase class has been renamed to reflect |
| 1966 |
the earlier merger of Mysqli into it; it's now Wikimedia\Rdbms\DatabaseMySQL. |
| 1967 |
* The following methods in SpecialEmailUser have been deprecated: |
| 1968 |
- SpecialEmailUser::validateTarget(), use EmailUser::validateTarget() |
| 1969 |
- SpecialEmailUser::getPermissionsError(), use EmailUser::canSend() or |
| 1970 |
EmailUser::authorizeSend() |
| 1971 |
- SpecialEmailUser::submit(), use EmailUser::sendEmailUnsafe() |
| 1972 |
* User::isBlockedFromEmailuser() has been deprecated. EmailUser::canSend() |
| 1973 |
checks blocks amongst other things. If you only need this check, use |
| 1974 |
User::getBlock()->appliesToRight( 'sendemail' ). |
| 1975 |
* User::canSendEmail() has been deprecated. Use EmailUser::canSend() instead. |
| 1976 |
* The following methods, previously deprecated, now emit deprecation warnings: |
| 1977 |
- ConfigFactory::getDefaultInstance(), deprecated since 1.27 |
| 1978 |
- AbstractContent::getNativeData(), deprecated since 1.33 |
| 1979 |
- TablePager::getBody(), deprecated since 1.24 |
| 1980 |
- ContentHandler::getSlotDiffRendererInternal(), deprecated since 1.35 |
| 1981 |
- ParserOutput::getCategories(), deprecated since 1.40 |
| 1982 |
- PasswordFactory::init(), deprecated since 1.32 |
| 1983 |
* WikitextContent::getRedirectTargetAndText has been deprecated, use |
| 1984 |
WikitextContentHandler::extractRedirectTargetAndText instead. |
| 1985 |
* WikiPage::doDeleteArticleBatched, deprecated in 1.37, now emits deprecation |
| 1986 |
warnings. |
| 1987 |
* WikiPage::getPageIsRedirectField() is now deprecated. |
| 1988 |
* WikiPage::insertRedirect() is now deprecated. |
| 1989 |
* Parser::getFreshParser(), deprecated since 1.39, now emits deprecation |
| 1990 |
warnings. |
| 1991 |
* The legacy MediaWiki UI ResourceLoader modules, such as `mediawiki.ui`, are |
| 1992 |
all now emitting deprecation warnings in the JavaScript console. Please use |
| 1993 |
Codex CSS components instead. |
| 1994 |
* Article::getRedirectHeaderHtml() has been deprecated and emits deprecation |
| 1995 |
warnings, use LinkRenderer::makeRedirectHeader() instead. |
| 1996 |
* SpecialBlock::getTargetAndType(), deprecated since 1.36, now emits deprecation |
| 1997 |
warnings. |
| 1998 |
* ApiBase::checkTitleUserPermissions() now type-forces a PageIdentity instead of |
| 1999 |
a LinkTarget. Passing a LinkTarget has been deprecated since 1.36. |
| 2000 |
* Passing a User to ApiBase::checkUserRightsAny() in the second parameter, which |
| 2001 |
was deprecated in 1.36, is no longer read. Instead, it will use the request |
| 2002 |
context's set Authority via IContextSource::getAuthority(). |
| 2003 |
* Sanitizer::escapeIdReferenceList(), deprecated since 1.36, has been dropped. |
| 2004 |
* RecentChange::getPerformer(), deprecated since 1.36, has been dropped. |
| 2005 |
* SpecialPage::getLanguageConverter(), deprecated since 1.36, has been dropped. |
| 2006 |
Use LanguageConverterFactory::getLanguageConverter() directly. |
| 2007 |
* SpecialBlock::checkUnblockSelf(), deprecated since 1.36, has been dropped. Use |
| 2008 |
BlockPermissionChecker instead. |
| 2009 |
* DifferenceEngine::localiseLineNumbers() has been deprecated in favor of |
| 2010 |
BaseTextDiffer::localizeLineNumbers(). Subclasses such as PhpTextDiffer may |
| 2011 |
make this available via a ::localize() method. |
| 2012 |
* ChangeTags::modifyDisplayQuery() and ChangeTagsStore::modifyDisplayQuery() |
| 2013 |
have been deprecated in favor of ChangeTagsStore::modifyDisplayQueryBuilder() |
| 2014 |
* Calling SpecialRandomPage::__construct without services as parameters is |
| 2015 |
deprecated and emit deprecation warnings. |
| 2016 |
|
| 2017 |
=== Other changes in 1.41 === |
| 2018 |
* ExternalLinksLookup::getExternalLinksForPage() now exists to centralize |
| 2019 |
logic of looking up externallinks rows. |
| 2020 |
* The update script no longer accepts the --skip-compat-checks option. |
| 2021 |
* Use of the deprecated "Pragma: no-cache" HTTP response header on uncachable |
| 2022 |
responses has been removed in favour of "Cache-Control: no-cache" (T345420). |
| 2023 |
* Type hints were added to: |
| 2024 |
- The return value of WebRequest:: and DerivativeRequest::getSession() |
| 2025 |
- The return value of WebRequest:: and DerivativeRequest::getIP() |
| 2026 |
- The return value of User::getTitleKey() |
| 2027 |
- The return value of User::getRequest() |
| 2028 |
- The `$key` parameter to Skin::normalizeKey() |
| 2029 |
None of the methods whose return value was updated belongs to a class |
| 2030 |
stable to extend, and adding type hints to parameters is backwards |
| 2031 |
compatible. Therefore, this is not considered a breaking change. |
| 2032 |
* The mergeMessageFileList script now only works for extensions and skins |
| 2033 |
supporting extension registration (using extension.json or skin.json). |
| 2034 |
It will no longer attempt to load PHP entry points. |
| 2035 |
* Parser will no longer fall back to $wgTitle if a null is provided as a |
| 2036 |
Title or PageReference. To change the relevant title used for methods |
| 2037 |
that do not offer an option to set the page, call Parser::setPage. |
| 2038 |
This affects the methods cleanSig, getSection and replaceSection. |
| 2039 |
* (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages |
| 2040 |
used in rights log. |
| 2041 |
|
| 2042 |
== Compatibility == |
| 2043 |
|
| 2044 |
MediaWiki 1.41 requires PHP 7.4.3 or later and the following PHP extensions: |
| 2045 |
|
| 2046 |
* ctype |
| 2047 |
* dom |
| 2048 |
* fileinfo |
| 2049 |
* iconv |
| 2050 |
* intl |
| 2051 |
* json |
| 2052 |
* mbstring |
| 2053 |
* xml |
| 2054 |
|
| 2055 |
MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can |
| 2056 |
be used instead, but support for them is somewhat less mature. |
| 2057 |
|
| 2058 |
The supported versions are: |
| 2059 |
|
| 2060 |
* MariaDB 10.3 or higher |
| 2061 |
* MySQL 5.7.0 or higher |
| 2062 |
* PostgreSQL 10 or later |
| 2063 |
* SQLite 3.8.0 or later |
| 2064 |
|
| 2065 |
== Online documentation == |
| 2066 |
Documentation for both end-users and site administrators is available on |
| 2067 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 2068 |
for pages that explicitly state that their contents are in the public domain): |
| 2069 |
|
| 2070 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 2071 |
|
| 2072 |
== Mailing list == |
| 2073 |
A mailing list is available for MediaWiki user support and discussion: |
| 2074 |
|
| 2075 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 2076 |
|
| 2077 |
A low-traffic announcements-only list is also available: |
| 2078 |
|
| 2079 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 2080 |
|
| 2081 |
It's highly recommended that you sign up for one of these lists if you're |
| 2082 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 2083 |
|
| 2084 |
== IRC help == |
| 2085 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 2086 |
|
| 2087 |
= MediaWiki 1.40 = |
| 2088 |
|
| 2089 |
PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/ |
| 2090 |
PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/ |
| 2091 |
PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/ |
| 2092 |
PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/ |
| 2093 |
|
| 2094 |
== MediaWiki 1.40.4 == |
| 2095 |
|
| 2096 |
This is a maintenance release of the MediaWiki 1.41 branch. |
| 2097 |
|
| 2098 |
=== Changes since MediaWiki 1.40.3 === |
| 2099 |
* Localisation updates. |
| 2100 |
* tests: Skip failing tests on php8.2 (and make pass). |
| 2101 |
* (T326480) ApiResult: Make array ordering consistent across PHP versions. |
| 2102 |
* (T352789, T287972) build: Raise TestingAccessWrapper from 2.0.0 to 3.0.0. |
| 2103 |
* (T326478) tests: Create new classes to hold dynamic properties in auth tests. |
| 2104 |
* (T326478) tests: Avoid dynamic properties in AuthenticationProvider Test. |
| 2105 |
* tests: Skip failing tests on php8.3 (and make pass). |
| 2106 |
* (T326466) Introduce and use DynamicPropertyTestHelper. |
| 2107 |
* (T352910) tests: Use TestingAccessWrapper::newFromClass in session tests. |
| 2108 |
* (T326478) tests: Avoid dynamic properties in SessionManagerTest. |
| 2109 |
* ArticleTest: Skip testGetOrSetOnNewProperty() if PHP >= 8.2. |
| 2110 |
* (T326478) tests: Avoid dynamic properties in auth tests. |
| 2111 |
* tests: Remove dead code from WikiPageDbTest::assertPreparedEditNotEquals. |
| 2112 |
* (T326479, T361985) StatusValue: Allow passing arbitrary data to augment |
| 2113 |
result. |
| 2114 |
* (T357760) Use i18n strings for truncated subpage message in SpecialMovePage. |
| 2115 |
* debug: Update PsySH 0.11.1 -> 0.12.3. |
| 2116 |
* (T361991) Fix slash-delimited regex from CLI on maintenence/grep.php. |
| 2117 |
* (T352695) tests: Only set $dbSetup if setupTestDB() ends without throwing. |
| 2118 |
* (T362272) api: Replace null $httpCode by 0 in ApiBase::dieWithErrorOrDebug. |
| 2119 |
* (T150647, T216682) Make EncryptedPassword work with Argon2Password. |
| 2120 |
* (T364270) Fix long param names overlapping docs in API help pages. |
| 2121 |
* wrapOldPasswords: Improve progress output and decrease batch size. |
| 2122 |
* (T361367) ApiFeedWatchlist: Fix handling of array parameters. |
| 2123 |
* (T366130) EncryptedPassword: Store default parameters as strings. |
| 2124 |
* Name the PagerTools array entries to allow hooks to unset them. |
| 2125 |
* (T302186) Add title cache for Title::newMainPage(). |
| 2126 |
|
| 2127 |
== MediaWiki 1.40.3 == |
| 2128 |
|
| 2129 |
This is a security and maintenance release of the MediaWiki 1.40 branch. |
| 2130 |
|
| 2131 |
=== Changes since MediaWiki 1.40.2 === |
| 2132 |
* Localisation updates. |
| 2133 |
* (T296896) CategoryViewer::getSectionPagingLinks: Fix null array offset |
| 2134 |
warning. |
| 2135 |
* CategoryViewer: Fix "count(): Argument #1 ($value) must be of type |
| 2136 |
Countable|array, null given". |
| 2137 |
* (T334992) Headings in the license pickers should not be selected. |
| 2138 |
* (T353929) ActiveUsersPager: Count actions only once. |
| 2139 |
* composer: Use @php instead of php. |
| 2140 |
* (T326065) Indent JsonContent using tabs. |
| 2141 |
* (T309714, T354274) mime: Add support for 'font/woff' and 'font/woff2' mime |
| 2142 |
type. |
| 2143 |
* (T353644) Update wikimedia/parsoid to 0.17.3. |
| 2144 |
* (T354541) authmanager: Improve AuthenticationRequest docs. |
| 2145 |
* (T330428) ForeignResourceManager: Add trailing newline in validateLicense. |
| 2146 |
* (T355017) Add missing space in Special:RecentChangesLinked. |
| 2147 |
* (T355003) composer.json Add ext-bcmath and ext-gmp to suggests. |
| 2148 |
* PHPVersionCheck: Update text to match currently supported upstream PHP |
| 2149 |
versions (8.1+). |
| 2150 |
* (T354045) API: mark HTML output as non-cacheable. |
| 2151 |
* (T355530) filerepo: Fix img_major_mime for files with a non-standard |
| 2152 |
extensions. |
| 2153 |
* (T355530) MimeAnalyzer: Add @since to isValidMajorMimeType. |
| 2154 |
* (T352554) ZhConverter: Fix language variant fallback chain. |
| 2155 |
* (T357668) Parser::getExternalLinkAttribs: Don't set rel attribute to null. |
| 2156 |
* LockManagerGroupIntegrationTest: Remove test depending on DBLockManager. |
| 2157 |
* (T357808) LinkRendererTest: Add missing import for LinkTarget. |
| 2158 |
* (T353305) ApiResetPassword: Allow both user and email parameters to be passed |
| 2159 |
for reset. |
| 2160 |
* (T358949) updateCollation: Explicitly cast $scale to int. |
| 2161 |
* (T359055) api: Improve linking of language codes lists in top level i18n |
| 2162 |
messages. |
| 2163 |
* (T359294) Make sure MovePage::isValidFileMove matches UploadBase::getTitle. |
| 2164 |
* (T230245) Respect $maxConcurrency when queuing async FileOps. |
| 2165 |
* (T352554) Follow-up "ZhConverter: Fix language variant fallback chain". |
| 2166 |
* (T359139) Restore ability to disable footer links with "-". |
| 2167 |
* (T292237, T317451) build: Restore Doxygen output for MediaWiki release tags. |
| 2168 |
* (T324903) HistoryPager: Add #[AllowDynamicProperties]. |
| 2169 |
* (T360850) Update Apache config syntax in .htaccess files. |
| 2170 |
* (T309714) mime: Make test cases use data provider. |
| 2171 |
* (T317489, T319202) Mark some parserTests on talk pages Parsoid only on |
| 2172 |
REL1_40. |
| 2173 |
* Update wikimedia/parsoid to 0.17.4. |
| 2174 |
* docs: Remove use of $IP from mwdocgen.php. |
| 2175 |
* (T317451) build: Restore Doxygen output for MediaWiki release tags (take 3). |
| 2176 |
* docs: Set stable permalink on markdown files. |
| 2177 |
* (T357019) allow maintenance/deleteBatch.php to accept page ID. |
| 2178 |
* (T355538, CVE-2024-34507) SECURITY: XSS in edit summary parser. |
| 2179 |
* (T357760, CVE-2024-34506) SECURITY: Denial of service vector via GET request |
| 2180 |
to Special:MovePage on pages with thousands of subpages. |
| 2181 |
|
| 2182 |
== MediaWiki 1.40.2 == |
| 2183 |
|
| 2184 |
This is a security and maintenance release of the MediaWiki 1.40 branch. |
| 2185 |
|
| 2186 |
=== Changes since MediaWiki 1.40.1 === |
| 2187 |
* Localisation updates. |
| 2188 |
* Updated symfony/polyfill-php80 from 1.27.0 to 1.28.0. |
| 2189 |
* Updated symfony/polyfill-php81 from 1.27.0 to 1.28.0. |
| 2190 |
* (T344912) mail: Encode period (ascii 46) if it appears in encoded email |
| 2191 |
header. |
| 2192 |
* Added symfony/polyfill-php82. |
| 2193 |
* Added symfony/polyfill-php83. |
| 2194 |
* Updated symfony/yaml from 5.4.17 to 5.4.23. |
| 2195 |
* Updated wikimedia/timestamp from 4.1.0 to 4.1.1. |
| 2196 |
* tests: Provide coverage for StatusValue::__toString. |
| 2197 |
* StatusValue: Improve logging/debug output with multibyte characters. |
| 2198 |
* (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages |
| 2199 |
used in rights log. |
| 2200 |
* Updated wikimedia/parsoid from 0.17.0 to 0.17.1. |
| 2201 |
* (T229992) LocalisationCache: Preserve fallback source language info. |
| 2202 |
* (T340840) Title: Check local fallbacks for system message. |
| 2203 |
* (T346332) Installer: Make Minerva works correctly for $wgDefaultSkin. |
| 2204 |
* specials: Use options-messages on Special:RevisionDelete. |
| 2205 |
* Fix use of buildComparison() in uppercaseTitlesForUnicodeTransition.php. |
| 2206 |
* (T275085) Fix logging Status objects to 'authevents' channel. |
| 2207 |
* (T341310) DEVELOPERS.md: mention git clone and WSL. |
| 2208 |
* (T351758) DEVELOPERS.md: reword WSL instructions to include best practices. |
| 2209 |
* (T350615) PoolCounterConnectionManager: Add support for ipv6. |
| 2210 |
* ParsoidCachePrewarmJob::newSpec() now requires a PageRecord as the second |
| 2211 |
parameter instead of a page ID. |
| 2212 |
* (T341123) ParsoidCachePrewarmJob: enable deduplication. |
| 2213 |
* (T349115) LocalisationCache: Fix a rare case in fallback source language. |
| 2214 |
* (T351848) language: Avoid multiple signs in Language::userAdjust. |
| 2215 |
* SwiftFileBackend: Fix "PHP Deprecated: strlen(): Passing null to parameter #1 |
| 2216 |
($string) of type string is deprecated". |
| 2217 |
* maintenance: Add missing parenthesis to SQL in attachLatest.php. |
| 2218 |
* (T321234) Make MagicWordArray not fail on old revs with broken UTF-8. |
| 2219 |
* thumb: Fix "PHP Deprecated: strlen(): Passing null to parameter". |
| 2220 |
* (T327007) htmlform: Correct validation for file input field. |
| 2221 |
|
| 2222 |
== MediaWiki 1.40.1 == |
| 2223 |
|
| 2224 |
This is a security and maintenance release of the MediaWiki 1.40 branch. |
| 2225 |
|
| 2226 |
=== Changes since MediaWiki 1.40.0 === |
| 2227 |
* Localisation updates. |
| 2228 |
* (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for self-redirects |
| 2229 |
with variants conversion. |
| 2230 |
* docs: Fix a few typos in MainConfigSchema. |
| 2231 |
* (T290464) Add DiscussionTools bundling to release notes. |
| 2232 |
* (T309714) mime: Add support for 'font/sfnt' mime type. |
| 2233 |
* (T341434) WikiImporter: Improve error message output. |
| 2234 |
* (T341737) ApiBase: Cast $id to string in filterIDs. |
| 2235 |
* (T286291, T296188) Merge zh and zh-tw namespace translations back to zh-hans, |
| 2236 |
zh-hant, zh-hk respectively. |
| 2237 |
* (T337875) WRStats: Round up SequenceSpec::hardExpiry to the nearest integer. |
| 2238 |
* (T237898) installer: Check MariaDB version in updater/installer. |
| 2239 |
* (T342632) ApiComparePages: Add help url. |
| 2240 |
* (T326182, T324903) EditPage: Add #[AllowDynamicProperties]. |
| 2241 |
* (T342351) rdbms: Fix postgres db function call. |
| 2242 |
* (T343675) user: Use {@} to escape annotation when writting about annotation. |
| 2243 |
* (T343797) LanguageWa: Fix double timezone adjustment. |
| 2244 |
* (T343669) skins: Avoid function call on array. |
| 2245 |
* (T326454) Update pear/mail to 1.5.1. |
| 2246 |
* (T343622) docs: Set the <comment> tag back to optional. |
| 2247 |
* (T330528) Upgrade wikimedia/html-formatter from 3.0.1 to 4.0.3. |
| 2248 |
* Updated jQuery from v3.6.1 to v3.7.1. |
| 2249 |
* (T337463) wdio-mediawiki: await saveScreenshot. |
| 2250 |
* (T208477) $wgPrivilegedGroups – Users belonging in some of the listed groups |
| 2251 |
will be audited more aggressively. |
| 2252 |
* doc: Improve description of "type" in extension.schema.v2.json. |
| 2253 |
* Added PrivilegedGroups attribute for extension.json / skin.json, which lets |
| 2254 |
you add any new user groups you define to wgPrivilegedGroups (see above). |
| 2255 |
* (T288624) MultiHttpClient: Unset $this->cmh after closing it. |
| 2256 |
* (T345039) Do not run SkinAfterBottomScripts hook twice unconditionally. |
| 2257 |
* (T265734) API Help: Note that parameters may be inherited from other context. |
| 2258 |
* (T285545) i18n: Split apihelp for standard dir parameter. |
| 2259 |
* (T285545) i18n: Split apihelp for redirects/linkshere/transcludedin/fileusage |
| 2260 |
show. |
| 2261 |
* (T285545) i18n: Split apihelp for parameter list=deletedrevs&drprop=. |
| 2262 |
* (T285545) i18n: Split apihelp for parameter list=allpages&apprexpiry=. |
| 2263 |
* (T285545) i18n: Split apihelp for parameter action=opensearch&redirects=. |
| 2264 |
* (T285545) i18n: Split apihelp for parameter action=managetags&operation=. |
| 2265 |
* (T285545) api: Add message for list=watchlist&wlprop=expiry. |
| 2266 |
* (T334011) ApiComparePages: expose 'difftype' param if wikidiff2 is installed. |
| 2267 |
* (T342633) api: Add message for action=compare&prop=timestamp. |
| 2268 |
* API: revids=… does not necessarily return the queried revisions. |
| 2269 |
* (T235207) Get correct main page in API call examples. |
| 2270 |
* doc: Make extension.schema.v2.json a valid JSON schema. |
| 2271 |
* (T326696) Add since tag to UserOptionsManager::MAX_BYTES_OPTION_VALUE. |
| 2272 |
* (T310378) Ensure that installer i18n is loaded by update.php. |
| 2273 |
* updateSpecialPages.php: Avoid implicit float conversion on modulo. |
| 2274 |
* (T347227) ImportReporter: Make callback functions public. |
| 2275 |
* (T346898) importDump: Unconditionally call $importer->setUsernamePrefix(). |
| 2276 |
* (T204470) Remove feedback messages from RawHtmlMessages. |
| 2277 |
* (T127268) MainConfigSchema: Update doc for "ResourceLoader: Default File |
| 2278 |
modules to mobile and desktop targets". |
| 2279 |
* (T264765, CVE-2023-45364) SECURITY: Article: Check permissions before |
| 2280 |
showing link to view deleted revision. |
| 2281 |
* doc: Improve description of type in extension.schema.v1.json. |
| 2282 |
* (T340217, CVE-2023-45359) SECURITY: Vector 2022: Numerous unescaped messages |
| 2283 |
leading to potential XSS. |
| 2284 |
* (T340220, CVE-2023-45361) SECURITY: Vector 2022: vector-intro-page message |
| 2285 |
is assumed to yield a valid title. |
| 2286 |
* (T340221, CVE-2023-45360) SECURITY: XSS via 'youhavenewmessagesmanyusers' |
| 2287 |
and 'youhavenewmessages' messages. |
| 2288 |
* (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser ("X intermediate |
| 2289 |
revisions by the same user not shown") ignores username suppression. |
| 2290 |
* (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted |
| 2291 |
XML file to Special:Upload (non standard configuration). |
| 2292 |
|
| 2293 |
== MediaWiki 1.40.0 == |
| 2294 |
|
| 2295 |
=== Changes since MediaWiki 1.40.0-rc.0 === |
| 2296 |
* Localisation updates. |
| 2297 |
* (T330464) Work around argument corruption bug in XMLReader::open. |
| 2298 |
* build: Updating mediawiki/mediawiki-phan-config to 0.12.1. |
| 2299 |
* Fix frame and frameless rdfa depending on file existing. |
| 2300 |
* (T329214) Pass whether current rev of file exists to |
| 2301 |
Linker::makeBrokenImageLinkObj. |
| 2302 |
* (T334659) Handle thumb errors when !$enableLegacyMediaDOM. |
| 2303 |
* A manualthumb that doesn't exist should be considered a thumb error. |
| 2304 |
* (T313157) IndexPager: Also protect against $offset being 0. |
| 2305 |
* (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker. |
| 2306 |
|
| 2307 |
== MediaWiki 1.40.0-rc.0 == |
| 2308 |
|
| 2309 |
== Upgrading notes for 1.40 == |
| 2310 |
Don't forget to always back up your database before upgrading! |
| 2311 |
|
| 2312 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 2313 |
oldest supported upgrading version, MediaWiki 1.35. |
| 2314 |
|
| 2315 |
Some specific notes for MediaWiki 1.40 upgrades are below: |
| 2316 |
* Maintenance scripts should now be executed using maintenance/run.php, e.g. |
| 2317 |
maintenance/run.php update not maintenance/update.php as before. |
| 2318 |
* Five extensions have now been bundled with MediaWiki: |
| 2319 |
* The DiscussionTools extension, which provides a forum-like editing |
| 2320 |
experience for wikitext-based discussion pages. |
| 2321 |
* The Echo extension, which provides a system of user notifications. |
| 2322 |
* The Linter extension, which warns about use of deprecated wikitext. |
| 2323 |
* The LoginNotify extension, which warns users about failed attempted logins. |
| 2324 |
* The Thanks extension, which lets users thank editors for edits. |
| 2325 |
* The Renameuser extension has been moved to MediaWiki core. It is now possible |
| 2326 |
to rename users without installing an extension. The extension had already |
| 2327 |
been bundled with MediaWiki since 1.18. |
| 2328 |
|
| 2329 |
For notes on 1.39.x and older releases, see HISTORY. |
| 2330 |
|
| 2331 |
=== Configuration changes for system administrators in 1.40 === |
| 2332 |
* When computing PBKDF2 password hashes, MediaWiki now detects and uses OpenSSL |
| 2333 |
support if available, unless $wgPasswordConfig['pbkdf2']['class'] is set in |
| 2334 |
LocalSettings.php. OpenSSL is more efficient, so if that setting is present, |
| 2335 |
you should remove it (or set it to 'Pbkdf2PasswordUsingOpenSSL' if possible). |
| 2336 |
If users get an internal error when trying to log in, you can try setting it |
| 2337 |
to 'Pbkdf2PasswordUsingHashExtension'. In particular, this would be necessary |
| 2338 |
if existing PBKDF2 password hashes were computed using a hash algorithm other |
| 2339 |
than "sha512" or "sha256" (the current and prior defaults). |
| 2340 |
* You should configure your webserver to return the http header |
| 2341 |
'X-Content-Type-Options: nosniff' for the /images directory. This will |
| 2342 |
instruct browsers to not apply content sniffing when accessing the files. |
| 2343 |
MediaWiki before 1.40 shipped with a content sniffer which disallowed |
| 2344 |
potentially dangerous files at upload time, but this protection has now been |
| 2345 |
removed in favor of this 'X-Content-Type-Options: nosniff' header and the |
| 2346 |
installer will return a warning when it is not in place. |
| 2347 |
* Support for MW_USE_LEGACY_DEFAULT_SETTINGS has been removed, setting this |
| 2348 |
constant will not have any effect. Use of MW_USE_LEGACY_DEFAULT_SETTINGS |
| 2349 |
had been deprecated since 1.39. |
| 2350 |
|
| 2351 |
==== New configuration ==== |
| 2352 |
* $wgThumbnailNamespaces - This setting lets you define the namespaces for which |
| 2353 |
image thumbnails (or a placeholder in the absence of a thumbnail) will be |
| 2354 |
displayed on Special:Search. |
| 2355 |
* $wgResourceLoaderClientPreferences – This experimental flag lets you enable |
| 2356 |
client-side preferences for logged-out users. |
| 2357 |
* $wgExternalLinksSchemaMigrationStage – This temporary flag lets you control |
| 2358 |
the migration stage for the new schema for the external links database table. |
| 2359 |
Ignore it unless you have a large wiki farm with complex migration needs. |
| 2360 |
* $wgCommentTempTableSchemaMigrationStage – This temporary flag lets you control |
| 2361 |
the migration stage for the temporary comment database table, from revision. |
| 2362 |
Ignore it unless you have a large wiki farm with complex migration needs. |
| 2363 |
* $wgSpecialContributeSkinsEnabled – This setting lets you list skins on which |
| 2364 |
Special:Contribute is available, for where others don't work for the feature. |
| 2365 |
* $wgPrivilegedGroups – Users belonging in some of the listed groups will be |
| 2366 |
audited more aggressively. |
| 2367 |
|
| 2368 |
==== Changed configuration ==== |
| 2369 |
* $wgPasswordPolicies – This setting, which controls what makes for a valid |
| 2370 |
password for wiki accounts, has been adjusted to raise the minimal password |
| 2371 |
length from 1 to 8 characters. The initial limit of 1 has been in place since |
| 2372 |
MediaWiki 1.26. If you wish to allow shorter passwords, you can over-ride it |
| 2373 |
in your LocalSettings following the guidance on MediaWiki.org. |
| 2374 |
* (T254045) New accounts can no longer use an equals sign (=) in their |
| 2375 |
usernames because of issues it causes in wikitext syntax. This can be |
| 2376 |
adjusted by changing the value of $wgInvalidUsernameCharacters. |
| 2377 |
* (T314318) $wgParserEnableLegacyMediaDOM – This setting has been changed, so |
| 2378 |
the alternative modern HTML structure for media is now the default. You can |
| 2379 |
disable it for now by over-riding this back to `true` in LocalSettings, but |
| 2380 |
this configuration will be removed in future versions of MediaWiki. For more |
| 2381 |
details, see the documentation at: |
| 2382 |
https://www.mediawiki.org/wiki/Parsoid/Parser_Unification/Media_structure/FAQ |
| 2383 |
* $wgWatchlistExpiryMaxDuration – This setting, which controls the maximum |
| 2384 |
allowed duration for users to set their temporary watchlist entries for expiry |
| 2385 |
if that feature is enabled, has been increased from 6 months to 1 year. |
| 2386 |
|
| 2387 |
==== Removed configuration ==== |
| 2388 |
* $wgShellboxUrl – This setting, deprecated in 1.37, has now been removed; use |
| 2389 |
$wgShellboxUrls instead. |
| 2390 |
* $wgMainWANCache and $wgWANObjectCaches – These never-used settings have been |
| 2391 |
removed. To inject WANObjectCache parameters, use $wgWANObjectCache instead. |
| 2392 |
These variables were introduced for multi-DC wiki farms to add a separate |
| 2393 |
memcached proxy for cross-DC relaying of purges but never used because |
| 2394 |
WANObjectCache works based on route prefixes, which can be transparently |
| 2395 |
handled by the main memcached proxy. |
| 2396 |
* $wgParserTestFiles – This setting, deprecated in 1.30, has now been removed; |
| 2397 |
extensions can place their parser test files in `tests/parser` instead. |
| 2398 |
* (T231412) $wgAutoloadAttemptLowercase – This setting, deprecated in 1.35, no |
| 2399 |
longer has any effect. If you run into difficulties, fix the names of miscased |
| 2400 |
local files. |
| 2401 |
* (T309787) $wgVerifyMimeTypeIE – This setting, to provide extra security checks |
| 2402 |
for very old versions of Internet Explorer clients, was removed. These user |
| 2403 |
agents aren't used in practice, and haven't been served JavaScript content for |
| 2404 |
years. |
| 2405 |
|
| 2406 |
=== New user-facing features in 1.40 === |
| 2407 |
* Special:Search can now show thumbnails for results for titles outside NS_FILE. |
| 2408 |
This is controlled via the new onSearchResultProvideThumbnail hook. |
| 2409 |
* A new preference ('search-thumbnail-extra-namespaces') to allow users to |
| 2410 |
control whether to show more thumbnails (per $wgThumbnailNamespaces) |
| 2411 |
* (T324910) On pages using multi-content revisions, the raw content of a |
| 2412 |
specific slot can be retrieved using the action=raw&slot=<role-name> query |
| 2413 |
parameters. |
| 2414 |
* (T313804) The preferences page now provides a search bar to find preferences, |
| 2415 |
regardless of the tab on which they appear. |
| 2416 |
|
| 2417 |
=== New developer features in 1.40 === |
| 2418 |
* The MediaWiki-Docker development environment is now configured to |
| 2419 |
run on PHP 8.1 by default, up from PHP 7.4 now that that's EOL. |
| 2420 |
* Vue development mode is enabled by default in DevelopmentSettings.php |
| 2421 |
* (T277618) The @noVarDump annotation from the DebugInfoTrait tool can now be |
| 2422 |
added to references to stop them from being expanded when their object is |
| 2423 |
passed to var_dump(), to make its use for debugging more feasible. |
| 2424 |
* The ApiSandbox will now by default request responses in the latest API format, |
| 2425 |
rather than the original format. Users can set `formatversion` to a different |
| 2426 |
value if needed. |
| 2427 |
* A new hook, GetBlockErrorMessageKeyHook, allows extensions' block error |
| 2428 |
messages to be received and displayed by BlockErrorFormatter. |
| 2429 |
* A new hook, SpecialCreateAccountBenefits, lets extensions and local code set |
| 2430 |
custom content on the signup page about the benefits of using an account. |
| 2431 |
* (T321412) A new 'PageUndeleteComplete' hook has been added for more thorough |
| 2432 |
information about a page post restoration than the 'PageUndelete' hook passes. |
| 2433 |
This provides similar functionality to the 'PageDeleteComplete' hook. |
| 2434 |
* The Linker::specialLink() method can now link to a Special page's with a sub- |
| 2435 |
page or action parameter set, e.g. [[Special:Contributions/JohnDoe]]. |
| 2436 |
* The PHPUnit entrypoints (tests/phpunit/phpunit.php and vendor/bin/phpunit) |
| 2437 |
now check if composer dependencies are up-to-date, like update.php, using |
| 2438 |
CheckComposerLockUpToDate. To disable this check, use |
| 2439 |
MW_SKIP_EXTERNAL_DEPENDENCIES=1 environment flag when running PHPUnit. |
| 2440 |
* ManualLogEntry::setForceBotFlag() has been added to allow the forcing of the |
| 2441 |
bot flag for log entries which are inserted to the recent changes. |
| 2442 |
|
| 2443 |
=== External library changes in 1.40 === |
| 2444 |
|
| 2445 |
==== New external libraries ==== |
| 2446 |
* Added codex-design-tokens at v0.6.2. |
| 2447 |
* Added symfony/polyfill-php81 at v1.28.0. |
| 2448 |
* Added symfony/polyfill-php82 at v1.28.0. |
| 2449 |
* Added symfony/polyfill-php83 at v1.28.0. |
| 2450 |
* Added wikimedia/bcp-47-code at v1.0.0. |
| 2451 |
|
| 2452 |
===== New development-only external libraries ===== |
| 2453 |
* Added wikimedia/langconv at v0.4.2. |
| 2454 |
|
| 2455 |
==== Changed external libraries ==== |
| 2456 |
* Updated OOUI from v0.44.3 to v0.46.3. |
| 2457 |
* Updated codex, codex-search, and codex-icons from v0.2.2 to v0.6.2. |
| 2458 |
* Updated cssjanus/cssjanus from 2.1.0 to 2.1.1. |
| 2459 |
* Updated guzzlehttp/guzzle 7.4.5 to 7.5.0. |
| 2460 |
* Updated justinrainbow/json-schema from 5.2.11 to 5.2.12. |
| 2461 |
* Updated pear/mail from 1.4.1 to 1.5.1. |
| 2462 |
* Updated pear/net_smtp from 0.10.0 to 0.10.1. |
| 2463 |
* Updated psr/container from 1.1.1 to 1.1.2. |
| 2464 |
* Updated symfony/polyfill-php80 from 1.26.0 to 1.28.0. |
| 2465 |
* Updated symfony/yaml from 5.4.10 to 5.4.23. |
| 2466 |
* Updated wikimedia/html-formatter from 3.0.1 to 4.0.3. |
| 2467 |
* Updated wikimedia/less.php from 3.1.0 to 4.0.0. |
| 2468 |
* Updated wikimedia/object-factory from 4.0.0 to 5.0.1. |
| 2469 |
* Updated wikimedia/parsoid from 0.16.0 to 0.17.0. |
| 2470 |
* Updated wikimedia/remex-html from 3.0.2 to 3.0.3. |
| 2471 |
* Updated wikimedia/shellbox from 3.0.0 to 4.0.0. |
| 2472 |
* Updated wikimedia/timestamp from 4.0.0 to 4.1.1. |
| 2473 |
* Updated wikimedia/xmp-reader from 0.8.4 to 0.9.1. |
| 2474 |
|
| 2475 |
===== Changed development-only external libraries ===== |
| 2476 |
* Updated QUnit from 2.18.2 to 2.19.4. |
| 2477 |
* Updated api-testing from 1.5.0 to 1.5.1. |
| 2478 |
* Updated composer/spdx-licenses from 1.5.6 to 1.5.7. |
| 2479 |
* Updated eslint-config-wikimedia from 0.22.1 to 0.24.0. |
| 2480 |
* Updated giorgiosironi/eris from ^0.10.0 to ^0.13.0. |
| 2481 |
* Updated grunt from 1.5.2 to 1.6.1. |
| 2482 |
* Updated grunt-banana-checker from 0.9.0 to 0.10.0. |
| 2483 |
* Updated grunt-eslint from 24.0.0 to 24.0.1. |
| 2484 |
* Updated karma from 6.3.15 to 6.4.1. |
| 2485 |
* Updated mediawiki/mediawiki-codesniffer from 38.0.0 to 41.0.0. |
| 2486 |
* Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1. |
| 2487 |
* Updated php-parallel-lint/php-console-highlighter from 0.5 to 1.0.0. |
| 2488 |
* Updated php-parallel-lint/php-parallel-lint from 1.3.1 to 1.3.2. |
| 2489 |
* Updated phpunit/phpunit from 8.5.28 to 9.5.28. |
| 2490 |
* Updated stylelint-config-wikimedia from 0.13.0 to 0.13.1. |
| 2491 |
* Updated wikimedia/alea from 0.9.3 to 1.0.0. |
| 2492 |
|
| 2493 |
==== Removed external libraries ==== |
| 2494 |
* jquery.throttle-debounce, deprecated since MediaWiki 1.33. |
| 2495 |
* WVUI, deprecated since MediaWiki 1.39. |
| 2496 |
|
| 2497 |
=== Action API changes in 1.40 === |
| 2498 |
* New `cancreateaccount` parameter on action=query&meta=userinfo that allows |
| 2499 |
you to check if the user can create an account. Some of the errors that have |
| 2500 |
previously been returned by action=query&list=users&usprop=cancreate are now |
| 2501 |
returned here. |
| 2502 |
|
| 2503 |
=== Languages updated in 1.40 === |
| 2504 |
MediaWiki supports over 400 languages. Many localisations are updated regularly. |
| 2505 |
Below only new and removed languages are listed, as well as changes to languages |
| 2506 |
because of Phabricator reports. |
| 2507 |
|
| 2508 |
* (T300378) Added language support for Toki Pona (tok). |
| 2509 |
* (T320465) Added language support for Magahi (mag). |
| 2510 |
* (T320912) Added language support for Arakanese (rki). |
| 2511 |
* (T323971) Added language support for Khakas (kjh). |
| 2512 |
* (T326526) Added language support for Igala (igl). |
| 2513 |
* (T329476) Added language support for Kusaal (kus). |
| 2514 |
* (T330266) Added language support for Southern Dagaare (dga). |
| 2515 |
* (T331596) Added language support for Obolo (ann). |
| 2516 |
* (T331597) Added language support for Nogai (nog). |
| 2517 |
* (T331599) Added language support for Wolaytta (wal). |
| 2518 |
* (T295637) Add no to fallback chain of nb and nn. |
| 2519 |
|
| 2520 |
=== Breaking changes in 1.40 === |
| 2521 |
* OutputPage::enableClientCache no longer accepts a parameter, nor does it |
| 2522 |
return the current value. It simply sets the OutputPage::mEnableClientCache |
| 2523 |
to true. Use OutputPage::disableClientCache to disable client side caching |
| 2524 |
instead. |
| 2525 |
* ResourceLoader::makeMessageSetScript, unused since 1.26, has been removed |
| 2526 |
without deprecation. |
| 2527 |
* Changes to skins: |
| 2528 |
- The internal protected method Skin::getFooterLinks() was removed. |
| 2529 |
It had no known usages. Different from SkinTemplate::getFooterLinks. |
| 2530 |
- The internal public method Skin::getSiteFooterLinks() was removed. |
| 2531 |
It had no known usages. |
| 2532 |
* The 'oojs-router' module has been removed without deprecation in favour |
| 2533 |
of the 'mediawiki.router' wrapper module. |
| 2534 |
* BagOStuff::makeKeyInternal(), deprecated for public use in 1.36, is now a |
| 2535 |
protected method of MediumSpecificBagOStuff. |
| 2536 |
* WANObjectCache::reap() and WANObjectCache::reapCheckKey(), deprecated since |
| 2537 |
1.39, have been removed. |
| 2538 |
* The EnqueueJob class, unused since 1.31, has been removed without |
| 2539 |
deprecation. |
| 2540 |
* JobQueueGroup::singleton() and ::destroySingletons(), deprecated since 1.37, |
| 2541 |
have been removed. |
| 2542 |
* JobRunner no longer supports manually calling the constructor, |
| 2543 |
use MediaWikiServices::getInstance()->getJobRunner() instead. |
| 2544 |
* JobRunner::setLogger, deprecated since 1.35, has been removed. |
| 2545 |
* ContextSource::getStats, deprecated since 1.27, has been removed. |
| 2546 |
* The following public properties of Parser, deprecated in 1.35, |
| 2547 |
have been made private: Parser::$mLinkId, Parser::$mIncludeSizes, |
| 2548 |
Parser::$mDoubleUnderscore, Parser::$mShowToc, Parser::$mRevisionId, |
| 2549 |
Parser::$mRevisionTimestamp, Parser::$mRevisionUser, Parser::$mRevisionSize, |
| 2550 |
Parser::$mInputSize, Parser::$mInParse, Parser::$mFirstCall, |
| 2551 |
Parser::$mGeneratedPPNodeCount |
| 2552 |
* The MWGrants class, deprecated since 1.38, has been removed. |
| 2553 |
* PageProps::getInstance(), deprecated since 1.38, has been removed. |
| 2554 |
* Global functions wfReadOnly and wfReadOnlyReason, deprecated since 1.38, have |
| 2555 |
been removed. |
| 2556 |
* Global function wfQueriesMustScale, deprecated since 1.39, has been removed. |
| 2557 |
* Global function wfLogProfilingData, deprecated since 1.38, has been removed. |
| 2558 |
* The HTMLCacheUpdate class, deprecated since 1.34, has been removed. |
| 2559 |
* Linker::normaliseSpecialPage(), deprecated since 1.35, has been removed. |
| 2560 |
* MWTimestamp::getHumanTimestamp(), deprecated since 1.26, has been removed. |
| 2561 |
* Collation::singleton() and ::factory(), deprecated since 1.37, have been |
| 2562 |
removed. |
| 2563 |
* SpecialVersion::listToText() and SpecialVersion::arrayToString() |
| 2564 |
have become private or internal without deprecation. |
| 2565 |
* The 'ParserTestFiles' key in the schema for extension.json has been removed. |
| 2566 |
This was deprecated in 1.30 and the corresponding $wgParserTestFiles |
| 2567 |
configuration variable has also been removed in this release. Extensions |
| 2568 |
can put parser test files in their `tests/parser` directory to have them |
| 2569 |
automatically run. |
| 2570 |
* DBLockManager, MySqlLockManager, and PostgreSqlLockManager have been |
| 2571 |
removed without deprecation. |
| 2572 |
* MediaWikiTestCaseTrait::checkPHPExtension() has been removed without |
| 2573 |
deprecation. Use PHPUnit @requires annotations instead. |
| 2574 |
* EditPage::getCopywarn(), deprecated since 1.38, has been removed. |
| 2575 |
* EditPage::getCopyrightWarning() now requires a MessageLocalizer parameter. |
| 2576 |
Use of other parameter types or omitting it was deprecated since 1.38. |
| 2577 |
* Action constructor now requires Article and IContextSource parameters. |
| 2578 |
Use of other parameter types or omitting them was deprecated since 1.35. |
| 2579 |
* Article::viewRedirect(), deprecated since 1.30, has been removed. |
| 2580 |
* Title::getNotificationTimestamp(), deprecated since 1.35, has been removed. |
| 2581 |
* WikiRevision::$fileIsTemp property, deprecated since 1.29, has been removed. |
| 2582 |
* Use of CommentStore::insertWithTempTable() with 'img_description' is no |
| 2583 |
longer supported, it was deprecated since 1.32. Use CommentStore::insert() |
| 2584 |
instead. |
| 2585 |
* Return values in the parameter $pageLang of the PageContentLanguage hook with |
| 2586 |
other types than a Language object, deprecated since 1.33 & emitting warnings |
| 2587 |
since 1.38, now throws an exception. |
| 2588 |
* FormatMetadata::flattenArrayContentLang(), deprecated since 1.36, has been |
| 2589 |
removed. |
| 2590 |
* WikiRevision::downloadSource() and ::importUpload(), deprecated since 1.31, |
| 2591 |
have been removed. |
| 2592 |
* DataUpdate::runUpdates(), deprecated since 1.28, has been removed. |
| 2593 |
* CdnCacheUpdate::newFromTitles(), deprecated since 1.35, has been removed. |
| 2594 |
* HtmlFileCacheUpdate::newFromTitles(), deprecated since 1.37, has been |
| 2595 |
removed. |
| 2596 |
* BaseTemplate::renderAfterPortlet() and ::getAfterPortlet(), has been removed. |
| 2597 |
Use the corresponding methods in Skin class. |
| 2598 |
* DifferenceEngine::textDiff(), deprecated since 1.32, has been removed. |
| 2599 |
* Skin::getSearchPageTitle() and Skin::setSearchPageTitle(), deprecated since |
| 2600 |
1.38, have been removed. |
| 2601 |
* DifferenceEngine::getDiffBodyCacheKey(), deprecated since 1.31, has been |
| 2602 |
removed. |
| 2603 |
* ForeignDBViaLBRepo::getMasterDB(), LocalRepo::getMasterDB(), and |
| 2604 |
JobQueueDB::getMasterDB(), deprecated since 1.37, have been removed. |
| 2605 |
* Clarified that the InitializeArticleMaybeRedirect hook should not change |
| 2606 |
its $article parameter; the behavior when doing so was previously |
| 2607 |
undocumented. |
| 2608 |
* IDatabase::ping()'s $rtt parameter was removed without deprecation. |
| 2609 |
* IDatabase::setBigSelects(), unused, was removed without deprecation. |
| 2610 |
* IDatabase::attributesFromType(), unused, was removed without deprecation. |
| 2611 |
* IMaintainableDatabase::deadlockLoop() was removed without deprecation. |
| 2612 |
* DatabasePostgres::remappedTableName(), deprecated since 1.37, has been |
| 2613 |
removed. |
| 2614 |
* ILBFactory::getChronologyProtectorClientId and ::commitAll, unused, were |
| 2615 |
removed without deprecation. |
| 2616 |
* LoadBalancer::haveIndex() and ::isNonZeroLoad(), deprecated in 1.34, |
| 2617 |
have been removed. |
| 2618 |
* LoadBalancer::getLazyConnectionRef(), deprecated in 1.38, has been removed. |
| 2619 |
* ILBFactory::forEachLB(), deprecated in 1.39, has been removed. |
| 2620 |
* LoadBalancer::getTransactionRoundStage and ::commitAll, unused, were |
| 2621 |
removed without deprecation. |
| 2622 |
* ILoadBalancer::getLaggedReplicaMode, unused, was removed without |
| 2623 |
deprecation. Use ILBFactory::laggedReplicaUsed() instead. |
| 2624 |
* Optional parameters of ILoadBalancer::waitForPrimaryPos(), $pos and $timeout |
| 2625 |
have been removed without deprecation as they are unused. |
| 2626 |
* LoadMonitorMysql was removed without deprecation. Use LoadMonitor instead. |
| 2627 |
* IDatabase::selectDB(), deprecated since 1.32, has been removed. |
| 2628 |
Use IDatabase::selectDomain() instead. |
| 2629 |
* The following deprecated hooks have been removed: |
| 2630 |
- BaseTemplateAfterPortlet, deprecated in 1.35 |
| 2631 |
- BeforeParserFetchTemplateAndtitle, deprecated in 1.36 |
| 2632 |
- BeforeParserrenderImageGallery, deprecated in 1.35 |
| 2633 |
- InternalParseBeforeSanitize, deprecated in 1.35 |
| 2634 |
- LinksUpdateConstructed, deprecated in 1.38 |
| 2635 |
- LinksUpdateAfterInsert, deprecated in 1.38 |
| 2636 |
- ParserSectionCreate, deprecated in 1.35 |
| 2637 |
- ResourceLoaderTestModules, deprecated in 1.33 |
| 2638 |
- SpecialMuteSubmit, deprecated in 1.35 |
| 2639 |
- UserLoadFromDatabase, deprecated in 1.37 |
| 2640 |
- UserSetCookies, deprecated in 1.27 |
| 2641 |
* RemexDriver::__construct() now only accepts a ServiceOptions instance as |
| 2642 |
the only argument. Passing an array was deprecated since 1.36. |
| 2643 |
* TidyDriverBase::supportsValidate(), deprecated since 1.36, has been removed. |
| 2644 |
* RevDelList::reloadFromMaster(), deprecated since 1.37, has been removed. |
| 2645 |
* ExternalStoreDB::getMaster(), deprecated since 1.37, has been removed. |
| 2646 |
* DeletePage::deletionWasScheduled(), deprecated since 1.38, has been removed. |
| 2647 |
* The SearchResultProvideThumbnailHook (which was unstable) and now no longer |
| 2648 |
used, has been removed. Use SearchResultProvideThumbnailHook in the search |
| 2649 |
namespace: MediaWiki\Search\Hook\SearchResultProvideThumbnailHook. |
| 2650 |
* Command::cgroup(), deprecated since 1.36, has been removed. |
| 2651 |
* When running tests, the serialize_precision INI setting is now set to -1 |
| 2652 |
(current PHP default) instead of 17. Extension tests may need to be adjusted |
| 2653 |
accordingly; string representations of floating-point numbers in serialized |
| 2654 |
or JSON-encoded data may change. |
| 2655 |
* WikiRevision::$sha1base36 is now private. |
| 2656 |
* IcuCollation::getUnicodeVersionForICU() was removed without deprecation. |
| 2657 |
* LinkFilter::supportsIDN() was removed without deprecation. |
| 2658 |
* The ability to pass null for the errorData parameter of HttpException and |
| 2659 |
LocalizedHttpException was removed without deprecation. |
| 2660 |
* ApiQueryExtLinksUsage::getProtocolPrefix() and ::prepareProtocols() have |
| 2661 |
been moved to LinkFilter with the same name. |
| 2662 |
* .box-sizing() Less mixin, deprecated since 1.37, has been removed. |
| 2663 |
Use CSS box-sizing now. |
| 2664 |
* MimeAnalyzer::getIEMimeTypes() and IEContentAnalyzer were removed. |
| 2665 |
* Language::commafy and mw.language.commafy, deprecated since 1.36, has been |
| 2666 |
removed. |
| 2667 |
* BagOStuff::decr(), deprecated since 1.28, has been removed. |
| 2668 |
* BagOStuff::incr(), deprecated since 1.28, has been removed. |
| 2669 |
|
| 2670 |
=== Deprecations in 1.40 === |
| 2671 |
* Changes to skins: |
| 2672 |
- The public Skin::footerLink is deprecated. |
| 2673 |
Use SkinComponentMenuLink::getTemplateData instead. |
| 2674 |
It now emits deprecation warnings. |
| 2675 |
- The protected Skin::lastModified is deprecated, and marked for @internal use |
| 2676 |
and now emits deprecation warnings. |
| 2677 |
* Manipulating $wgHooks after initialization is deprecated. |
| 2678 |
HookContainer::register() or HookContainer::scopedRegister() should be |
| 2679 |
used instead. During initialization, SettingsBuilder::registerHookHandlers |
| 2680 |
can be used. For backwards compatibility, $wgHooks is replaced by a fake |
| 2681 |
array that calls methods on HookContainer. $wgHooks can still be used as a |
| 2682 |
configuration variable, only dynamic manipulation is deprecated. |
| 2683 |
* ParserOptions::{get,set}ExternalLinkTarget() and |
| 2684 |
ParserOptions::{get,set}MaxTemplateDepth() have been deprecated and marked |
| 2685 |
for @internal use only. |
| 2686 |
* ParserOutput::getCategories() has been deprecated; use ::getCategoryNames() |
| 2687 |
and ::getCategorySortKey() instead. |
| 2688 |
* ParserOutput::{get,set}TOCHTML() has been deprecated; use |
| 2689 |
::{get,set}TOCData() instead. |
| 2690 |
* TransactionProfiler::setSilenced() is deprecated. |
| 2691 |
Use TransactionProfiler::silenceForScope() instead. |
| 2692 |
* The following methods in the Title class, deprecated since 1.37, emits |
| 2693 |
deprecations warnings: |
| 2694 |
- ::areCascadeProtectionSourcesLoaded() |
| 2695 |
- ::areRestrictionsCascading() |
| 2696 |
- ::areRestrictionsLoaded() |
| 2697 |
- ::getAllRestrictions() |
| 2698 |
- ::getCascadeProtectionSources() |
| 2699 |
- ::getFilteredRestrictionTypes() |
| 2700 |
- ::getRestrictionExpiry() |
| 2701 |
- ::getRestrictionTypes() |
| 2702 |
- ::getRestrictions() |
| 2703 |
- ::isCascadeProtected() |
| 2704 |
- ::isProtected() |
| 2705 |
- ::isSemiProtected() |
| 2706 |
- ::loadRestrictionsFromRows() |
| 2707 |
* The class Pbkdf2Password was renamed to Pbkdf2PasswordUsingHashExtension, |
| 2708 |
and the old name is now deprecated. |
| 2709 |
* WikiPage::factory(), ::newFromID() and ::newFromRow, deprecated in 1.36, now |
| 2710 |
emit deprecation warnings. |
| 2711 |
* Manually constructing a LinkBatch object, deprecated in 1.35, now emits |
| 2712 |
deprecation warnings. Use LinkBatchFactory instead. |
| 2713 |
* Calling MediaWikiSite::getFileUrl() without a $path argument is deprecated. |
| 2714 |
If you need the "generic" full file path, with $1 not replaced by anything, |
| 2715 |
call $site->getPath( MediaWikiSite::PATH_FILE ) directly. |
| 2716 |
* In SessionConsistentConnectionManager, the methods |
| 2717 |
getReadConnectionRef() and getWriteConnectionRef() are deprecated; |
| 2718 |
the ConnectionManager methods they override had been deprecated already. |
| 2719 |
* Database::wasErrorReissuable() is deprecated. |
| 2720 |
* MimeAnalyzer::isPHPImageType was not used and will now emit deprecation |
| 2721 |
warnings. |
| 2722 |
* GenericArrayObject, originally developed for Wikibase and SiteList, has been |
| 2723 |
deprecated. Use built-in ArrayObject directly instead. |
| 2724 |
* Parser::getFunctionLang() has been deprecated; use |
| 2725 |
Parser::getTargetLanguage() instead. |
| 2726 |
* MagicWordArray::getVariableRegex(), deprecated in 1.36, now emits deprecation |
| 2727 |
warnings. |
| 2728 |
* AbstractBlock::getId() now emits deprecation warnings in case of cross-wiki |
| 2729 |
access. This use was deprecated in 1.38. |
| 2730 |
* CommentStore::getStore, deprecated in 1.31, now emits deprecation warnings. |
| 2731 |
* BacklinkCache::get(), ::getLinks() and ::getCascadeProtectedLinks(), |
| 2732 |
deprecated in 1.37, now emit deprecation warnings. |
| 2733 |
* LanguageConverterFactory::isTitleConversionDisabled(), deprecated in 1.36, |
| 2734 |
now emits deprecation warnings. |
| 2735 |
* Language::getFileName(), ::getMessagesFileName() and |
| 2736 |
::getJsonMessagesFileName(), deprecated in 1.34, |
| 2737 |
now emit deprecation warnings. |
| 2738 |
* Language::getLocalisationCache(), deprecated in 1.34, also |
| 2739 |
Language::getMessagesFor(), ::getMessageFor() and ::getMessageKeysFor(), |
| 2740 |
deprecated in 1.35, now emit deprecation warnings. |
| 2741 |
* User::incEditCount(), deprecated in 1.37, now emits deprecation warnings. |
| 2742 |
* User::idFromName(), deprecated in 1.37, now emits deprecation warnings. |
| 2743 |
* The ability to override and use User::$mRights, deprecated in 1.34, now emits |
| 2744 |
deprecation warnings. |
| 2745 |
* IndexPager::getHookContainer is deprecated and emits deprecation warnings. |
| 2746 |
Inject a HookContainer instead. |
| 2747 |
* User::getGroupPermissions(), ::getGroupsWithPermission() and |
| 2748 |
::groupHasPermission(), deprecated in 1.34, now emit deprecation warnings. |
| 2749 |
* PermissionManager::getGroupPermissions(), ::getGroupsWithPermission() and |
| 2750 |
::groupHasPermission(), deprecated in 1.36, now emit deprecation warnings. |
| 2751 |
* Global function wfShowingResults is deprecated and emits deprecation warnings. |
| 2752 |
* UserGroupMembership::getGroupMemberName is deprecated, the deprecation of |
| 2753 |
UserGroupMembership::getGroupName in 1.38 missed a release note. |
| 2754 |
Use Language::getGroupMemberName or ::getGroupName instead. |
| 2755 |
* AbstractBlock::getPermissionsError(), deprecated in 1.35, now emits |
| 2756 |
deprecation warnings. |
| 2757 |
* SearchEngine::getNearMatcher() and ::getDefaultMatcher() have been deprecated |
| 2758 |
in favor of MediaWikiServices::getInstance()->getTitleMatcher(). |
| 2759 |
* SearchNearMatcher class has been deprecated in 1.40 in favor of TitleMatcher. |
| 2760 |
* The following functions are deprecated: User::isBlockedGlobally and |
| 2761 |
User::getGlobalBlock. Use User::getBlock instead. |
| 2762 |
* The UserIsBlockedGlobally hook is deprecated. |
| 2763 |
Use GetUserBlock hook instead. |
| 2764 |
* The SystemBlock type global-block is deprecated. |
| 2765 |
GlobalBlocks are now added into CompositeBlocks via the GetUserBlock hook. |
| 2766 |
* Language::isWellFormedLanguageTag(), deprecated in 1.39, now emits deprecation |
| 2767 |
notices. Please use LanguageCode::isWellFormedLanguageTag() instead. |
| 2768 |
* Language::fetchLanguageNames() and ::fetchLanguageName(), deprecated in 1.34, |
| 2769 |
now emit deprecation warnings. |
| 2770 |
* Language::getFallbackFor(), ::getFallbacksIncludingSiteLanguage() and |
| 2771 |
::getFallbacksFor(), deprecated in 1.35, now emit deprecation warnings. |
| 2772 |
* Language::isSupportedLanguage(), ::isValidCode(), ::isValidBuiltInCode() and |
| 2773 |
::isKnownLanguageTag(), deprecated in 1.34, now emit deprecation warnings. |
| 2774 |
* Language::getConverter(), ::autoConvert(), ::autoConvertToAllVariants(), |
| 2775 |
::convert(), ::convertNamespace(), ::convertHtml(), ::convertCategoryKey(), |
| 2776 |
::getVariants(), ::hasVariants(), ::hasVariant(), ::getDefaultVariant(), |
| 2777 |
::getURLVariant(), ::getExtraHashOptions(), ::getConvRuleTitle(), |
| 2778 |
deprecated in 1.35, now emit deprecation warnings. |
| 2779 |
* Language::factory() and ::getParentLanguage(), deprecated in 1.35, now emit |
| 2780 |
deprecation warnings. |
| 2781 |
* Executing maintenance scripts directly is deprecated. The maintenance/run.php |
| 2782 |
entry point should be used instead. |
| 2783 |
* MWHttpRequest::factory, deprecated in 1.34, now emits deprecation warnings. |
| 2784 |
* Job::factory is deprecated, use JobFactory::newJob instead. |
| 2785 |
* Http::request(), ::get(), ::post(), ::userAgent() and ::isValidURI(), |
| 2786 |
deprecated in 1.34, now emit deprecation warnings. |
| 2787 |
* Title.js's confusingly-named getName() and getNameText() methods, for using |
| 2788 |
media files' pages, have been renamed to getFileNameWithoutExtension() and |
| 2789 |
getFileNameTextWithoutExtension() respectively. The old names are deprecated. |
| 2790 |
* Command::whitelistPaths() should now emit deprecation warnings. Make use of |
| 2791 |
Command::allowPaths/disallowPaths() instead. |
| 2792 |
* When manually creating an HTMLFormField (i.e. not via HTMLForm::factory), |
| 2793 |
it is deprecated to not include the "parent" field as one of the parameters. |
| 2794 |
* The MWException class is deprecated. Use native exceptions, either directly |
| 2795 |
or as base classes. |
| 2796 |
* SelectQueryBuilder::lockForUpdate() is deprecated. Use ::forUpdate() with |
| 2797 |
::fetchRowCount() or ::acquireRowLocks() instead. |
| 2798 |
* ArticleUndelete hook is deprecated. Use PageUndeleteComplete hook instead. |
| 2799 |
* The global function wfReportTime() is now deprecated. |
| 2800 |
* PrevNextNavigationRenderer, deprecated in 1.39, now emits deprecation |
| 2801 |
warnings. |
| 2802 |
* PagerNavigationBuilder::setMakeLinkCallback(), deprecated in 1.39, now emits |
| 2803 |
deprecation warnings. |
| 2804 |
* IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and |
| 2805 |
IndexPager::buildPrevNextNavigation(), deprecated in 1.39, now emit |
| 2806 |
deprecation warnings. |
| 2807 |
* Overriding the method IndexPager::makeLink(), deprecated in 1.39, now emits |
| 2808 |
deprecation warnings. |
| 2809 |
* The following class names were namespaced (and, for the special pages, |
| 2810 |
also renamed), and the old class names are now deprecated: |
| 2811 |
- MostimagesPage -> MediaWiki\Specials\SpecialMostImages |
| 2812 |
- MovePageForm -> MediaWiki\Specials\SpecialMovePage |
| 2813 |
- UserrightsPage -> MediaWiki\Specials\SpecialUserRights |
| 2814 |
- WantedFilesPage -> MediaWiki\Specials\SpecialWantedFiles |
| 2815 |
- WantedPagesPage -> MediaWiki\Specials\SpecialWantedPages |
| 2816 |
- DerivativeRequest -> MediaWiki\Request\DerivativeRequest |
| 2817 |
- FauxRequest -> MediaWiki\Request\FauxRequest |
| 2818 |
- FauxRequestUpload -> MediaWiki\Request\FauxRequestUpload |
| 2819 |
- PathRouter -> MediaWiki\Request\PathRouter |
| 2820 |
- WebRequestUpload -> MediaWiki\Request\WebRequestUpload |
| 2821 |
- HeaderCallback -> MediaWiki\Request\HeaderCallback |
| 2822 |
- FauxResponse -> MediaWiki\Request\FauxResponse |
| 2823 |
- WebResponse -> MediaWiki\Request\WebResponse |
| 2824 |
- ForeignResourceManager -> |
| 2825 |
MediaWiki\ResourceLoader\ForeignResourceManager |
| 2826 |
- DummyLinker -> MediaWiki\Linker\DummyLinker |
| 2827 |
- Linker -> MediaWiki\Linker\Linker |
| 2828 |
- PageProps -> MediaWiki\Page\PageProps |
| 2829 |
- MagicWord -> MediaWiki\Parser\MagicWord |
| 2830 |
- MagicWordArray -> MediaWiki\Parser\MagicWordArray |
| 2831 |
- MagicWordFactory -> MediaWiki\Parser\MagicWordFactory |
| 2832 |
- RawMessage -> MediaWiki\Language\RawMessage |
| 2833 |
- ActorMigration -> MediaWiki\User\ActorMigration |
| 2834 |
- ActorMigrationBase -> MediaWiki\User\ActorMigrationBase |
| 2835 |
- CategoriesRdf -> MediaWiki\Category\CategoriesRdf |
| 2836 |
- Category -> MediaWiki\Category\Category |
| 2837 |
- CategoryViewer -> MediaWiki\Category\CategoryViewer |
| 2838 |
- TrackingCategories -> MediaWiki\Category\TrackingCategories |
| 2839 |
- EditPage -> MediaWiki\EditPage\EditPage |
| 2840 |
- TemplatesOnThisPageFormatter -> |
| 2841 |
MediaWiki\EditPage\TemplatesOnThisPageFormatter |
| 2842 |
- ContentSecurityPolicy -> MediaWiki\Request\ContentSecurityPolicy |
| 2843 |
- FormOptions -> MediaWiki\Html\FormOptions |
| 2844 |
- Html -> MediaWiki\Html\Html |
| 2845 |
- HtmlHelper -> MediaWiki\Html\HtmlHelper |
| 2846 |
- TemplateParser -> MediaWiki\Html\TemplateParser |
| 2847 |
- FormOptions -> MediaWiki\Html\FormOptions |
| 2848 |
- WikiMap -> MediaWiki\WikiMap\WikiMap |
| 2849 |
- WikiReference -> MediaWiki\WikiMap\WikiReference |
| 2850 |
- MediaWiki\BadFileLookup -> MediaWiki\Page\File\BadFileLookup |
| 2851 |
- FileDeleteForm -> MediaWiki\Page\File\FileDeleteForm |
| 2852 |
- MergeHistory -> MediaWiki\Page\MergeHistory |
| 2853 |
- MovePage -> MediaWiki\Page\MovePage |
| 2854 |
- ProtectionForm -> MediaWiki\Page\ProtectionForm |
| 2855 |
- LinkFilter -> MediaWiki\ExternalLinks\LinkFilter |
| 2856 |
- TitleArray -> MediaWiki\Title\TitleArray |
| 2857 |
- TitleArrayFromResult -> MediaWiki\Title\TitleArrayFromResult |
| 2858 |
- TitleFactory -> MediaWiki\Title\TitleFactory |
| 2859 |
- Title -> MediaWiki\Title\Title |
| 2860 |
- ForkController -> MediaWiki\Maintenance\ForkController |
| 2861 |
- OrderedStreamingForkController -> |
| 2862 |
MediaWiki\Maintenance\OrderedStreamingForkController |
| 2863 |
- AtomFeed -> MediaWiki\Feed\AtomFeed |
| 2864 |
- ChannelFeed -> MediaWiki\Feed\ChannelFeed |
| 2865 |
- FeedItem -> MediaWiki\Feed\FeedItem |
| 2866 |
- FeedUtils -> MediaWiki\Feed\FeedUtils |
| 2867 |
- RSSFeed -> MediaWiki\Feed\RSSFeed |
| 2868 |
- DeprecatedGlobal -> MediaWiki\StubObject\DeprecatedGlobal |
| 2869 |
- StubGlobalUser -> MediaWiki\StubObject\StubGlobalUser |
| 2870 |
- StubObject -> MediaWiki\StubObject\StubObject |
| 2871 |
- StubUserLang -> MediaWiki\StubObject\StubUserLang |
| 2872 |
* ContentHandler::getParserOutputForIndexing() and ::getDataForSearchIndex() |
| 2873 |
now take an optional RevisionRecord parameter. |
| 2874 |
* The SearchDataForIndex hook is deprecated in favor of SearchDataForIndex2 |
| 2875 |
* IDatabase::lastQuery and IReadableDatabase::lastQuery are deprecated without |
| 2876 |
without replacement. |
| 2877 |
|
| 2878 |
=== Other changes in 1.40 === |
| 2879 |
* Calling RecentChange::doMarkPatrolled() with $auto = true has no effect and |
| 2880 |
logs a warning. Since 1.31, it would mark the change as manually patrolled, |
| 2881 |
but would not log it as such in patrol log and would still require |
| 2882 |
'autopatrol' right (not 'patrol'). Generally, whether a change should become |
| 2883 |
autopatrolled, is usually determined before it's inserted in the database. |
| 2884 |
* In versions of MediaWiki before 1.39, the table of contents location |
| 2885 |
was marked internally with <mw:toc>...</mw:toc>; in version 1.39 |
| 2886 |
this was changed to an empty tag <mw:tocplace />. In 1.40 this has |
| 2887 |
been changed a final time to use an empty <meta> tag for future |
| 2888 |
Parsoid compatibility (see Parser::TOC_PLACEHOLDER). This may |
| 2889 |
affect you if stale content is left in the ParserCache or if your |
| 2890 |
skin did manual ToC replacement without using the recommended |
| 2891 |
Parser::replaceTableOfContentsMarker() function. |
| 2892 |
* Skins can now choose which Codex theme should be loaded by setting the |
| 2893 |
SkinCodexThemes attribute in their skin.json file. |
| 2894 |
* The parser test framework has been updated, and the 'pst', 'ill', 'cat' |
| 2895 |
and 'showflags' options have slight differences in their output. These |
| 2896 |
options are not much used outside core, but third parties may need to |
| 2897 |
update parser tests. |
| 2898 |
* (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter. |
| 2899 |
|
| 2900 |
== Compatibility == |
| 2901 |
|
| 2902 |
MediaWiki 1.40 requires PHP 7.4.3 or later and the following PHP extensions: |
| 2903 |
|
| 2904 |
* ctype |
| 2905 |
* dom |
| 2906 |
* fileinfo |
| 2907 |
* iconv |
| 2908 |
* intl |
| 2909 |
* json |
| 2910 |
* mbstring |
| 2911 |
* xml |
| 2912 |
|
| 2913 |
MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can |
| 2914 |
be used instead, but support for them is somewhat less mature. |
| 2915 |
|
| 2916 |
The supported versions are: |
| 2917 |
|
| 2918 |
* MariaDB 10.3 or higher |
| 2919 |
* MySQL 5.7.0 or higher |
| 2920 |
* PostgreSQL 10 or later |
| 2921 |
* SQLite 3.8.0 or later |
| 2922 |
|
| 2923 |
== Online documentation == |
| 2924 |
Documentation for both end-users and site administrators is available on |
| 2925 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 2926 |
for pages that explicitly state that their contents are in the public domain): |
| 2927 |
|
| 2928 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 2929 |
|
| 2930 |
== Mailing list == |
| 2931 |
A mailing list is available for MediaWiki user support and discussion: |
| 2932 |
|
| 2933 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 2934 |
|
| 2935 |
A low-traffic announcements-only list is also available: |
| 2936 |
|
| 2937 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 2938 |
|
| 2939 |
It's highly recommended that you sign up for one of these lists if you're |
| 2940 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 2941 |
|
| 2942 |
== IRC help == |
| 2943 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 2944 |
|
| 2945 |
= MediaWiki 1.39 = |
| 2946 |
|
| 2947 |
PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/ |
| 2948 |
PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/ |
| 2949 |
PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/ |
| 2950 |
PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/ |
| 2951 |
|
| 2952 |
== MediaWiki 1.39.10 == |
| 2953 |
|
| 2954 |
This is a maintenance release of the MediaWiki 1.39 branch. |
| 2955 |
|
| 2956 |
=== Changes since 1.39.9 === |
| 2957 |
* Fix issue related to backport of AbuseFilter patch for T372998. |
| 2958 |
|
| 2959 |
== Mediawiki 1.39.9 == |
| 2960 |
|
| 2961 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 2962 |
|
| 2963 |
=== Changes since 1.39.8 === |
| 2964 |
* Localisation updates. |
| 2965 |
* (T303007) skins: Fix Skin::buildSidebar to not share cache between skins. |
| 2966 |
* (T367918) When using the 'runMaintenance' method in a |
| 2967 |
LoadExtensionSchemaUpdates hook handler, only the script's class name is |
| 2968 |
required, not its path. |
| 2969 |
* Clarify that $wgAllowCrossOrigin only applies to REST. |
| 2970 |
* (T370380) installer: Support MW_SKIP_EXTERNAL_DEPENDENCIES in update.php. |
| 2971 |
* composer.json: Add 5 more ext- to suggests. |
| 2972 |
* resources: Fix 404 Not Found for foreign Financial-Times/polyfill-library. |
| 2973 |
* ResourceLoader: Fix regression of color mapping in Less.php. |
| 2974 |
* ResourceLoader: Upgrade wikimedia/less.php to 4.4.1. |
| 2975 |
* SpecialExport: Prevent passing null to strtolower. |
| 2976 |
|
| 2977 |
== MediaWiki 1.39.8 == |
| 2978 |
|
| 2979 |
This is a maintenance release of the MediaWiki 1.39 branch. |
| 2980 |
|
| 2981 |
=== Changes since 1.39.7 === |
| 2982 |
* Localisation updates. |
| 2983 |
* tests: Skip failing tests on php8.2 (and make pass). |
| 2984 |
* (T326480) ApiResult: Make array ordering consistent across PHP versions. |
| 2985 |
* (T352789, T287972) build: Raise TestingAccessWrapper from 2.0.0 to 3.0.0. |
| 2986 |
* (T326478) tests: Create new classes to hold dynamic properties in auth tests. |
| 2987 |
* (T326478) tests: Avoid dynamic properties in AuthenticationProvider Test. |
| 2988 |
* (T326466) Introduce and use DynamicPropertyTestHelper. |
| 2989 |
* tests: Skip failing tests on php8.3 (and make pass). |
| 2990 |
* (T352910) tests: Use TestingAccessWrapper::newFromClass in session tests. |
| 2991 |
* (T326478) tests: Avoid dynamic properties in auth tests. |
| 2992 |
* (T326479, T361985) StatusValue: Allow passing arbitrary data to augment |
| 2993 |
result. |
| 2994 |
* tests: Remove dead code from WikiPageDbTest::assertPreparedEditNotEquals. |
| 2995 |
* (T326478) tests: Avoid dynamic properties in SessionManagerTest. |
| 2996 |
* (T361990) Upgrading wikimedia/parsoid (v0.16.3 => v0.16.4). |
| 2997 |
* (T357760) Use i18n strings for truncated subpage message in SpecialMovePage. |
| 2998 |
* ArticleTest: Skip testGetOrSetOnNewProperty() if PHP >= 8.2. |
| 2999 |
* (T361982) Update wikimedia/less.php from 3.1.0 to 3.2.1. |
| 3000 |
* debug: Update PsySH 0.11.1 -> 0.12.3. |
| 3001 |
* (T361991) Fix slash-delimited regex from CLI on maintenence/grep.php. |
| 3002 |
* (T362078) Improve RestAPIAdditionalRouteFiles path expansion. |
| 3003 |
* (T352695) tests: Only set $dbSetup if setupTestDB() ends without throwing. |
| 3004 |
* (T302186) Add title cache for Title::newMainPage(). |
| 3005 |
* objectcache: Fix flaky WANObjectCacheTest::testLockTSESlow case. |
| 3006 |
* (T362272) api: Replace null $httpCode by 0 in ApiBase::dieWithErrorOrDebug. |
| 3007 |
* (T150647, T216682) Make EncryptedPassword work with Argon2Password. |
| 3008 |
* (T327220) Special:ApiHelp: Move widths and floats in CSS to media query. |
| 3009 |
* (T364270) Fix long param names overlapping docs in API help pages. |
| 3010 |
* MaintenanceRunner.php: Add trailing newline to error message. |
| 3011 |
* wrapOldPasswords: Improve progress output and decrease batch size. |
| 3012 |
* (T361367) ApiFeedWatchlist: Fix handling of array parameters. |
| 3013 |
* (T132418) ResourceLoader: Add 1min grace via stale-while-revalidate |
| 3014 |
Cache-Control. |
| 3015 |
* (T366130) EncryptedPassword: Store default parameters as strings. |
| 3016 |
* Name the PagerTools array entries to allow hooks to unset them. |
| 3017 |
|
| 3018 |
== MediaWiki 1.39.7 == |
| 3019 |
|
| 3020 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 3021 |
|
| 3022 |
=== Changes since 1.39.6 === |
| 3023 |
* Localisation updates. |
| 3024 |
* (T334992) Headings in the license pickers should not be selected. |
| 3025 |
* (T353929) ActiveUsersPager: Count actions only once. |
| 3026 |
* composer: Use @php instead of php. |
| 3027 |
* (T326065) Indent JsonContent using tabs. |
| 3028 |
* (T354541) authmanager: Improve AuthenticationRequest docs. |
| 3029 |
* (T355017) Add missing space in Special:RecentChangesLinked. |
| 3030 |
* (T355003) composer.json Add ext-bcmath and ext-gmp to suggests. |
| 3031 |
* PHPVersionCheck: Update text to match currently supported upstream PHP |
| 3032 |
versions (8.1+). |
| 3033 |
* (T354045) API: mark HTML output as non-cacheable. |
| 3034 |
* (T355530) filerepo: Fix img_major_mime for files with a non-standard |
| 3035 |
extensions. |
| 3036 |
* (T355530) MimeAnalyzer: Add @since to isValidMajorMimeType. |
| 3037 |
* (T317489, T319202) Mark some parserTests on talk pages Parsoid only on |
| 3038 |
REL1_39. |
| 3039 |
* (T350594) Update wikimedia/parsoid to 0.16.3. |
| 3040 |
* (T352554) ZhConverter: Fix language variant fallback chain. |
| 3041 |
* (T357668) Parser::getExternalLinkAttribs: Don't set rel attribute to null. |
| 3042 |
* LockManagerGroupIntegrationTest: Remove test depending on DBLockManager. |
| 3043 |
* (T357808) LinkRendererTest: Add missing import for LinkTarget. |
| 3044 |
* (T353305) ApiResetPassword: Allow both user and email parameters to be passed |
| 3045 |
for reset. |
| 3046 |
* (T358949) updateCollation: Explicitly cast $scale to int. |
| 3047 |
* (T359055) api: Improve linking of language codes lists in top level i18n |
| 3048 |
messages. |
| 3049 |
* (T359294) Make sure MovePage::isValidFileMove matches UploadBase::getTitle. |
| 3050 |
* (T230245) Respect $maxConcurrency when queuing async FileOps. |
| 3051 |
* (T352554) Follow-up "ZhConverter: Fix language variant fallback chain". |
| 3052 |
* (T292237, T317451) build: Restore Doxygen output for MediaWiki release tags. |
| 3053 |
* (T324903) HistoryPager: Add #[AllowDynamicProperties]. |
| 3054 |
* (T360850) Update Apache config syntax in .htaccess files. |
| 3055 |
* (T309714, T354274) mime: Add support for 'font/woff' and 'font/woff2' mime |
| 3056 |
type. |
| 3057 |
* (T309714) mime: Make test cases use data provider. |
| 3058 |
* (T331608) installer: Bear with schema drift caused by running old updater. |
| 3059 |
* docs: Remove use of $IP from mwdocgen.php. |
| 3060 |
* (T317451) build: Restore Doxygen output for MediaWiki release tags (take 3). |
| 3061 |
* docs: Set stable permalink on markdown files. |
| 3062 |
* (T357019) allow maintenance/deleteBatch.php to accept page ID. |
| 3063 |
* (T355538, CVE-2024-34507) SECURITY: XSS in edit summary parser. |
| 3064 |
* (T357760, CVE-2024-34506) SECURITY: Denial of service vector via GET request |
| 3065 |
to Special:MovePage on pages with thousands of subpages. |
| 3066 |
|
| 3067 |
== MediaWiki 1.39.6 == |
| 3068 |
|
| 3069 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 3070 |
|
| 3071 |
=== Changes since MediaWiki 1.39.5 === |
| 3072 |
* Localisation updates. |
| 3073 |
* Updated symfony/polyfill-php80 from 1.26.0 to 1.28.0. |
| 3074 |
* Updated symfony/polyfill-php81 from 1.26.0 to 1.28.0. |
| 3075 |
* (T344912) mail: Encode period (ascii 46) if it appears in encoded email |
| 3076 |
header. |
| 3077 |
* Added symfony/polyfill-php82. |
| 3078 |
* Added symfony/polyfill-php83. |
| 3079 |
* Updated symfony/yaml from 5.4.10 to 5.4.23. |
| 3080 |
* (T329609) ApiQueryLanguageinfoTest: Do not pass a float to setFakeTime. |
| 3081 |
* Updated wikimedia/timestamp from 4.0.0 to 4.1.1. |
| 3082 |
* tests: Provide coverage for StatusValue::__toString. |
| 3083 |
* StatusValue: Improve logging/debug output with multibyte characters. |
| 3084 |
* (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages |
| 3085 |
used in rights log. |
| 3086 |
* Updated wikimedia/parsoid from 0.16.1 to 0.16.2. |
| 3087 |
* (T229992) LocalisationCache: Preserve fallback source language info. |
| 3088 |
* (T275085) Fix logging Status objects to 'authevents' channel. |
| 3089 |
* (T341310) DEVELOPERS.md: mention git clone and WSL. |
| 3090 |
* (T351758) DEVELOPERS.md: reword WSL instructions to include best practices. |
| 3091 |
* (T349115) LocalisationCache: Fix a rare case in fallback source language. |
| 3092 |
* SwiftFileBackend: Fix "PHP Deprecated: strlen(): Passing null to parameter #1 |
| 3093 |
($string) of type string is deprecated". |
| 3094 |
* maintenance: Add missing parenthesis to SQL in attachLatest.php. |
| 3095 |
* (T353472) maintenance: Fix join condition in DeduplicateArchiveRevId. |
| 3096 |
|
| 3097 |
== MediaWiki 1.39.5 == |
| 3098 |
|
| 3099 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 3100 |
|
| 3101 |
=== Changes since MediaWiki 1.39.4 === |
| 3102 |
* Localisation updates. |
| 3103 |
* (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for self-redirects |
| 3104 |
with variants conversion. |
| 3105 |
* docs: Fix a few typos in MainConfigSchema. |
| 3106 |
* (T309714) mime: Add support for 'font/sfnt' mime type. |
| 3107 |
* (T341434) WikiImporter: Improve error message output. |
| 3108 |
* (T317255) VueComponentParser: Use Zest's getElementsByTagName() rather than |
| 3109 |
PHP's. |
| 3110 |
* (T341737) ApiBase: Cast $id to string in filterIDs. |
| 3111 |
* (T286291, T296188) Merge zh and zh-tw namespace translations back to zh-hans, |
| 3112 |
zh-hant, zh-hk respectively. |
| 3113 |
* (T337875) WRStats: Round up SequenceSpec::hardExpiry to the nearest integer. |
| 3114 |
* (T237898) installer: Check MariaDB version in updater/installer. |
| 3115 |
* (T342632) ApiComparePages: Add help url. |
| 3116 |
* (T326182, T324903) EditPage: Add #[AllowDynamicProperties]. |
| 3117 |
* (T342351) rdbms: Fix postgres db function call. |
| 3118 |
* (T343675) user: Use {@} to escape annotation when writting about annotation. |
| 3119 |
* (T343797) LanguageWa: Fix double timezone adjustment. |
| 3120 |
* (T326454) Update pear/mail to 1.5.1. |
| 3121 |
* (T204470) Remove feedback messages from RawHtmlMessages. |
| 3122 |
* (T264765, CVE-2023-45364) SECURITY: Article: Check permissions before |
| 3123 |
showing link to view deleted revision. |
| 3124 |
* (T310378) Ensure that installer i18n is loaded by update.php. |
| 3125 |
* (T343622) docs: Set the <comment> tag back to optional. |
| 3126 |
* (T330528) Upgrade wikimedia/html-formatter from 3.0.1 to 4.0.3. |
| 3127 |
* (T337463) wdio-mediawiki: await saveScreenshot. |
| 3128 |
* (T274041) Include core PSR-4 classes in the generated classmap. |
| 3129 |
* (T208477) $wgPrivilegedGroups – Users belonging in some of the listed groups |
| 3130 |
will be audited more aggressively. |
| 3131 |
* doc: Improve description of "type" in extension.schema.v2.json. |
| 3132 |
* Added PrivilegedGroups attribute for extension.json / skin.json, which lets |
| 3133 |
you add any new user groups you define to wgPrivilegedGroups (see above). |
| 3134 |
* HTMLForm: Fix E_NOTICE when hide-if is used with setFormIdentifier. |
| 3135 |
* (T288624) MultiHttpClient: Unset $this->cmh after closing it. |
| 3136 |
* (T345039) Do not run SkinAfterBottomScripts hook twice unconditionally. |
| 3137 |
* (T265734) API Help: Note that parameters may be inherited from other context. |
| 3138 |
* API: Make continue parameter help description more specific. |
| 3139 |
* (T285545) i18n: Split apihelp for standard dir parameter. |
| 3140 |
* (T285545) i18n: Split apihelp for redirects/linkshere/transcludedin/fileusage |
| 3141 |
show. |
| 3142 |
* (T285545) i18n: Split apihelp for parameter list=deletedrevs&drprop=. |
| 3143 |
* (T285545) i18n: Split apihelp for parameter list=allpages&apprexpiry=. |
| 3144 |
* (T285545) i18n: Split apihelp for parameter action=opensearch&redirects=. |
| 3145 |
* (T285545) i18n: Split apihelp for parameter action=managetags&operation=. |
| 3146 |
* (T285545) api: Add message for list=watchlist&wlprop=expiry. |
| 3147 |
* (T334011) ApiComparePages: expose 'difftype' param if wikidiff2 is installed. |
| 3148 |
* (T342633) api: Add message for action=compare&prop=timestamp. |
| 3149 |
* API: revids=… does not necessarily return the queried revisions. |
| 3150 |
* (T326696) user: Truncate option value in UserOptionsManager. |
| 3151 |
* (T326696) ApiOptions: Give warning if the value is too long. |
| 3152 |
* API i18n: Add {{PLURAL:}} for byte count messages. |
| 3153 |
* (T235207) Get correct main page in API call examples. |
| 3154 |
* doc: Make extension.schema.v2.json a valid JSON schema. |
| 3155 |
* updateSpecialPages.php: Avoid implicit float conversion on modulo. |
| 3156 |
* (T347227) ImportReporter: Make callback functions public. |
| 3157 |
* (T346898) importDump: Unconditionally call $importer->setUsernamePrefix(). |
| 3158 |
* doc: Improve description of type in extension.schema.v1.json. |
| 3159 |
* (T340217, CVE-2023-45359) SECURITY: Vector 2022: Numerous unescaped |
| 3160 |
messages leading to potential XSS. |
| 3161 |
* (T340220, CVE-2023-45361) SECURITY: Vector 2022: vector-intro-page |
| 3162 |
message is assumed to yield a valid title. |
| 3163 |
* (T340221, CVE-2023-45360) SECURITY: XSS via |
| 3164 |
'youhavenewmessagesmanyusers' and 'youhavenewmessages' messages. |
| 3165 |
* (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser |
| 3166 |
("X intermediate revisions by the same user not shown") ignores |
| 3167 |
username suppression. |
| 3168 |
* (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted |
| 3169 |
XML file to Special:Upload (non-standard configuration). |
| 3170 |
|
| 3171 |
== MediaWiki 1.39.4 == |
| 3172 |
|
| 3173 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 3174 |
|
| 3175 |
=== Changes since MediaWiki 1.39.3 === |
| 3176 |
* Localisation updates. |
| 3177 |
* (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1. |
| 3178 |
* (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7 |
| 3179 |
(2.4.0 => 2.4.5). |
| 3180 |
* (T333776) {{ACTIVEUSERS}} wasn't being updated without updateSpecialPages.php. |
| 3181 |
* (T258860) Prevent LogicCache exception from message cache during IO errors |
| 3182 |
from memcache. |
| 3183 |
* (T336868) Improve idempotency of postgres index upgrades. |
| 3184 |
* (T322944) Add Authorization to default $wgAllowedCorsHeaders. |
| 3185 |
* (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter. |
| 3186 |
* A fake MessageLocalizer for use in unit tests. |
| 3187 |
* (T338114) Title: Add forward alias. |
| 3188 |
* composer: Add symfony/polyfill-php81 like symfony/polyfill-php80. |
| 3189 |
* (T330464) Work around argument corruption bug in XMLReader::open. |
| 3190 |
* Fix frame and frameless rdfa depending on file existing. |
| 3191 |
* Fixes for the phan upgrade, part 1. |
| 3192 |
* Fixes for the phan upgrade, part 2. |
| 3193 |
* (T298571) build: Update mediawiki/mediawiki-phan-config to 0.12.0. |
| 3194 |
* build: Updating mediawiki/mediawiki-phan-config to 0.12.1. |
| 3195 |
* (T329214) Pass whether current rev of file exists to |
| 3196 |
Linker::makeBrokenImageLinkObj. |
| 3197 |
* (T334659) Handle thumb errors when !$enableLegacyMediaDOM. |
| 3198 |
* A manualthumb that doesn't exist should be considered a thumb error. |
| 3199 |
* (T313157) IndexPager: Also protect against $offset being 0. |
| 3200 |
* (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker. |
| 3201 |
|
| 3202 |
== MediaWiki 1.39.3 == |
| 3203 |
|
| 3204 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 3205 |
|
| 3206 |
=== Changes since MediaWiki 1.39.2 === |
| 3207 |
* Localisation updates. |
| 3208 |
* (T328477) LinksUpdate: Use DB key for category links table. |
| 3209 |
* GlobalFunctions: Remove check for MEDIAWIKI constant. |
| 3210 |
* (T329484) API: Fix query+allimages user parameter description. |
| 3211 |
* (T330529) SpecialEditTags: Set default of '' for wpReason. |
| 3212 |
* (T330382) postgres: Make the upgrade ignore dropping indexes that |
| 3213 |
might not exist. |
| 3214 |
* (T330526) htmlform: Handle null from HTMLFormField::getDefault in |
| 3215 |
multiselects. |
| 3216 |
* (T291753) rdbms: escape backslashes in makeConnectionString for PostgreSQL. |
| 3217 |
* (T325529) Fix total breakage of wgCanonicalServer fallback. |
| 3218 |
* (T318103) mediawiki.storage: Disable async GC during integration test. |
| 3219 |
* (T332461, T332397) TempFSFile: Keep the WeakMap alive. |
| 3220 |
* (T332902) page: fix InvalidArgumentException in SQLPlatform::makeList. |
| 3221 |
* (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted |
| 3222 |
XFF headers. |
| 3223 |
|
| 3224 |
== MediaWiki 1.39.2 == |
| 3225 |
|
| 3226 |
This is a maintenance release of the MediaWiki 1.39 branch. |
| 3227 |
|
| 3228 |
=== Changes since MediaWiki 1.39.1 === |
| 3229 |
* Localisation updates. |
| 3230 |
* (T325872) ChangeTags: Remove table name from condition. |
| 3231 |
* (T324895) MWCallbackStream: Add explicit $stream property. |
| 3232 |
* (T297031, T326039) PostgresUpdater: Move setDefault ahead of |
| 3233 |
changeNullableField. |
| 3234 |
* (T321319) Produce HTML for invalid JSON. |
| 3235 |
* (T215466, T326071) MigrateActors: Write to revision table (Follow-up 24115a8). |
| 3236 |
* (T223027) ReservedUsernames config: Add reserved names from maintenance |
| 3237 |
scripts. |
| 3238 |
* (T325000, T324896, T307631) Updated OOUI from v0.44.3 to v0.44.5. |
| 3239 |
* Remove /images .htaccess rules that are no longer relevant. |
| 3240 |
* Disable php in .htaccess of images directory as a hardening measure. |
| 3241 |
* (T322583) Include missing message parameter in message. |
| 3242 |
* LocalFileTest: use encodeBlob/decodeBlob for img_metadata. |
| 3243 |
* DatabaseSqlite: fix null blobs. |
| 3244 |
* rdbms: avoid pg_escape_bytea() call-style deprecation notices. |
| 3245 |
* (T322278) Improve LocalisationCache post-merge validation check. |
| 3246 |
* (T324408, T326367) Updated wikimedia/remex-html from 3.0.2 to 3.0.3. |
| 3247 |
* (T322278) Fix the remaining Phan failures on PHP 8.1. |
| 3248 |
* (T322278, T326367) Respond to some messages from Phan on PHP 8.1. |
| 3249 |
* Fix phan error when Excimer is enabled. |
| 3250 |
* (T326021) Add matrix: to $wgUrlProtocols. |
| 3251 |
* (T314099) stream wrapper: Declare $context class property. |
| 3252 |
* (T314099) libs\jsminplus: Declare JSNode::$expression. |
| 3253 |
* (T314096) composer.json: Updated composer/spdx-licenses from 1.5.6 to 1.5.7. |
| 3254 |
* (T326472) Upgrading cssjanus/cssjanus (v2.1.0 => v2.1.1). |
| 3255 |
* (T308536) rdbms: Remove deprecation mark for $wgSharedDB. |
| 3256 |
* (T215466, T326071) installer: Split drop action out of the SQL patch for actor |
| 3257 |
migration. |
| 3258 |
* (T322603) SqliteMaintenance.php: Fix fatally broken instanceof check. |
| 3259 |
* (T326377) rdbms: Use DBConnRef in SelectQueryBuilder. |
| 3260 |
* api/en.json: api-help-datatype-expiry add missing 'may'. |
| 3261 |
* (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code. |
| 3262 |
* (T328222) Pass empty string to strlen() if schema is null for |
| 3263 |
PostgresDatabase. |
| 3264 |
* (T289926) SpecialRevisionDelete: Set default of '' for wpReason. |
| 3265 |
* (T155582, T328503) Fix XML dumps for content types with non-string |
| 3266 |
getNativeData(). |
| 3267 |
* (T326886) PoolCounterRedis: Fix wrong cast, locks weren't being released. |
| 3268 |
* (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses |
| 3269 |
* (T327821) skin: Restore default 'value' attribute in makeSearchButton(). |
| 3270 |
* (T329198) ParamValidator: Improve paramvalidator-help-multi-max message. |
| 3271 |
* (T329415) Clear the statsd data buffer regardless of StatsdServer config. |
| 3272 |
* (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text' tag. |
| 3273 |
* (T330049) UnregisteredLocalFile: Don't call MimeAnalyzer if no path. |
| 3274 |
* (T324894 TempFSFile: Use a WeakMap for reference tracking if available. |
| 3275 |
* (T295637) Add no to fallback chain of nb and nn. |
| 3276 |
|
| 3277 |
== MediaWiki 1.39.1 == |
| 3278 |
|
| 3279 |
This is a security and maintenance release of the MediaWiki 1.39 branch. |
| 3280 |
|
| 3281 |
=== Changes since MediaWiki 1.39.0 === |
| 3282 |
* Localisation updates. |
| 3283 |
* PostgresUpdater: Remove trailing space from 'user_id ' column. |
| 3284 |
* (T304515) LCStoreStaticArray: atomically replace the cache file. |
| 3285 |
* (T324516) postgres: Fix upgrade for templatelinks primary key. |
| 3286 |
* (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2. |
| 3287 |
* (T324513) uuid\GlobalIdGenerator: Check if getmyuid() exists. |
| 3288 |
* (T314099) OutputPage: Remove unused dynamic property ParserOptions->isBogus. |
| 3289 |
* (T314099) api: Remove use of undeclared property in action=comparepages. |
| 3290 |
* Upgrading wikimedia/xmp-reader (0.8.5 => 0.8.6). |
| 3291 |
* (T324489) Upgrading wikimedia/parsoid (v0.16.0 => v0.16.1). |
| 3292 |
* Updated pear/mail (v1.4.1 => v1.5.0). |
| 3293 |
* Removed wikimedia/dodo (v0.4.0). |
| 3294 |
* (T324910) On pages using multi-content revisions, the raw content of a |
| 3295 |
specific slot can be retrieved using the action=raw&slot=<role-name> query |
| 3296 |
parameters. |
| 3297 |
* (T322637) SECURITY: sqlite should not create DB file world-readable. |
| 3298 |
|
| 3299 |
== MediaWiki 1.39.0 == |
| 3300 |
|
| 3301 |
=== Changes since MediaWiki 1.39.0-rc.1 === |
| 3302 |
* Localisation updates. |
| 3303 |
* exception: Tolerate no service container when trying DB rollback. |
| 3304 |
* (T320282) Upgrading wikimedia/xmp-reader (0.8.3 => 0.8.4). |
| 3305 |
* objectcache: Deprecate WANObjectCache::reap() and ::reapCheckKey(). |
| 3306 |
* (T320864) When calling mail(), use an array for headers. |
| 3307 |
* Upgrading wikimedia/xmp-reader (0.8.4 => 0.8.5). |
| 3308 |
* (T321154) Call setFormIdentifier() on LogEventsList form. |
| 3309 |
* When importing revision with same timestamp as latest revision, treat |
| 3310 |
it as the new latest. |
| 3311 |
* (T320726) RandomImageGenerator::getImageSpec: Don't pass a float to mt_rand(), |
| 3312 |
for PHP 8.1. |
| 3313 |
* (T298485, T322360) WikiExporter: Avoid calling reload in processing every row. |
| 3314 |
* (T321551) pager: Fix null used for foreach in Pager::getNavigationBar. |
| 3315 |
* (T321551) pager: Remove unused AlphabeticPager::getOrderTypeMessages() |
| 3316 |
support. |
| 3317 |
* pager: Remove unused PagerNavigationBuilder::setExtra(). |
| 3318 |
* PagerNavigationBuilder: Document that nulls in setLinkQuery() etc. are |
| 3319 |
allowed. |
| 3320 |
* (T322335) ApiQueryRevisionsBase: Fix 'rvdiffto' parameter handling on PHP 8.0. |
| 3321 |
* (T314096) TestFileEditor: Fix string interpolation. |
| 3322 |
* (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions. |
| 3323 |
* (T322803) SpecialBotPasswords: Don't pass null to trim(). |
| 3324 |
* (T289926) Fix incomplete ITextFormatter mocks. |
| 3325 |
* Language: Handle ronna and quetta. |
| 3326 |
* (T72510) rdbms: make SqlitePlatform::tableName() apply double quotes. |
| 3327 |
* (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0. |
| 3328 |
* .gitattributes: Ship docker-compose.yml to the tarball. |
| 3329 |
|
| 3330 |
== MediaWiki 1.39.0-rc.1 == |
| 3331 |
|
| 3332 |
=== Changes since MediaWiki 1.39.0-rc.0 === |
| 3333 |
* Localisation updates. |
| 3334 |
* (T318481) composer: Drop symfony/php73-polyfill. |
| 3335 |
* (T318460) SpecialChangeEmail: Set default for returntoquery. |
| 3336 |
* (T318307) HTMLFormField::validate(): Update docs to permit all data types |
| 3337 |
* (T306802) docker: update to latest published images. |
| 3338 |
* (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset. |
| 3339 |
* (T227047) Soft-deprecate the remainder of ActorMigration. |
| 3340 |
* (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results |
| 3341 |
in an IP range check on Special:Contributions. |
| 3342 |
* (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence |
| 3343 |
of hidden users. |
| 3344 |
* (T307278, CVE-2022-41766) SECURITY: On action=rollback the message |
| 3345 |
"alreadyrolled" can leak revision deleted user name. |
| 3346 |
* (T319186) .phan/config.php: Update minimum_target_php_version. |
| 3347 |
* Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings). |
| 3348 |
* (T319186) .phan/config.php: Update minimum_target_php_version. |
| 3349 |
* (T310243) Deprecate use of 'wvui-search' package. |
| 3350 |
* utils: Fix return doc about false/null for UrlUtils::expand. |
| 3351 |
* (T319000) WebInstaller: Don't try and run trim() on null. |
| 3352 |
* In the event of preg failure in MagicWordArray throw exception. |
| 3353 |
* (T318753) Installer: Disable logo dropper for now. |
| 3354 |
|
| 3355 |
== MediaWiki 1.39.0-rc.0 == |
| 3356 |
|
| 3357 |
== Upgrading notes for 1.39 == |
| 3358 |
Don't forget to always back up your database before upgrading! |
| 3359 |
|
| 3360 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 3361 |
oldest supported upgrading version, MediaWiki 1.31. |
| 3362 |
|
| 3363 |
Some specific notes for MediaWiki 1.39 upgrades are below: |
| 3364 |
* (T278139) Drop PHP 7.3 support in MediaWiki 1.39; require 7.4.3 or higher. |
| 3365 |
|
| 3366 |
For notes on 1.38.x and older releases, see HISTORY. |
| 3367 |
|
| 3368 |
=== Configuration changes for system administrators in 1.39 === |
| 3369 |
|
| 3370 |
==== New configuration ==== |
| 3371 |
* $wgAutoCreateTempUser – This configures automatic user creation on page save. |
| 3372 |
* $wgCopyUploadAllowOnWikiDomainConfig – This configures if administrators can |
| 3373 |
use the MediaWiki:Copyupload-allowed-domains system message to define which |
| 3374 |
domains can be used with the upload-by-url tool. |
| 3375 |
* $wgCdnMatchParameterOrder – This can be set to false if MediaWiki is behind a |
| 3376 |
CDN that re-orders query parameters. This will make the code that matches |
| 3377 |
request URLs to canonical CDN URLs insensitive to parameter order. |
| 3378 |
* $wgMultiShardSiteStats – This allows you to split site_stats across multiple |
| 3379 |
rows. Only useful for very large, heavily edited wikis. (T306589) |
| 3380 |
* $wgPrivilegedGroups – Users belonging in some of the listed groups will be |
| 3381 |
audited more aggressively. |
| 3382 |
|
| 3383 |
==== Changed configuration ==== |
| 3384 |
* $wgInvalidUsernameCharacters – This setting now contains the char '>', which |
| 3385 |
is now the reserved delimiter for external user names. |
| 3386 |
* $wgLocalFileRepo – The default serialization method for file meta-data has |
| 3387 |
been changed to JSON. You can revert it to PHP by setting the property |
| 3388 |
'useJsonMetadata' to false. |
| 3389 |
* $wgLBFactoryConf – The 'configCallback' flag can now be set to a callback |
| 3390 |
function that returns an array with keys to update in $wgLBFactoryConf. This |
| 3391 |
can be used to update the database configuration on the fly, e.g. to take |
| 3392 |
replica hosts out of rotation. |
| 3393 |
* $wgDBservers and $wgLBFactoryConf – The DBO_SSL flag in has been deprecated in |
| 3394 |
favour of a boolean "ssl" parameter. |
| 3395 |
* $wgObjectCaches – The 'globalKeyLB' and 'localKeyLB' flags are no longer |
| 3396 |
supported. |
| 3397 |
|
| 3398 |
==== Removed configuration ==== |
| 3399 |
* $wgMultiContentRevisionSchemaMigrationStage - This transition flag, deprecated |
| 3400 |
since MediaWiki 1.35, has been removed; the data migration is over. |
| 3401 |
* $wgActorTableSchemaMigrationStage - This transition flag has been removed; the |
| 3402 |
data migration is over. |
| 3403 |
* $wgWikiFarmSiteDetector – This experimental setting has been removed without |
| 3404 |
replacement. Use the MW_WIKI_NAME environment variable to specifiy the name of |
| 3405 |
the site for which to load configuration. Using the WIKI_NAME environment |
| 3406 |
variable for this purpose is deprecated. |
| 3407 |
* $wgParserCacheUseJson - The ParserCache now always uses JSON serialization. |
| 3408 |
Reading old non-JSON cache entries is still supported. The setting had been |
| 3409 |
deprecated since 1.36. |
| 3410 |
* $wgAllowJavaUploads - To allow uploads of JAR files, remove application/java |
| 3411 |
from $wgMimeTypeExclusions. |
| 3412 |
* $wgMaxRedirects – This broken feature was removed, as it never worked as |
| 3413 |
intended (T296430). |
| 3414 |
* $wgElementTiming – This experimental, default-disabled feature has been |
| 3415 |
removed without replacement. |
| 3416 |
* $wgPriorityHints and $wgPriorityHintsRatio – The related experimental feature |
| 3417 |
has been removed without replacement. |
| 3418 |
* $wgIncludeLegacyJavaScript – This flag has been removed, without loss of any |
| 3419 |
functionality in this release. Most former "wikibits" functions were removed |
| 3420 |
after deprecation in previous releases. The remaining functions, such as |
| 3421 |
importScript, are now available unconditionally. |
| 3422 |
* $wgLegacySchemaConversion - This unused setting has been removed. |
| 3423 |
* $wgInterwikiPrefixDisplayTypes - This unused setting has been removed. |
| 3424 |
* $wgMangleFlashPolicy – This is no longer functional, and is now deprecated. |
| 3425 |
Users who are somehow still using Flash as a browser extension will be exposed |
| 3426 |
to CSRF vulnerabilities. |
| 3427 |
|
| 3428 |
=== New user-facing features in 1.39 === |
| 3429 |
* Optional automatic user creation on page save ($wgAutoCreateTempUser) |
| 3430 |
* Administrators now have the option to delete/undelete the associated "Talk" |
| 3431 |
page when they are (un)deleting a given page. `deletetalk` and `undeletetalk` |
| 3432 |
options were added to the 'delete' and 'undelete' action APIs in MW 1.38. |
| 3433 |
* `{{=}}` is now a wikitext built-in magic word, expanding to `=`. This is |
| 3434 |
conventionally used as an escape mechanism to allow the use of `=` in |
| 3435 |
unnamed template arguments. Defining [[Template:=]] to expand to something |
| 3436 |
other than `=` has been deprecated since 1.36, with affected pages put into |
| 3437 |
a special tracking category for migration. |
| 3438 |
* (T284020) Bot passwords are now supported when using the REST API. |
| 3439 |
|
| 3440 |
=== New developer features in 1.39 === |
| 3441 |
* Added optional $size param to SearchResultProvideThumbnail hook. |
| 3442 |
* SearchResultProvideThumbnail hook interface moved from MediaWiki\Rest\Hook |
| 3443 |
namespace to MediaWiki\Search\Hook. |
| 3444 |
* JsonValidateSaveHook has been added to allow extensions to set additional |
| 3445 |
pre-save validations for specific JSON pages (T313254) |
| 3446 |
* Added 'PermissionErrorAudit' hook, enabling extensions to audit permission |
| 3447 |
errors on specfic actions. For instance account registration failed attempts |
| 3448 |
due to a block (T306018). |
| 3449 |
|
| 3450 |
=== External library changes in 1.39 === |
| 3451 |
|
| 3452 |
==== New external libraries ==== |
| 3453 |
* Added Codex v0.1.1. This replaces the now deprecated wvui library. |
| 3454 |
* Added symfony/polyfill-php81. |
| 3455 |
* Added symfony/polyfill-php82. |
| 3456 |
* Added symfony/polyfill-php83. |
| 3457 |
|
| 3458 |
===== New development-only external libraries ===== |
| 3459 |
* Updated QUnit from 2.18.0 to 2.18.2. |
| 3460 |
|
| 3461 |
==== Changed external libraries ==== |
| 3462 |
* Updated jQuery from v3.6.0 to v3.6.1. |
| 3463 |
* Updated OOUI from v0.43.2 to v0.44.5. |
| 3464 |
* Updated composer/semver from 3.2.6 to 3.3.2. |
| 3465 |
* Updated cssjanus/cssjanus fromv2.1.0 to v2.1.1. |
| 3466 |
* Updated pear/mail from v1.4.1 to v1.5.1. |
| 3467 |
* Updated symfony/polyfill-php80 from 1.25.0 to 1.28.0. |
| 3468 |
* Updated symfony/yaml from 5.4.3 to 5.4.23. |
| 3469 |
* Updated vue/compat from 3.2.23 to 3.2.37. |
| 3470 |
* Updated wikimedia/base-convert from 2.0.1 to 2.0.2. |
| 3471 |
* Updated wikimedia/html-formatter from 3.0.1 to 4.0.3. |
| 3472 |
* Updated wikimedia/ip-set from 3.0.0 to 3.1.0. |
| 3473 |
* Updated wikimedia/minify from 2.2.6 to 2.3.0. |
| 3474 |
* Updated wikimedia/php-session-serializer from 2.0.0 to 2.0.1. |
| 3475 |
* Updated wikimedia/remex-html from 3.0.2 to 3.0.3. |
| 3476 |
* Updated wikimedia/running-stat from 1.2.1 to 2.1.0. |
| 3477 |
* Updated wikimedia/scoped-callback from 3.0.0 to 4.0.0. |
| 3478 |
* Updated wikimedia/services from 2.0.1 to 3.0.0. |
| 3479 |
* Updated wikimedia/timestamp from 3.0.0 to 4.1.1. |
| 3480 |
* Updated wikimedia/xmp-reader from 0.8.1 to 0.8.6. |
| 3481 |
|
| 3482 |
===== Changed development-only external libraries ===== |
| 3483 |
* Updated composer/spdx-licenses from 1.5.5 to 1.5.7. |
| 3484 |
* Updated doctrine/dbal for PHP < 7.3 from 2.13.6 to 2.13.9. |
| 3485 |
* Updated doctrine/dbal for PHP >= 7.3 from 3.1.5 to 3.4.2. |
| 3486 |
* Updated mediawiki/mediawiki-phan-config from 0.11.1 to 0.12.1. |
| 3487 |
|
| 3488 |
==== Removed external libraries ==== |
| 3489 |
* Removed wikimedia/dodo (v0.4.0). |
| 3490 |
|
| 3491 |
=== Bug fixes in 1.39 === |
| 3492 |
* (T314013) $wgExtraNamespaces no longer overrides canonical namespace names |
| 3493 |
specified in extension.json files. While this setting can still be used to |
| 3494 |
rename extension-defined namespaces, system administrators may need to run |
| 3495 |
namespaceDupes.php after upgrading. |
| 3496 |
|
| 3497 |
=== Action API changes in 1.39 === |
| 3498 |
* New `undeletetalk` parameter on action=undelete that allows you to restore |
| 3499 |
all revisions of the associated talk page. |
| 3500 |
|
| 3501 |
=== Languages updated in 1.39 === |
| 3502 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 3503 |
Below only new and removed languages are listed, as well as changes to languages |
| 3504 |
because of Phabricator reports. |
| 3505 |
|
| 3506 |
* Actual localization was added for several languages, which were already |
| 3507 |
in Names.php and even used for a Wikipedia: |
| 3508 |
** (T313200) Added language support for Rundi (Kirundi, rn). |
| 3509 |
** (T310976) Added language support for Tumbuka (ChiTumbuka, tum). |
| 3510 |
** (T314270) Added language support for Kanuri (kr). |
| 3511 |
* (T313199) Added language support for Sylheti (syl). |
| 3512 |
* (T311975) Added language support for Ghanaian Pidgin (gpe). |
| 3513 |
* (T307080) Added language support for Okinawan (ryu). |
| 3514 |
* (T307887) Added language support for Mooré (mos). |
| 3515 |
* (T308813) Added language support for Nigerian Pidgin (pcm). |
| 3516 |
* (T309763) Added language support for Tai Nüa (tdd). |
| 3517 |
* (T310040) Added language support for Fante (fat). |
| 3518 |
* (T311034) Added language support for Campidanese Sardinian (sro). |
| 3519 |
* (T315406) Fix the autonym of the Iñupiaq language to "Iñupiatun". |
| 3520 |
* (T315677) Removed French fallback from the Fula language (ff). |
| 3521 |
* (T304920) In Swahili, The "Media" namespace is now "Media", as in English, |
| 3522 |
and the "File" namespace is now "Faili". The old name of the "File" namespace |
| 3523 |
was "Picha", and it's kept for backwards compatibility. If you manage a wiki |
| 3524 |
in Swahili, and you use "Faili:" as a namespace anywhere in wikitext, and |
| 3525 |
you mean to use it as "Media:", these need to be replaced to "Media:". |
| 3526 |
* (T309866) Some namespace translations were updated for Kyrgyz (ky). The old |
| 3527 |
ones are retained as aliases for backwards compatibility. |
| 3528 |
* (T117845) Started the renaming of the language codes for Serbian from sr-ec |
| 3529 |
and sr-el to sr-cyrl and sr-latn. |
| 3530 |
* (T295637) Add no to fallback chain of nb and nn. |
| 3531 |
|
| 3532 |
=== Breaking changes in 1.39 === |
| 3533 |
* Basic non-JavaScript (Grade C) support has been dropped for Internet Explorer |
| 3534 |
9-10, Firefox 27-38, and Android 4.3-4.4. |
| 3535 |
* The following methods, deprecated since 1.37, have been removed from IDatabase |
| 3536 |
- ::fetchObject() |
| 3537 |
- ::fetchRow() |
| 3538 |
- ::numRows() |
| 3539 |
- ::freeResult() |
| 3540 |
* Title::getDefaultNamespace(), deprecated since 1.37, has been removed. |
| 3541 |
* The DBPrimaryPos class alias 'DBMasterPos' has been removed. |
| 3542 |
* The global function wfGetLB(), deprecated since 1.27, has been removed. |
| 3543 |
* Passing a db to BlockRestrictionStore::loadByBlockId() is no longer supported. |
| 3544 |
BlockRestrictionStoreFactory should be used to fetch a correct |
| 3545 |
BlockRestrictionStore instead. This was deprecated since 1.38. |
| 3546 |
* The global function wfGetCache(), deprecated since 1.32, has been removed. You |
| 3547 |
can use ObjectCache::getInstance() instead. |
| 3548 |
* The global function wfGetMainCache(), deprecated since 1.32, has been removed. |
| 3549 |
You can use ObjectCache::getLocalClusterInstance() instead. |
| 3550 |
* MovePage::__construct() now requires that all parameters be passed. The |
| 3551 |
fallback to MediaWikiServices emitted deprecation notices since 1.37. |
| 3552 |
* WikiPage::doEditContent(), deprecated since 1.32, was removed. |
| 3553 |
* WikiPage::prepareContentForEdit() now requires a UserIdentity parameter to be |
| 3554 |
provided. Not providing one has been deprecated since 1.37. |
| 3555 |
* EventRelayerKafka, deprecated in 1.38, was removed. |
| 3556 |
* MediaWiki\Logger\Monolog\KafkaHandler, deprecated in 1.38, was removed. |
| 3557 |
* The "trace" option of SectionProfiler, deprecated in 1.38, was removed. |
| 3558 |
* The global function wfWikiID(), deprecated since 1.35, has been removed. |
| 3559 |
* Database::wasKnownStatementRollbackError() was removed. Subclasses should |
| 3560 |
override isKnownStatementRollbackError() instead. |
| 3561 |
* Database::wasQueryTimeoutError() was removed. Subclasses should |
| 3562 |
override isQueryTimeoutError() instead. |
| 3563 |
* Database::buildSuperlative() has been removed without deprecation. |
| 3564 |
* The following methods, deprecated in 1.37, have been removed: |
| 3565 |
- Linker::setStubThreshold(), ::getStubThreshold(). |
| 3566 |
- LinkRendererFactory::createForUser(). |
| 3567 |
- ParserOptions::getStubThreshold(), ::setStubThreshold(). |
| 3568 |
* Changes to ResourceLoader modules: |
| 3569 |
- The mediawiki.viewport module, deprecated in 1.37 has been |
| 3570 |
removed. Use IntersectionObserver instead. |
| 3571 |
* If you manage a wiki in Swahili, and you use "Faili:" as a namespace anywhere, |
| 3572 |
and you mean to use it as "Media:", replace it with "Media:". See T304920. |
| 3573 |
* Changes to skins: |
| 3574 |
- Skin::getCopyrightIcon(), ::getPoweredBy(), deprecated in 1.37 have been |
| 3575 |
removed. |
| 3576 |
- Skin::bottomScripts, deprecated in 1.37, now emits deprecation notices. |
| 3577 |
Skins using SkinTemplate must set bodyOnly as a skin option and |
| 3578 |
remove lines of code generating html, body and head elements. |
| 3579 |
- Skin::makeSearchButton and Skin::makeSearchInput were deprecated in 1.38. |
| 3580 |
Use SkinTemplate methods with the same name or Skin::getTemplateData |
| 3581 |
instead. |
| 3582 |
- Styles for the HTML classes `warningbox`, `errorbox` and `successbox` have |
| 3583 |
been removed in favor of Html class methods. |
| 3584 |
- The feature `legacy` used inside ResourceLoaderSkinModule, |
| 3585 |
deprecated in 1.37, will no longer ship any styles. |
| 3586 |
- Skin::getSkinStylePath, deprecated since 1.36, has been removed. |
| 3587 |
- Skin::getPortletData has been made private. |
| 3588 |
- SkinTemplate::getPersonalToolsList(), deprecated in 1.35 has been |
| 3589 |
removed. |
| 3590 |
- The following SkinTemplate template data, deprecated in 1.37, |
| 3591 |
have been removed: |
| 3592 |
- poweredbyico |
| 3593 |
- copyrightico |
| 3594 |
- The following hooks, deprecated in 1.37, have been removed: |
| 3595 |
- SkinGetPoweredBy: SkinGetPoweredByHook |
| 3596 |
- The following hooks are deprecated and replaced with |
| 3597 |
SkinTemplateNavigation::Universal: |
| 3598 |
- SkinTemplateNavigation::SpecialPage |
| 3599 |
- SkinTemplateNavigation |
| 3600 |
- PersonalUrls |
| 3601 |
- The mediawiki.skinning.content.externallinks module, which was |
| 3602 |
deprecated in 1.36 has been removed. Skins that still rely on it |
| 3603 |
will lose the icon styling of external links by type. |
| 3604 |
* Experimental wiki farm support: Automatic detection of the requested site |
| 3605 |
within a wiki farm based on the requested domain has been removed. |
| 3606 |
Use the MW_WIKI_NAME environment variable to specify the name of the site |
| 3607 |
to load configuration for. Using the WIKI_NAME environment variable for this |
| 3608 |
purpose is deprecated. This is only relevant if you have been using |
| 3609 |
$wgWikiFarmSettingsDirectory to load wiki farm config. |
| 3610 |
* MWExceptionHandler::installHandler was marked @internal and had required |
| 3611 |
arguments added. This method is intended for use in bootstrap code and is |
| 3612 |
unused in known extensions. |
| 3613 |
* MWException::useOutputPage was made private without deprecation. |
| 3614 |
This method was apparently only public for testing and is unused in known |
| 3615 |
extensions. |
| 3616 |
* Calling getId() on a User or UserIdentityValue from the wrong wiki, deprecated |
| 3617 |
since 1.36, now throws an exception. |
| 3618 |
* The following methods have been removed from ExtensionRegistry without |
| 3619 |
deprecation and without replacement. They had been introduced in 1.35 for use |
| 3620 |
in the testing framework, and were not in use by any known extension: |
| 3621 |
- exportAutoloadClassesAndNamespaces |
| 3622 |
- exportTestAutoloadClassesAndNamespaces |
| 3623 |
* The MWNamespace class, deprecated since 1.34, has been removed. Use the |
| 3624 |
NamespaceInfo service instead. |
| 3625 |
* The UnknownContent and UnknownContentHandler class aliases have been removed, |
| 3626 |
use FallbackContent and FallbackContentHandler instead. |
| 3627 |
* IResultWrapper::next() now returns void, to match the Iterator interface that |
| 3628 |
it implements. fetchObject() has the same behavior as next() used to. |
| 3629 |
* In HTMLForm HTMLAutoCompleteSelectFields, the parameters 'autocomplete' and |
| 3630 |
'autocomplete-messages', which were deprecated in MediaWiki 1.29, were |
| 3631 |
removed. Instead, use 'autocomplete-data' and 'autocomplete-data-messages'. |
| 3632 |
* The global $wgParser, deprecated in 1.32, was removed. Use |
| 3633 |
MediaWikiServices::getInstance()->getParser() instead. |
| 3634 |
* ParserOutput::setText will now set the ParserOutput's text to null if |
| 3635 |
given null. Previously it did nothing if given null. |
| 3636 |
* The default value for the first argument to the ParserOutput constructor |
| 3637 |
is now null instead of ''. |
| 3638 |
* IDatabase::lockTables() and IDatabase::unlockTables(), deprecated since 1.38, |
| 3639 |
have been removed. |
| 3640 |
* The $context parameter to `new HTMLForm( … )` and `HTMLForm::factory( … )` |
| 3641 |
is now required. |
| 3642 |
* The class alias for revision related classes in namespace MediaWiki\Storage |
| 3643 |
has been removed. Classes are IncompleteRevisionException, |
| 3644 |
MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException, |
| 3645 |
RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord, |
| 3646 |
RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and |
| 3647 |
SuppressedDataException. |
| 3648 |
* Calling getBy() on an AbstractBlock from the wrong wiki, deprecated since |
| 3649 |
1.38, now throws an exception. |
| 3650 |
* Passing a MediaWiki\Linker\LinkTarget to EditPage::makeTemplatesOnThisPageList |
| 3651 |
or TemplatesOnThisPageFormatter::format is no longer supported, |
| 3652 |
a MediaWiki\Page\PageIdentity is required. |
| 3653 |
* The deprecated class alias FakeConverter has been removed, use |
| 3654 |
TrivialLanguageConverter instead. |
| 3655 |
* The deprecated ApiQueryContributions class alias has been removed, use |
| 3656 |
ApiQueryUserContribs instead. |
| 3657 |
* The deprecated MediaWiki\Special\SpecialPageFactory class alias has been |
| 3658 |
removed, use MediaWiki\SpecialPage\SpecialPageFactory instead. |
| 3659 |
* The following skin modules, deprecated in 1.37, have been removed: |
| 3660 |
- mediawiki.skinning.elements |
| 3661 |
- mediawiki.skinning.content |
| 3662 |
- mediawiki.toc.styles |
| 3663 |
- mediawiki.legacy.config |
| 3664 |
- mediawiki.legacy.shared |
| 3665 |
- mediawiki.legacy.commonPrint |
| 3666 |
* FileModule::compileLessFile(), deprecated since 1.35, has been removed. Use |
| 3667 |
::compileLessString() instead. |
| 3668 |
* LogFormatter::styleRestricedElement(), deprecated since 1.37, has been |
| 3669 |
removed. Use ::styleRestrictedElement() instead. |
| 3670 |
* Title::isNamespaceProtected(), deprecated in 1.34, has been removed. |
| 3671 |
* ApiStashEdit::parseAndStash(), deprecated in 1.34, has been removed. |
| 3672 |
* LinkCache::forUpdate(), deprecated in 1.34, has been removed. |
| 3673 |
* Passing null instead of a NamespaceInfo instance to LinkCache::__construct() |
| 3674 |
is not supported anymore. It is recommended to request an instance from the |
| 3675 |
service container. |
| 3676 |
* ApiQueryBase::showHiddenUsersAddBlockInfo(), deprecated in 1.34, has been |
| 3677 |
removed. Use ApiQueryBlockInfoTrait instead. |
| 3678 |
* ApiQueryBase::prefixedTitlePartToKey(), deprecated in 1.35, has been removed. |
| 3679 |
Use ::parsePrefixedTitlePart() instead. |
| 3680 |
* ExternalStoreDB::getSlave(), deprecated in 1.34, has been removed. Use |
| 3681 |
ExternalStoreDB::getReplica() instead. |
| 3682 |
* ChangesListSpecialPage::checkStructuredFilterUiEnabled() and |
| 3683 |
SpecialWatchlist::checkStructuredFilterUiEnabled() now support UserIdentity |
| 3684 |
as the only argument. Passing Config argument was deprecated in 1.34. |
| 3685 |
* DatabaseUpdater::ifNoActorTable(), deprecated in 1.35, has been removed. Use |
| 3686 |
::ifTableNotExists() instead. |
| 3687 |
* MediaWiki\Revision\RevisionStoreFactory::getRevisionStore was documented |
| 3688 |
to allow passing bool true as a dbDomain, this is no longer possible, |
| 3689 |
because that is an invalid value for a dbDomain. |
| 3690 |
* LinkHolderArray::__construct() had its signature changed. The class was marked |
| 3691 |
internal in 1.35. |
| 3692 |
* SpecialMute::isTargetBlacklisted(), deprecated in 1.35, has been removed. Use |
| 3693 |
::isTargetMuted() instead. |
| 3694 |
* WebRequest::checkUrlExtension(), deprecated in 1.35, has been removed. |
| 3695 |
* ContentHandler::cleanupHandlersCache(), deprecated in 1.35, has been removed. |
| 3696 |
* SpecialVersion::getExtAuthorsFileName, deprecated in 1.35, has been removed. |
| 3697 |
Use MediaWiki\ExtensionInfo::getAuthorsFileName. |
| 3698 |
* SpecialVersion::getExtLicenseFileName, deprecated in 1.35, has been removed. |
| 3699 |
Use MediaWiki\ExtensionInfo::getLicenseFileNames. |
| 3700 |
* CategoryPage::getCategoryViewerClass and ::setCategoryViewerClass, deprecated |
| 3701 |
in 1.35, have been removed. |
| 3702 |
* SqlBlobStore::getLegacyEncodingConversionLang(), deprecated in 1.34, has been |
| 3703 |
removed. |
| 3704 |
* wfCanIPUseHTTPS(), deprecated in 1.37, has been removed. |
| 3705 |
* wfGetScriptUrl(), deprecated in 1.35, has been removed. |
| 3706 |
* The following methods of Database class, are no longer stable to override: |
| 3707 |
- ::implicitOrderby() |
| 3708 |
- ::selectSQLText() |
| 3709 |
- ::bitNot() |
| 3710 |
- ::bitAnd() |
| 3711 |
- ::bitOr() |
| 3712 |
- ::buildConcat() |
| 3713 |
- ::buildGreatest() |
| 3714 |
- ::buildLeast() |
| 3715 |
- ::buildSubstring() |
| 3716 |
- ::buildStringCast() |
| 3717 |
- ::buildIntegerCast() |
| 3718 |
- ::tableName() |
| 3719 |
- ::addIdentifierQuotes() |
| 3720 |
- ::buildLike() |
| 3721 |
- ::limitResult() |
| 3722 |
- ::unionSupportsOrderAndLimit() |
| 3723 |
- ::unionQueries() |
| 3724 |
- ::conditional() |
| 3725 |
- ::strreplace() |
| 3726 |
- ::timestamp() |
| 3727 |
- ::getInfinity() |
| 3728 |
- ::setTableAliases() |
| 3729 |
- ::setIndexAliases() |
| 3730 |
- ::buildGroupConcatField() |
| 3731 |
* SpecialUnblock::processUnblock(), deprecated in 1.36, has been removed. Use |
| 3732 |
UnblockUser instead. |
| 3733 |
* wfLocalFile() and wfFindFile(), deprecated in 1.34, have been removed. |
| 3734 |
* Maintenance script resetUserTokens.php, deprecated in 1.27, has been removed. |
| 3735 |
* These methods in Database have been removed without deprecation as they are |
| 3736 |
not used outside core. Users should override corresponding methods in |
| 3737 |
SQLPlatform instead: |
| 3738 |
- Database::doInsert -> SQLPlatform::insertSqlText |
| 3739 |
- Database::doDropTable -> SQLPlatform::dropTableSqlText |
| 3740 |
- Database::doRollback -> SQLPlatform::rollbackSqlText |
| 3741 |
- Database::doSavepoint -> SQLPlatform::savepointSqlText |
| 3742 |
- Database::doReleaseSavepoint -> SQLPlatform::releaseSavepointSqlText |
| 3743 |
- Database::doRollbackToSavepoint -> SQLPlatform::rollbackToSavepointSqlText |
| 3744 |
* The following protected methods of Database class have been removed without |
| 3745 |
deprecation as they are not used outside core. Users should call |
| 3746 |
corresponding methods in SQLPlatform: |
| 3747 |
- Database::makeInsertLists -> SQLPlatform::makeInsertLists |
| 3748 |
- Database::isFlagInOptions -> SQLPlatform::isFlagInOptions |
| 3749 |
- Database::normalizeOptions -> SQLPlatform::normalizeOptions |
| 3750 |
- Database::fieldNameWithAlias -> SQLPlatform::fieldNameWithAlias |
| 3751 |
- Database::isTransactableQuery -> SQLPlatform::isTransactableQuery |
| 3752 |
* $wgCanonicalNamespaceNames no longer includes custom namespaces defined using |
| 3753 |
$wgExtraNamespaces. Extensions should use the NamespaceInfo service instead |
| 3754 |
of accessing this configuration setting directly. |
| 3755 |
* The following hook, deprecated in 1.35, has been removed: |
| 3756 |
- ParserGetVariableValueVarCache: ParserGetVariableValueVarCacheHook |
| 3757 |
* The $variableCache parameter to the ParserGetVariableValueSwitch hook is |
| 3758 |
no longer used; non-standard use of this parameter has been deprecated since |
| 3759 |
1.35. |
| 3760 |
* These methods have been moved from IDatabase to IMaintainableDatabase: |
| 3761 |
- IDatabase::fieldExists -> IMaintainableDatabase::fieldExists |
| 3762 |
- IDatabase::indexExists -> IMaintainableDatabase::indexExists |
| 3763 |
- IDatabase::tableExists -> IMaintainableDatabase::tableExists |
| 3764 |
* DBConnRef doesn't accept live connection in constructor anymore. |
| 3765 |
Only parameters for getting connection should be provided. |
| 3766 |
* IDatabase::getTopologyRootPrimary() was removed. |
| 3767 |
* User::blockedBy(), deprecated since 1.38, has been removed. |
| 3768 |
* User::getBlockId(), deprecated since 1.38, has been removed. |
| 3769 |
* AlphabeticPager::getOrderTypeMessages(), unused since 1.13, has been removed |
| 3770 |
without deprecation. |
| 3771 |
|
| 3772 |
=== Deprecations in 1.39 === |
| 3773 |
* PageProps::getInstance(), deprecated since 1.38, emits deprecations warnings. |
| 3774 |
* The global function wfGetDB() has been deprecated. Use |
| 3775 |
LoadBalancer::getConnection() instead. |
| 3776 |
* SpecialRedirectWithAction::__construct without SearchEngineFactory argument |
| 3777 |
will now emit a deprecation notice. |
| 3778 |
* Use of the SiteStatsUpdate constructor has been deprecated in favor of |
| 3779 |
the ::factory() method. |
| 3780 |
* AuthManager::checkAccountCreatePermissions has been deprecated. Use |
| 3781 |
AuthManager::authorizeCreateAccount or AuthManager::probablyCanCreateAccount |
| 3782 |
instead. |
| 3783 |
* Title::getSelectFields() has been deprecated in favor of |
| 3784 |
PageStore::newSelectQueryBuilder() |
| 3785 |
* Title::newFromTitleValue(), deprecated since in 1.34, now emits deprecation |
| 3786 |
warnings. Use ::newFromLinkTarget() instead. |
| 3787 |
* ExtensionRegistry::readFromQueue() has been marked @internal. Extensions |
| 3788 |
should use ExtensionProcessor instead. |
| 3789 |
* Processor::getExtraAutoloaderPaths() and |
| 3790 |
ExtensionProcessor::getExtraAutoloaderPaths() have been deprecated, use get |
| 3791 |
getExtractedAutoloadInfo() instead. |
| 3792 |
* The following global functions are deprecated in favor of the listed UrlUtils |
| 3793 |
methods. |
| 3794 |
- wfExpandUrl -> UrlUtils::expand |
| 3795 |
- wfGetServerUrl -> UrlUtils::getServer |
| 3796 |
- wfAssembleUrl -> UrlUtils::assemble |
| 3797 |
- wfRemoveDotSegments -> UrlUtils::removeDotSegments |
| 3798 |
- wfUrlProtocols -> UrlUtils::validProtocols |
| 3799 |
- wfUrlProtocolsWithoutProtRel -> UrlUtils::validAbsoluteProtocols |
| 3800 |
- wfParseUrl -> UrlUtils::parse |
| 3801 |
- wfExpandIRI -> UrlUtils::expandIRI |
| 3802 |
- wfMatchesDomainList -> UrlUtils::matchesDomainList |
| 3803 |
These methods are exact replacements except that |
| 3804 |
1) they return null instead of false or empty string on error (where |
| 3805 |
applicable); |
| 3806 |
2) UrlUtils::validProtocols does not take a parameter (documentation said not |
| 3807 |
to pass one to wfUrlProtocols anyway); |
| 3808 |
3) they use type hints (don't try passing null instead of string, etc.). |
| 3809 |
* MaintainableDBConnRef is deprecated, use DBConnRef instead. |
| 3810 |
* Loading DefaultSettings.php is deprecated. To get default values of main |
| 3811 |
config settings, use MainConfigSchema::listDefaultValues() or |
| 3812 |
MainConfigSchema::getDefaultValue(). |
| 3813 |
* AbstractContent::getRedirectChain() and |
| 3814 |
AbstractContent::getUltimateRedirectTarget() are now emitting deprecation |
| 3815 |
warnings (T296430). |
| 3816 |
* (T244138) QueryPage::getSQL() is deprecated. Instead QueryPage::getQueryInfo() |
| 3817 |
should be overridden. |
| 3818 |
* Calling new JobRunner() directly without $serviceOptions now emits |
| 3819 |
deprecation warnings. Use MediaWikiServices::getInstance()->getJobRunner() |
| 3820 |
instead. |
| 3821 |
* Passing an array of targets to Article::getRedirectHeaderHtml() is |
| 3822 |
deprecated. Supply a single redirect target instead (T296430). |
| 3823 |
* The following Less mediawiki.mixins have been deprecated: |
| 3824 |
- .animation() |
| 3825 |
- .animation-delay() |
| 3826 |
- .transform-rotate() |
| 3827 |
* Skin::getAction is deprecated. Use IContextSource::getActionName instead. |
| 3828 |
* User::getOption, deprecated since 1.35, now emits deprecation warnings. |
| 3829 |
Use UserOptionsLookup::getOption instead. |
| 3830 |
* ILBFactory::forEachLB() is deprecated. Use ::getAllLBs(). |
| 3831 |
* LoadBalancer::forEachOpenConnection() and ::forEachOpenPrimaryConnection() |
| 3832 |
are deprecated without replacement. |
| 3833 |
* The following classes were moved from the root namespace to the |
| 3834 |
MediaWiki\ResourceLoader namespace, the old names becoming deprecated aliases: |
| 3835 |
ResourceLoader, MessageBlobStore, VueComponentParser. |
| 3836 |
* The following classes had the "ResourceLoader" prefix stripped while being |
| 3837 |
moved to the MediaWiki\ResourceLoader namespace, the old names becoming |
| 3838 |
deprecated aliases: DerivativeResourceLoaderContext, |
| 3839 |
ResourceLoaderCircularDependencyError, ResourceLoaderClientHtml, |
| 3840 |
ResourceLoaderCodexModule, ResourceLoaderContext, ResourceLoaderFileModule, |
| 3841 |
ResourceLoaderFilePath, ResourceLoaderForeignApiModule, ResourceLoaderImage, |
| 3842 |
ResourceLoaderImageModule, ResourceLoaderLanguageDataModule, |
| 3843 |
ResourceLoaderLessVarFileModule, ResourceLoaderModule, |
| 3844 |
ResourceLoaderMwUrlModule, ResourceLoaderOOUIFileModule, |
| 3845 |
ResourceLoaderOOUIIconPackModule, ResourceLoaderOOUIImageModule, |
| 3846 |
ResourceLoaderOOUIModule, ResourceLoaderSiteModule, |
| 3847 |
ResourceLoaderSiteStylesModule, ResourceLoaderSkinModule, |
| 3848 |
ResourceLoaderStartUpModule, ResourceLoaderUserModule, |
| 3849 |
ResourceLoaderUserOptionsModule, ResourceLoaderUserStylesModule, |
| 3850 |
ResourceLoaderWikiModule. |
| 3851 |
* WANObjectCache::reap() and WANObjectCache::reapCheckKey() have been |
| 3852 |
deprecated without replacement. |
| 3853 |
* The following methods in WikiRevision and their interfaces |
| 3854 |
ImportableUploadRevision and ImportableOldRevision are deprecated: |
| 3855 |
- ::getUserObj() → ::getUser() |
| 3856 |
- ::setUserObj() → ::setUsername() |
| 3857 |
- ::setUserIP() → ::setUsername() |
| 3858 |
* ObjectCache::addBusyCallback() is deprecated and non-functional. |
| 3859 |
* MWTimestamp::getHumanTimestamp(), deprecated in 1.26, now emits deprecation |
| 3860 |
warnings. |
| 3861 |
* Article::viewRedirect(), deprecated in 1.30, now emits deprecation warnings. |
| 3862 |
* Parser::getFreshParser() is deprecated, use ParserFactory::getInstance(). |
| 3863 |
* CoreParserFunctions::mwnamespace() is deprecated and emits deprecation |
| 3864 |
warnings, use CoreParserFunctions::namespace() instead. |
| 3865 |
* Registering magic variables whose names include a colon is deprecated. |
| 3866 |
* User::blockedFor(), deprecated in 1.35, now emits deprecation warnings. |
| 3867 |
* Access to previously public properties AbstractBlock::$mExpiry, |
| 3868 |
AbstractBlock::$mHideName, AbstractBlock::$mTimestamp, DatabaseBlock::$mAuto, |
| 3869 |
and DatabaseBlock::$mParentBlockId, deprecated in 1.34, now emits deprecation |
| 3870 |
warnings. |
| 3871 |
* Access to previously public properties User::$mBlock, User::$mBlockedby, and |
| 3872 |
User::$mHideName, deprecated in 1.35, now emits deprecation warnings. |
| 3873 |
* JobQueueGroup::singleton() and ::destroySingletons(), deprecated in 1.37, now |
| 3874 |
emit deprecation warnings. |
| 3875 |
* Title::getNotificationTimestamp(), deprecated in 1.35, now emits deprecation |
| 3876 |
warnings. |
| 3877 |
* Global functions wfReadOnly and wfReadOnlyReason, deprecated in 1.38, now |
| 3878 |
emit deprecation warnings. |
| 3879 |
* Overriding or calling DifferenceEngine::getDiffBodyCacheKey(), deprecated in |
| 3880 |
1.31, now emits deprecation warnings. |
| 3881 |
* Access to previously public property WikiRevision::$fileIsTemp, deprecated in |
| 3882 |
1.29, now emits deprecation warnings. |
| 3883 |
* wfQueriesMustScale() has been deprecated and emits deprecation warnings. |
| 3884 |
* ContextSource::getStats(), RequestContext::getStats(), and |
| 3885 |
DerivativeContext::getStats(), deprecated in 1.27, now emit deprecation |
| 3886 |
warnings. |
| 3887 |
* ManualLogEntry::setTags(), deprecated in 1.33, now emits deprecation warnings. |
| 3888 |
* WikiRevision::downloadSource(), deprecated in 1.31, now emits deprecation |
| 3889 |
warnings. |
| 3890 |
* DifferenceEngine::textDiff(), deprecated in 1.32, now emits deprecation |
| 3891 |
warnings. |
| 3892 |
* FormatMetadata::flattenArrayContentLang(), deprecated in 1.36, now emits |
| 3893 |
deprecation warnings. |
| 3894 |
* SkinTemplate::getNameSpaceKey(), deprecated in 1.35, now emits deprecation |
| 3895 |
warnings. |
| 3896 |
* EnqueueJob::newFromJobsByWiki(), deprecated in 1.33, now emits deprecation |
| 3897 |
warnings. |
| 3898 |
* The following methods of the MWGrants class, all deprecated since 1.38, |
| 3899 |
are now emitting deprecation warnings: |
| 3900 |
- getValidGrants |
| 3901 |
- getRightsByGrant |
| 3902 |
- grantName |
| 3903 |
- grantNames |
| 3904 |
- getGrantRights |
| 3905 |
- grantsAreValid |
| 3906 |
- getGrantGroups |
| 3907 |
- getHiddenGrants |
| 3908 |
- getGrantsLink |
| 3909 |
- getGrantsWikiText |
| 3910 |
* DataUpdate::runUpdates(), deprecated in 1.28, now emits deprecation warnings. |
| 3911 |
* CdnCacheUpdate::newFromTitles(), deprecated in 1.35, now emits deprecation |
| 3912 |
warnings. |
| 3913 |
* Instantiating HTMLCacheUpdate class, deprecated in 1.34, now emits deprecation |
| 3914 |
warnings. |
| 3915 |
* ISQLPlatform::tableNames() (implemented by IDatabase) is now deprecated. |
| 3916 |
None of the tableName*() functions should be used by most users; |
| 3917 |
if you absolutely must use raw SQL, write several tableName() calls instead. |
| 3918 |
* Language::isWellFormedLanguageTag() has been deprecated in favor of |
| 3919 |
LanguageCode::isWellFormedLanguageTag(). |
| 3920 |
* The PrevNextNavigationRenderer helper class has been deprecated in favor of |
| 3921 |
the new PagerNavigationBuilder one. |
| 3922 |
* The methods IndexPager::getPagingLinks(), IndexPager::getLimitLinks() and |
| 3923 |
IndexPager::buildPrevNextNavigation() have been deprecated in favor of |
| 3924 |
IndexPager::getNavigationBuilder(). |
| 3925 |
* Overriding the method IndexPager::makeLink() has been deprecated. |
| 3926 |
* ActorMigration is deprecated. The temporary table is no longer needed, the |
| 3927 |
actor table can be directly joined to the revision table, which is simple |
| 3928 |
enough to not need a helper class. See the methods of ActorMigration for more |
| 3929 |
specific information on replacements. ActorMigrationBase remains usable for |
| 3930 |
migrations in extension tables. |
| 3931 |
|
| 3932 |
=== Other changes in 1.39 === |
| 3933 |
* Dynamic default values are now applied before extension registration callbacks |
| 3934 |
are run. This way, extensions have a complete view of config variables, with |
| 3935 |
all defaults applied. For example, when the default value of X used to be |
| 3936 |
static but becomes dynamic, and an extension reads the value of X in the |
| 3937 |
registration callback, it will now continue to function as expected. In some |
| 3938 |
cases however, this may cause an undesired change in behavior: if the dynamic |
| 3939 |
default of setting X depends on the value of setting Y, and an extension |
| 3940 |
changes Y, the changed value of Y will no longer affect the value of X. |
| 3941 |
|
| 3942 |
== Compatibility == |
| 3943 |
|
| 3944 |
MediaWiki 1.39 requires PHP 7.4.3 or later and the following PHP extensions: |
| 3945 |
|
| 3946 |
* ctype |
| 3947 |
* dom |
| 3948 |
* fileinfo |
| 3949 |
* iconv |
| 3950 |
* intl |
| 3951 |
* json |
| 3952 |
* mbstring |
| 3953 |
* xml |
| 3954 |
|
| 3955 |
MariaDB is the recommended database software. MySQL, PostgreSQL, or SQLite can |
| 3956 |
be used instead, but support for them is somewhat less mature. |
| 3957 |
|
| 3958 |
The supported versions are: |
| 3959 |
|
| 3960 |
* MariaDB 10.3 or higher |
| 3961 |
* MySQL 5.7.0 or higher |
| 3962 |
* PostgreSQL 10 or later |
| 3963 |
* SQLite 3.8.0 or later |
| 3964 |
|
| 3965 |
== Online documentation == |
| 3966 |
Documentation for both end-users and site administrators is available on |
| 3967 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 3968 |
for pages that explicitly state that their contents are in the public domain): |
| 3969 |
|
| 3970 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 3971 |
|
| 3972 |
== Mailing list == |
| 3973 |
A mailing list is available for MediaWiki user support and discussion: |
| 3974 |
|
| 3975 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 3976 |
|
| 3977 |
A low-traffic announcements-only list is also available: |
| 3978 |
|
| 3979 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 3980 |
|
| 3981 |
It's highly recommended that you sign up for one of these lists if you're |
| 3982 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 3983 |
|
| 3984 |
== IRC help == |
| 3985 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 3986 |
|
| 3987 |
= MediaWiki 1.38 = |
| 3988 |
|
| 3989 |
== MediaWiki 1.38.7 == |
| 3990 |
|
| 3991 |
This is a security and maintenance release of the MediaWiki 1.38 branch. |
| 3992 |
|
| 3993 |
=== Changes since MediaWiki 1.38.6 === |
| 3994 |
* Localisation updates. |
| 3995 |
* (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1. |
| 3996 |
* (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7 |
| 3997 |
(2.4.0 => 2.4.5). |
| 3998 |
* (T322944) Add Authorization to default $wgAllowedCorsHeaders. |
| 3999 |
* (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter. |
| 4000 |
* (T330464) Work around argument corruption bug in XMLReader::open. |
| 4001 |
* (T313157) IndexPager: Also protect against $offset being 0. |
| 4002 |
* (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker. |
| 4003 |
|
| 4004 |
== MediaWiki 1.38.6 == |
| 4005 |
|
| 4006 |
This is a security and maintenance release of the MediaWiki 1.38 branch. |
| 4007 |
|
| 4008 |
=== Changes since MediaWiki 1.38.5 === |
| 4009 |
* Localisation updates. |
| 4010 |
* (T325872) ChangeTags: Remove table name from condition. |
| 4011 |
* (T324895) MWCallbackStream: Add explicit $stream property. |
| 4012 |
* (T297031, T326039) PostgresUpdater: Move setDefault ahead of |
| 4013 |
changeNullableField. |
| 4014 |
* Remove /images .htaccess rules that are no longer relevent. |
| 4015 |
* Disable php in .htaccess of images directory as a hardening measure. |
| 4016 |
* (T322583) Include missing message parameter in message. |
| 4017 |
* Fix phan error when Excimer is enabled. |
| 4018 |
* (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0 |
| 4019 |
* (T326021) Add matrix: to $wgUrlProtocols. |
| 4020 |
* (T326377) rdbms: Use DBConnRef in SelectQueryBuilder. |
| 4021 |
* api/en.json: api-help-datatype-expiry add missing 'may'. |
| 4022 |
* (T328222) Pass empty string to strlen() if schema is null for |
| 4023 |
PostgresDatabase. |
| 4024 |
* (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code. |
| 4025 |
* (T289926) SpecialRevisionDelete: Set default of '' for wpReason. |
| 4026 |
* (T155582, T328503) Fix XML dumps for content types with non-string |
| 4027 |
getNativeData(). |
| 4028 |
* (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses. |
| 4029 |
* (T329198) ParamValidator: Improve paramvalidator-help-multi-max message. |
| 4030 |
* (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text' |
| 4031 |
tag. |
| 4032 |
* (T295637) Add no to fallback chain of nb and nn. |
| 4033 |
* (T329484) API: Fix query+allimages user parameter description. |
| 4034 |
* (T330529) SpecialEditTags: Set default of '' for wpReason. |
| 4035 |
* (T330526) htmlform: Handle null from HTMLFormField::getDefault in |
| 4036 |
multiselects. |
| 4037 |
* (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted |
| 4038 |
XFF headers. |
| 4039 |
|
| 4040 |
== MediaWiki 1.38.5 == |
| 4041 |
|
| 4042 |
This is a security and maintenance release of the MediaWiki 1.38 branch. |
| 4043 |
|
| 4044 |
=== Changes since MediaWiki 1.38.4 === |
| 4045 |
* Localisation updates. |
| 4046 |
* Tests: Explicit cast to int in RandomImageGenerator test (php8 warnings). |
| 4047 |
* (T319000) WebInstaller: Don't try and run trim() on null. |
| 4048 |
* (T318753) Installer: Disable logo dropper for now. |
| 4049 |
* (T320864) When calling mail(), use an array for headers. |
| 4050 |
* (T311567) In ManualLogEntry, cast the comment to string. |
| 4051 |
* (T289926) api: Fix minor PHP 8.1 incompatibility in ApiOptions. |
| 4052 |
* (T322803) SpecialBotPasswords: Don't pass null to trim(). |
| 4053 |
* (T323082) Upgrading wikimedia/xmp-reader (0.8.1 => 0.8.5). |
| 4054 |
* Language: Handle ronna and quetta. |
| 4055 |
* PostgresUpdater: Remove trailing space from 'user_id ' column. |
| 4056 |
* (T304515) LCStoreStaticArray: atomically replace the cache file. |
| 4057 |
* (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2. |
| 4058 |
* (T324910) On pages using multi-content revisions, the raw content of a |
| 4059 |
specific slot can be retrieved using the action=raw&slot=<role-name> query |
| 4060 |
parameters. |
| 4061 |
* (T322637) SECURITY: sqlite should not create DB file world-readable. |
| 4062 |
|
| 4063 |
== MediaWiki 1.38.4 == |
| 4064 |
|
| 4065 |
This is a maintenance release of the MediaWiki 1.38 branch. |
| 4066 |
|
| 4067 |
=== Changes since MediaWiki 1.38.3 === |
| 4068 |
* Fix missing use statement from backport of fix for T307278. |
| 4069 |
|
| 4070 |
== MediaWiki 1.38.3 == |
| 4071 |
|
| 4072 |
This is a security and maintenance release of the MediaWiki 1.38 branch. |
| 4073 |
|
| 4074 |
=== Changes since MediaWiki 1.38.2 === |
| 4075 |
* Localisation updates. |
| 4076 |
* (T311568) UploadBase::setTempFile() handle $tempPath being passed as null. |
| 4077 |
* (T311559) SpecialListFiles: user parameter isn't always present. |
| 4078 |
* (T311561) ImageListPager: Don't call htmlspecialchars() on null. |
| 4079 |
* (T311920) SpecialBlockList: Prevent passing null to trim(). |
| 4080 |
* (T311921) SpecialUserrights: Don't pass null to str_replace. |
| 4081 |
* (T311570) SpecialWithoutInterwiki: Don't pass null through to |
| 4082 |
Title::capitalize(). |
| 4083 |
* (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser. |
| 4084 |
* (T311360) RecentChange: Straight join to actor table when needed. |
| 4085 |
* (T311360) RecentChange: Make join to comment table also straight. |
| 4086 |
* Remove messages in en-gb.json. |
| 4087 |
* (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null. |
| 4088 |
* (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid. |
| 4089 |
* (T312302) SpecialRedirect: Don't pass null to explode. |
| 4090 |
* RemoveInvalidEmails: Fix quoting for postgres. |
| 4091 |
* (T312678) import: UploadSourceAdapter::stream_read() don't pass null to |
| 4092 |
strlen(). |
| 4093 |
* (T312300) SpecialDiff: Don't pass null to explode(). |
| 4094 |
* (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg. |
| 4095 |
* (T289926) Handle null passed to wfShorthandToInteger() and Html::element(). |
| 4096 |
* (T289926) Ensure that strlen() does not get passed a (valid) null. |
| 4097 |
* (T312301) SpecialDiff: Don't pass null to trim(). |
| 4098 |
* Hooks: Use more meaningful name for SkinAfterPortlet hook parameter. |
| 4099 |
* (T289926) Ensure we don't pass null to mb_strlen. |
| 4100 |
* (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim() |
| 4101 |
calls. |
| 4102 |
* (T289926) site: Consistently return null from Site::getDomain(). |
| 4103 |
* (T307304, T289879) filebackend,jobqueue: Add signature for |
| 4104 |
FilterIterator::accept(). |
| 4105 |
* (T304559) Use page ID from parent revision, improve logging. |
| 4106 |
* (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1. |
| 4107 |
* Add application/vnd.ms-opentype to MIME list. |
| 4108 |
* Allow composer/installers plugin in composer.json. |
| 4109 |
* (T313663) Make ReadOnlyModeTest work in php8. |
| 4110 |
* (T313663) Make HandlerTestTrait compatible with php8.1. |
| 4111 |
* (T313663) [php8] Make DeletePageTest stop giving warnings on php8.1. |
| 4112 |
* Change type hints for BatchRowIterator and NotRecursiveIterator for |
| 4113 |
compatibility with PHP 8.1. |
| 4114 |
* (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests. |
| 4115 |
* (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix |
| 4116 |
php8.1. |
| 4117 |
* (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for |
| 4118 |
ImportSource. |
| 4119 |
* Fix tests so getName() doesn't return null. |
| 4120 |
* (T313663) [php8] Don't use strlen on potentially null string. |
| 4121 |
* (T313663) [php8.1] Suppress test warning about providing null. |
| 4122 |
* (T313663) [php8.1] mock User::getTitleKey() in DeaultPreferencesFactoryTest. |
| 4123 |
* (T313663) Parser will use current timestamp instead of null if passed a |
| 4124 |
RevisionRecord that does not have a timestamp. |
| 4125 |
* (T313663) Add explicit null check for $sha in FileBackend [php8.1]. |
| 4126 |
* (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1]. |
| 4127 |
* (T313663) Mock UserOptionsManager::getOption for php8.1. |
| 4128 |
* (T289879, T289926) Get rid of warnings on PHP 8.1. |
| 4129 |
* (T313663) Check for null return of preg_replace in MediaWikiTitleCodec. |
| 4130 |
* (T313663) cast db name to string when checking if it is read only [php8.1]. |
| 4131 |
* (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat]. |
| 4132 |
* (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1]. |
| 4133 |
* (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1]. |
| 4134 |
* (T314096) Migrate use of ${var}-style string interpolation. |
| 4135 |
* (T314099) preprocessor: Add missing field declarations. |
| 4136 |
* (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be |
| 4137 |
'' not null. |
| 4138 |
* (T313663) [php8.1] Mock out getLocalDomainID for WatchedItemStore tests. |
| 4139 |
* (T313663) Suppress warnings for the null test of addIdentifierQuotes. |
| 4140 |
* (T314225) SpecialCategories: Null coalescene $par. |
| 4141 |
* (T314099) User: Allow dynamic properties on PHP 8.2. |
| 4142 |
* (T314404) SpecialGoToInterwiki: Null coalescene $par. |
| 4143 |
* (T314397) SpecialBlock: Better handle null in getTargetUserTitle. |
| 4144 |
* (T314099) phpunit: Fix trivial dynamic property usages in tests. |
| 4145 |
* (T314405) UploadStash: Check if us_prop is set in the fileMetadata. |
| 4146 |
* (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1. |
| 4147 |
* (T313663) Do not test giving a null fragment to Title::makeTitle. |
| 4148 |
* (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint. |
| 4149 |
* (T314551) SpecialMergeHistory: Set defaults for target and dest parameters. |
| 4150 |
* (T313663) Cast results of Sqlite test to string [php 8.1]. |
| 4151 |
* (T314208) Set $wgServer for HttpRequestFactoryTest to prevent warnings on |
| 4152 |
php8.1. |
| 4153 |
* (T314208, T297082) phpunit: Fallback to global default user options. |
| 4154 |
* (T307282) Avoid passing null to strcasecmp(), for PHP 8.1. |
| 4155 |
* Fix a couple deprecation warnings in the installer under PHP 8.1. |
| 4156 |
* api: Add rel=nofollow to help examples. |
| 4157 |
* (T307613) Validate length of user email on Special:ChangeEmail/ |
| 4158 |
Special:CreateAccount. |
| 4159 |
* (T314226) LoginSignupSpecialPage: Check if $value is a string before length. |
| 4160 |
* (T314824) tests: Update parser test after i18n change. |
| 4161 |
* (T313663, T296083) context: Replace deprecated User::getOption. |
| 4162 |
* (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4. |
| 4163 |
* (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and |
| 4164 |
wpNamespaceRestrictions. |
| 4165 |
* (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite. |
| 4166 |
* (T315892) composer.json: Pin phpunit to 8.5.28. |
| 4167 |
* (T313663) Do not compare byte-for-byte of serialized items in tests [php8.1]. |
| 4168 |
* objectcache: avoid php 8.1 argument type warnings in |
| 4169 |
genericKeyFromComponents(). |
| 4170 |
* (T317750) session: Fix broken SessionTest case due to PHPUnit dependency |
| 4171 |
change. |
| 4172 |
* ManualLogEntry: Don't pass null to trim() as PHP 8.1 whines. |
| 4173 |
* (T313663) Add a null check VueComponentParser to prevent php8.1 issues. |
| 4174 |
* (T313049) Bump wikimedia/parsoid to v0.15.1. |
| 4175 |
* (T318754) WebInstallerOptions::addPersonalizationOptions(): Close fieldset. |
| 4176 |
* (T318460) SpecialChangeEmail: Set default for returntoquery. |
| 4177 |
* (T318307) Update docs for HTMLFormField::validate() to permit all data types. |
| 4178 |
* (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results |
| 4179 |
in an IP range check on Special:Contributions. |
| 4180 |
* (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence |
| 4181 |
of hidden users. |
| 4182 |
* (T307278, CVE-2022-41766) SECURITY: On action=rollback the message |
| 4183 |
"alreadyrolled" can leak revision deleted user name. |
| 4184 |
|
| 4185 |
== MediaWiki 1.38.2 == |
| 4186 |
|
| 4187 |
This is a security and maintenance release of the MediaWiki 1.38 branch. |
| 4188 |
|
| 4189 |
=== Changes since MediaWiki 1.38.1 === |
| 4190 |
* Localisation updates. |
| 4191 |
* (T309426) Repair language selector for SVGs. |
| 4192 |
* (T310013) Fix default value for $wgShowEXIF and $wgUsePathInfo. |
| 4193 |
* (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage(). |
| 4194 |
* (T308473) SECURITY: Escape contributions-title msg for use within page title. |
| 4195 |
* (T311272) Call parent constructor of AddSite maintenance script first. |
| 4196 |
* MediaWiki: Don't eagerly initialize action name. |
| 4197 |
* (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.4.1 to 7.4.5. |
| 4198 |
* (T289926) Avoid passing null to trim() in SkinTemplate. |
| 4199 |
* (T289879) Address deprecations for PHP 8.1. |
| 4200 |
* (T311473) rollbackEdits: Pass user identity to RollbackPage. |
| 4201 |
* Upgrade wikimedia/remex-html from 3.0.1 to 3.0.2. |
| 4202 |
* (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null. |
| 4203 |
* (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode(). |
| 4204 |
* (T311569) FileBackend::isStoragePath() Handle being passed null. |
| 4205 |
* (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param. |
| 4206 |
* (T311678) SpecialEditWatchlist: Prevent passing null to strtolower(). |
| 4207 |
* (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null. |
| 4208 |
* Upgrade wikimedia/common-passwords from 0.3.0 to 0.4.0. |
| 4209 |
|
| 4210 |
== MediaWiki 1.38.1 == |
| 4211 |
|
| 4212 |
This is a maintenance release of the MediaWiki 1.38 branch. |
| 4213 |
|
| 4214 |
=== Changes since MediaWiki 1.38.0 === |
| 4215 |
* (T309860) Add justinrainbow/json-schema to vendor. |
| 4216 |
* (T309933) Drop PHP 7.2 support in MediaWiki 1.38; require 7.3.19. |
| 4217 |
|
| 4218 |
== MediaWiki 1.38.0 == |
| 4219 |
|
| 4220 |
=== Changes since MediaWiki 1.38.0-rc.1 === |
| 4221 |
* Localisation updates. |
| 4222 |
* (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail |
| 4223 |
jobs triggered. |
| 4224 |
* (T305779) phpunit: Support setting skin context in BundleSizeTest subclasses. |
| 4225 |
* (T309028) SECURITY: ApiEditPage: update title after redirects. |
| 4226 |
* (T308967) notifications: prevent log spam when invalid user object listed. |
| 4227 |
* composer: Lock Parsoid version to specific 0.15.0 release. |
| 4228 |
* (T306362, T308680) change-your-logo.svg: Resize to 135px square, re-crush, |
| 4229 |
and manually minify. |
| 4230 |
|
| 4231 |
== MediaWiki 1.38.0-rc.1 == |
| 4232 |
|
| 4233 |
=== Changes since MediaWiki 1.38.0-rc.0 === |
| 4234 |
* Localisation updates. |
| 4235 |
* (T305028) Undeprecate EditPage::$textbox2. |
| 4236 |
* (T305635) LogActions is a map, not a list. |
| 4237 |
* (T306721) Add wikimedia/equivset to vendor; needed by bundled AbuseFilter. |
| 4238 |
* (T307284) Simplify TransactionManager::pendingWriteQueryDuration. |
| 4239 |
* (T307307) Add symfony/yaml to vendor. |
| 4240 |
* Fix old_name in UserLogoutComplete hook. |
| 4241 |
* REST: don't send stack trace in error responses. |
| 4242 |
* (T307998) SessionManager: stop storing an ObjectFactory instance. |
| 4243 |
* (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update. |
| 4244 |
|
| 4245 |
== Upgrading notes for 1.38 == |
| 4246 |
Don't forget to always back up your database before upgrading! |
| 4247 |
|
| 4248 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 4249 |
oldest supported upgrading version, MediaWiki 1.29. |
| 4250 |
|
| 4251 |
Some specific notes for MediaWiki 1.38 upgrades are below: |
| 4252 |
* (T191740) The AbuseFilter extension is now bundled with MediaWiki. This is an |
| 4253 |
anti-abuse feature that lets privileged users to set specific actions to be |
| 4254 |
taken when actions by users, such as edits or file uploads, match certain |
| 4255 |
criteria. |
| 4256 |
* (T232948) The Math extension is now bundled with MediaWiki. This is a content |
| 4257 |
feature that lets users create mathematical formulæ, written in a sub-set of |
| 4258 |
LaTeX and rendered in MathML with a fallback SVG image. By default, it will |
| 4259 |
use Wikimedia's mathoid service to render each formula, but local rendering |
| 4260 |
can be set up for network isolation or performance. |
| 4261 |
* (T191743) The Minerva skin is now bundled with MediaWiki. This is a simple, |
| 4262 |
light-weight, and scalable skin that is particularly optimised for mobile use, |
| 4263 |
and integrates well with the MobileFrontend extension (available separately), |
| 4264 |
but can also be used as a regular desktop skin. |
| 4265 |
|
| 4266 |
For notes on 1.37.x and older releases, see HISTORY. |
| 4267 |
|
| 4268 |
=== Configuration changes for system administrators in 1.38 === |
| 4269 |
|
| 4270 |
==== New configuration ==== |
| 4271 |
* (T297708) $wgMaxExecutionTimeForExpensiveQueries - This setting can be used to |
| 4272 |
control the maximum execution time for several expensive query pages (e.g. |
| 4273 |
RecentChanges and UserContribs). |
| 4274 |
* $wgBrowserFormatDetection – This setting allows overriding browsers' automatic |
| 4275 |
detection and handling of formats. It's initially used to prevent auto-linking |
| 4276 |
of possible telephone numbers in wiki pages' output in Safari on iOS; this can |
| 4277 |
be re-enabled if you wish, or locally extended for other browsers' quirks. |
| 4278 |
* (T240685) $wgMetricsTarget, $wgMetricsFormat, $wgMetricsPrefix - These provide |
| 4279 |
configuration for a new MetricsFactory service with support for the dogstatsd |
| 4280 |
format, intended for integration with Prometheus integration. |
| 4281 |
* $wgGroupInheritsPermissions – This setting allows inheriting permissions, both |
| 4282 |
granted and revoked, from another group. |
| 4283 |
* $wgForeignApiRepos – ForeignAPIRepo now has a apiMetadataExpiry option to |
| 4284 |
control for how long file metadata is cached. Additionally the default changed |
| 4285 |
from 1 hour to 4 hours. |
| 4286 |
* $wgSkinsPreferred – This lets you set a list of preferred skins to be listed |
| 4287 |
higher in Special:Preferences. |
| 4288 |
* $wgWikiFarmSettingsDirectory – A directory that contains site-specific |
| 4289 |
configuration files. Setting this will enable multi-tenant ("wiki farm") |
| 4290 |
mode, causing site-specific settings to be loaded based on information from |
| 4291 |
the web request. EXPERIMENTAL. |
| 4292 |
* $wgWikiFarmSettingsExtension – The file extension to be used when looking up |
| 4293 |
site-specific settings files in $wgWikiFarmSettingsDirectory, such as 'json' |
| 4294 |
or 'yaml'. EXPERIMENTAL. |
| 4295 |
* $wgWikiFarmSiteDetector – A callback function that returns the name of the |
| 4296 |
wiki for the current request. This is used in multi-tenant ("wiki farm") |
| 4297 |
mode to determine which settings file to load from |
| 4298 |
$wgWikiFarmSettingsDirectory. EXPERIMENTAL. |
| 4299 |
* $wgEnableRemoteBagOStuffTests – This replaces the environment variable |
| 4300 |
PHPUNIT_USE_BAGOSTUFF. |
| 4301 |
* (T230211) $wgForceDeferredUpdatesPreSend – Force deferred updates to be run |
| 4302 |
before sending a response to the client, instead of attempting to run them |
| 4303 |
after sending the response. Setting this to true is useful for end-to-end |
| 4304 |
testing, to ensure that the effects of a request are visible to any subsequent |
| 4305 |
requests, even if they are made immediately after the first one. Note however |
| 4306 |
that this does not ensure that database replication is complete, nor does it |
| 4307 |
execute any jobs enqueued for later. |
| 4308 |
* $wgTemplateLinksSchemaMigrationStage – Templatelinks table schema migration |
| 4309 |
stage, for normalizing tl_namespace and tl_title fields. |
| 4310 |
|
| 4311 |
==== Changed configuration ==== |
| 4312 |
* $wgStyleDirectory and $wgExtensionDirectory – These are now set later, so can |
| 4313 |
no longer be used within LocalSettings.php unless explicitly set in that file. |
| 4314 |
* $wgFileBackends – This setting no longer takes 'fileJournal' as an option. |
| 4315 |
* $wgMaxImageArea - This setting may now be set to false to disable size. |
| 4316 |
checking before scaling. Extensions can still override its value by using the |
| 4317 |
BitmapHandlerCheckImageArea hook. |
| 4318 |
* $wgAjaxUploadDestCheck – This is now deprecated, and act as always-true. |
| 4319 |
* $wgInterwikiCache – This no longer supports the string value for CDB files. |
| 4320 |
* $wgParserOutputHooks – This is now deprecated; adjustments using this should |
| 4321 |
be done with OutputPageParserOutputHook instead. (T292321) |
| 4322 |
* $wgExternalStores – This is newly documentated in |
| 4323 |
includes/externalstore/README.md. |
| 4324 |
|
| 4325 |
==== Removed configuration ==== |
| 4326 |
* $wgShellLocale - This setting has been removed as it was a flawed solution to |
| 4327 |
the problem of locale dependence, MediaWiki will now always set a locale of |
| 4328 |
C.UTF-8 or C and works around the remaining problems of the C locale by not |
| 4329 |
using escapeshellarg. This follows the direction of PHP 8.0, which sets a |
| 4330 |
locale of C by default instead of respecting LC_CTYPE. |
| 4331 |
* $wgLoggedOutMaxAge - Experiment removed, originally added in 1.35. (T293848) |
| 4332 |
* $wgIncludejQueryMigrate - Deprecated in 1.36. We only support jQuery v3. |
| 4333 |
* $wgUseCategoryBrowser - This experimental feature has been removed. If you |
| 4334 |
still need to use this feature, please see [[mw:Extension:CategoryExplorer]]. |
| 4335 |
* $wgStyleSheetPath - alias for $wgStylePath, deprecated since 1.3 (2004). |
| 4336 |
|
| 4337 |
=== User-facing changes in 1.38 === |
| 4338 |
* (T284921) The "auto-number headings" feature was removed following a |
| 4339 |
consultation, due to performance reasons. |
| 4340 |
|
| 4341 |
=== New operator/developer features in 1.38 === |
| 4342 |
* EXPERIMENTAL: The environment variable MW_CONFIG_FILE can be used to specify |
| 4343 |
the location of the settings file. This allows alternative settings files to |
| 4344 |
be loaded depending on the environment. Settings files may be given as PHP |
| 4345 |
files like the traditional LocalSettings.php file, or they may use JSON or |
| 4346 |
YAML format. |
| 4347 |
See https://www.mediawiki.org/wiki/Manual:YAML_settings_file_format |
| 4348 |
* Added a deleteUserEmail maintenance script - This file enables the deletion of |
| 4349 |
a given user's associated email address. It can be helpful for |
| 4350 |
privacy-preserving operations. |
| 4351 |
* The description array for constructing an HTMLForm now can use 'disable-if' to |
| 4352 |
disable fields on condition easily, supported expressions are the same as |
| 4353 |
'hide-if'. |
| 4354 |
* There is a new interface, IForeignRepoWithMWApi, to allows you to mark file |
| 4355 |
repos provided by an extension as supporting making API queries against the |
| 4356 |
foreign file repo so that extensions like TimedMediaHandler that depend on |
| 4357 |
this can stop hard-coding looking for specific class names. |
| 4358 |
* Added EXPERIMENTAL support for an easy to configure multi-tenant ("wiki |
| 4359 |
farm") mode: |
| 4360 |
Settings for each site can be placed in a directory specified by |
| 4361 |
$wgWikiFarmSettingsDirectory. Site detection is controlled by |
| 4362 |
$wgWikiFarmSiteDetector and defaults to the requested host name. |
| 4363 |
For example, setting $wgWikiFarmSettingsDirectory = "sites" would cause |
| 4364 |
the settings for wiki.example.com to be loaded from |
| 4365 |
"sites/wiki_example_com.yaml". |
| 4366 |
WARNING: YAML files under the web root may be accessible to browsers, please |
| 4367 |
take appropriate measures to protect them from access via HTTP. |
| 4368 |
* Running QUnit tests for an individual test suite module is possible with |
| 4369 |
`grunt qunit --qunit-component={componentName}`, where {componentName} is |
| 4370 |
"MediaWiki" to run core's QUnit tests or the skin or extension name. |
| 4371 |
* The 'mediawiki.mixins' module now has a `.user-select()` Less mixin. |
| 4372 |
|
| 4373 |
=== External library changes in 1.38 === |
| 4374 |
|
| 4375 |
==== New external libraries ==== |
| 4376 |
* symfony/yaml was promoted from development-only. |
| 4377 |
* justinrainbow/json-schema was promoted from development-only. |
| 4378 |
|
| 4379 |
==== Changed external libraries ==== |
| 4380 |
* Updated OOUI from v0.42.0 to v0.43.2. |
| 4381 |
* Updated Vue from 2.6.11 to 3.2.23. |
| 4382 |
* Updated WVUI from v0.3.0 to v0.4.0. |
| 4383 |
* Updated composer/semver from 3.2.5 to 3.2.6. |
| 4384 |
* Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5. |
| 4385 |
* Updated pear/mail_mime from 1.10.9 to 1.10.11. |
| 4386 |
* Updated pear/net_smtp from 1.9.2 to 1.10.0. |
| 4387 |
* Updated psr/log from 1.1.3 to 1.1.4. |
| 4388 |
* Updated psy/psysh from 0.10.5 to 0.11.1. |
| 4389 |
* Updated symfony/polyfill-php80 from 1.23.1 to 1.25.0. |
| 4390 |
* Updated wikimedia/assert from 0.5.0 to 0.5.1. |
| 4391 |
* Updated wikimedia/cdb from 1.4.1 to 2.0.0. |
| 4392 |
* Updated wikimedia/ip-utils from 3.0.2 to 4.0.0. |
| 4393 |
* Updated wikimedia/minify from 2.2.4 to 2.2.6. |
| 4394 |
* Updated wikimedia/object-factory from 3.0.2 to 4.0.0. |
| 4395 |
* Updated wikimedia/parsoid from v0.14.0-a14 to v0.15.0. |
| 4396 |
* Updated wikimedia/purtle from 1.0.7 to 1.0.8. |
| 4397 |
* Updated wikimedia/request-timeout from 1.1.0 to 1.2.0. |
| 4398 |
* Updated wikimedia/shellbox from 2.0.0 to 3.0.0. |
| 4399 |
* Updated wikimedia/wrappedstring from 3.2.0 to 4.0.1. |
| 4400 |
* Updated wikimedia/remex-html from 3.0.1 to 3.0.2. |
| 4401 |
* Updated wikimedia/common-passwords from 0.3.0 to 0.4.0. |
| 4402 |
|
| 4403 |
===== Changed development-only external libraries ===== |
| 4404 |
* Updated QUnit from 2.16.0 to 2.18.0. |
| 4405 |
* Updated composer/semver from 3.5.4 to 3.5.5. |
| 4406 |
* Updated composer/spdx-licenses from 1.5.4 to 1.5.5. |
| 4407 |
* Updated doctrine/dbal for PHP < 7.3 from 2.10.4 to 2.13.6. |
| 4408 |
* Updated doctrine/dbal for PHP >= 7.3 from 3.0.0 to 3.1.5. |
| 4409 |
|
| 4410 |
==== Removed external libraries ==== |
| 4411 |
* jquery.jStorage, deprecated since MW 1.28; use "mediawiki.storage" instead. |
| 4412 |
|
| 4413 |
=== Action API changes in 1.38 === |
| 4414 |
* New `deletetalk` parameter on action=delete that allows you to delete the |
| 4415 |
associated talk page of a subject page. |
| 4416 |
* New `variant` parameter for all API actions, for specifying language variant |
| 4417 |
(akin to the existing `variant` parameter for index.php). Task T117549. |
| 4418 |
|
| 4419 |
=== Languages updated in 1.38 === |
| 4420 |
MediaWiki supports over 400 languages. Many localisations are updated regularly. |
| 4421 |
Below only new and removed languages are listed, as well as changes to languages |
| 4422 |
because of Phabricator reports. |
| 4423 |
|
| 4424 |
* (T292166) Updated namespace names for the Lombard language. |
| 4425 |
* (T299201) Changed the autonym of the Angika language to अंगिका |
| 4426 |
* (T298309) Changed the autonym of the Abkhaz language to аԥсшәа |
| 4427 |
* (T302972) Changed the autonym of the Kirundi language to ikirundi |
| 4428 |
* (T220303) Show numbered lists with Burmese numerals in relevant languages |
| 4429 |
* (T291899) Added language support for Xiang Chinese (hsn). |
| 4430 |
* (T292612) Added language support for S'gaw Karen (ksw). |
| 4431 |
* (T293656) Added language support for Farefare (gur). |
| 4432 |
* (T294729) Added language support for Pa'O (blk). |
| 4433 |
* (T296286) Added language support for Skolt Sámi (sms). |
| 4434 |
* (T296612) Added language support for Makhuwa (vmw). |
| 4435 |
* (T296707) Added language support for Ga (gaa). |
| 4436 |
* (T297073) Added language support for Nanai (gld). |
| 4437 |
* (T297074) Added language support for Nawdm (nmz). |
| 4438 |
* (T298075) Added language support for Northern Thai (nod). |
| 4439 |
* (T298182) Added language support for Cape Verdean Creole (kea). |
| 4440 |
* (T298385) Added language support for Nheengatu (yrl). |
| 4441 |
* (T299329) Added language support for Fon (fon). |
| 4442 |
* (T300474) Added language support for Nkore (nyn). |
| 4443 |
* (T302556) Added language support for Pannonian Rusyn (rsk). |
| 4444 |
|
| 4445 |
=== Breaking changes in 1.38 === |
| 4446 |
* (T291008) The IP class, deprecated since 1.35 in favor of the IPUtils library, |
| 4447 |
has been removed. The IP related regexes which were also deprecated in favor |
| 4448 |
of the IPUtils library were also removed, IPUtils::RE_* should be used |
| 4449 |
instead. |
| 4450 |
* (T293043) The MediaWikiIntegrationTestCase class alias 'MediaWikiTestCase' has |
| 4451 |
been removed. |
| 4452 |
* LinkCache::singleton(), deprecated since 1.28, has been removed. |
| 4453 |
* RepoGroup::singleton(), ::destroySingletons() and setSingleton(), all |
| 4454 |
deprecated since 1.34, have been removed. |
| 4455 |
* The following methods from FileDeleteForm were removed: |
| 4456 |
- ::__construct (the class is no longer newable) |
| 4457 |
- ::execute() |
| 4458 |
- ::haveDeletableFile() |
| 4459 |
Use FileDeleteAction instead. |
| 4460 |
* MessageCache::singleton(), deprecated since 1.34, has been removed. |
| 4461 |
* LockManagerGroup::singleton() and ::destroySingletons(), both deprecated since |
| 4462 |
1.34, have been removed. |
| 4463 |
* FileBackendGroup::singleton() and ::destroySingletons(), both deprecated since |
| 4464 |
1.35, have been removed. |
| 4465 |
* TemplateParser used to support disabling the cache with a boolean parameter in |
| 4466 |
its constructor. This was deprecated in 1.35 and has now been removed. |
| 4467 |
* The ArticleUndeleteLogEntry hook, deprecated in 1.37, was removed. |
| 4468 |
* The BeforeResetNotificationTimestamp hook, deprecated in 1.37, was removed. |
| 4469 |
* The global function mimeTypeMatch() has been removed without a deprecation |
| 4470 |
process. |
| 4471 |
* The following JavaScript mw.config keys have been removed: |
| 4472 |
- $wgCookiePrefix |
| 4473 |
- $wgCookieDomain |
| 4474 |
- $wgCookiePath |
| 4475 |
- $wgCookieExpiration |
| 4476 |
Use mw.cookie from the mediawiki.cookie module instead. |
| 4477 |
* The signature of PageUpdater::markAsRevert method was changed. It has never |
| 4478 |
been used outside of MediaWiki core. |
| 4479 |
* If you want to use interwiki titles with HTMLTitleTextField, you now need to |
| 4480 |
pass 'interwiki' => true. In 1.37, the default behavior was to let interwiki |
| 4481 |
title through by default, logging a deprecation warning. |
| 4482 |
* The `UndeleteForm::undelete` hook, deprecated in 1.37, was removed. |
| 4483 |
* BagOStuff::setDebug(), deprecated since 1.36, has been removed. |
| 4484 |
* The `jquery.mw-jump` ResourceLoader module was removed. |
| 4485 |
* The `wgForeignUploadTargets` and `wgEnableUploads` configuration values were |
| 4486 |
removed from mw.config. They had previously been documented as being included |
| 4487 |
for internal use by the mediawiki.ForeignUpload module. |
| 4488 |
*The `&$hasHistory` parameter to WikiPage::getAutoDeleteReason() and |
| 4489 |
ContentHandler::getAutoDeleteReason() was hard-deprecated with no replacement. |
| 4490 |
* Several Skin methods, which have emitted deprecation warnings since 1.36, have |
| 4491 |
been removed. These include: |
| 4492 |
- Skin::privacyLink() |
| 4493 |
- Skin::aboutLink() |
| 4494 |
- Skin::disclaimerLink() |
| 4495 |
For these, instead use Skin::footerLink() to alter footer links. |
| 4496 |
- Skin::getLogo() |
| 4497 |
For this, use ResourceLoaderSkinModule::getAvailableLogos() instead. |
| 4498 |
- Skin::getIndicatorsHTML() |
| 4499 |
For this, use Skin::getIndicatorsData() instead. |
| 4500 |
- Skin::subPageSubtitle() |
| 4501 |
For this, use Skin::prepareSubtitle() instead. |
| 4502 |
- Skin::makeVariablesScript() |
| 4503 |
For this, use ResourceLoader::makeInlineScript() instead. |
| 4504 |
- Skin::getAllowedSkins() |
| 4505 |
- Skin::getSkinNames() |
| 4506 |
For these, use SkinFactory::getAllowedSkins() or ::getInstalledSkins(). |
| 4507 |
- Skin::makeUrl() |
| 4508 |
- Skin::getSearchLink() |
| 4509 |
- Skin::mainPageLink() |
| 4510 |
* Parser::getUser and ::mUser, as well as ParserOptions::getUser, deprecated |
| 4511 |
since 1.37, has been removed. |
| 4512 |
* Parser::$mStripState, deprecated in 1.35, has been made private. Use |
| 4513 |
Parser::getStripState() instead. |
| 4514 |
* The following deprecated features in blocks were removed: |
| 4515 |
- DatabaseBlock constructor 'byText' property with blocker's name, use 'by' |
| 4516 |
property with UserIdentity value instead. |
| 4517 |
- DatabaseBlock constructor 'by' property with blocker's ID, use 'by' property |
| 4518 |
with UserIdentity value instead. |
| 4519 |
- DatabaseBlock::isWhitelistedFromAutoblocks, use ::isExemptedFromAutoblocks. |
| 4520 |
- DatabaseBlock::setBlocker now only accepts UserIdentity. |
| 4521 |
- AbstractBlock::getTargetAndType and ::getTarget, use ::getTargetName, |
| 4522 |
::getTargetUserIdentity and ::getType instead |
| 4523 |
* The following functions, emitting deprecations since 1.37, have been removed: |
| 4524 |
- Title::isWatchable() |
| 4525 |
- WatchAction::doWatchOrUnwatch(), WatchAction::doWatch(), |
| 4526 |
WatchAction::doUnwatch(), WatchAction::getWatchToken() |
| 4527 |
- User::isWatched(), User::isTempWatched(), User::addWatch(), |
| 4528 |
User::removeWatch() |
| 4529 |
* ParserOptions::setTidy() that had no effect and was deprecated since 1.35 has |
| 4530 |
been removed. |
| 4531 |
* The "YAML" encoding option of EtcdConfig, has been removed without |
| 4532 |
deprecation. |
| 4533 |
* The constant ApiBase::PARAM_VALUE_LINKS, deprecated since 1.35 has been |
| 4534 |
removed. |
| 4535 |
* UserLoadOptions, UserSaveOptions and UserResetAllOptions hooks, deprecated |
| 4536 |
since 1.37, were removed. |
| 4537 |
* The experimental FileJournal system has been removed without deprecation. This |
| 4538 |
includes the FileJournal abstract class, its implementation classes |
| 4539 |
DBFileJournal and NullFileJournal, various minor getters and setters, and the |
| 4540 |
option for the wiki configuration $wgFileBackends. |
| 4541 |
* The return values for each `bind` function in checkboxHack.js has been changed |
| 4542 |
from an object to a function. In addition, the `unbind` function has been |
| 4543 |
removed. A deprecation process was assumed unnecessary as there were no known |
| 4544 |
usages. |
| 4545 |
* File::getUser, ::getImageSize, ArchivedFile::getRawDescription, ::getUser, |
| 4546 |
::getRawUser and ::getRawDescription, deprecated since 1.37, has been removed. |
| 4547 |
* ShellboxHttpClient class has been removed without deprecation. It was an |
| 4548 |
internal class used by ShellboxClientFactory. |
| 4549 |
* The following hard deprecated User methods have been removed: |
| 4550 |
- ::resetIdByNameCache, |
| 4551 |
- ::getStubThreshold, |
| 4552 |
- ::matchEditTokenNoSuffix, |
| 4553 |
- ::changeableByGroup, |
| 4554 |
- ::changeableGroups, |
| 4555 |
- ::isAllowUsertalk, |
| 4556 |
- ::getRights |
| 4557 |
- ::isAllowUsertalk |
| 4558 |
- ::isIP, |
| 4559 |
- ::isIPRange, |
| 4560 |
- ::isValidUserName, |
| 4561 |
- ::isUsableName, |
| 4562 |
- ::isCreatableName, |
| 4563 |
- ::getCanonicalName, |
| 4564 |
- ::addAutopromoteOnceGroups, |
| 4565 |
- ::getDefaultOptions, |
| 4566 |
- ::getDefaultOption, |
| 4567 |
- ::getOptions, |
| 4568 |
- ::getBoolOption, |
| 4569 |
- ::getIntOption, |
| 4570 |
- ::setOption |
| 4571 |
- ::listOptionKinds |
| 4572 |
- ::getOptionKinds, |
| 4573 |
- ::resetOptions, |
| 4574 |
- ::getEffectiveGroups, |
| 4575 |
- ::getAutomaticGroups, |
| 4576 |
- ::getFormerGroups |
| 4577 |
- ::isLoggedIn |
| 4578 |
- ::getFirstEditTimestamp |
| 4579 |
- ::getLatestEditTimestamp |
| 4580 |
* Http::$httpEngine, deprecated since 1.34, has been removed. The only available |
| 4581 |
HTTP engine is now Guzzle. CurlHttpRequest and PhpHttpRequest classes were |
| 4582 |
removed. |
| 4583 |
* The UserRightsProxy class was deprecated. Pass the correct domain to |
| 4584 |
UserGroupManagerFactory instead. |
| 4585 |
* Parser option enableLimitReport was deprecated. The report is now generated |
| 4586 |
post-parse and can be included by providing 'includeDebugInfo' option to |
| 4587 |
ParserOutput::getText. Thus, ParserOptions::enableLimitReport and |
| 4588 |
::getEnableLimitReport methods were deprecated. |
| 4589 |
* Ajax action that was deprecated in 1.27 now has been removed. |
| 4590 |
* The following methods have been removed from IDatabase without deprecation as |
| 4591 |
they were completely unused: |
| 4592 |
- ::preCommitCallbacksPending() |
| 4593 |
- ::pendingWriteRowsAffected() |
| 4594 |
- ::getServerUptime() |
| 4595 |
- ::maxListLen() |
| 4596 |
* The following deprecated methods have been removed from IDatabase: |
| 4597 |
- ::aggregateValue() soft-deprecated since 1.33 |
| 4598 |
- ::getTopologyRootMaster() since 1.37 |
| 4599 |
- ::masterPosWait() since 1.37 |
| 4600 |
- ::dataSeek() soft-deprecated since 1.37 |
| 4601 |
- ::numFields() soft-deprecated since 1.37 |
| 4602 |
- ::fieldName() soft-deprecated since 1.37 |
| 4603 |
- ::onTransactionIdle() soft-deprecated since 1.32 |
| 4604 |
- ::getMasterPos() since 1.37 |
| 4605 |
* DatabaseMysqlBase::fieldType() and DatabasePostgres::fieldType(), deprecated |
| 4606 |
since 1.37, have been removed. |
| 4607 |
* Database::assertIsWritableMaster(), deprecated since 1.37, has been removed. |
| 4608 |
* ResultWrapper::getInternalResult(), soft-deprecated since 1.37 and |
| 4609 |
ResultWrapper::unwrap(), deprecated since 1.37, have been removed. |
| 4610 |
* Language::AS_AUTONYMS, deprecated since 1.34, has been removed. You can use |
| 4611 |
the LanguageNameUtils::AUTONYMS constant instead. |
| 4612 |
* Several Language class variables deprecated in 1.35 have been removed; they |
| 4613 |
are each replaced by a constant, as listed after the arrow: |
| 4614 |
- ::$mWeekdayMsgs → WEEKDAY_MESSAGES |
| 4615 |
- ::$mWeekdayAbbrevMsg → WEEKDAY_ABBREVIATED_MESSAGES |
| 4616 |
- ::$mMonthGenMsgs → MONTH_GENITIVE_MESSAGES |
| 4617 |
- ::$mIranianCalendarMonthMsgs → IRANIAN_CALENDAR_MONTHS_MESSAGES |
| 4618 |
- ::$mHebrewCalendarMonthMsgs → HEBREW_CALENDAR_MONTHS_MESSAGES |
| 4619 |
- ::$mHebrewCalendarMonthGenMsgs → HEBREW_CALENDAR_MONTH_GENITIVE_MESSAGES |
| 4620 |
- ::$mHijriCalendarMonthMsgs → HIJRI_CALENDAR_MONTH_MESSAGES |
| 4621 |
* wfIncrStats, deprecated since 1.36, has been removed. |
| 4622 |
* Profiler::profileIn and ::profileOut, deprecated in 1.33, has been removed. |
| 4623 |
* IEditObject::AS_CANNOT_USE_CUSTOM_MODEL, deprecated in 1.35, was removed. |
| 4624 |
* Several protected methods in EditPage were made private. None of these was |
| 4625 |
used outside of EditPage itself. Since the class is not stable to extend, |
| 4626 |
this change happened without a deprecation phase. |
| 4627 |
* The following public methods in EditPage, unused externally, were |
| 4628 |
made private: |
| 4629 |
- ::getCancelLink() |
| 4630 |
- ::isSupportedContentModel() |
| 4631 |
- ::getParentRevId() |
| 4632 |
* EditPage::setApiEditOverride() was marked as @internal for use by |
| 4633 |
ApiEditPage only. |
| 4634 |
* SelectQueryBuilder::straightJoin() was renamed to straightJoinOption(). |
| 4635 |
* The following deprecated methods have been removed from ILBFactory: |
| 4636 |
- ::beginMasterChanges() since 1.37 |
| 4637 |
- ::commitMasterChanges() since 1.37 |
| 4638 |
- ::rollbackMasterChanges() since 1.37 |
| 4639 |
- ::hasMasterChanges() since 1.37 |
| 4640 |
- ::hasOrMadeRecentMasterChanges() since 1.37 |
| 4641 |
* The "groupLoadsByDB" option to LBFactoryMulti has been removed. Consider using |
| 4642 |
"groupLoadsBySection" instead. |
| 4643 |
* The following methods have been removed from ILoadBalancer without deprecation |
| 4644 |
as they were completely unused: |
| 4645 |
- ::waitForOne() |
| 4646 |
- ::allowLagged() |
| 4647 |
- ::forEachOpenReplicaConnection() |
| 4648 |
* The following deprecated methods have been removed from ILoadBalancer: |
| 4649 |
- ::getMasterPos() since 1.37 |
| 4650 |
- ::finalizeMasterChanges() since 1.37 |
| 4651 |
- ::approveMasterChanges() since 1.37 |
| 4652 |
- ::beginMasterChanges() since 1.37 |
| 4653 |
- ::commitMasterChanges() since 1.37 |
| 4654 |
- ::runMasterTransactionIdleCallbacks() since 1.37 |
| 4655 |
- ::runMasterTransactionListenerCallbacks() since 1.37 |
| 4656 |
- ::rollbackMasterChanges() since 1.37 |
| 4657 |
- ::flushMasterSnapshots() since 1.37 |
| 4658 |
- ::hasMasterConnection() since 1.37 |
| 4659 |
- ::hasMasterChanges() since 1.37 |
| 4660 |
- ::lastMasterChangeTimestamp() since 1.37 |
| 4661 |
- ::hasOrMadeRecentMasterChanges() since 1.37 |
| 4662 |
- ::pendingMasterChangeCallers() since 1.37 |
| 4663 |
- ::forEachOpenMasterConnection() since 1.37 |
| 4664 |
- ::waitForMasterPos() since 1.37 |
| 4665 |
* LoadBalancer::safeGetLag() which has been soft-deprecated since 1.34 has been |
| 4666 |
removed. |
| 4667 |
* The following properties of the EditPage class, deprecated since 1.35, were |
| 4668 |
made private: |
| 4669 |
- ::$deletedSinceEdit |
| 4670 |
- ::$lastDelete |
| 4671 |
- ::$mTokenOk |
| 4672 |
- ::$mTriedSave |
| 4673 |
- ::$incompleteForm |
| 4674 |
- ::$tooBig |
| 4675 |
- ::$missingComment |
| 4676 |
- ::$missingSummary |
| 4677 |
- ::$allowBlankSummary |
| 4678 |
- ::$autoSumm |
| 4679 |
- ::$mParserOutput |
| 4680 |
- ::$hasPresetSummary |
| 4681 |
- ::$minoredit |
| 4682 |
- ::$watchthis |
| 4683 |
- ::$recreate |
| 4684 |
- ::$nosummaryparentRevId |
| 4685 |
- ::$editintro |
| 4686 |
- ::$scrolltop |
| 4687 |
- ::$markAsBot |
| 4688 |
* Special:ListFiles and Special:NewFiles no longer allows to search for parts of |
| 4689 |
file names (option was not available for $wgMiserMode = true) |
| 4690 |
* DBAccessBase, deprecated since 1.37, has been removed. |
| 4691 |
* The UserNamePrefixSearch service no longer supports a UserIdentity parameter |
| 4692 |
to search(), to check for a specific audience an Authority object is required. |
| 4693 |
* The methods CoreParserFunctions::register() and CoreTagHooks::register() have |
| 4694 |
been marked @internal, and had a seconds parameter added. These methods are |
| 4695 |
intended for use in Parser's constructor, and are not used by any known |
| 4696 |
extension. |
| 4697 |
* LoadBalancer::openConnection(), deprecated since 1.34, has been removed. |
| 4698 |
* Skin::preloadExistence has been made private. There is no known usages outside |
| 4699 |
of MediaWiki core. |
| 4700 |
|
| 4701 |
=== Deprecations in 1.38 === |
| 4702 |
* The MWGrants class is deprecated in favor of the new GrantsInfo and |
| 4703 |
GrantsLocalization services. |
| 4704 |
* The global functions wfReadOnly() and wfReadOnlyReason() have been deprecated |
| 4705 |
in favor of the ReadOnlyMode service. |
| 4706 |
* PageProps::getInstance() has been deprecated. Use |
| 4707 |
MediaWikiServices::getPageProps() instead. |
| 4708 |
* User::setOption(), deprecated since 1.35, now emits deprecation warnings. |
| 4709 |
* Linker::formatComment(), ::formatLinksInComment(), ::commentBlock() and |
| 4710 |
revComment() were deprecated. Use the new CommentFormatter service. |
| 4711 |
* Several Skin methods have been deprecated. |
| 4712 |
- Skin::setSearchPageTitle(), Skin::getSearchPageTitle(). For these, |
| 4713 |
use SpecialPage::newSearchPage() or associated user preference instead. |
| 4714 |
- Skin::getSkinStylePath now triggers deprecation warnings. Direct string path |
| 4715 |
should be used instead. |
| 4716 |
- SkinTemplate::getPersonalToolsList(), deprecated since 1.35, now emits |
| 4717 |
deprecation warnings. |
| 4718 |
- In preparation for SkinTemplate::getPortletData becoming a private |
| 4719 |
function, extending the method is no longer permitted. Use |
| 4720 |
SkinTemplate::getTemplateData instead. |
| 4721 |
- SkinTemplate::buildContentNavigationUrls is now deprecated. Skins can |
| 4722 |
use the runOnSkinTemplateNavigationHooks method or the |
| 4723 |
SkinTemplateNavigation__Universal hook if they need access to this data. |
| 4724 |
* Usage of several template data keys in QuickTemplate are now deprecated: |
| 4725 |
- searchaction, poweredbyico, copyrightico |
| 4726 |
* DatabaseBlock::purgeExpired(), deprecated since 1.36, now emits deprecation |
| 4727 |
warnings. |
| 4728 |
* The following methods from the User class now trigger deprecation warnings: |
| 4729 |
- ::blockedBy |
| 4730 |
- ::getBlockId |
| 4731 |
* Content::getParserOutput and AbstractContent::fillParserOutput was |
| 4732 |
hard-deprecated, use ContentRenderer::getParserOutput instead. Extensions |
| 4733 |
defining a content model should override ContentHandler::fillParserOutput. |
| 4734 |
* Title::newFromIDs and TitleFactory::newFromIDs have been hard deprecated. Use |
| 4735 |
a PageSelectQueryBuilder from a PageStore instead. |
| 4736 |
* Content::getRedirectChain() and Content::getUltimateRedirectTarget() have been |
| 4737 |
deprecated with no replacement because support for $wgMaxRedirect will be |
| 4738 |
removed completely. See T296430 for more information. |
| 4739 |
* WikiPage::getRedirectTarget() has been deprecated. Use the equivalent |
| 4740 |
RedirectLookup::getRedirectTarget() instead. |
| 4741 |
* Article::doDelete() was deprecated. Use WikiPage::doDeleteArticleReal if you |
| 4742 |
only need to delete the article. If you also need things to happen with |
| 4743 |
OutputPage, you may want to check the hooks in DeleteAction instead. |
| 4744 |
* Instantiating the MessageContent class now emits deprecation notices. |
| 4745 |
* Message::content() now triggers deprecation warnings. |
| 4746 |
* Parser::setDefaultSort(), Parser::getDefaultSort(), and |
| 4747 |
Parser::getCustomDefaultSort() now trigger deprecation warnings. Use |
| 4748 |
ParserOutput::{get,set}PageProperty('defaultsort') instead. |
| 4749 |
* The following methods from the ParserOutput class now emit deprecation |
| 4750 |
warnings: |
| 4751 |
- ::hideNewSection() - use ::setHideNewSection() |
| 4752 |
- ::preventClickjacking() - use ::{get,set}PreventClickjacking() |
| 4753 |
- ::getProperty() - use ::getPageProperty() (return value changed) |
| 4754 |
- ::setProperty() - use ::setPageProperty() |
| 4755 |
- ::unsetProperty() - use ::unsetPageProperties() |
| 4756 |
- ::getProperties() - use ::getPageProperties() |
| 4757 |
- ::getCategoryLinks() - use ::getCategoryNames() |
| 4758 |
- ::setCategoryLinks() - use ::setCategories() |
| 4759 |
- ::addTrackingCategory() - use Parser::addTrackingCategory() |
| 4760 |
or TrackingCategories::addTrackingCategory() |
| 4761 |
- ::addWarning() - use ::addWarningMsg() |
| 4762 |
- ::hasDynamicContent() - use ::hasReducedExpiry() |
| 4763 |
* The following methods from the ParserOutput class were deprecated: |
| 4764 |
- ::getFlag() - use ::getOutputFlag() |
| 4765 |
- ::setFlag() - use ::setOutputFlag() |
| 4766 |
- ::getAllFlags() - this method is now marked @internal |
| 4767 |
- ::addJsConfigVars() - use ::setJsConfigVar() or ::appendJsConfigVar() |
| 4768 |
- ::addOutputHook() / ::getOutputHooks() - these hooks should be migrated |
| 4769 |
to use the OutputPageParserOutput hook instead |
| 4770 |
* The use of ParserOutput::setExtensionData() to overwrite previous values |
| 4771 |
stored under a given key has been deprecated; use the new |
| 4772 |
::appendExtensionData() to collect multiple values in the ParserOutput rather |
| 4773 |
than destructively updating stored values. (T300981) |
| 4774 |
* The signatures of the following methods from the ParserOutput class were |
| 4775 |
narrowed, restricting the permitted argument types: |
| 4776 |
- ::addModules() - if you formerly passed a string, pass an array with |
| 4777 |
the string as the only element. |
| 4778 |
- ::addModuleStyles() - if you formerly passed a string, pass an array |
| 4779 |
with the string as the only element. |
| 4780 |
* Access to the following public or protected properties of OutputPage was |
| 4781 |
deprecated; they will be made private or removed in a future release. |
| 4782 |
Use accessor functions instead. |
| 4783 |
- ::$mCategoryLinks |
| 4784 |
- ::$mCategories |
| 4785 |
- ::$mIndicators |
| 4786 |
- ::$mHeadItems |
| 4787 |
- ::$mModules |
| 4788 |
- ::$mModuleStyles |
| 4789 |
- ::$mJsConfigVars |
| 4790 |
- ::$mTemplateIds |
| 4791 |
- ::$mEnableClientCache |
| 4792 |
- ::$mNewSectionLink |
| 4793 |
- ::$mHideNewSectionLink |
| 4794 |
- ::$mNoGallery |
| 4795 |
* The following methods were deprecated; use ::setPreventClickjacking(..) |
| 4796 |
instead: |
| 4797 |
- OutputPage::preventClickjacking() |
| 4798 |
- OutputPage::allowClickjacking() |
| 4799 |
- ImageHistoryList::preventClickjacking() |
| 4800 |
- ImageHistoryPseudoPager::preventClickjacking() |
| 4801 |
- ContribsPager::preventClickjacking() |
| 4802 |
* OutputPage::enableClientCache() was deprecated, because it is universally used |
| 4803 |
to do the opposite -- use OutputPage::disableClientCache() instead. |
| 4804 |
* Sanitizer::removeHTMLtags() has been deprecated. Its output can include |
| 4805 |
unbalanced or ill-formed HTML and thus external callers may be misled about |
| 4806 |
how to safely incorporate its output into a page. It is recommended to use the |
| 4807 |
new Sanitizer::removeSomeTags() method instead, which will always return |
| 4808 |
balanced HTML. |
| 4809 |
* EventRelayerKafka was deprecated. To use $wgEventRelayerConfig with Kafka, |
| 4810 |
add a similar class to your code. |
| 4811 |
* MediaWiki\Logger\Monolog\KafkaHandler was deprecated. Consider using |
| 4812 |
$wgMWLoggerDefaultSpi with SyslogHandler, or to use Kafka, add a similar |
| 4813 |
Monolog handler class to your code. |
| 4814 |
* Collation::singleton() and ::factory() now trigger deprecation warnings. |
| 4815 |
* The following methods in MWNamespace, all deprecated since 1.34, now emit |
| 4816 |
deprecation warnings: |
| 4817 |
- isTalk() |
| 4818 |
- exists() |
| 4819 |
- subjectEquals() |
| 4820 |
- getCanonicalNamespaces() |
| 4821 |
- getCanonicalName() |
| 4822 |
- getCanonicalIndex() |
| 4823 |
- getValidNamespaces() |
| 4824 |
- isContent() |
| 4825 |
- hasSubpages() |
| 4826 |
- getContentNamespaces() |
| 4827 |
* Return values in the parameter $pageLang of the hook PageContentLanguage with |
| 4828 |
other types than a Language object, deprecated since 1.33, now emmits |
| 4829 |
deprecation warnings. |
| 4830 |
* Passing a db to BlockRestrictionStore::loadByBlockId() is deprecated. |
| 4831 |
BlockRestrictionStoreFactory should be used to fetch a correct |
| 4832 |
BlockRestrictionStore instead. |
| 4833 |
* All external access to ParserOutput and CacheTime classes properties will now |
| 4834 |
emit deprecation warnings. Use getters and setters instead. |
| 4835 |
* The custom jQuery event `watchpage.mw` emitted on #ca-watch and #ca-unwatch is |
| 4836 |
now deprecated in favour of the new `wikipage.watchlistChange` hook. |
| 4837 |
* The global function wfLogProfilingData() has been deprecated without a |
| 4838 |
replacement. The logic has been moved to the MediaWiki class. |
| 4839 |
* The "trace" option of SectionProfiler has been deprecated. |
| 4840 |
* The PageArchive class has had several methods deprecated. The replacements are |
| 4841 |
as follows: |
| 4842 |
- Use UndeletePage instead of ::undeleteAsUser(), ::getFileStatus() and |
| 4843 |
::getRevisionStatus(). |
| 4844 |
- Use the respective methods of the new ArchivedRevisionLookup service |
| 4845 |
instead of ::listRevisions, ::getRevisionRecordByTimestamp, |
| 4846 |
::getArchivedRevisionRecord, ::getPreviousRevisionRecord and |
| 4847 |
::getLastRevisionId. |
| 4848 |
- Use ArchivedRevisionLookup::hasArchivedRevisions instead of ::isDeleted. |
| 4849 |
* PageUpdater::isUnchanged() has been deprecated, use wasRevisionCreated() |
| 4850 |
instead. |
| 4851 |
* The `mediawiki.pager.tablePager` module was deprecated in favor of the more |
| 4852 |
generic `mediawiki.pager.styles`. |
| 4853 |
* wfGetCache() and wfGetMainCache(), both deprecated since 1.32, now emit |
| 4854 |
deprecation warnings. |
| 4855 |
* LinkCache::addGoodLinkObj() has been hard deprecated. |
| 4856 |
* ApiStashEdit::parseAndStash has been hard deprecated. |
| 4857 |
* Content::prepareSave was hard-deprecated, now emits deprecation warnings. |
| 4858 |
Use ContentHandler::validateSave instead. |
| 4859 |
* The hooks LinksUpdateAfterInsert and LinksUpdateConstructed were deprecated. |
| 4860 |
* Access to all public properties in LinksUpdate was deprecated. |
| 4861 |
* The global variable $IP has been deprecated for use in application logic. |
| 4862 |
It will remain available for use in LocalSettings.php for now, though |
| 4863 |
$wgBaseDirectory is preferred. |
| 4864 |
Application logic should use the BaseDirectory setting from the main config. |
| 4865 |
Tests and framework code that need to function without MediaWiki being |
| 4866 |
fully initialized should use the MW_INSTALL_PATH constant. |
| 4867 |
* The global function wfWikiID(), deprecated since 1.35, now emits deprecation |
| 4868 |
warnings. |
| 4869 |
* AbstractBlock::getBy() now takes a wikiId as a parameter and emits deprecation |
| 4870 |
warnings in case of cross-wiki accesses. |
| 4871 |
* The `button` parameter for `bindUpdateAriaExpandedOnInput` and |
| 4872 |
`updateAriaExpanded` in checkboxHack.js have been deprecated. |
| 4873 |
`bindToggleOnSpaceEnter` has also been deprecated in favor of |
| 4874 |
`bindToggleOnEnter`. |
| 4875 |
* IDatabase::lockTables() and IDatabase::unlockTables() have been deprecated |
| 4876 |
with no replacement. Instead, callers should batch updates into atomic |
| 4877 |
transactions, using FOR UPDATE for SELECT queries. |
| 4878 |
* EditPage::addNewLineAtEnd() was deprecated; use |
| 4879 |
TextboxBuilder::addNewLineAtEnd instead. |
| 4880 |
* EditPage::getCopywarn() was deprecated; use EditPage::getCopyrightWarning |
| 4881 |
instead. |
| 4882 |
* EditPage::getCopyrightWarning() without passing a MessageLocalizer parameter |
| 4883 |
has been deprecated. |
| 4884 |
* Passing the $formCallback parameter to EditPage::showEditForm, deprecated in |
| 4885 |
1.25 and previously emitting a warn notice, now emits a deprecation notice. |
| 4886 |
* EditPage::$action has been deprecated. |
| 4887 |
* The following properties in EditPage now emit deprecation notices when used |
| 4888 |
from another class: |
| 4889 |
- mArticle (use ::getArticle() instead) |
| 4890 |
- mTitle (use ::getTitle() instead) |
| 4891 |
- isNew (no replacement) |
| 4892 |
- allowBlankArticle (no replacement) |
| 4893 |
- selfRedirect (no replacement) |
| 4894 |
- allowSelfRedirect (no replacement) |
| 4895 |
- diff (no replacement) |
| 4896 |
- textbox2 (no replacement) |
| 4897 |
- undoAfter (no replacement) |
| 4898 |
- edit (no replacement) |
| 4899 |
- contentLength (no replacement) |
| 4900 |
* The HTMLForm methods getPreText, setPreText, addPreText, getPostText, |
| 4901 |
setPostText, addPostText, getHeaderText, setHeaderText, addHeaderText, |
| 4902 |
getFooterText, setFooterText and addFooterText have been renamed to |
| 4903 |
getPreHtml, setPreHtml, addPreHtml, getPostHtml, setPostHtml, addPostHtml, |
| 4904 |
getHeaderHtml, setHeaderHtml, addHeaderHtml, getFooterHtml, setFooterHtml and |
| 4905 |
addFooterHtml respectively. |
| 4906 |
* The FormSpecialPage methods preText and postText have been renamed to preHtml |
| 4907 |
and postHtml respectively. |
| 4908 |
* Article::doDelete, deprecated in 1.37, now emits deprecation notices. |
| 4909 |
* The following Less mediawiki.mixins have been deprecated: |
| 4910 |
- .background-image() |
| 4911 |
- .list-style-image() |
| 4912 |
* Category::getPageCount now takes a parameter. Category::COUNT_ALL_MEMBERS |
| 4913 |
return count of all members while Category::COUNT_CONTENT_PAGES return that |
| 4914 |
of content pages. For the former behavior use Category::getMemberCount() |
| 4915 |
* Using `new HTMLForm( … )` or `HTMLForm::factory( … )` without the $context |
| 4916 |
parameter is now deprecated. |
| 4917 |
* BagOStuff::incr() and BagOStuff::decr() are now deprecated. |
| 4918 |
* Action::exists() and ActionFactory::actionExists() are deprecated, use |
| 4919 |
(bool)ActionFactory::getAction(). |
| 4920 |
|
| 4921 |
=== Other changes in 1.38 === |
| 4922 |
* The following things were changed in the file deletion form: |
| 4923 |
- The name and ID of the submit button are now `wpConfirmB`, not |
| 4924 |
`mw-filedelete-submit` |
| 4925 |
- The ID of the form is now `deleteconfirm`, not `mw-img-deleteconfirm` |
| 4926 |
- The `mw-filedelete-editreasons` class was replaced with |
| 4927 |
`mw-delete-editreasons` |
| 4928 |
The goal of these changes is to make the HTML more similar to that of |
| 4929 |
normal page deletion. |
| 4930 |
* ParserOptions created with ::newFrom* or ::newCanonical are now identical. |
| 4931 |
* MediaWiki initialization order have been changed to load vendor autoload |
| 4932 |
earlier. This means that extensions that are installed via composer and |
| 4933 |
execute code upon autoloading can not depend on any MediaWiki classes, |
| 4934 |
constants or globals in that code. |
| 4935 |
* The source of truth for configuration defaults is now the MainConfigSchema |
| 4936 |
class. DefaultSettings.php still exists for backwards compatibility. A PHP |
| 4937 |
file generated for optimized loading will be used in Setup.php to initialize |
| 4938 |
configuration variables. Setup.php can be made to load DefaultSettings.php |
| 4939 |
as before by setting MW_USE_LEGACY_DEFAULT_SETTINGS as an environment |
| 4940 |
variable (e.g. via SetEnv in htaccess) or a PHP constant (e.g. via |
| 4941 |
auto_prepend_file in php.ini). |
| 4942 |
|
| 4943 |
== Compatibility == |
| 4944 |
MediaWiki 1.38 requires PHP 7.3.19 or later and the following PHP extensions: |
| 4945 |
|
| 4946 |
* ctype |
| 4947 |
* dom |
| 4948 |
* fileinfo |
| 4949 |
* iconv |
| 4950 |
* intl |
| 4951 |
* json |
| 4952 |
* mbstring |
| 4953 |
* xml |
| 4954 |
|
| 4955 |
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, |
| 4956 |
but support for them is somewhat less mature. |
| 4957 |
|
| 4958 |
The supported versions are: |
| 4959 |
|
| 4960 |
* MySQL 5.5.8 or later |
| 4961 |
* PostgreSQL 9.4 or later |
| 4962 |
* SQLite 3.8.0 or later |
| 4963 |
|
| 4964 |
== Online documentation == |
| 4965 |
Documentation for both end-users and site administrators is available on |
| 4966 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 4967 |
for pages that explicitly state that their contents are in the public domain): |
| 4968 |
|
| 4969 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 4970 |
|
| 4971 |
== Mailing list == |
| 4972 |
A mailing list is available for MediaWiki user support and discussion: |
| 4973 |
|
| 4974 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 4975 |
|
| 4976 |
A low-traffic announcements-only list is also available: |
| 4977 |
|
| 4978 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 4979 |
|
| 4980 |
It's highly recommended that you sign up for one of these lists if you're |
| 4981 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 4982 |
|
| 4983 |
== IRC help == |
| 4984 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 4985 |
|
| 4986 |
= MediaWiki 1.37 = |
| 4987 |
|
| 4988 |
== MediaWiki 1.37.6 == |
| 4989 |
|
| 4990 |
This is a maintenance release of the MediaWiki 1.37 branch. |
| 4991 |
|
| 4992 |
=== Changes since MediaWiki 1.37.5 === |
| 4993 |
* Fix missing use statement from backport of fix for T307278. |
| 4994 |
|
| 4995 |
== MediaWiki 1.37.5 == |
| 4996 |
|
| 4997 |
This is a security and maintenance release of the MediaWiki 1.37 branch. |
| 4998 |
|
| 4999 |
=== Changes since MediaWiki 1.37.4 === |
| 5000 |
* Localisation updates. |
| 5001 |
* (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null. |
| 5002 |
* (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid. |
| 5003 |
* (T312302) SpecialRedirect: Don't pass null to explode. |
| 5004 |
* RemoveInvalidEmails: Fix quoting for postgres. |
| 5005 |
* (T312678) import: UploadSourceAdapter::stream_read() don't pass null to |
| 5006 |
strlen(). |
| 5007 |
* (T312300) SpecialDiff: Don't pass null to explode(). |
| 5008 |
* (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg. |
| 5009 |
* (T289926) Handle null passed to wfShorthandToInteger() and Html::element(). |
| 5010 |
* (T289926) Ensure that strlen() does not get passed a (valid) null. |
| 5011 |
* (T312301) SpecialDiff: Don't pass null to trim(). |
| 5012 |
* Hooks: Use more meaningful name for SkinAfterPortlet hook parameter. |
| 5013 |
* (T289926) Ensure we don't pass null to mb_strlen. |
| 5014 |
* (T312305, T311572, T311571, T311578) HTMLForm: Null coalescence in trim() |
| 5015 |
calls. |
| 5016 |
* (T289926) site: Consistently return null from Site::getDomain(). |
| 5017 |
* (T307304, T289879) filebackend,jobqueue: Add signature for |
| 5018 |
FilterIterator::accept(). |
| 5019 |
* (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1. |
| 5020 |
* Add application/vnd.ms-opentype to MIME list. |
| 5021 |
* Allow composer/installers plugin in composer.json. |
| 5022 |
* Change type hints for BatchRowIterator and NotRecursiveIterator for |
| 5023 |
compatibility with PHP 8.1. |
| 5024 |
* (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests. |
| 5025 |
* (T313663) parser: Mock WikiPage::getContentModel in ParserCacheTest to fix |
| 5026 |
php8.1. |
| 5027 |
* (T313663) [php8.1] Make WikiImporterFactoryTest use better mock for |
| 5028 |
ImportSource. |
| 5029 |
* Fix tests so getName() doesn't return null. |
| 5030 |
* (T313663) [php8] Don't use strlen on potentially null string. |
| 5031 |
* (T313663) [php8.1] Suppress test warning about providing null. |
| 5032 |
* (T313663) Parser will use current timestamp instead of null if passed a |
| 5033 |
RevisionRecord that does not have a timestamp. |
| 5034 |
* (T313663) Add explicit null check for $sha in FileBackend [php8.1]. |
| 5035 |
* (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1]. |
| 5036 |
* (T313663) Mock UserOptionsManager::getOption for php8.1. |
| 5037 |
* (T289879, T289926) Get rid of warnings on PHP 8.1. |
| 5038 |
* (T313663) Check for null return of preg_replace in MediaWikiTitleCodec. |
| 5039 |
* (T313663) cast db name to string when checking if it is read only [php8.1]. |
| 5040 |
* (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat]. |
| 5041 |
* Fix a couple deprecation warnings in the installer under PHP 8.1. |
| 5042 |
* (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1]. |
| 5043 |
* (T313663) Mock User::getTitleKey in SpecialPreferencesTest [php 8.1]. |
| 5044 |
* (T314096) Migrate use of ${var}-style string interpolation. |
| 5045 |
* (T314099) preprocessor: Add missing field declarations. |
| 5046 |
* (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be |
| 5047 |
'' not null. |
| 5048 |
* (T314225) SpecialCategories: Null coalescene $par. |
| 5049 |
* (T314099) User: Allow dynamic properties on PHP 8.2. |
| 5050 |
* (T314397) SpecialBlock: Better handle null in getTargetUserTitle. |
| 5051 |
* (T314099) phpunit: Fix trivial dynamic property usages in tests. |
| 5052 |
* (T314405) UploadStash: Check if us_prop is set in the fileMetadata. |
| 5053 |
* (T313663) Make ChangesListSpecialPageTest cast to string for php 8.1. |
| 5054 |
* (T313663) Do not test giving a null fragment to Title::makeTitle. |
| 5055 |
* (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint. |
| 5056 |
* (T314551) SpecialMergeHistory: Set defaults for target and dest parameters. |
| 5057 |
* api: Add rel=nofollow to help examples. |
| 5058 |
* (T307613) Validate length of user email on Special:ChangeEmail/ |
| 5059 |
Special:CreateAccount. |
| 5060 |
* (T314226) LoginSignupSpecialPage: Check if $value is a string before length. |
| 5061 |
* (T314824) tests: Update parser test after i18n change. |
| 5062 |
* (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4. |
| 5063 |
* (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and |
| 5064 |
wpNamespaceRestrictions. |
| 5065 |
* (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite. |
| 5066 |
* (T315892) composer.json: Pin phpunit to 8.5.28. |
| 5067 |
* (T313049) Bump wikimedia/parsoid to v0.14.2. |
| 5068 |
* (T317750) session: Fix broken SessionTest case due to PHPUnit dependency |
| 5069 |
change. |
| 5070 |
* (T318079) SpecialEditTags: Set default value of wpTagsToRemove to empty array. |
| 5071 |
* (T318460) SpecialChangeEmail: Set default for returntoquery. |
| 5072 |
* (T318307) Update docs for HTMLFormField::validate() to permit all data types. |
| 5073 |
* (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results |
| 5074 |
in an IP range check on Special:Contributions. |
| 5075 |
* (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence |
| 5076 |
of hidden users. |
| 5077 |
* (T307278, CVE-2022-41766) SECURITY: On action=rollback the message |
| 5078 |
"alreadyrolled" can leak revision deleted user name. |
| 5079 |
|
| 5080 |
== MediaWiki 1.37.4 == |
| 5081 |
|
| 5082 |
This is a maintenance release of the MediaWiki 1.37 branch. |
| 5083 |
|
| 5084 |
=== Changes since MediaWiki 1.37.3 === |
| 5085 |
* Localisation updates. |
| 5086 |
* (T311568) UploadBase::setTempFile() handle $tempPath being passed as null. |
| 5087 |
* (T311559) SpecialListFiles: user parameter isn't always present. |
| 5088 |
* (T311561) ImageListPager: Don't call htmlspecialchars() on null. |
| 5089 |
* (T311920) SpecialBlockList: Prevent passing null to trim(). |
| 5090 |
* (T311921) SpecialUserrights: Don't pass null to str_replace. |
| 5091 |
* (T311570) SpecialWithoutInterwiki: Don't pass null through to |
| 5092 |
Title::capitalize(). |
| 5093 |
* (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser. |
| 5094 |
* (T312059) Update guzzlehttp/guzzle to 7.4.5 in vendor. |
| 5095 |
* (T296435, T297669) cache: Add four fields to LinkCache::getSelectFields. |
| 5096 |
|
| 5097 |
== MediaWiki 1.37.3 == |
| 5098 |
|
| 5099 |
This is a security and maintenance release of the MediaWiki 1.37 branch. |
| 5100 |
|
| 5101 |
=== Changes since MediaWiki 1.37.2 === |
| 5102 |
* Localisation updates. |
| 5103 |
* (T289879) Type hints for ArrayAccess and JsonSerializable. |
| 5104 |
* (T304783) TemplateParser: avoid warnings when called by NoLocalSettings. |
| 5105 |
* Rebuilt vendor with composer 2.3.3. |
| 5106 |
* Fix old_name in UserLogoutComplete hook. |
| 5107 |
* (T289879) Address some deprecations for PHP 8.1. |
| 5108 |
* (T193565) UserGroupManager: Fix dbDomain in addUserToGroup() deferred update. |
| 5109 |
* (T309114) LocalFile::prerenderThumbnails: Limit the number of thumbnail jobs |
| 5110 |
triggered. |
| 5111 |
* (T307982) Updated wikimedia/parsoid from v0.14.0 to v0.14.1. |
| 5112 |
* (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage(). |
| 5113 |
* (T308473) SECURITY: Escape contributions-title msg for use within page title. |
| 5114 |
* (T311272) Call parent constructor of AddSite maintenance script first. |
| 5115 |
* MediaWiki: Don't eagerly initialize action name. |
| 5116 |
* Updated wikimedia/shellbox from v2.0.0 to v2.1.1. |
| 5117 |
* (T311384, CVE-2022-27776) Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5. |
| 5118 |
* (T289926) Avoid passing null to trim() in SkinTemplate. |
| 5119 |
* (T311473) rollbackEdits: Pass user identity to RollbackPage. |
| 5120 |
* (T307282) Avoid passing null to strcasecmp(), for PHP 8.1. |
| 5121 |
* (T311551) ShellboxClientFactory::getUrl(): Check if $this->key is null. |
| 5122 |
* (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode(). |
| 5123 |
* (T311569) FileBackend::isStoragePath() Handle being passed null. |
| 5124 |
* (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param. |
| 5125 |
* (T311678) SpecialEditWatchlist: Prevent passing null to strtolower(). |
| 5126 |
* (T281741) ChangeTags: Fix adding CSS classes for hidden tags. |
| 5127 |
* (T296642) changetags: Fix management of a '0' tag. |
| 5128 |
* (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null. |
| 5129 |
* (T303033) Handle null in ChangeTags::modifyDisplayQuery. |
| 5130 |
* Updated wikimedia/common-passwords from 0.3.0 to 0.4.0. |
| 5131 |
|
| 5132 |
== MediaWiki 1.37.2 == |
| 5133 |
|
| 5134 |
This is a security and maintenance release of the MediaWiki 1.37 branch. |
| 5135 |
|
| 5136 |
=== Changes since MediaWiki 1.37.1 === |
| 5137 |
* (T298261) Fix support for Composer 2.2. |
| 5138 |
* (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins. |
| 5139 |
* Update doctrine/dbal (3.0.0 => 3.1.5). |
| 5140 |
* (T296898) Add entry point name to disabled Session exception if possible. |
| 5141 |
* (T298564) MemcachedClient: Add support for IPv6. |
| 5142 |
* (T297543, CVE-2022-28202) SECURITY: properly escape output used within |
| 5143 |
galleries and Special:RevisionDelete. |
| 5144 |
* (T289956) WatchAction: Fix bug that prevents showing proper success |
| 5145 |
message in the noscript fallback mode. |
| 5146 |
* (T268847) Suppress deprecation warnings from libxml_disable_entity_loader(). |
| 5147 |
* (T283275) Fix PHP 8.0 failure of RefreshSecondaryDataUpdateTest. |
| 5148 |
* (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest. |
| 5149 |
* (T275673) objectcache: Avoid getCurrentTime() call in MapCacheLRU::has(). |
| 5150 |
* (T275673) objectcache: split up MapCacheLRU::getAge() to avoid conditional |
| 5151 |
overhead. |
| 5152 |
* Fix the json schema and the extension processor for Parsoid extension modules. |
| 5153 |
* (T299696) update.php: Avoid passing null to substr. |
| 5154 |
* (T195807, T256401) Fix signature of DatabasePostgres::buildGroupConcatField. |
| 5155 |
* In PHP 8.1 don't throw exceptions from mysqli. |
| 5156 |
* (T289926) SiteConfiguration: Don't pass null to str_replace(). |
| 5157 |
* (T264735) Fix deprecation warning from CURLPIPE_HTTP1. |
| 5158 |
* (T260735) Stop using is_resource() where possible. |
| 5159 |
* (T289879) Apply ReturnTypeWillChange to various implementations of built in |
| 5160 |
interfaces. |
| 5161 |
* (T299312) Implement __serialize/__unserialize for PHP 8.1 support. |
| 5162 |
* ExtensionRegistry: Add process cache for lazy attributes. |
| 5163 |
* (T301041) ApiPageSet: Add "missing": true to missing revisions. |
| 5164 |
* Allow ParsoidModules extension schema to register services. |
| 5165 |
* (T300462) SpecialUndelete: Do not show empty comments as deleted. |
| 5166 |
* (T297708) Allow setting max execution time to several special pages. |
| 5167 |
* (T205349) LinkCache: Try invalidating cache before throwing. |
| 5168 |
* (T302540) composer.json: Add ext-calendar to require. |
| 5169 |
* (T302540) composer.json: Add ext-simplexml to require-dev. |
| 5170 |
* (T302540) composer.json: Add various PHP extensions to suggests. |
| 5171 |
* Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0). |
| 5172 |
* (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning. |
| 5173 |
* (T293576) listFiles: Display file name instead of version. |
| 5174 |
* (T303871) Fix @since of Title::getId(). |
| 5175 |
* (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value. |
| 5176 |
* wrapOldPasswords: add \n to two output calls. |
| 5177 |
* (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion |
| 5178 |
loop if it points to a local interwiki. |
| 5179 |
* (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file |
| 5180 |
uploads with actor as a condition can result in a DoS. |
| 5181 |
* (T297754, CVE-2022-28204) Special:WhatLinksHere can result in a DoS when a |
| 5182 |
page is used on a extremely large number of other pages. |
| 5183 |
|
| 5184 |
== MediaWiki 1.37.1 == |
| 5185 |
|
| 5186 |
This is a security and maintenance release of the MediaWiki 1.37 branch. |
| 5187 |
|
| 5188 |
=== Changes since MediaWiki 1.37.0 === |
| 5189 |
* (T296112) Allow inserting new sections named '0'. |
| 5190 |
* Fix path for ZhConversion.php. |
| 5191 |
* nukeNS: don't run purgeRedundantText() after every change. |
| 5192 |
* (T286779, T297031) installer: Fix Postgres mistakes in using changeField |
| 5193 |
method. |
| 5194 |
* (T225888) RollbackAction: fix missing pagetitle. |
| 5195 |
* (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in |
| 5196 |
undo actions. |
| 5197 |
* (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback. |
| 5198 |
* (T34716, T297416) SECURITY: Require 'read' right for most actions. |
| 5199 |
* (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook |
| 5200 |
when changing content model. |
| 5201 |
|
| 5202 |
== MediaWiki 1.37.0 == |
| 5203 |
|
| 5204 |
=== Changes since MediaWiki 1.37.0-rc.2 === |
| 5205 |
* Remove justinrainbow/json-schema from vendor. |
| 5206 |
* Updated pear/mail_mime from 1.10.9 to 1.10.11. |
| 5207 |
* Update deprecated Guzzle Psr7 function calls. |
| 5208 |
* (T281972) UserIdentityValue: Correct @since tags. |
| 5209 |
* Updated wikimedia/parsoid from v0.14.0-a19 to v0.14.0. |
| 5210 |
* Localisation updates. |
| 5211 |
* Tweak error message for missing composer dependencies. |
| 5212 |
|
| 5213 |
== MediaWiki 1.37.0-rc.2 == |
| 5214 |
|
| 5215 |
=== Changes since MediaWiki 1.37.0-rc.1 === |
| 5216 |
* (T295173) Re-add wikimedia/normalized-exception to vendor. |
| 5217 |
* Remove wikimedia/testing-access-wrapper, psr/simple-cache, psr/http-factory |
| 5218 |
from vendor. |
| 5219 |
* (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is set. |
| 5220 |
* (T212428) Allow populateContentTables to continue when there are bad blobs. |
| 5221 |
|
| 5222 |
== MediaWiki 1.37.0-rc.1 == |
| 5223 |
|
| 5224 |
=== Changes since MediaWiki 1.37.0-rc.0 === |
| 5225 |
* (T294043) checkStorage: pass no parameters to WikiRevision::getContent(). |
| 5226 |
* (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion |
| 5227 |
results. |
| 5228 |
* (T293783) ApiQueryImageInfo: don't show empty comments as deleted. |
| 5229 |
* (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode". |
| 5230 |
* (T294796) JobQueueRedis: Replace deprecated zSize with zCard. |
| 5231 |
* Remove duplicate settings from DefaultSettings. |
| 5232 |
* (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser. |
| 5233 |
|
| 5234 |
== MediaWiki 1.37.0-rc.0 == |
| 5235 |
|
| 5236 |
== Upgrading notes for 1.37 == |
| 5237 |
Don't forget to always back up your database before upgrading! |
| 5238 |
|
| 5239 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 5240 |
oldest supported upgrading version, MediaWiki 1.27. |
| 5241 |
|
| 5242 |
Some specific notes for MediaWiki 1.37 upgrades are below: |
| 5243 |
* (T280806) Deprecated methods of fetching API tokens have been removed. This |
| 5244 |
may cause older bots and scripts to fail. Most queries are trivially |
| 5245 |
updateable to using new methods. See the Action API changes section below |
| 5246 |
for more information. |
| 5247 |
|
| 5248 |
For notes on 1.36.x and older releases, see HISTORY. |
| 5249 |
|
| 5250 |
=== Configuration changes for system administrators in 1.37 === |
| 5251 |
* (T242768) The PasswordCannotMatchUsername password policy has been removed, |
| 5252 |
please use PasswordCannotBeSubstringInUsername instead. If you have not |
| 5253 |
customised your password policies, there will be nothing to do here. |
| 5254 |
|
| 5255 |
==== New configuration ==== |
| 5256 |
* $wgBrowserFormatDetection - This setting allows the enabling or disabling |
| 5257 |
of automatic detection of possible phone numbers in a webpage in iOS Safari. |
| 5258 |
* $wgParserEnableLegacyMediaDOM - This setting defaults to true, and enables |
| 5259 |
the legacy media HTML structure in the output from the Parser. The |
| 5260 |
alternative modern HTML structure for media is described at |
| 5261 |
https://www.mediawiki.org/wiki/Parsing/Media_structure |
| 5262 |
In a future release of MediaWiki this option will default to false, |
| 5263 |
so it's a good idea to test this setting on your wiki early and report |
| 5264 |
any issues. |
| 5265 |
|
| 5266 |
==== Changed configuration ==== |
| 5267 |
* $wgContentHandlerTextFallback - This migration setting, which defines how to |
| 5268 |
react if a plain text version of a non-text Content object is requested using |
| 5269 |
ContentHandler::getContentText(), is deprecated. |
| 5270 |
* $wgActions – This setting lets sysadmins over-ride which actions can be used. |
| 5271 |
It has been re-worked to support injecting dependencies into Action sub- |
| 5272 |
classes as part of wider work on dependency injection. Previously, $wgActions |
| 5273 |
was an array where the keys were the names of actions, and the values had the |
| 5274 |
following impacts (for a given key 'Foo'): |
| 5275 |
- `true`: use the class 'FooAction' unless for a specific page |
| 5276 |
WikiPage::getActionOverrides() wants to override that action |
| 5277 |
- a string: use the class with that name, and do not allow over-riding on a |
| 5278 |
per-page basis |
| 5279 |
- `false`: the action is disabled |
| 5280 |
- a callable: use the Action instance returned by invoking that callback, and |
| 5281 |
do not allow overriding on a per-page basis |
| 5282 |
- an object: use that specific Action instance, and do not allow overr-iding |
| 5283 |
on a per-page basis. |
| 5284 |
As part of T253078, values can now be arrays that are not callables, which are |
| 5285 |
treated as ObjectFactory specs, allowing for services to be injected. |
| 5286 |
Additionally, the distinction between values that allow per-page overrides and |
| 5287 |
those that do not was removed - all actions can now be overridden on a per- |
| 5288 |
page basis using WikiPage::getActionOverrides(). |
| 5289 |
* $wgShellboxUrl – This setting, new in 1.36 to configure the novel Shellbox |
| 5290 |
encapsulation system, is now deprecated; use $wgShellboxUrls as a mapping of |
| 5291 |
service => URL instead. |
| 5292 |
* $wgIncludejQueryMigrate – This setting, introduced in 1.29 to on whether to |
| 5293 |
provide a migration layer for jQuery, has now switched its default value from |
| 5294 |
true to false. This may break gadgets that depended on methods that were |
| 5295 |
removed in jQuery 3 in 2017. See T280944 for more information. |
| 5296 |
* A number of settings have been renamed. The former configuration variable |
| 5297 |
names are deprecated, but will be used as the fall back if they are still set, |
| 5298 |
and remain temporarily available for extensions which might try to read them: |
| 5299 |
- $wgFileBlacklist is now $wgProhibitedFileExtensions |
| 5300 |
- $wgMimeTypeBlacklist is now $wgMimeTypeExclusions |
| 5301 |
- $wgEnableUserEmailBlacklist is now $wgEnableUserEmailMuteList |
| 5302 |
- $wgShortPagesNamespaceBlacklist is now $wgShortPagesNamespaceExclusions |
| 5303 |
* $wgMimeTypeExclusions - As well as being renamed, this configuration array now |
| 5304 |
also prohibits the RFC 4329 form of JavaScript, 'application/javascript', as |
| 5305 |
well as previous MIME types. |
| 5306 |
* $wgFragmentMode - This setting, which determines the encoding of section IDs, |
| 5307 |
has now switched its default value from legacy-first to html5-first: both the |
| 5308 |
HTML5 anchor and the legacy percent-encoding-style anchor will still be |
| 5309 |
generated for section titles, but references to them will use the HTML5 |
| 5310 |
version, resulting in human-readable fragments. |
| 5311 |
|
| 5312 |
==== Removed configuration ==== |
| 5313 |
* $wgLegacyJavaScriptGlobals, deprecated in 1.36. |
| 5314 |
* (T274695) $wgAjaxEditStash, deprecated in 1.36. |
| 5315 |
* $wgShowDBErrorBacktrace, deprecated and non-functional since 1.32. |
| 5316 |
* $wgShowSQLErrors, deprecated and non-functional since 1.32. |
| 5317 |
* $wgLangObjCacheSize, without deprecation; the LanguageFactory service now |
| 5318 |
always retains at most 10 objects in its LRU-cache. |
| 5319 |
* $wgDjvuToXML, without deprecation; the tool it enables is obsolete and |
| 5320 |
abandoned upstream. Use $wgDjvuDump to use that tool instead. |
| 5321 |
|
| 5322 |
=== New user-facing features in 1.37 === |
| 5323 |
* (T161934) MediaWiki now supports JPEG2000 files, to a limited extent. |
| 5324 |
|
| 5325 |
=== External library changes in 1.37 === |
| 5326 |
|
| 5327 |
==== New external libraries ==== |
| 5328 |
* Added symfony/polyfill-php80 1.23.1. |
| 5329 |
* Added whatwg-fetch 3.6.2. |
| 5330 |
* Added wikimedia/normalized-exception 1.0.1. |
| 5331 |
|
| 5332 |
==== Changed external libraries ==== |
| 5333 |
* Updated OOjs from v5.0.0 to v6.0.0 |
| 5334 |
* Updated OOjs-Router from v0.2.0 to v0.3.0 |
| 5335 |
* Updated OOUI from v0.41.3 to v0.42.0 |
| 5336 |
* Updated WVUI from v0.1.0 to v0.3.0 |
| 5337 |
* Updated cssjanus/cssjanus from v1.3.0 to v2.1.0. |
| 5338 |
* Updated pear/mail_mime from 1.10.9 to 1.10.11. |
| 5339 |
* Updated psr/container from v1.0.0 to v1.1.1. |
| 5340 |
* Updated wikimedia/minify from v2.2.2 to v2.2.4. |
| 5341 |
* Updated wikimedia/object-factory from v3.0.0 to v3.0.2. |
| 5342 |
* Updated wikimedia/parsoid from v0.13.1 to v0.14.1. |
| 5343 |
* Updated wikimedia/relpath from v2.1.1 to v3.0.0. |
| 5344 |
* Updated wikimedia/remex-html from v2.3.1 to v2.3.2. |
| 5345 |
* Updated wikimedia/shellbox from v1.0.4 to v2.1.1. |
| 5346 |
* Updated wikimedia/wait-condition-loop from v2.0.1 to v2.0.2. |
| 5347 |
* Updated zordius/lightncandy from v1.2.5 to v1.2.6. |
| 5348 |
* Updated guzzlehttp/guzzle from 7.2.0 to 7.4.5. |
| 5349 |
* Updated wikimedia/common-passwords from 0.3.0 to 0.4.0. |
| 5350 |
|
| 5351 |
===== Changed development-only external libraries ===== |
| 5352 |
* Updated qunit from 2.10.0 to 2.16.0. |
| 5353 |
|
| 5354 |
==== Removed external libraries ==== |
| 5355 |
* The pimple/pimple development-only library has been removed. |
| 5356 |
|
| 5357 |
=== Action API changes in 1.37 === |
| 5358 |
* (T280806) The API methods for fetching tokens which were deprecated in |
| 5359 |
MediaWiki 1.24 have been removed. action=query&meta=tokens&type= should be |
| 5360 |
used instead. Please note some token types no longer exist, and you should |
| 5361 |
just use type=csrf for those instead. |
| 5362 |
- action=query&prop=info&intoken -> |
| 5363 |
action=query&meta=tokens&type=csrf |
| 5364 |
- action=tokens&type= -> |
| 5365 |
action=query&meta=tokens&type= |
| 5366 |
- action=query&list=recentchanges&rctoken -> |
| 5367 |
action=query&meta=tokens&type=csrf |
| 5368 |
- action=query&prop=revisions&rvtoken=rollback -> |
| 5369 |
action=query&meta=tokens&type=rollback |
| 5370 |
- action=query&meta=userinfo&uiprop=preferencestoken -> |
| 5371 |
action=query&meta=tokens&type=csrf |
| 5372 |
- action=query&list=users&ustoken=userrights -> |
| 5373 |
action=query&meta=tokens&type=userrights |
| 5374 |
|
| 5375 |
=== Languages updated in 1.37 === |
| 5376 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 5377 |
Below only new and removed languages are listed, as well as changes to languages |
| 5378 |
because of Phabricator reports. |
| 5379 |
|
| 5380 |
* (T280435) LRM and RLM characters were removed from names of languages with |
| 5381 |
parentheses in Names.php |
| 5382 |
* (T283422) Add namespace name translations and change the autonym of |
| 5383 |
the Kinyarwanda language to "Ikinyarwanda". |
| 5384 |
* (T283423) Change the autonym of the Lombard language from "lumbaart" |
| 5385 |
to "lombard". |
| 5386 |
* (T279619) Added language support for Dagbani (dag). |
| 5387 |
* (T282085) Added language support for Malay in Arabic (Jawi) script (ms-arab). |
| 5388 |
* (T283053) Added language support for Ojibwe (ojb). |
| 5389 |
* (T283480) Added language support for Wallisian (wls, Fakaʻuvea). |
| 5390 |
* (T284002) Added language support for Paiwan (pwn). |
| 5391 |
* (T284044) Added language support for Carpathian Romani (rmc). |
| 5392 |
* (T286460) Added language support for Gun (guw, Gungbe). |
| 5393 |
* (T287345) Added language support for Baoulé (bci). |
| 5394 |
* (T290126) Added language support for Kildin Sami (sjd). |
| 5395 |
* (T290408) Added language support for Pite Sami (sje). |
| 5396 |
* (T25216) Started the renaming of the language code for Norman from nrm to |
| 5397 |
nrf. |
| 5398 |
|
| 5399 |
=== Breaking changes in 1.37 === |
| 5400 |
* The Revision class, emitting deprecation warnings since 1.35, was removed |
| 5401 |
entirely. As part of this, the following hooks that included a Revision object |
| 5402 |
were removed: |
| 5403 |
- ArticleRevisionUndeleted - use RevisionUndeleted |
| 5404 |
- ArticleRollbackComplete - use RollbackComplete |
| 5405 |
- DiffRevisionTools - use DiffTools |
| 5406 |
- DiffViewHeader - use DifferenceEngineViewHeader |
| 5407 |
- HistoryRevisionTools - use HistoryTools |
| 5408 |
- NewRevisionFromEditComplete - use RevisionFromEditComplete |
| 5409 |
- PageContentInsertComplete - use PageSaveComplete |
| 5410 |
- PageContentSaveComplete - use PageSaveComplete |
| 5411 |
- ParserFetchTemplate - use BeforeParserFetchTemplateRevisionRecord |
| 5412 |
- RevisionInsertComplete - use RevisionRecordInserted |
| 5413 |
- TitleMoveComplete - use PageMoveComplete |
| 5414 |
- TitleMoveCompleting - use PageMoveCompleting |
| 5415 |
- UndeleteShowRevision - no replacement |
| 5416 |
- UserRetrieveNewTalks - no replacement |
| 5417 |
… the following methods and variables have been removed: |
| 5418 |
- Article::$mRevision |
| 5419 |
- Article::getRevisionFetched() |
| 5420 |
- ContribsPager::tryToCreateValidRevision() |
| 5421 |
- EditPage::$mBaseRevision |
| 5422 |
- EditPage::getBaseRevision() |
| 5423 |
- LinksUpdate::getRevision() |
| 5424 |
- LinksUpdate::setRevision() |
| 5425 |
- PageArchive::getArchivedRevision() |
| 5426 |
- PageArchive::getPreviousRevision() |
| 5427 |
- PageArchive::getRevision() |
| 5428 |
- Parser::$mRevisionObject |
| 5429 |
- Parser::fetchCurrentRevisionOfTitle() |
| 5430 |
- Parser::getRevisionObject() |
| 5431 |
- Parser::statelessFetchRevision() |
| 5432 |
- ParserOptions::getCurrentRevisionCallback() |
| 5433 |
- ParserOptions::setCurrentRevisionCallback() |
| 5434 |
- Title::countAuthorsBetween() |
| 5435 |
- Title::getFirstRevision() |
| 5436 |
- User::getNewMessageLinks() |
| 5437 |
- User::getNewMessageRevisionId() |
| 5438 |
- User::setNewtalk() |
| 5439 |
- WikiPage::getOldestRevision() |
| 5440 |
- WikiPage::getRevision() |
| 5441 |
- WikiPage::getUndoContent() |
| 5442 |
- WikiPage::updateIfNewerOn() |
| 5443 |
… and the following methods no longer accept Revision objects as parameters: |
| 5444 |
- CategoryMembershipChange::__construct() |
| 5445 |
- ContentHandler::getUndoContent() |
| 5446 |
- DerivedPageDataUpdater::prepareUpdate() |
| 5447 |
- DifferenceEngine::getRevisionHeader() |
| 5448 |
- Linker::buildRollbackLink() |
| 5449 |
- Linker::generateRollback() |
| 5450 |
- Linker::getRevDeleteLink() |
| 5451 |
- Linker::getRollbackEditCount() |
| 5452 |
- Linker::revComment() |
| 5453 |
- Linker::revUserLink() |
| 5454 |
- Linker::revUserTools() |
| 5455 |
- WikiPage::doDeleteUpdates() |
| 5456 |
- WikiPage::doEditUpdates() |
| 5457 |
- WikiPage::hasDifferencesOutsideMainSlot() |
| 5458 |
- WikiPage::onArticleEdit() |
| 5459 |
- WikiPage::prepareContentForEdit() |
| 5460 |
- WikiPage::updateRevisionOn() |
| 5461 |
The following methods return arrays that formerly included a 'revision' |
| 5462 |
key that would emit deprecation warnings when accessed and return a |
| 5463 |
Revision object. The Revision object has been removed from the arrays, |
| 5464 |
and the 'revision-record' key should be used to get the relevant |
| 5465 |
RevisionRecord instead: |
| 5466 |
- PageUpdater::doCreate() |
| 5467 |
- PageUpdater::doModify() |
| 5468 |
- Parser::statelessFetchTemplate() |
| 5469 |
- WikiPage::doEditContent() |
| 5470 |
Finally, the ParserOptions `templateCallback` option is a callback that is |
| 5471 |
called in Parser::fetchTemplateAndTitle() and should return an array - the |
| 5472 |
'revision' key to that array used to be a Revision object and was used if |
| 5473 |
no 'revision-record' was returned - is now ignored. |
| 5474 |
* Previously, the classes RevisionTestModifyableContent and |
| 5475 |
RevisionTestModifyableContentHandler were loaded for use in tests, but were |
| 5476 |
only used within the tests for the since-removed Revision class. This content |
| 5477 |
and content handler class were removed without deprecation. |
| 5478 |
* WANObjectCache::HOLDOFF_NONE, deprecated since 1.35, was removed. Use |
| 5479 |
WANObjectCache::HOLDOFF_TTL_NONE instead. |
| 5480 |
* Calling ResourceLoader::makeVersionQuery() without $modules parameter, |
| 5481 |
deprecated since MediaWiki 1.34, is no longer supported. |
| 5482 |
* LocalFile::recordUpload2(), deprecated since 1.35, was removed. |
| 5483 |
* The following methods and fields in the Language class, deprecated since 1.35, |
| 5484 |
have been removed: |
| 5485 |
- ::classFromCode() |
| 5486 |
- ::clearCaches() |
| 5487 |
- ::convertTitle() |
| 5488 |
- ::findVariantLink() |
| 5489 |
- ::$mConverter |
| 5490 |
- ::updateConversionTable() |
| 5491 |
* The following methods in the Parser class have been removed after having been |
| 5492 |
deprecated in 1.35: |
| 5493 |
- fetchTemplate() |
| 5494 |
- Title() |
| 5495 |
* (T273354) When an edit is prevented by an 'EditFilterMergedContent' hook |
| 5496 |
handler without changing the status, the edit form will now be displayed. |
| 5497 |
* User::clearNotification() which had been deprecated in 1.35 has been removed. |
| 5498 |
Use WatchlistManager::clearTitleUserNotification() instead. |
| 5499 |
* User::getNewtalk() which had been deprecated in 1.35 has been removed. Use |
| 5500 |
TalkPageNotificationManager::userHasNewMessages() instead. |
| 5501 |
* The Autopromote class, deprecated since 1.35, was removed. Use |
| 5502 |
UserGroupManager instead. |
| 5503 |
* The CachedAction, SpecialCachedPage, CacheHelper, and ICacheHelper classes, |
| 5504 |
all emitting deprecation warnings since 1.36, have been removed. |
| 5505 |
* The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS, deprecated |
| 5506 |
in 1.35, were removed. |
| 5507 |
* The TitleArrayFromResult hook, deprecated in 1.36, was removed. |
| 5508 |
* The deprecated "es6-promise" alias ResourceLoader module has been removed. Use |
| 5509 |
the "es6-polyfills" module directly intead. |
| 5510 |
* The deprecated "mediawiki.legacy.protect" ResourceLoader module, deprecated |
| 5511 |
since 1.36, has been removed. Use "mediawiki.action.protect" instead. |
| 5512 |
* The JavaScript alias $j for references to jQuery, deprecated since 1.23, has |
| 5513 |
been removed. Use $ instead. |
| 5514 |
* The AuthenticationProvider interface and the SessionProvider class no longer |
| 5515 |
extend the PSR LoggerAwareInterface concept, so they can't be typehinted as |
| 5516 |
LoggerAwareInterface. |
| 5517 |
* User::getGrantName(), emitting deprecation warnings since 1.36, has been |
| 5518 |
removed. Use MWGrants::grantName() instead. |
| 5519 |
* The following ApiBase methods, deprecated since 1.35, have been removed: |
| 5520 |
- ApiBase::explodeMultiValue |
| 5521 |
- ApiBase::parseMultiValue |
| 5522 |
- ApiBase::validateLimit |
| 5523 |
- ApiBase::validateTimestamp |
| 5524 |
* The User::idCacheByName() public static field was removed without deprecation. |
| 5525 |
Instead of using it, get a UserIdentity by name from the UserIdentityLookup |
| 5526 |
service. |
| 5527 |
* IDatabase::upsert() and IDatabase::replace() now only accept a single unique |
| 5528 |
key. Previously, a warning was issued if there were multiple unique keys |
| 5529 |
provided. |
| 5530 |
* The MediaWiki:Autoblock_whitelist block exemption control was moved in 1.36 to |
| 5531 |
MediaWiki:Block-autoblock-exemptionlist. The backward-compatibility of reading |
| 5532 |
the old MediaWiki:Autoblock_whitelist page has now been dropped. |
| 5533 |
* The following overridable methods in File hierarchy have changed signatures: |
| 5534 |
- File::deleteFile() - now accepts UserIdentity instead of User |
| 5535 |
- File::getDescription() - now accepts Authority instead of User |
| 5536 |
- File::userCan() - now accepts Authority instead of User |
| 5537 |
- LocalFile::deleteOldFile() - now accepts UserIdentity instead of User |
| 5538 |
* The following global methods, each deprecated since 1.36, have been removed: |
| 5539 |
- wfAppendToArrayIfNotDefault() |
| 5540 |
- wfAcceptToPrefs() |
| 5541 |
- wfConfiguredReadOnlyReason() |
| 5542 |
- wfDebugMem() |
| 5543 |
- wfGetPrecompiledData() |
| 5544 |
- wfNegotiateType() |
| 5545 |
* The following deprecated methods of the Title class have been removed: |
| 5546 |
- ::nameOf(), deprecated in 1.36 |
| 5547 |
- ::getPreviousRevisionID(), deprecated in 1.34 |
| 5548 |
- ::getNextRevisionID(), deprecated in 1.34 |
| 5549 |
- ::getEarliestRevTime(), deprecated in 1.35 |
| 5550 |
* UploadBase::stashFile(), deprecated since 1.28, was removed. |
| 5551 |
* wfGetRusage(), deprecated since 1.35, has been removed. |
| 5552 |
* The following CLI options were removed from tests/phpunit.php: |
| 5553 |
- use-filebackend |
| 5554 |
- use-jobqueue |
| 5555 |
- use-bagostuff |
| 5556 |
The following options (inherited from Maintenance) were also removed: |
| 5557 |
- conf |
| 5558 |
- dbuser |
| 5559 |
- dbpass |
| 5560 |
- dbdefaultgroup |
| 5561 |
- globals |
| 5562 |
- memory-limit |
| 5563 |
- profiler |
| 5564 |
- server |
| 5565 |
The following options were changed to environment variables: |
| 5566 |
- wiki => PHPUNIT_WIKI |
| 5567 |
- use-normal-tables => PHPUNIT_USE_NORMAL_TABLES |
| 5568 |
- use-filebackend => PHPUNIT_USE_FILEBACKEND |
| 5569 |
- use-bagostuff => PHPUNIT_USE_BAGOSTUFF |
| 5570 |
- use-jobqueue => PHPUNIT_USE_JOBQUEUE |
| 5571 |
This is so that we can use the default PHPUnit entry point (T90875). |
| 5572 |
* The PHPUNIT_REUSE_DB / --reuse-db option was removed from the phpunit.php |
| 5573 |
runner. It had been broken for at least three years already. The original use |
| 5574 |
case was speeding up tests on Oracle, but Oracle support was dropped several |
| 5575 |
releases ago. |
| 5576 |
* The MediaWikiPHPUnitTest__endTestHook and MediaWikiPHPUnitTest__startTestHook |
| 5577 |
PHPUnit hooks were removed. MediaWikiHooksPHPUnitExtension was also removed. |
| 5578 |
* EntryPoint::getTextFormatters() was made private without a deprecation period; |
| 5579 |
it had no known external callers. |
| 5580 |
* DatabaseBlock::chooseBlock(), deprecated since 1.35, was removed. |
| 5581 |
* SpecialPageFactory::getRestrictedPages(), deprecated since 1.36, was removed. |
| 5582 |
* SpecialBlock::validateTarget(), deprecated since 1.36, was removed. |
| 5583 |
* The PatchFileLocation trait was removed without deprecation. |
| 5584 |
* ActorMigrationBase::getExistingActorId() and ::getNewActorId(), emitting |
| 5585 |
deprecation warnings since 1.36, were removed. |
| 5586 |
* Hook handlers implementing the MediaWikiServicesHook hook are now prohibited |
| 5587 |
from having services injected. This is because by definition, this hook runs |
| 5588 |
before the service container is fully initialized. |
| 5589 |
* The protected property LocalFile::$metadata was removed without deprecation. |
| 5590 |
* WatchedItem::getUser(), emitting deprecation warnings since 1.36, has been |
| 5591 |
removed. |
| 5592 |
* AuthManager::singleton(), emitting deprecation warnings since 1.36, has been |
| 5593 |
removed. |
| 5594 |
* The AugmentPageProps class was removed without deprecation. It had no known |
| 5595 |
uses. |
| 5596 |
* Html::infobox(), deprecated since 1.36, was removed. |
| 5597 |
* ParserOptions::__construct() now requires that the first parameter is a |
| 5598 |
UserIdentity object - passing `null` used to fallback to the global |
| 5599 |
$wgUser but was deprecated since 1.36. |
| 5600 |
* ParserOptions::newCanonical() no longer supports the first parameter being |
| 5601 |
null (or omitted entirely), which would fallback to the global $wgUser but |
| 5602 |
was deprecated since 1.35. |
| 5603 |
* The SkinTemplatePreventOtherActiveTabs hook, deprecated in 1.35, was removed |
| 5604 |
entirely. |
| 5605 |
* The SkinTemplateTabAction hook, deprecated in 1.35, was removed entirely. |
| 5606 |
* The SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook, deprecated in 1.35, |
| 5607 |
was removed entirely. |
| 5608 |
* The SkinTemplateToolboxEndHook, deprecated in 1.35, was removed entirely. |
| 5609 |
* The following methods of RevisionStore class, formerly emitting deprecation |
| 5610 |
warnings, were removed: |
| 5611 |
- ::newMutableRevisionFromArray() |
| 5612 |
- ::loadRevisionFromPageId() |
| 5613 |
- ::loadRevisionFromTitle() |
| 5614 |
- ::loadRevisionFromTimestamp() |
| 5615 |
- ::listRevisionSizes() |
| 5616 |
* LogEntry::getPerformer(), deprecated since 1.36, was removed along with |
| 5617 |
methods in sub-classes: DatabaseLogEntry, ManualLogEntry, RCDatabaseLogEntry. |
| 5618 |
* Skin::getRelevantUser() now returns an instance of UserIdentity, and not |
| 5619 |
necessarily a User object. There is no known usages in MediaWiki ecosystem |
| 5620 |
that were not satisfied with UserIdentity. |
| 5621 |
* Direct construction of MergeHistory class, deprecated since 1.35, is no longer |
| 5622 |
supported. Use MergeHistoryFactory instead. MergeHistory::checkPermissions, |
| 5623 |
deprecated since 1.36, was removed. |
| 5624 |
* Skin::generateDebugHTML(), deprecated since 1.35, was removed. Call |
| 5625 |
MWDebug::getHTMLDebugLog() directly. |
| 5626 |
* The ApiTestCase class no longer interacts with the global $wgUser. |
| 5627 |
Previously, the global variable was set at the start of each test, and in |
| 5628 |
ApiTestCase::doApiRequest() if a performer was specified $wgUser was |
| 5629 |
updated to match, and if no performer was specified $wgUser was used |
| 5630 |
instead. Now, $wgUser is not updated, and if no performer is specified |
| 5631 |
the reusable TestUser object for the sysop is relied on. Extensions |
| 5632 |
or skins that rely on the global $wgUser variable (which has been |
| 5633 |
deprecated since 1.35) should instead retrieve the acting user from the |
| 5634 |
relevant context source. |
| 5635 |
* SkinTemplate::makeArticleUrlDetails(), deprecated since 1.35, was removed. |
| 5636 |
* Skin::makeNSUrl(), deprecated since 1.35, was removed. |
| 5637 |
* Skin::getRevisionId(), deprecated since 1.34, was removed. Use |
| 5638 |
OutputPage::getRevisionId() instead. |
| 5639 |
* Skin::isRevisionCurrent(), deprecated since 1.34, was removed. Use |
| 5640 |
OutputPage::isRevisionCurrent() instead. |
| 5641 |
* AbstractBlock::parseTarget(), deprecated since 1.36, was removed. |
| 5642 |
* The ArticleEditUpdates hook, deprecated since 1.35, was removed. |
| 5643 |
* The `@stable to extend` class CentralIdLookup has following changes: |
| 5644 |
- The protected ::checkAudience() method now returns an Authority instead of a |
| 5645 |
User instance. |
| 5646 |
- A number of its `@stable to override` methods now accept an Authority |
| 5647 |
instead of a User instance as the $audience parameter. |
| 5648 |
- A number of methods now accept a UserIdentity instead of their User |
| 5649 |
parameter. |
| 5650 |
- The ::localUserFromCentralId() method now returns UserIdentity and not |
| 5651 |
necessarily a User object. |
| 5652 |
All extensions that extend this class or use this method were updated to be |
| 5653 |
ready to the new behavior. |
| 5654 |
* WatchedItemStoreInterface::enqueueWatchlistExpiryJob(), deprecated since 1.36, |
| 5655 |
was removed. |
| 5656 |
* ResultWrapper is now abstract. It cannot be directly constructed (T286694). |
| 5657 |
* The SecondaryDataUpdates hook, deprecated in 1.32, was removed entirely. |
| 5658 |
* Content::getDeletionUpdates(), was removed. Use |
| 5659 |
ContentHandler::getDeletionUpdates() instead. |
| 5660 |
* Content::getSecondaryDataUpdates(), was removed. Use |
| 5661 |
ContentHandler::getSecondaryDataUpdates() instead. |
| 5662 |
* wfDiff(), deprecated since 1.25, has been removed. |
| 5663 |
* Language::$mLangObjCache, deprecated since 1.35, was removed. |
| 5664 |
* Language::$transformData, deprecated since 1.35, was removed. |
| 5665 |
* Language::transformUsingPairFile() was marked @internal. Its deprecated |
| 5666 |
parameters are no longer supported. |
| 5667 |
* SpecialMute::getTarget(), unused outside of the SpecialMute class, was |
| 5668 |
made private. |
| 5669 |
* The Skin::setupSkinUserCss() method, deprecated in 1.32, was removed. Please |
| 5670 |
use skin registration instead. |
| 5671 |
* The ResourceLoaderSkinModule `legacy`, `content` and `content-thumbnails` |
| 5672 |
features were deprecated. Skins should instead select from the features |
| 5673 |
listed on [[mw:Manual:ResourceLoaderSkinModule]]. |
| 5674 |
* ParserCache::getKey() and ::getEtag(), deprecated since 1.36, were removed. |
| 5675 |
* The BaseTemplateToolbox hook, deprecated since 1.35, was removed. |
| 5676 |
* Previously a capitalize-all-nouns class was added to the body element of |
| 5677 |
languages where nouns must be capitalized. This class is no longer added to |
| 5678 |
the body tag and must be provided by skins. |
| 5679 |
* The SkinTemplateOutputPageBeforeExec hook, deprecated since 1.35, was removed. |
| 5680 |
* Calling Message::toString() without a parameter, which triggered deprecation |
| 5681 |
warnings since 1.36, is no longer supported. You can instead use the explicit |
| 5682 |
formatting methods directly, such as Message::text() and Message::escaped(). |
| 5683 |
* Article::getContentObject(), deprecated since 1.32, was removed. |
| 5684 |
* Article::delete(), Article::confirmDelete() and ImagePage::delete() were |
| 5685 |
removed. The logic responsible for building the form is being |
| 5686 |
moved to DeleteAction, while the actual deletion logic will be moved to a |
| 5687 |
separate service. |
| 5688 |
* WikiImporter::debugRevisionHandler(), unused and for debug only, was removed. |
| 5689 |
* Content::preloadTransform() now emits deprecation warnings. Instead, please |
| 5690 |
use ContentTransformer::preloadTransform(). Extensions defining a content |
| 5691 |
model should override ContentHandler::preloadTransform(). |
| 5692 |
* Content::preSaveTransform() now emits deprecation warnings. Instead, please |
| 5693 |
use ContentTransformer::preSaveTransform() instead. Extensions defining |
| 5694 |
a content model should override ContentHandler::preSaveTransform(). |
| 5695 |
* Constructing WikiPage objects from Title instances that cannot exist, emitting |
| 5696 |
deprecation warnings since 1.36, now throws an exception. Additionally, |
| 5697 |
WikiPage now implements ProperPageIdentity, rather than just PageIdentity. |
| 5698 |
* The Skin::bottomScripts() method is deprecated. Please instead use |
| 5699 |
OutputPage::getBottomScripts(). |
| 5700 |
* LinksUpdate::getTriggeringUser() now returns ?UserIdentity instead of ?User. |
| 5701 |
* The LESS mixin `.box-shadow()` (from mediawiki.mixins.less), deprecated since |
| 5702 |
1.36, was removed. Use CSS property `box-shadow` unprefixed for all basic |
| 5703 |
supported browsers instead. |
| 5704 |
* The LESS mixin `.flex()` now no longer tries to support the 2009 version of |
| 5705 |
the Flexbox specification; support for the 2012 and modern standard versions |
| 5706 |
remains unchanged. |
| 5707 |
* The StorageAwareness::ATTR_SYNCWRITES, StorageAwareness::QOS_SYNCWRITES_*, |
| 5708 |
StorageAwareness::ATTR_LOCALITY, and StorageAwareness::QOS_LOCALITY_* |
| 5709 |
constants were removed. |
| 5710 |
|
| 5711 |
=== Deprecations in 1.37 === |
| 5712 |
* JobQueue::getWiki(), deprecated in 1.33, now emits deprecation warnings. |
| 5713 |
* AbstractBlock::getTargetAndType() and ::getTarget() now emit deprecation |
| 5714 |
warnings. Use ::getTargetName() and ::getTargetUserIdentity() together with |
| 5715 |
::getType(). |
| 5716 |
* Passing a UserIdentity to WatchlistManager::clearAllUserNotifications() and |
| 5717 |
WatchlistManager::clearTitleUserNotifications() is now deprecated. Pass an |
| 5718 |
Authority instead. |
| 5719 |
* Passing LinkTarget to WatchlistManager::clearTitleUserNotifications() and |
| 5720 |
WatchlistManager::getTitleNotificationTimestamp(). Pass PageIdentity instead. |
| 5721 |
* The User class methods ::isWatched(), ::isTempWatched(), ::removeWatch(), and |
| 5722 |
::addWatch() have been deprecated. Use corresponding methods in |
| 5723 |
WatchlistManager instead. |
| 5724 |
* Multiple WatchAction methods have been deprecated in lieu of WatchlistManager: |
| 5725 |
- ::doWatchOrUnwatch() use WatchlistManager::setWatch() |
| 5726 |
- ::doWatch() -> WatchlistManager::addWatch() |
| 5727 |
- ::doUnwatch() -> WatchlistManager::removeWatch() |
| 5728 |
* WatchAction::getWatchToken() now emits deprecation warnings. Instead use |
| 5729 |
CsrfTokenSet::getToken(). |
| 5730 |
* Action::getHookContainer() has been marked as internal. Actions that require |
| 5731 |
access to a hook container should have one injected instead. |
| 5732 |
* The ::getTitle() and ::setTitle() methods in Parser have been deprecated. |
| 5733 |
Use ::getPage() and ::setPage() instead. |
| 5734 |
* Title::isWatchable() has been deprecated. Use WatchlistManager::isWatchable() |
| 5735 |
instead. |
| 5736 |
* Methods and classes related to the primary database, previously referred to as |
| 5737 |
'master', have been deprecated, with the new ones replacing them as follows: |
| 5738 |
- The DBMasterPos and MySQLMasterPos classes have been respectively renamed to |
| 5739 |
DBPrimaryPos and MySQLPrimaryPos. |
| 5740 |
- LocalRepo::getMasterDB() -> ::getPrimaryDB() |
| 5741 |
- ForeignDBRepo::getMasterDB() -> ::getPrimaryDB() |
| 5742 |
- JobQueueDB::getMasterDB() -> ::getPrimaryDB() |
| 5743 |
- ForeignDBViaLBRepo::getMasterDB() -> ::getPrimaryDB() |
| 5744 |
- DBFileJournal::getMasterDB() -> ::getPrimaryDB() |
| 5745 |
- ILoadBalancer::getMasterPos() -> ::getPrimaryPos() |
| 5746 |
- IDatabase::getMasterPos() -> ::getPrimaryPos() |
| 5747 |
- ILoadBalancer::finalizeMasterChanges() -> ::finalizePrimaryChanges() |
| 5748 |
- ILoadBalancer::approveMasterChanges() -> ::approvePrimaryChanges() |
| 5749 |
- ILoadBalancer::beginMasterChanges() -> ::beginPrimaryChanges() |
| 5750 |
- ILBFactory::beginMasterChanges() -> ::beginPrimaryChanges() |
| 5751 |
- ILoadBalancer::commitMasterChanges() -> ::commitPrimaryChanges() |
| 5752 |
- ILBFactory::commitMasterChanges() -> ::commitPrimaryChanges() |
| 5753 |
- IDatabase::getTopologyRootMaster() -> ::getTopologyRootPrimary() |
| 5754 |
- IDatabase::masterPosWait() -> ::primaryPosWait() |
| 5755 |
- ILoadBalancer::runMasterTransactionIdleCallbacks() -> |
| 5756 |
::runPrimaryTransactionIdleCallbacks() |
| 5757 |
- ILoadBalancer::runMasterTransactionListenerCallbacks() -> |
| 5758 |
::runPrimaryTransactionListenerCallbacks() |
| 5759 |
- ILoadBalancer::rollbackMasterChanges() -> ::rollbackPrimaryChanges() |
| 5760 |
- ILBFactory::rollbackMasterChanges() -> ::rollbackPrimaryChanges() |
| 5761 |
- ILoadBalancer::flushMasterSnapshots() -> ::flushPrimarySnapshots() |
| 5762 |
- ILoadBalancer::hasMasterConnection() -> ::hasPrimaryConnection() |
| 5763 |
- ILoadBalancer::hasMasterChanges() -> ::hasPrimaryChanges() |
| 5764 |
- ILBFactory::hasMasterChanges() -> ::hasPrimaryChanges() |
| 5765 |
- ILoadBalancer::lastMasterChangeTimestamp() -> ::lastPrimaryChangeTimestamp() |
| 5766 |
- ILoadBalancer::hasOrMadeRecentMasterChanges() -> |
| 5767 |
::hasOrMadeRecentPrimaryChanges() |
| 5768 |
- ILBFactory::hasOrMadeRecentMasterChanges() -> |
| 5769 |
::hasOrMadeRecentPrimaryChanges() |
| 5770 |
- ILoadBalancer::pendingMasterChangeCallers() -> |
| 5771 |
::pendingPrimaryChangeCallers() |
| 5772 |
- ILoadBalancer::forEachOpenMasterConnection() -> |
| 5773 |
::forEachOpenPrimaryConnection() |
| 5774 |
- ILoadBalancer::waitForMasterPos() -> ::waitForPrimaryPos() |
| 5775 |
- Database::assertIsWritableMaster() -> ::assertIsWritablePrimary() |
| 5776 |
- RevDelList::reloadFromMaster() -> ::reloadFromPrimary() |
| 5777 |
- ExternalStoreDB::getMaster() -> ::getPrimary() |
| 5778 |
- DatabaseMysqlBase::getMasterServerInfo() -> ::getPrimaryServerInfo() |
| 5779 |
- MWExceptionHandler::rollbackMasterChangesAndLog() -> |
| 5780 |
::rollbackPrimaryChangesAndLog() |
| 5781 |
* wfGetLB(), deprecated since 1.27, now emits deprecation warnings. |
| 5782 |
* wfLocalFile(), deprecated since 1.34, now emits deprecation warnings. |
| 5783 |
* wfFindFile(), deprecated since 1.34, now emits deprecation warnings. |
| 5784 |
* wfIncrStats(), deprecated in 1.36, now emits deprecation warnings. |
| 5785 |
* wfCanIPUseHTTPS() is now deprecated, and always returns true. |
| 5786 |
* The UserLoadFromDatabase hook has been deprecated. It had no known uses. |
| 5787 |
* The following methods in ApiPageSet have been deprecated: |
| 5788 |
- ::getTitles(), use ::getTargets() instead. |
| 5789 |
- ::getGoodTitles(), use ::getGoodPages() instead. |
| 5790 |
- ::getMissingTitles(), use ::getMissingPages() instead. |
| 5791 |
- ::getGoodAndMissingTitles(), use ::getGoodAndMissingPages() instead. |
| 5792 |
- ::getRedirectTitles(), use ::getRedirectTargets() instead. |
| 5793 |
- ::getSpecialTitles(), use ::getSpecialPages() instead. |
| 5794 |
* The following methods from the User class, deprecated in 1.35, now each emit |
| 5795 |
deprecation warnings: |
| 5796 |
- ::getOptions() |
| 5797 |
- ::isIP() |
| 5798 |
- ::isUsableName() |
| 5799 |
- ::isCreatableName() |
| 5800 |
- ::getCanonicalName() |
| 5801 |
- ::addAutopromoteOnceGroups() |
| 5802 |
- ::getEffectiveGroups() |
| 5803 |
- ::getAutomaticGroups() |
| 5804 |
- ::getFormerGroups() |
| 5805 |
- ::getIntOption() |
| 5806 |
- ::getBoolOption() |
| 5807 |
* The following methods in User were deprecated: |
| 5808 |
- ::idFromName() - use UserIdentityLookup::getUserIdentityByName() instead. |
| 5809 |
- ::resetIdByNameCache() - in tests, reset service container. No replacement |
| 5810 |
needed in production code. |
| 5811 |
* Use of ActorMigration for any table except revision, deprecated in 1.34, now |
| 5812 |
emits deprecation warnings. Instead of getInsertValues(), use |
| 5813 |
ActorNormalization::acquireActorId(). Instead of getWhere() and getJoin(), |
| 5814 |
do your own join on the actor table. |
| 5815 |
* DatabasePostgres::remappedTableName() and its dependent constructor parameter |
| 5816 |
'keywordTableMap' are deprecated. Reserved identifiers that are used as table |
| 5817 |
names should be quoted where necessary. |
| 5818 |
* LinkCache::singleton(), deprecated since 1.28, now emits deprecation warnings. |
| 5819 |
* MessageCache::singleton(), deprecated since 1.34, now emits deprecation |
| 5820 |
warnings. |
| 5821 |
* LockManagerGroup::singleton() and ::destroySingletons(), deprecated since |
| 5822 |
1.34, now emit deprecation warnings. |
| 5823 |
* HtmlFileCacheUpdate::newFromTitles() is now deprecated and emitting warnings. |
| 5824 |
Use newFromPages() instead. |
| 5825 |
* SessionProvider ::setLogger(), ::setManager(), ::setConfig(), and |
| 5826 |
::setHookContainer() were deprecated. Use ::init() to inject dependencies, or |
| 5827 |
override ::postInitSetup() to do any custom post-initialization configuration. |
| 5828 |
* AbstractAuthenticationProvider ::setLogger(), ::setManager(), ::setConfig(), |
| 5829 |
and ::setHookContainer() now emit deprecation warnings. Use ::init() to inject |
| 5830 |
dependencies, or override ::postInitSetup() to do any custom post- |
| 5831 |
initialization configuration. |
| 5832 |
* User::isLoggedIn(), deprecated since 1.36, now emits deprecation warnings. Use |
| 5833 |
the method it wraps, User::isRegistered(), instead. |
| 5834 |
* FileBackendGroup::singleton() and ::destroySingletons(), deprecated since |
| 5835 |
1.35, now emit deprecation warnings. |
| 5836 |
* The first parameter of User::getBlock() should now be an integer using the |
| 5837 |
Authority::FOR_XXX constants. Providing a boolean is deprecated. |
| 5838 |
* ApiBase::addBlockInfoToStatus() is deprecated for use by extensions. It is now |
| 5839 |
marked as @internal and may be deleted in the future. |
| 5840 |
It should not be necessary to call this method, Authority should be providing |
| 5841 |
all relevant information via a PermissionStatus object. |
| 5842 |
* JobQueueGroup::singleton() was deprecated - use |
| 5843 |
MediaWikiServices::getJobQueueGroup() instead. |
| 5844 |
* JobQueueGroup::destroySingletons() was deprecated. JobQueueGroups are now |
| 5845 |
automatically destroyed after tests. |
| 5846 |
* LinkCache::addGoodLinkObj() has been deprecated, since it is prone to |
| 5847 |
corrupting the cache with invalid information. Use addGoodLinkObjFromRow() |
| 5848 |
instead. PHPUnit tests must use LinkCacheTestTrait::addGoodLinkObject(). |
| 5849 |
* ContentHandler::getContentText() is now deprecated. Use Content::getText() |
| 5850 |
instead. |
| 5851 |
* LinkCache::addLinkObj() has been deprecated, use PageStore::getPageForLink() |
| 5852 |
instead. |
| 5853 |
* MediaWiki\User\UserNamePrefixSearch::search() previously accepted as its first |
| 5854 |
parameter either the string 'public' or a UserIdentity object, to filter |
| 5855 |
results for. It now expects an Authority object instead of UserIdentity, and |
| 5856 |
providing just a UserIdentity will now trigger a deprecation warning. |
| 5857 |
* User::getRights(), deprecated since 1.34, now emits deprecation warnings. |
| 5858 |
* User::changeableGroups() and ::changeableByGroup() now emit deprecation |
| 5859 |
warnings, use corresponding methods in UserGroupManager instead. |
| 5860 |
* User::incEditCount() was deprecated in favor of the new method |
| 5861 |
UserEditTracker::incrementUserEditCount(). |
| 5862 |
* RepoGroup::singleton(), ::destroySingleton() and ::setSingleton(), deprecated |
| 5863 |
since 1.34, now emit deprecation warnings. |
| 5864 |
* RecentChange::getPerformer(), deprecated since 1.36, now emits deprecation |
| 5865 |
warnings. Use ::getPerformerIdentity() instead. |
| 5866 |
* ContentHandler::cleanupHandlersCache(), deprecated since 1.35, now emits |
| 5867 |
deprecation warnings. |
| 5868 |
* Category::getTitle() was deprecated in favor of Category::getPage() |
| 5869 |
* File::getUser() method now emits deprecation warnings, along with its over- |
| 5870 |
rides in LocalFile and ForeignApiFile in favor of ::getUploader(). |
| 5871 |
* SpecialBlock::checkUnblockSelf(), deprecated in 1.36, now emits deprecation |
| 5872 |
warnings. |
| 5873 |
* (T284179) The mediawiki.viewport ResourceLoader module is deprecated. You can |
| 5874 |
now just use MutationObserver or InterSectionObserver directly, which are |
| 5875 |
widely available in all supported JavaScript browsers. |
| 5876 |
* The following constructor options of DatabaseBlock class will now trigger |
| 5877 |
deprecation warnings: |
| 5878 |
- the 'byText' property with blocker's name, |
| 5879 |
- the 'by' property with blocker's ID, |
| 5880 |
For both of these, use the 'by' property with UserIdentity value instead. |
| 5881 |
* The BeforeResetNotificationTimestamp hook was deprecated. |
| 5882 |
* ArchivedFile::getUser() ::getRawUser() ::getRawUserText() were deprecated in |
| 5883 |
favor of ::getUploader.() ::getRawDescription() was deprecated in favor of |
| 5884 |
::getDescription() with RAW audience parameter. |
| 5885 |
* When calling LocalFile::newFromRow() or LocalFile::loadFromRow(), passing |
| 5886 |
extra fields not requested by ::getQueryInfo() will now trigger deprecation |
| 5887 |
warnings. This is to warn callers that deprefixing and automatic assignment of |
| 5888 |
such fields will not be done in a future version. |
| 5889 |
* JobSpecification::getTitle() was deprecated without providing a replacement. |
| 5890 |
It wasn't used and job given the purpose of JobSpecification class it is not |
| 5891 |
needed. |
| 5892 |
* The protected method File::getImageSize() is now deprecated. |
| 5893 |
* BacklinkCache::get() was deprecated, use |
| 5894 |
BacklinkCacheFactory::getBacklinkCache() instead. |
| 5895 |
* Title::getBacklinkCache() now emits deprecation warnings. Instead, use the |
| 5896 |
::getBacklinkCache() method in the BacklinkCacheFactory service. |
| 5897 |
* MediaHandler::getImageSize(), ::getMetadata(), and ::isMetadataValid() were |
| 5898 |
deprecated and should no longer be overridden. Instead, sub-classes should |
| 5899 |
override getSizeAndMetadata(). |
| 5900 |
* Deprecated File::getMetadata(). Instead use ::getMetadataArray(), |
| 5901 |
::getMetadataItem() and ::getMetadataItems(). |
| 5902 |
* Message::title() has been deprecated; use Message::page() instead. |
| 5903 |
* BaseTemplate::getAfterPortlet(), BaseTemplate::renderAfterPortlet(), and the |
| 5904 |
BaseTemplateAfterPortlet hook, which were deprecated in 1.35, |
| 5905 |
now emit deprecation warnings. |
| 5906 |
* The LocalFile::getHistory() hook is deprecated. |
| 5907 |
* Previously the Skin templateDirectory option inside skin.json had to be |
| 5908 |
relative to MediaWiki core. This should now be relative to the skin. |
| 5909 |
* Calling WikiPage::prepareContentForEdit() without a UserIdentity is now |
| 5910 |
deprecated. |
| 5911 |
* User::getEditTokenObject(), ::getEditToken(), and ::matchEditToken() were each |
| 5912 |
deprecated. Use CsrfTokenRepository, which is available via IContextSource, |
| 5913 |
instead. ::matchEditTokenNoSuffix() was deprecated without replacement. |
| 5914 |
It was introduced to be able to provide custom error message if the token |
| 5915 |
was submitted, but ending slashes were stripped by some ASCII mangling proxy. |
| 5916 |
Use ::matchToken() instead, such proxies are much less common now and there's |
| 5917 |
not much benefit in customising the error message. |
| 5918 |
* ContentHandler::getForTitle(), deprecated since 1.35, now emits deprecation |
| 5919 |
warnings. |
| 5920 |
* User::listOptionKinds(), deprecated since 1.35, now emits deprecation |
| 5921 |
warnings. |
| 5922 |
* WikiPage::doEditContent(), deprecated since 1.32, now emits deprecation |
| 5923 |
warnings. |
| 5924 |
* CentralIdLookup::factory() and ::factoryNonLocal() now emit deprecation |
| 5925 |
warnings; obtain an instance from MediaWikiServices instead. |
| 5926 |
* The class RandomPage was renamed to SpecialRandomPage. The class RandomPage |
| 5927 |
is now deprecated. |
| 5928 |
* BotPassword::invalidateAllPasswordsForCentralId() was deprecated. |
| 5929 |
* BotPassword::removeAllPasswordsForCentralId() was deprecated. |
| 5930 |
* The Title class members: $mTextform, $mUrlform, $mDbkeyform, $mNamespace, |
| 5931 |
$mInterwiki, and $mFragment have been deprecated to not be used directly. |
| 5932 |
Instead, their corresponding accessor methods should be used. |
| 5933 |
* IDatabase::fetchObject(), ::fetchRow(), ::numRows(), ::numFields(), |
| 5934 |
::fieldName(), ::freeResult() and ::dataSeek() are deprecated. Use the |
| 5935 |
corresponding methods in IResultWrapper instead. |
| 5936 |
* ResultWrapper::unwrap(), DatabaseMysqlBase::fieldType() and |
| 5937 |
DatabasePostgres::fieldType() each now emit deprecation warnings. |
| 5938 |
* Sub-classes implementing Database::doQuery() should return either boolean or |
| 5939 |
an IResultWrapper. To do otherwise will now trigger a deprecation warning. |
| 5940 |
* User::getOptionKinds() and ::resetOptions(), both deprecated since 1.35, |
| 5941 |
now emit deprecation warnings. |
| 5942 |
* The following methods in MWNamespace, all deprecated since 1.34, now emit |
| 5943 |
deprecation warnings: |
| 5944 |
- ::isMovable() |
| 5945 |
- ::isSubject() |
| 5946 |
- ::getTalk() |
| 5947 |
- ::getSubject() |
| 5948 |
- ::getAssociated() |
| 5949 |
- ::equals() |
| 5950 |
- ::subjectEquals() |
| 5951 |
- ::hasTalkNamespace() |
| 5952 |
- ::wantSignatures() |
| 5953 |
- ::isWatchable() |
| 5954 |
- ::getSubjectNamespaces() |
| 5955 |
- ::getTalkNamespaces() |
| 5956 |
- ::isCapitalized() |
| 5957 |
- ::hasGenderDistinction() |
| 5958 |
- ::isNonincludable() |
| 5959 |
- ::getNamespaceContentModel() |
| 5960 |
- ::getRestrictionLevels() |
| 5961 |
- ::getCategoryLinkType() |
| 5962 |
* LogFormatter::styleRestricedElement() has been deprecated in favor of |
| 5963 |
LogFormatter::styleRestrictedElement() |
| 5964 |
* The following hooks related to user preferences were deprecated: |
| 5965 |
- UserLoadOptions: use LoadUserOptions instead. |
| 5966 |
- UserSaveOptions: use SaveUserOptions instead. |
| 5967 |
- UserResetAllOptions: no replacement was provided, the hook is not used. |
| 5968 |
* Title::isNamespaceProtected(), deprecated in 1.34, now emits deprecation |
| 5969 |
warnings. |
| 5970 |
* UserSelectQueryBuilder::userIds(), ::userNames(), and ::userNamePrefix() has |
| 5971 |
been deprecated in favor of ::whereUserIds(), ::whereUserNames(), and |
| 5972 |
::whereUserNamePrefix(). |
| 5973 |
* Manually constructing a MovePage object, deprecated in 1.34, now emits |
| 5974 |
deprecation warnings. Use MovePageFactory instead. |
| 5975 |
* The following deletion-related methods were deprecated: |
| 5976 |
- WikiPage::doDeleteArticleReal() (soft) - use DeletePage |
| 5977 |
- WikiPage::doDeleteArticleBatched() (soft) - no replacement |
| 5978 |
- WikiPage::isBatchedDelete() (soft) - use DeletePage |
| 5979 |
- WikiPage::doDeleteUpdates() (hard) - no replacement |
| 5980 |
- WikiPage::getDeletionUpdates() (hard) - no replacement |
| 5981 |
- Title::isBigDeletion (soft) - no replacement |
| 5982 |
* Relying on PermissionManager or Authority to check for big deletions |
| 5983 |
was deprecated. This is now automatically checked if you use |
| 5984 |
DeletePage::deleteIfAllowed(). (T288759) |
| 5985 |
* The userCan hook now emits deprecation warnings. Use the |
| 5986 |
getUserPermissionsErrors or getUserPermissionsErrorsExpensive hooks instead. |
| 5987 |
* Parser::$mUser public access, and the methods ParserOptions::getUser() and |
| 5988 |
Parser::getUser() each now emit deprecation warnings. |
| 5989 |
* The following methods in the Title class have been deprecated in favor of the |
| 5990 |
corresponding methods in the new RestrictionStore service (with different |
| 5991 |
names where indicated): |
| 5992 |
- ::areCascadeProtectionSourcesLoaded() |
| 5993 |
- ::areRestrictionsCascading() |
| 5994 |
- ::areRestrictionsLoaded() |
| 5995 |
- ::getAllRestrictions() |
| 5996 |
- ::getCascadeProtectionSources() |
| 5997 |
- ::getFilteredRestrictionTypes() |
| 5998 |
-> ::listAllRestrictionTypes() |
| 5999 |
- ::getRestrictionExpiry() |
| 6000 |
- ::getRestrictionTypes() |
| 6001 |
-> ::listApplicableRestrictionTypes() |
| 6002 |
- ::getRestrictions() |
| 6003 |
- ::isCascadeProtected() |
| 6004 |
- ::isProtected() |
| 6005 |
- ::isSemiProtected() |
| 6006 |
- ::loadRestrictionsFromRows() |
| 6007 |
* The following Title methods have been deprecated with no direct public |
| 6008 |
replacement: |
| 6009 |
- ::deleteTitleProtection() |
| 6010 |
- ::getTitleProtection() |
| 6011 |
- ::flushRestrictions() |
| 6012 |
- ::loadRestrictions() |
| 6013 |
* User::isAllowUsertalk() now emits deprecation warnings. Use User::getBlock() |
| 6014 |
and AbstractBlock::isUsertalkEditAllowed() instead. |
| 6015 |
* Classes used by Preprocessor_DOM have been merged with classes used by |
| 6016 |
Preprocessor_Hash, as Preprocessor_DOM was removed in 1.35. |
| 6017 |
- PPDPart has been merged into PPDPart_Hash |
| 6018 |
- PPDStack has been merged into PPDStack_Hash |
| 6019 |
- PPDStackElement has been merged into PPDStackElement_Hash |
| 6020 |
* By default, the global variable $wgUser is now an instance of the new class |
| 6021 |
StubGlobalUser rather than User, and the first time it is used it will emit |
| 6022 |
deprecation warnings (the $wgUser variable was deprecated in 1.35). For |
| 6023 |
extensions that read from this variable, please use a relevant ContextSource |
| 6024 |
instead, falling back to RequestContext::getMain() if none is available. |
| 6025 |
* Collation::singleton() and ::factory() were deprecated; obtain an instance of |
| 6026 |
the CollationFactory from MediaWikiServices instead. |
| 6027 |
* Title::getDefaultNamespace() has been deprecated to be removed because there |
| 6028 |
are no known callers/consumers. |
| 6029 |
* With removal of the stub threshold feature, the following methods now emit |
| 6030 |
deprecation warnings: |
| 6031 |
- LinkRenderer::setStubThreshold() and ::getStubThreshold() - no replacement. |
| 6032 |
- LinkRendererFactory::createForUser() - calling ::create() is now sufficient |
| 6033 |
- ParserOptions::setStubThreshold() and ::getStubThreshold() - no replacement. |
| 6034 |
- User::getStubThreshold() - no replacement. |
| 6035 |
* The ArticleDelete and ArticleDeleteComplete hooks were deprecated. Use |
| 6036 |
PageDelete and PageDeleteComplete instead. |
| 6037 |
* The ArticleUndeleteLogEntry hook was deprecated without replacement. |
| 6038 |
* The following LESS mediawiki.mixins have been deprecated: |
| 6039 |
- .box-sizing() |
| 6040 |
- .transform() |
| 6041 |
- .transform-origin() |
| 6042 |
- .transition() |
| 6043 |
- .transition-transform() |
| 6044 |
* The `UndeleteForm::undelete` hook was deprecated. A new hook was |
| 6045 |
introduced, `PageUndelete`, that provides handlers with more information and |
| 6046 |
is also called for non-UI requests. The capability of replacing the |
| 6047 |
PageArchive object has been removed, as that violates the laws of nature. |
| 6048 |
|
| 6049 |
=== Other changes in 1.37 === |
| 6050 |
* WatchlistManager::addWatch() and WatchlistManager::addWatchIgnoringRights(), |
| 6051 |
which replace User::addWatch(), now call the WatchArticle and |
| 6052 |
WatchArticleComplete hooks. |
| 6053 |
* WatchlistManager::removeWatch() and |
| 6054 |
WatchlistManager::removeWatchIgnoringRights(), which replace |
| 6055 |
User::removeWatch(), now call the UnwatchArticle and UnwatchArticleComplete |
| 6056 |
hooks. |
| 6057 |
* The overridable postInitSetup() method was added to the |
| 6058 |
AbstractAuthenticationProvider class. A provider can override postInitSetup() |
| 6059 |
to do any custom post-initialization configuration. |
| 6060 |
* The overridable postInitSetup() method was added to the SessionProvider |
| 6061 |
class. A provider can override postInitSetup() to do any custom |
| 6062 |
post-initialization configuration. |
| 6063 |
* The protected getConfig() method was added to the SessionProvider class. |
| 6064 |
Use SessionProvider::getConfig() to get a config. |
| 6065 |
* The DBAccessBase class is deprecated. Classes that used to extend it |
| 6066 |
should get a load balancer (factory) injected in the constructor instead. |
| 6067 |
* ActorNormalization::acquireActorId() now requires IDatabase parameter. |
| 6068 |
Not providing one emitted deprecation warnings since 1.36. |
| 6069 |
* Anti-lock constants ALF_PRELOAD_LINK, ALF_NO_BLOCK_LOCK, ALF_NO_LINK_LOCK |
| 6070 |
and ALF_PRELOAD_EXISTENCE have been removed. They're unused since 1.25. |
| 6071 |
* (T278036) CSS class 'mw-htmlform-field-autoinfuse' used by some forms has been |
| 6072 |
renamed to 'mw-htmlform-autoinfuse'. |
| 6073 |
* User::newFromRow() does not accept pre-loaded user preferences under |
| 6074 |
$data['user_properties'] anymore. This optimization was not used. |
| 6075 |
* The following files change the letter case of the file names: |
| 6076 |
- SpecialRandompage.php -> SpecialRandomPage.php |
| 6077 |
- SpecialRandomredirect.php -> SpecialRandomRedirect.php |
| 6078 |
- SpecialRandomrootpage.php -> SpecialRandomRootPage.php |
| 6079 |
* Media files which are uploaded server side using the importImages.php |
| 6080 |
maintenance script will now have the "mw-server-side-upload" change tag. |
| 6081 |
* (T284917) The stub threshold feature has been removed. |
| 6082 |
* Skin::getPoweredBy() and Skin::getCopyrightIcon() have been deprecated as they |
| 6083 |
are only designed for use by skins extended BaseTemplate. You can move calls |
| 6084 |
to instead use BaseTemplate::getPoweredByHTML() and ::getCopyrightIconHTML() |
| 6085 |
respectively. |
| 6086 |
* The SkinGetPoweredBy hook is deprecated. No replacement is provided. |
| 6087 |
* HTMLTitleTextField didn't support interwiki titles well previously. |
| 6088 |
Starting with 1.37, HTMLTitleTextField has a new parameter, 'interwiki', |
| 6089 |
which can be used to control acceptance of interwiki titles. To provide |
| 6090 |
a transitional period, the default value ('interwiki' => null) ensures |
| 6091 |
MW will have the same behavior as before (logging a deprecation warning). |
| 6092 |
In 1.38, the default behavior will change to "interwiki links aren't allowed". |
| 6093 |
|
| 6094 |
== Compatibility == |
| 6095 |
|
| 6096 |
MediaWiki 1.37 requires PHP 7.3.19 or later, or PHP 7.4.3 or later, and the |
| 6097 |
following PHP extensions: |
| 6098 |
|
| 6099 |
* ctype |
| 6100 |
* dom |
| 6101 |
* fileinfo |
| 6102 |
* iconv |
| 6103 |
* intl |
| 6104 |
* json |
| 6105 |
* mbstring |
| 6106 |
* xml |
| 6107 |
|
| 6108 |
Support for PHP 8.0 is not yet complete. |
| 6109 |
|
| 6110 |
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, |
| 6111 |
but support for them is somewhat less mature. |
| 6112 |
|
| 6113 |
The supported versions are: |
| 6114 |
|
| 6115 |
* MySQL 5.5.8 or later |
| 6116 |
* PostgreSQL 9.4 or later |
| 6117 |
* SQLite 3.8.0 or later |
| 6118 |
|
| 6119 |
== Online documentation == |
| 6120 |
Documentation for both end-users and site administrators is available on |
| 6121 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 6122 |
for pages that explicitly state that their contents are in the public domain): |
| 6123 |
|
| 6124 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 6125 |
|
| 6126 |
== Mailing list == |
| 6127 |
A mailing list is available for MediaWiki user support and discussion: |
| 6128 |
|
| 6129 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 6130 |
|
| 6131 |
A low-traffic announcements-only list is also available: |
| 6132 |
|
| 6133 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 6134 |
|
| 6135 |
It's highly recommended that you sign up for one of these lists if you're |
| 6136 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 6137 |
|
| 6138 |
== IRC help == |
| 6139 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 6140 |
|
| 6141 |
= MediaWiki 1.36 = |
| 6142 |
|
| 6143 |
== MediaWiki 1.36.4 == |
| 6144 |
|
| 6145 |
This is a security and maintenance release of the MediaWiki 1.36 branch. |
| 6146 |
|
| 6147 |
=== Changes since MediaWiki 1.36.3 === |
| 6148 |
* (T298261) Fix support for Composer 2.2. |
| 6149 |
* (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins. |
| 6150 |
* Update doctrine/dbal (3.0.0 => 3.1.5). |
| 6151 |
* (T296898) Add entry point name to disabled Session exception if possible. |
| 6152 |
* (T298564) MemcachedClient: Add support for IPv6. |
| 6153 |
* (T297543, CVE-2022-28202) SECURITY: properly escape output used within |
| 6154 |
galleries and Special:RevisionDelete. |
| 6155 |
* (T268847) Suppress deprecation warnings from libxml_disable_entity_loader(). |
| 6156 |
* (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest. |
| 6157 |
* Fix the json schema and the extension processor for Parsoid extension modules. |
| 6158 |
* (T299696) update.php: Avoid passing null to substr. |
| 6159 |
* In PHP 8.1 don't throw exceptions from mysqli. |
| 6160 |
* (T289926) SiteConfiguration: Don't pass null to str_replace(). |
| 6161 |
* (T264735) Fix deprecation warning from CURLPIPE_HTTP1. |
| 6162 |
* (T260735) Stop using is_resource() where possible. |
| 6163 |
* (T289879) Apply ReturnTypeWillChange to various implementations of built in |
| 6164 |
interfaces. |
| 6165 |
* (T299312) Implement __serialize/__unserialize for PHP 8.1 support. |
| 6166 |
* ExtensionRegistry: Add process cache for lazy attributes. |
| 6167 |
* (T301041) ApiPageSet: Add "missing": true to missing revisions. |
| 6168 |
* Allow ParsoidModules extension schema to register services. |
| 6169 |
* (T297708) Allow setting max execution time to several special pages. |
| 6170 |
* (T302540) composer.json: Add ext-calendar to require. |
| 6171 |
* (T302540) composer.json: Add ext-simplexml to require-dev. |
| 6172 |
* (T302540) composer.json: Add various PHP extensions to suggests. |
| 6173 |
* Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0). |
| 6174 |
* (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning. |
| 6175 |
* (T293576) listFiles: Display file name instead of version. |
| 6176 |
* (T303871) Fix @since of Title::getId(). |
| 6177 |
* (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value. |
| 6178 |
* wrapOldPasswords: add \n to two output calls. |
| 6179 |
* (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion |
| 6180 |
loop if it points to a local interwiki. |
| 6181 |
* (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file |
| 6182 |
uploads with actor as a condition can result in a DoS. |
| 6183 |
|
| 6184 |
== MediaWiki 1.36.3 == |
| 6185 |
|
| 6186 |
This is a security and maintenance release of the MediaWiki 1.36 branch. |
| 6187 |
|
| 6188 |
=== Changes since MediaWiki 1.36.2 === |
| 6189 |
* (T280363) mediawiki.page.ready: Introduce wikipage.indicators hook. |
| 6190 |
* (T290697) Add symfony/polyfill-php80. |
| 6191 |
* IcuCollation: Add some more icu to unicode version mappings. |
| 6192 |
* ApiBase: Annotate deprecated constants individually. |
| 6193 |
* PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy. |
| 6194 |
* (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater. |
| 6195 |
* (T291127) Always encode spaces in cookie values as "%20". |
| 6196 |
* Use LocalFile::getHookRunner instead of LocalFile::hookRunner. |
| 6197 |
* (T293564) mediawiki.page.ready: Fire hook 'wikipage.indicators' with |
| 6198 |
children. |
| 6199 |
* HistoryBlobStub: add getLocation() to get $mOldId. |
| 6200 |
* Fix checkStorage.php. |
| 6201 |
* checkStorage: pass no parameters to WikiRevision::getContent(). |
| 6202 |
* (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion |
| 6203 |
results. |
| 6204 |
* (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode". |
| 6205 |
* (T294796) JobQueueRedis: Replace deprecated zSize with zCard. |
| 6206 |
* (T278037) NoLocalSettings: Pass an EmptyBagOStuff to TemplateParser. |
| 6207 |
* (T212428, T267468) Allow populateContentTables to continue when there are |
| 6208 |
bad blobs. |
| 6209 |
* (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is |
| 6210 |
set. |
| 6211 |
* Update pear/mail_mime to 1.10.11. |
| 6212 |
* Update deprecated Guzzle Psr7 function calls. |
| 6213 |
* (T281972) Follow-Up: I10fbd4b6a: Update @since tags as those were backported. |
| 6214 |
* Tweak error message for missing composer dependencies. |
| 6215 |
* (T296112) Allow inserting new sections named '0'. |
| 6216 |
* nukeNS: don't run purgeRedundantText() after every change. |
| 6217 |
* (T286779, T297031) installer: Fix Postgres mistakes in using changeField |
| 6218 |
method. |
| 6219 |
* (T225888) RollbackAction: fix missing pagetitle. |
| 6220 |
* (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in |
| 6221 |
undo actions. |
| 6222 |
* (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback. |
| 6223 |
* (T34716, T297416) SECURITY: Require 'read' right for most actions. |
| 6224 |
* (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook |
| 6225 |
when changing content model. |
| 6226 |
|
| 6227 |
== MediaWiki 1.36.2 == |
| 6228 |
|
| 6229 |
This is a security and maintenance release of the MediaWiki 1.36 branch. |
| 6230 |
|
| 6231 |
=== Changes since MediaWiki 1.36.1 === |
| 6232 |
* Don't access MWServices prematurely in Maintenence.php. |
| 6233 |
* (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode. |
| 6234 |
* Installer: Fix foundation.wikimedia.org link in config-pingback-help. |
| 6235 |
* (T283273) Make postgres IRC channel point to libera.chat. |
| 6236 |
* composer.json: Promote and pin monolog/monolog to require from require-dev. |
| 6237 |
* (T287526) JavaScriptMinifer: Recognize `...` as a single token. |
| 6238 |
* (T287526) Update wikimedia/minify to 2.2.4. |
| 6239 |
* (T289108) ExtensionProcessor: Remove loaderScripts from extension.json |
| 6240 |
schemas. |
| 6241 |
* (T281549) Installer: Fix mediawiki-announce auto subscription code. |
| 6242 |
* FormatJson: Optimize encode() for supported PHP versions. |
| 6243 |
* (T290398) renameRestrictions.php: Update protected_titles as well. |
| 6244 |
* (T290489) objectcache: Fix PHP warning for ReplicatedBagOStuff::setMulti. |
| 6245 |
* $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329 |
| 6246 |
form of JavaScript, 'application/javascript', as well as previous MIME types. |
| 6247 |
* (T51097, T290273) resourceloader: Call getStyleFiles from |
| 6248 |
FileModule::getFileHashes. |
| 6249 |
* (T277788) parser: Avoid calling ParserOptions::getOption() too many times. |
| 6250 |
* (T291244) Unserialize objects in ParserCache->mExtensionData as objects. |
| 6251 |
* MysqlUpdater: Add updatelog entries for dropDefault. |
| 6252 |
* (T290776) Fix $phase check in OutputHandler. |
| 6253 |
* The wikimedia/parsoid library has been upgraded from v0.13.0 to v0.13.1. |
| 6254 |
* (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search. |
| 6255 |
* (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full |
| 6256 |
table scan. |
| 6257 |
* (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of |
| 6258 |
Special:Contributions. |
| 6259 |
|
| 6260 |
== MediaWiki 1.36.1 == |
| 6261 |
|
| 6262 |
This is a security and maintenance release of the MediaWiki 1.36 branch. |
| 6263 |
|
| 6264 |
=== Changes since MediaWiki 1.36.0 === |
| 6265 |
* (T283942) DatabaseInstaller.php: Only run core schema file if specified table |
| 6266 |
doesn't already exist. |
| 6267 |
* (T247223) Optimise MessageCache::isMainCacheable() for the single-message |
| 6268 |
case. |
| 6269 |
* (T283244) JavaScriptMinifer: Fix handling of "delete" as object property. |
| 6270 |
* (T284391) Fix SkinModule to correctly prepend remote path on document root |
| 6271 |
installs. |
| 6272 |
* (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors. |
| 6273 |
* (T278579) Don't send headers on ob_end_clean(). |
| 6274 |
* (T285287) MultiHttpClient: Replace PHP version check with defined(). |
| 6275 |
* (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging pages. |
| 6276 |
|
| 6277 |
== MediaWiki 1.36.0 == |
| 6278 |
|
| 6279 |
=== Changes since MediaWiki 1.36.0-rc.0 === |
| 6280 |
* (T248481) rdbms: Use server time in |
| 6281 |
DatabaseMysqlBase::getLagFromPtHeartbeat(). |
| 6282 |
* (T281549) WebInstaller: Don't show the announce-l subscribe checkbox for now. |
| 6283 |
* (T264214) Follow-ups for UserGroupManager. |
| 6284 |
* (T282280) resourceloader: Fix path-only URLs in wiki modules when script path |
| 6285 |
is docroot. |
| 6286 |
* (T281972) UserIdentityValue: Introduce convenience static factory methods. |
| 6287 |
* (T230428) Make page_is_redirect and page_is_new unsigned. |
| 6288 |
* (T280292) Legacy feature should not load thumbnail style rules (only layout). |
| 6289 |
* (T283247) Freenode -> Libera per wikimedia moving from freenode to libera. |
| 6290 |
* (T280270) composer: Lock Parsoid version to specific 0.13.0 release. |
| 6291 |
* (T142663) Add extension.json merge strategy "provide_default". |
| 6292 |
* (T283540) HookContainer: Fix normalization of callback for static handler. |
| 6293 |
* (T283464) registration: Fix array order for array_replace_recursive merge |
| 6294 |
strategy. |
| 6295 |
* (T283539) Interwiki: Fix calling "onInterwikiLoadPrefix" hook. |
| 6296 |
* (T282594) Timeless: Re-branch to 40eb3dad1for REL1_36. |
| 6297 |
|
| 6298 |
== MediaWiki 1.36.0-rc.0 == |
| 6299 |
|
| 6300 |
== Upgrading notes for 1.36 == |
| 6301 |
Don't forget to always back up your database before upgrading! |
| 6302 |
|
| 6303 |
See the file UPGRADE for more detailed per-version upgrade instructions from the |
| 6304 |
oldest supported upgrading version, MediaWiki 1.27. |
| 6305 |
|
| 6306 |
Some specific notes for MediaWiki 1.36 upgrades are below: |
| 6307 |
* MediaWiki 1.36 now requires the PHP internationalization extension (commonly |
| 6308 |
referred to as Intl, ext-intl, or php-intl). |
| 6309 |
* The MediaWiki:Autoblock_whitelist block exemption control has been moved to |
| 6310 |
MediaWiki:Block-autoblock-exemptionlist. If you use this feature, please move |
| 6311 |
the MediaWiki:Autoblock_whitelist page. |
| 6312 |
* (T275334) $wgExtensionFunctions is sometimes used to change configuration |
| 6313 |
settings. This is not safe; extension functions are run relatively late, some |
| 6314 |
services are already initialized by that point and so they use the old |
| 6315 |
configuration. Changes in 1.36 make this kind of breakage even more common. |
| 6316 |
You can use the MediaWikiServices hook instead. (In the future there might be |
| 6317 |
a dedicated hook for configuration changes.) |
| 6318 |
|
| 6319 |
For notes on 1.35.x and older releases, see HISTORY. |
| 6320 |
|
| 6321 |
=== Configuration changes for system administrators in 1.36 === |
| 6322 |
The MediaWiki update script, maintenance/update.php, used to accept `--nopurge` |
| 6323 |
as an option to prevent clearing caches stored in the database during upgrade. |
| 6324 |
This is no longer encouraged, and the option has been removed. |
| 6325 |
|
| 6326 |
==== New configuration ==== |
| 6327 |
* (T256001) $wgManualRevertSearchRadius – This setting controls a new feature |
| 6328 |
that marks edits as reverts if they restore the page to an exact previous |
| 6329 |
state. This configuration variable sets the maximum number of revisions of a |
| 6330 |
page that will be checked against every new edit. Set this to 0 to disable the |
| 6331 |
feature entirely. |
| 6332 |
* (T244058) $wgOldRevisionParserCacheExpireTime — This setting was added to |
| 6333 |
control caching of ParserOutput for old (non-current) revisions. |
| 6334 |
* (T265263) $wgRememberMe - This setting configures the "remember me" checkbox |
| 6335 |
on account log-in systems via RememberMeAuthenticationRequest. |
| 6336 |
* (T157145) $wgSkinMetaTags – This setting lets sysadmins configure skins that |
| 6337 |
support meta tags. These tags make sharing of MediaWiki pages on a variety of |
| 6338 |
social platforms more contentful and thus useful. |
| 6339 |
* (T280944) $wgIncludejQueryMigrate - This setting lets sysadmins disable the |
| 6340 |
jQuery Migrate plugin. It has been enabled by default since MediaWiki 1.27. |
| 6341 |
In future releases it will be disabled by default. |
| 6342 |
|
| 6343 |
==== Changed configuration ==== |
| 6344 |
* $wgLogos – This setting selects the logo shown on the site. The default value |
| 6345 |
for the site logo, which is shown in an install if you have not set one, will |
| 6346 |
now be the new logo of MediaWiki. |
| 6347 |
* (T274695) $wgAjaxEditStash — This setting, to disable the edit stashing |
| 6348 |
feature when users start writing an edit summary, has been deprecated. In |
| 6349 |
future releases, this feature will always be enabled. |
| 6350 |
* $wgUploadStashScalerBaseUrl – This setting, to enable remote on-demand media |
| 6351 |
scaling, was deprecated. Use the `thumbProxyUrl` setting in $wgLocalFileRepo |
| 6352 |
instead. |
| 6353 |
* $wgSlaveLagWarning and $wgSlaveLagCritical – These settings have been renamed, |
| 6354 |
to $wgDatabaseReplicaLagWarning & $wgDatabaseReplicaLagCritical respectively. |
| 6355 |
The former configuration variable names are deprecated, but will be used as |
| 6356 |
the fall back if they are still set, and remain temporarily available for |
| 6357 |
extensions which try to read them. |
| 6358 |
* $wgWANObjectCaches - The "coalesceKeys" option was removed without deprecation |
| 6359 |
and replaced by a new "coalesceScheme" option, set to "hash_stop" by default. |
| 6360 |
If you use Dynomite, then set the new "coalesceKeys" option to "hash_tag". The |
| 6361 |
"cluster" and "mcrouterAware" options were also removed without deprecation. |
| 6362 |
Use "broadcastRoutingPrefix" instead. |
| 6363 |
|
| 6364 |
==== Removed configuration ==== |
| 6365 |
* $wgUseTwoButtonsSearchForm — This setting, deprecated in 1.35, has been |
| 6366 |
removed. |
| 6367 |
* $wgAllowImageMoving — This setting, deprecated in 1.35, has been removed. Use |
| 6368 |
group permission settings instead. For example, to prevent sysops from |
| 6369 |
moving files, set `$wgGroupPermissions['sysop']['movefile'] = false;` |
| 6370 |
* $wgExtNewTables, $wgExtNewFields, $wgExtNewIndexes, $wgExtPGNewFields, |
| 6371 |
$wgExtPGAlteredFields, $wgExtModifiedFields — These settings were removed. |
| 6372 |
They became obsolete after 1.17 overhauled the database updater, but were kept |
| 6373 |
for backwards compatibility. The LoadExtensionSchemaUpdates hook should be |
| 6374 |
used instead. |
| 6375 |
* $wgParserConf - This setting, deprecated in 1.35, has been removed. The last |
| 6376 |
use of this setting was for pre-processor configuration, which was deprecated |
| 6377 |
in 1.34 and removed in 1.35. |
| 6378 |
* $wgEnableRestAPI - This setting, ignored since 1.35, has been removed. |
| 6379 |
* $wgPagePropsHaveSortkey – This temporary setting has been removed, along with |
| 6380 |
the schema change upgrade path it controlled. If your site is still using it, |
| 6381 |
meaning you have not yet applied the `pp_sortkey` schema change from 1.24, you |
| 6382 |
must now apply it before upgrading. |
| 6383 |
* The deprecated password policies PasswordCannotMatchBlacklist and |
| 6384 |
PasswordNotInLargeBlacklist were removed. Please use |
| 6385 |
PasswordCannotMatchDefaults and PasswordNotInCommonList respectively instead. |
| 6386 |
|
| 6387 |
=== New user-facing features in 1.36 === |
| 6388 |
* The logo of MediaWiki has changed. This means that the "Powered By MediaWiki" |
| 6389 |
button shown in the skin footer will be different. |
| 6390 |
* All HTML5 named entities are now accepted in wikitext. |
| 6391 |
* (T106263) The file description page's alternate sizes now include 2048px. |
| 6392 |
|
| 6393 |
=== New developer features in 1.36 === |
| 6394 |
* Parser test files can now declare a dependency on a specific extension being |
| 6395 |
loaded, not just on the presence of a certain extension tag hook. This is a |
| 6396 |
better fit for extensions like TimedMediaHandler, which affect the output but |
| 6397 |
don't register parser hooks. Use `extension:Foo` in the `!! hooks` section of |
| 6398 |
your parser test file to declare a dependency on the `Foo` extension being |
| 6399 |
loaded. |
| 6400 |
* To expose code previously present in SpecialBlock/SpecialUnblock to other |
| 6401 |
parts of the code, or to extensions, the new BlockUser and UnblockUser command |
| 6402 |
objects were added. Use the BlockUserFactory and UnblockUserFactory services |
| 6403 |
to create them. |
| 6404 |
* The hook UsersPagerDoBatchLookupsHook takes now a \Wikimedia\Rdbms\IDatabase, |
| 6405 |
instead of \Wikimedia\Rdbms\DBConnRef, as the first parameter. |
| 6406 |
* MediaHandlers can now customize the formatting of the metadata they emit by |
| 6407 |
over-riding MediaHandler::formatTag( $key, $value ). The default for unknown |
| 6408 |
tags is numeric formatting; non-EXIF tags which are non-numeric should always |
| 6409 |
use this method to specify the desired formatting. |
| 6410 |
* The new 'title' type can be used to validate action API and REST API inputs. |
| 6411 |
* The new ArticleParserOptions hook allows customizing the parser options used |
| 6412 |
to parse wikitext for an article, based on user preferences, title, etc. |
| 6413 |
* The new 'raw' type can be used to validate action API inputs. It bypasses the |
| 6414 |
Unicode NFC normalization done on inputs of type 'string', so it more suitable |
| 6415 |
when the input is binary or may contain deprecated Unicode sequences or |
| 6416 |
characters (such as U+2001) that should be passed unmodified. |
| 6417 |
* (T260330) A new abstraction for running shell commands has been introduced, |
| 6418 |
called BoxedCommand. A BoxedCommand object can be obtained with |
| 6419 |
MediaWikiServices::getInstance()->getCommandFactory()->createBoxed(). |
| 6420 |
* ResourceLoader modules can now mark themselves as ES6-only by setting |
| 6421 |
`'es6' => true` in their module definition. ES6-only modules will not be |
| 6422 |
executed in browsers that don't support ES6, such as IE11. |
| 6423 |
|
| 6424 |
=== External library changes in 1.36 === |
| 6425 |
|
| 6426 |
==== New external libraries ==== |
| 6427 |
* Added wikimedia/minify 2.2.2. |
| 6428 |
* Added wikimedia/request-timeout 1.1.0. |
| 6429 |
* Added wikimedia/shellbox 1.0.4. |
| 6430 |
* Added WVUI 0.1.0. |
| 6431 |
* Added symfony/symfony/polyfill-php80 1.23.1. |
| 6432 |
|
| 6433 |
==== Changed external libraries ==== |
| 6434 |
* Updated composer/semver from 1.5.1 to 3.2.4. |
| 6435 |
* Updated guzzlehttp/guzzle from 6.5.4 to 7.2.0. |
| 6436 |
* Updated jQuery from v3.4.1 to v3.6.0. |
| 6437 |
* Updated jQuery Migrate from v3.1.0 to v3.3.2. |
| 6438 |
* Updated jquery.client from 2.0.2 to 3.0.0. |
| 6439 |
* Updated OOUI from 0.39.3 to 0.41.3. |
| 6440 |
* Updated pear/mail_mime from 1.10.8 to 1.10.9. |
| 6441 |
* Updated pear/net_smtp from 1.9.1 to 1.9.2. |
| 6442 |
* Updated pimple/pimple from 3.3.0 to 3.3.1. |
| 6443 |
* Updated wikimedia/at-ease from 2.0.0 to 2.1.0. |
| 6444 |
* Updated wikimedia/cldr-plural-rule-parser from 1.0.0 to 2.0.0. |
| 6445 |
* Updated wikimedia/common-passwords from 0.2.0 to 0.3.0. |
| 6446 |
* Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1. |
| 6447 |
* Updated wikimedia/html-formatter from 1.0.2 to 3.0.1. |
| 6448 |
* Updated wikimedia/ip-set from 2.1.0 to 3.0.0. |
| 6449 |
* Updated wikimedia/ip-utils from 1.0.0 to 3.0.2. |
| 6450 |
* Updated wikimedia/less.php from 3.0.0 to 3.1.0. |
| 6451 |
* Updated wikimedia/object-factory from 2.1.0 to 3.0.0. |
| 6452 |
* Updated wikimedia/php-session-serializer from 1.0.7 to 2.0.0. |
| 6453 |
* Updated wikimedia/remex-html from 2.2.0 to 2.2.2. |
| 6454 |
* Updated wikimedia/utfnormal from 2.0.0 to 3.0.2. |
| 6455 |
* Updated wikimedia/wait-condition-loop from 1.0.1 to 2.0.1. |
| 6456 |
* Updated wikimedia/xmp-reader from 0.7.0 to 0.8.1. |
| 6457 |
|
| 6458 |
===== Changed development-only external libraries ===== |
| 6459 |
* Updated composer/spdx-licenses from 1.5.3 to 1.5.4. |
| 6460 |
* Updated doctrine/dbal from 2.10.2 to 3.0.0. |
| 6461 |
* Updated doctrine/sql-formatter from 1.1.0 to 1.1.1. |
| 6462 |
* Updated mediawiki/mediawiki-phan-config from 0.10.2 to 0.10.6. |
| 6463 |
* Updated monolog/monolog from 1.25.3 to 2.2.0. |
| 6464 |
* Updated nikic/php-parser from 4.4.0 to 4.10.2. |
| 6465 |
* Updated psy/psysh from 0.10.4 to 0.10.5. |
| 6466 |
* Updated seld/jsonlint from 1.7.1 to 1.8.3. |
| 6467 |
* Updated symfony/yaml from ~3.4|~4.3|~5.0.5 to ~3.4|~5.1. |
| 6468 |
* Updated wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0. |
| 6469 |
|
| 6470 |
==== Removed external libraries ==== |
| 6471 |
* The html5shiv library has been removed, as support for Internet Explorer 8 has |
| 6472 |
been dropped. |
| 6473 |
* The wikimedia/avro suggested development-only library has been removed, as the |
| 6474 |
support for logging in Avro format has been dropped. |
| 6475 |
|
| 6476 |
=== Bug fixes in 1.36 === |
| 6477 |
* (T190285) ApiEditPage module used to switch 'undo' and 'undoafter' parameters, |
| 6478 |
if it founds you reversed them (based on assumption that higher revision ID |
| 6479 |
indicates a later revision). The assumption is not always true, and is |
| 6480 |
hindering proper edit undoing in some cases, hence the logic has been removed. |
| 6481 |
Reversing the parameters will now lead to edit conflict or undefined behavior. |
| 6482 |
* (T263340) In history merging, pages with a content model that does not support |
| 6483 |
redirects will now be recorded as deleted if no revision is being left in the |
| 6484 |
source page (that's if all revisions of the page have been merged to another). |
| 6485 |
|
| 6486 |
=== Action API changes in 1.36 === |
| 6487 |
* (T269636) `Access-Control-Max-Age` was added to the default list of headers |
| 6488 |
allowed for cross-origin API requests ($wgAllowedCorsHeaders). |
| 6489 |
* (T258108) Accounts with the 'bot' right no longer have pages automatically |
| 6490 |
added to the watchlist when making API edits, regardless of their preferences. |
| 6491 |
This is to reduce the size of the watchlist data in the database. To add API |
| 6492 |
bot edits to the watchlist, explicitly set the 'watch' option. |
| 6493 |
|
| 6494 |
=== Languages updated in 1.36 === |
| 6495 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 6496 |
Below only new and removed languages are listed, as well as changes to languages |
| 6497 |
because of Phabricator reports. |
| 6498 |
|
| 6499 |
* (T258975) Added a Latin/Cyrillic script converter for the Talysh language. |
| 6500 |
* (T245359) Split Bali script locale from "ban" (Balinese) (ban-bali). |
| 6501 |
* (T264582) Added language support for Madurese (mad). |
| 6502 |
* (T259330) Added language support for Mara (mrh). |
| 6503 |
* (T263968) Added language support for Nias (nia). |
| 6504 |
* (T270365) Added language support for Tyap (kcg). |
| 6505 |
* (T276745) Added language support for Wayuu (guc). |
| 6506 |
|
| 6507 |
=== Breaking changes in 1.36 === |
| 6508 |
* Grade C (non-JavaScript) support for Internet Explorer 8 has been dropped. |
| 6509 |
* (T249459) wfIsBadImage(), deprecated in 1.34, has been removed. |
| 6510 |
* (T176526) EditPage::getContextTitle() will now throw an exception if a context |
| 6511 |
title was not set using setContextTitle(). Previously, this mis-use would only |
| 6512 |
cause a deprecation warning to be emitted. |
| 6513 |
* The DeferredStringifier class, deprecated since 1.31, was removed. |
| 6514 |
* Multiple methods that fell back to the $wgUser global variable were |
| 6515 |
individually hard deprecated previously. The following have now been removed: |
| 6516 |
- ApiTestCase::doLogin |
| 6517 |
- Article::doDeleteArticle |
| 6518 |
- Article::doDeleteArticleReal |
| 6519 |
- Article::getComment |
| 6520 |
- Article::getCreator |
| 6521 |
- Article::getUser |
| 6522 |
- Article::getUserText |
| 6523 |
- Article::insertProtectNullRevision |
| 6524 |
- File::delete |
| 6525 |
- File::recordUpload |
| 6526 |
- ForeignDBFile::delete |
| 6527 |
- ForeignDBFile::recordUpload |
| 6528 |
- LocalFile::delete |
| 6529 |
- LocalFile::deleteOld |
| 6530 |
- LocalFile::recordUpload |
| 6531 |
- PageArchive::undelete |
| 6532 |
- RecentChange::markPatrolled |
| 6533 |
- Title::getUserPermissionsErrors |
| 6534 |
- Title::quickUserCan |
| 6535 |
- Title::userCan |
| 6536 |
- WebRequest::getLimitOffset |
| 6537 |
- WikiPage::doDeleteArticle |
| 6538 |
- WikiPage::insertProtectNullRevision |
| 6539 |
* The SpecialPageFactory class, deprecated in 1.32, has been removed. Use the |
| 6540 |
SpecialPageFactory service instead. |
| 6541 |
* Multiple methods previously had optional User parameters, with fallbacks |
| 6542 |
to the $wgUser global variable. Not passing a User to those methods was |
| 6543 |
previously hard deprecated, and support for not passing a User has now |
| 6544 |
been removed: |
| 6545 |
- ArchivedFile::userCan |
| 6546 |
- File::userCan |
| 6547 |
- FileDeleteForm::__construct |
| 6548 |
- FileDeleteForm::doDelete |
| 6549 |
- LocalFileDeleteBatch::__construct |
| 6550 |
- LogEventsList::getExcludeClause (only needed for the 'user' audience) |
| 6551 |
- LogEventsList::userCan |
| 6552 |
- LogEventsList::userCanBitfield |
| 6553 |
- LogEventsList::userCanViewLogType |
| 6554 |
- LogPage::addEntry (also accepts user id instead) |
| 6555 |
- OldLocalFile::userCan |
| 6556 |
- PatrolLog::record |
| 6557 |
- Title::getNotificationTimestamp (though the entire method is deprecated) |
| 6558 |
- WikiPage::getComment (only needed for the FOR_THIS_USER audience) |
| 6559 |
- WikiPage::getCreator (only needed for the FOR_THIS_USER audience) |
| 6560 |
- WikiPage::getUser (only needed for the FOR_THIS_USER audience) |
| 6561 |
- WikiPage::getUserText (only needed for the FOR_THIS_USER audience) |
| 6562 |
* The following hooks have been removed: |
| 6563 |
- APIQueryInfoTokens |
| 6564 |
- APIQueryRecentChangesTokens |
| 6565 |
- APIQueryRevisionsTokens |
| 6566 |
- APIQueryUsersTokens |
| 6567 |
- ApiTokensGetTokenTypes |
| 6568 |
* LogEventsList::typeAction previously accepted an optional right parameter, and |
| 6569 |
checked if the context user ($wgUser) had that right. Passing a right was hard |
| 6570 |
deprecated in 1.35, and support for passing a right has now been removed. |
| 6571 |
* WikiPage::doDeleteArticleReal previously accepted an optional user as its |
| 6572 |
fifth parameter, and fell back to $wgUser if not user was provided. The |
| 6573 |
signature changed to have the user as the second parameter, and the old |
| 6574 |
signature was hard deprecated in 1.35. Support for the old signature has now |
| 6575 |
been removed. |
| 6576 |
* User::addNewUserLogEntry, deprecated since 1.27, was removed. |
| 6577 |
* As part of refactoring the EditPage class, EditPage::setPreloadedContent, |
| 6578 |
which had no known callers was removed entirely. Additionally, the following |
| 6579 |
public methods were made private: |
| 6580 |
- ::extractSectionTitle |
| 6581 |
- ::getSummaryInputWidget |
| 6582 |
- ::noSuchSectionPage |
| 6583 |
- ::initialiseForm |
| 6584 |
* EditPage::matchSpamRegex and ::matchSummarySpamRegex, deprecated in 1.35, |
| 6585 |
were removed. Use the SpamChecker service instead. |
| 6586 |
* The global function `wfWaitForSlaves`, deprecated in 1.27 and hard-deprecated |
| 6587 |
in 1.35, has been removed. Use LBFactory::waitForReplication() instead. |
| 6588 |
* Calling Action::factory() with null as the first parameter, rather than a |
| 6589 |
string, was deprecated in 1.35 and support was now removed. |
| 6590 |
* Calling Action::factory() with an object that wasn't an Article as the second |
| 6591 |
parameter was deprecated in 1.35 and support was now removed. |
| 6592 |
* The global variable $wgMemc, deprecated since 1.35, has been removed. Usage |
| 6593 |
should generally be migrated to WANObjectCache, or if you really need the |
| 6594 |
internal object, use ObjectCache::getLocalClusterInstance instead. |
| 6595 |
* The preprocessDump.php maintenance script was removed. |
| 6596 |
* CategoryFinder, which was deprecated in 1.31 and hard-deprecated in 1.35, |
| 6597 |
has been removed. |
| 6598 |
* GenderCache::singleton(), which was deprecated in 1.28 and hard-deprecated |
| 6599 |
in 1.35, has been removed. |
| 6600 |
* Sanitizer::escapeId(), deprecated in 1.30, has been removed. |
| 6601 |
* Direct invocation of Parser::__construct() (instead of via a ParserFactory) |
| 6602 |
now throws an exception; support has also been removed for several |
| 6603 |
deprecated variants on the arguments passed to Parser::__construct. |
| 6604 |
Direct invocation of Parser::__construct was deprecated in 1.34. |
| 6605 |
* Parser::setFunctionTagHook(), deprecated in 1.35, has been removed. |
| 6606 |
* The following properties of Parser, deprecated in 1.35, have been made |
| 6607 |
private: |
| 6608 |
- $mTagHooks - use Parser::getTags() |
| 6609 |
- $mFunctionHooks - use Parser::getFunctionHooks() |
| 6610 |
- $mOutput - use Parser::getOutput() |
| 6611 |
- $mPreprocessor - use Parser::getPreprocessor() |
| 6612 |
* The ParserBeforeTidy hook, deprecated in 1.35, has been removed. |
| 6613 |
* The ParserBeforeTidy, ParserBeforeStrip, and ParserAfterStrip hooks, |
| 6614 |
deprecated in 1.35, have been removed. |
| 6615 |
* All methods of MWTidy except for MW::tidy() have been removed. These were each |
| 6616 |
either marked as @internal or deprecated in 1.35. |
| 6617 |
* (T248062) Mixins `.background-image-svg()` and `.background-image-svg-quick()` |
| 6618 |
(provided by mediawiki.mixins.less), which have been deprecated since 1.35, |
| 6619 |
have now been removed. MediaWiki no longer supports any browser which would |
| 6620 |
require this SVG-fallback PNG support, so you can simply use the regular CSS |
| 6621 |
`background-image:` declaration instead. |
| 6622 |
* The ResourceLoader module `mediawiki.legacy.oldshared` and its file |
| 6623 |
'oldshared.css', deprecated since 1.35 has been removed (T248357). |
| 6624 |
* `ResourceLoader::__construct` now requires a Config parameter. The optional |
| 6625 |
nature of this parameter was deprecated in 1.34. |
| 6626 |
* The LinkBegin and LinkEnd hooks, deprecated in 1.28, have been removed. You |
| 6627 |
can instead use the HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd |
| 6628 |
hooks, respectively. |
| 6629 |
* The EmailUser hook passes its fifth param, $error, by reference, to allow |
| 6630 |
hook handlers to add error messages, indicate that they have sent the email |
| 6631 |
instead of core, etc. Setting the parameter to something other than a |
| 6632 |
Status object, true, false, an empty string, an array, or a MessageSpecifier, |
| 6633 |
object, which had been deprecated in 1.29, is no longer supported, and now |
| 6634 |
results in an MWException being thrown. |
| 6635 |
* Skin::getDynamicStylesheetQuery(), deprecated in 1.32, has been removed. You |
| 6636 |
should use action=raw&ctype=text/css directly. |
| 6637 |
* Skin::makeI18nUrl(), deprecated in 1.35, has been removed. |
| 6638 |
* The following User methods, deprecated and moved to BlockManager in 1.34, were |
| 6639 |
removed: |
| 6640 |
- ::isDnsBlacklisted |
| 6641 |
- ::inDnsBlacklist |
| 6642 |
- ::isLocallyBlockedProxy |
| 6643 |
- ::trackBlockWithCookie |
| 6644 |
* Support for v1 of the parser tests file format has been removed; it was |
| 6645 |
deprecated in 1.35. (T174199) |
| 6646 |
* SpecialUnblockUser::processUIUnblock() now returns a Status object instead of |
| 6647 |
an array of messages or a boolean value. This function was also marked as |
| 6648 |
@internal and is no longer safe to call it publicly. |
| 6649 |
* mw.Title.getDotExtension() from the 'mediawiki.Title' module was removed |
| 6650 |
without deprecation. You should use mw.Title.getExtension() and prepend the |
| 6651 |
dot if need be. |
| 6652 |
* Profiler::getTemplated and Profiler::setTemplated, deprecated in 1.34, have |
| 6653 |
been removed. |
| 6654 |
* DatabaseMysqlBase now requires MySQL version 5.6.4+ when "lagDetectionMethod" |
| 6655 |
is set to "pt-heartbeat". |
| 6656 |
* Removed HookContainer::getOriginalHooksForTest() without deprecation. This |
| 6657 |
method was introduced in 1.35 for internal use, and appears unused outside of |
| 6658 |
MediaWiki core. |
| 6659 |
* ParserCache::__construct() now requires three parameters. |
| 6660 |
* Message->getFormat(), deprecated in 1.29, has been removed. |
| 6661 |
* Support for passing Article to ParserCache::get, deprecated in 1.35, has been |
| 6662 |
removed. |
| 6663 |
* ParserCache::singleton(), deprecated in 1.30, has been removed. |
| 6664 |
* DatabaseBlock::deleteIfExpired and ::fromMaster, deprecated in 1.35, have been |
| 6665 |
removed. |
| 6666 |
* Some deprecated AbstractBlock methods have been removed: |
| 6667 |
- ::prevents, deprecated in 1.33 |
| 6668 |
- ::shouldTrackWithCookie, deprecated in 1.34 |
| 6669 |
- ::getBlocker, deprecated in 1.35 |
| 6670 |
- ::setBlocker, deprecated in 1.35 |
| 6671 |
- ::getBlockErrorParams, deprecated in 1.35 |
| 6672 |
* Multiple DatabaseBlock methods dealing with cookies, deprecated in 1.34, |
| 6673 |
have been removed: |
| 6674 |
- ::setCookie |
| 6675 |
- ::clearCookie |
| 6676 |
- ::getCookieValue |
| 6677 |
- ::getIdFromCookieValue |
| 6678 |
- ::shouldTrackWithCookie |
| 6679 |
* The public static callback function SpecialUnblock::processUIUnblock has been |
| 6680 |
removed. This method was for internal use only, and appears unused outside of |
| 6681 |
MediaWiki core. |
| 6682 |
* ChangeTags::truncateTagDescription, deprecated in 1.35, has been removed. |
| 6683 |
* Deprecated null fallbacks in PasswordReset constructor have been removed. |
| 6684 |
* User::isEveryoneAllowed and User::getAllRights, deprecated in 1.34, has been |
| 6685 |
removed. |
| 6686 |
* The following methods of the UserGroupMembership class, deprecated in 1.35, |
| 6687 |
has been removed: |
| 6688 |
- ::initFromRow |
| 6689 |
- ::newFromRow - use UserGroupManager::newGroupMembershipFromRow |
| 6690 |
- ::selectFields - use UserGroupManager::getQueryInfo |
| 6691 |
- ::delete - use UserGroupManager::removeUserFromGroup |
| 6692 |
- ::insert - use UserGroupManager::addUserToGroup |
| 6693 |
- ::purgeExpired - use UserGroupManager::purgeExpired |
| 6694 |
- ::getMembershipsForUser - use UserGroupManager::getUserGroupMemberships |
| 6695 |
- ::getMembership - use UserGroupManager::getUserGroupMemberships |
| 6696 |
* The public static callback function SpecialBlock::validateTargetField has been |
| 6697 |
removed. This method was for internal use only, and appears unused outside of |
| 6698 |
MediaWiki core. |
| 6699 |
* The public static callback function SpecialUploadStash::tryClearStashedUploads |
| 6700 |
has been removed. This method was for internal use only, and appears unused |
| 6701 |
outside of MediaWiki core. |
| 6702 |
* SpecialComparePages::showDiff() ::revOrTitle(), ::checkExistingTitle(), and |
| 6703 |
::checkExistingRevision() were marked as @internal to allow for breaking |
| 6704 |
changes. They are no longer safe to call. The methods were unused outside of |
| 6705 |
MediaWiki core. |
| 6706 |
* Each special page within core now uses service injection via it constructor. |
| 6707 |
When extending these special pages, a call to the grandparent constructor |
| 6708 |
(`SpecialPage::__construct()`) in the sub-class would now break the derived |
| 6709 |
special page, as the fallback code in the parent constructor cannot set the |
| 6710 |
services as needed. Be sure to call the parent constructor when extending |
| 6711 |
core special pages. Extending core's special pages is not part of the stable |
| 6712 |
interface, and should generally be avoided. |
| 6713 |
* Language::getExtraUserToggles and ::viewPrevNext, deprecated in 1.34, have |
| 6714 |
been removed. |
| 6715 |
* StreamFile::send404Message and ::parseRange, deprecated in 1.34, have been |
| 6716 |
removed. |
| 6717 |
* SVGMetadataExtractor class, deprecated in 1.34, has been removed. |
| 6718 |
* ProcessCacheLRU class, deprecated in 1.32, has been removed. |
| 6719 |
* wfForeignMemcKey(), deprecated in 1.35, has been removed. |
| 6720 |
* LoadBalancer::safeWaitForMasterPos(), deprecated in 1.34, has been removed. |
| 6721 |
* JobQueue::factory() now requires its `idGenerator` option. The optional |
| 6722 |
nature of this option was deprecated in 1.35. |
| 6723 |
* ApiFeedRecentChanges::getFeedObject has been changed to private, and appears |
| 6724 |
unused outside of MediaWiki core. |
| 6725 |
* Skin::subPageSubtitle() has been changed to private method. Callers should |
| 6726 |
use Skin::prepareSubtitle(). |
| 6727 |
* RevisionDeleter::checkRevisionExistence was removed without deprecation. |
| 6728 |
It had no known callers. |
| 6729 |
* wfForeignMemcKey() and wfMemcKey(), deprecated in 1.35, have been removed. |
| 6730 |
* MediaWiki now also requires the php-intl extension. |
| 6731 |
* BotPassword::save() now returns a Status object for the result rather than |
| 6732 |
a bool. |
| 6733 |
* The methods in CoreTagHooks have been marked @internal and type hints have |
| 6734 |
been added. The methods appeared to be unused outside of MediaWiki core. |
| 6735 |
* SquidPurgeClient and SquidPurgeClientPool, deprecated since 1.35, have been |
| 6736 |
removed. |
| 6737 |
* Several methods on WikiPage will now throw an exception when called on a |
| 6738 |
WikiPage instance that where constructed on a title that does not refer to a |
| 6739 |
proper page (but rather a special page or interwiki link). The behavior was |
| 6740 |
previously undefined and could in some cases lead to data corruption. Affected |
| 6741 |
methods are: getId(), insertOn(), newPageUpdater(), doUpdateRestrictions(), |
| 6742 |
doDeleteArticleReal(), doRollback(), and doEditContent(). |
| 6743 |
* The ParserTestRunner no longer invokes the ParserTestTables hook. Instead, it |
| 6744 |
clones all database tables before running tests, like MediaWikiIntegrationTest |
| 6745 |
does. If an extension was mis-using the hook to *exclude* tables from the |
| 6746 |
clone, that will no longer occur, and tests may fail. |
| 6747 |
* The following classes, which were only loaded for tests and had no uses found |
| 6748 |
in public MediaWiki-related git, were removed: |
| 6749 |
- MockWebRequest |
| 6750 |
- UserWrapper |
| 6751 |
* Passing Title as a second parameter to RevisionStore::getPreviousRevision and |
| 6752 |
getNextRevision, hard deprecated since 1.31, was prohibited. |
| 6753 |
* (T275619) Maintenance::hasOption and Maintenance::getOption now behave as |
| 6754 |
documented and are not altered by previous calls to these methods. |
| 6755 |
* The internal class FirejailCommand was removed. |
| 6756 |
* Command::execute() now returns a Shellbox\Command\UnboxedResult instead of a |
| 6757 |
MediaWiki\Shell\Result. Any type hints should be updated. |
| 6758 |
* WikiPage::$mIsRedirect was removed. |
| 6759 |
* ObjectCache::detectLocalServerCache(), deprecated in 1.35, was removed. |
| 6760 |
* The following functions from the Title class have been removed: |
| 6761 |
- countRevisionsBetween |
| 6762 |
- getAuthorsBetween |
| 6763 |
* The PageProps class was converted to a service. PageProps::overrideInstance |
| 6764 |
was removed, and MediaWikiServices::redefineService should be used |
| 6765 |
instead. |
| 6766 |
* Support for creating a MediaWikiTitleCodec object without the InterwikiLookup |
| 6767 |
and NamespaceInfo services, deprecated in 1.34, was removed. Note that the |
| 6768 |
MediaWikiTitleCodec class is not @newable or @stable to create, and should |
| 6769 |
be retrieved from MediaWikiServices instead. |
| 6770 |
* The $wgContLang variable, deprecated in 1.32, was removed. You can instead use |
| 6771 |
MediaWikiServices::getInstance()->getContentLanguage(). |
| 6772 |
* User::clearAllNotifications(), hard deprecated in 1.35, was removed. Use |
| 6773 |
WatchlistManager::clearAllUserNotifications() instead. |
| 6774 |
* DatabaseBlock::getBlocker can return any UserIdentity instance, not just User. |
| 6775 |
* MediaWiki::triggerJobs(), deprecated in 1.34, was removed. |
| 6776 |
* The following Article methods, deprecated in 1.35, were removed: |
| 6777 |
- checkFlags |
| 6778 |
- checkTouched |
| 6779 |
- clearPreparedEdit |
| 6780 |
- doDeleteUpdates |
| 6781 |
- doEditUpdates |
| 6782 |
- doPurge |
| 6783 |
- doViewUpdates |
| 6784 |
- exists |
| 6785 |
- followRedirect |
| 6786 |
- getAutoDeleteReason |
| 6787 |
- getCategories |
| 6788 |
- getContentHandler |
| 6789 |
- getContentModel |
| 6790 |
- getContributors |
| 6791 |
- getDeletionUpdates |
| 6792 |
- getHiddenCategories |
| 6793 |
- getId |
| 6794 |
- getLatest |
| 6795 |
- getLinksTimestamp |
| 6796 |
- getMinorEdit |
| 6797 |
- getOldestRevision |
| 6798 |
- getRedirectTarget |
| 6799 |
- getRedirectURL |
| 6800 |
- getRevision |
| 6801 |
- getTouched |
| 6802 |
- getUndoContent |
| 6803 |
- hasViewableContent |
| 6804 |
- insertOn |
| 6805 |
- insertRedirect |
| 6806 |
- insertRedirectEntry |
| 6807 |
- isCountable |
| 6808 |
- isRedirect |
| 6809 |
- loadFromRow |
| 6810 |
- loadPageData |
| 6811 |
- lockAndGetLatest |
| 6812 |
- makeParserOptions |
| 6813 |
- pageDataFromId |
| 6814 |
- pageDataFromTitle |
| 6815 |
- prepareContentForEdit |
| 6816 |
- protectDescription |
| 6817 |
- protectDescriptionLog |
| 6818 |
- replaceSectionAtRev |
| 6819 |
- replaceSectionContent |
| 6820 |
- setTimestamp |
| 6821 |
- shouldCheckParserCache |
| 6822 |
- supportsSections |
| 6823 |
- triggerOpportunisticLinksUpdate |
| 6824 |
- updateCategoryCounts |
| 6825 |
- updateIfNewerOn |
| 6826 |
- updateRedirectOn |
| 6827 |
- updateRevisionOn |
| 6828 |
- doUpdateRestrictions |
| 6829 |
- updateRestrictions |
| 6830 |
- doRollback |
| 6831 |
- commitRollback |
| 6832 |
- generateReason |
| 6833 |
* The monolog-based logging system has dropped the Avro format. Because of this, |
| 6834 |
the AvroFormatter class and the AvroValidator utility class have been removed |
| 6835 |
without deprecation. |
| 6836 |
* AbstractBlock::$mReason, deprecated in 1.34, was removed. |
| 6837 |
Use AbstractBlock::getReasonComment and AbstractBlock::setReason instead. |
| 6838 |
|
| 6839 |
=== Deprecations in 1.36 === |
| 6840 |
* (T278026) The DB_MASTER constant has been deprecated in favour of DB_PRIMARY. |
| 6841 |
* (T245963) User::getGrantName() is now hard deprecated and will be removed in |
| 6842 |
a subsequent release. Use MWGrants::grantName() instead. |
| 6843 |
* wfIncrStats() is now deprecated. Use MediaWikiServices::getInstance() |
| 6844 |
->getStatsdDataFactory()->updateCount() instead. |
| 6845 |
* WikiPage::doEditContent() is now deprecated. Use |
| 6846 |
WikiPage::doUserEditContent() instead. Note that doEditContent() was also |
| 6847 |
deprecated in 1.32 for unrelated reasons and doUserEditContent() is |
| 6848 |
deprecated for other reasons, however, using doUserEditContent() is |
| 6849 |
recommended over using doEditContent(). |
| 6850 |
* WikiPage::doUserEditContent() is now deprecated. Use |
| 6851 |
PageUpdater::saveRevision instead. Note that the new method expects callers |
| 6852 |
to take care of checking EDIT_MINOR against the minoredit right, and to apply |
| 6853 |
the autopatrol right as appropriate. |
| 6854 |
* LocalFile::recordUpload2, soft deprecated in 1.35, now emits deprecation |
| 6855 |
warnings. Use ::recordUpload3 instead. |
| 6856 |
* Constructing a new instance of the ParserOptions class without providing |
| 6857 |
a User object, which falls back to the global $wgUser, is now deprecated. |
| 6858 |
* The User class, which was marked as @newable in 1.35, is no longer newable, |
| 6859 |
meaning that it is no longer safe to manually call the constructor via |
| 6860 |
`new User`. Instead, use the UserFactory service. Additionally, the |
| 6861 |
following static constructor methods were deprecated in favor of using the |
| 6862 |
UserFactory service: |
| 6863 |
- User::newFromName |
| 6864 |
- User::newFromId |
| 6865 |
- User::newFromActorId |
| 6866 |
- User::newFromIdentity |
| 6867 |
- User::newFromAnyId |
| 6868 |
- User::newFromConfirmationCode |
| 6869 |
* The following User methods have been hard deprecated in favor of the new |
| 6870 |
UserEditTracker service: |
| 6871 |
- User::getFirstEditTimestamp |
| 6872 |
- User::getLatestEditTimestamp |
| 6873 |
* The confusingly-named User->isLoggedIn() method has been deprecated in favour |
| 6874 |
of the method it wraps, User->isRegistered(). |
| 6875 |
* Use of the `preprocessor=Preprocessor_DOM` option in parser test files has |
| 6876 |
been deprecated. Preprocessor_DOM was removed in 1.35. |
| 6877 |
* ParserOptions::setTidy() has been deprecated. It has had no effect since |
| 6878 |
1.35. |
| 6879 |
* Sanitizer::escapeIdReferenceList() has been deprecated; it will eventually |
| 6880 |
be made private to the class, as it appears to have no uses outside the |
| 6881 |
Sanitizer class. |
| 6882 |
* Sanitizer::hackDocType() is deprecated; it will eventually be made private. |
| 6883 |
* Skin::getIndicatorsHTML() is deprecated. The functionality can be retained |
| 6884 |
by reimplementing the method using the raw indicators data from |
| 6885 |
OutputPage::getIndicators. |
| 6886 |
* Skin::makeVariablesScript() has been deprecated. Use |
| 6887 |
ResourceLoader::makeInlineScript() instead. |
| 6888 |
* SpecialPageFactory::getRestrictedPages() has been deprecated. |
| 6889 |
Use SpecialPageFactory::getUsablePages() instead. |
| 6890 |
* Title::nameOf() is deprecated; use Title::newFromID()->getPrefixedDBkey() |
| 6891 |
instead. |
| 6892 |
* DatabaseBlock::insert, DatabaseBlock::update, DatabaseBlock::purgeExpired and |
| 6893 |
DatabaseBlock::delete are deprecated. Use DatabaseBlockStore::insertBlock, |
| 6894 |
DatabaseBlockStore::updateBlock, DatabaseBlockStore::purgeExpiredBlocks and |
| 6895 |
DatabaseBlockStore::deleteBlock instead. |
| 6896 |
* SpecialBlock::getTargetAndType and AbstractBlock::parseTarget are deprecated. |
| 6897 |
Call BlockUtils::parseBlockTarget instead. |
| 6898 |
* SpecialUnblock::processUnblock was deprecated - use UnblockUserFactory |
| 6899 |
service instead. |
| 6900 |
* Deprecated MediaWikiIntegrationtestCase::removeTemporaryHook() in favor of |
| 6901 |
MediaWikiIntegrationtestCase::clearHook(). |
| 6902 |
* Skin::getSearchLink(), also exposed as 'searchaction' option in SkinTemplate, |
| 6903 |
has been deprecated. Use Title or SpecialPage methods directly. |
| 6904 |
* Skin::getAllowedSkins and ::getSkinNames have been deprecated. Use their |
| 6905 |
respective equivalents in SkinFactory instead. |
| 6906 |
* The RollbackComplete hook has been deprecated, use the PageSaveComplete hook |
| 6907 |
instead. |
| 6908 |
* Skin::makeUrl() has been deprecated. Title methods should be used instead. |
| 6909 |
* Skin::privacyLink(), Skin::disclaimerLink() and Skin::aboutLink() have been |
| 6910 |
deprecated. Please use Skin::footerLink() instead. |
| 6911 |
* Skin::getLogo() has been deprecated. Use ResourceLoaderSkinModule instead. |
| 6912 |
* The module `mediawiki.toc.styles` has been replaced by |
| 6913 |
ResourceLoaderSkinModule. If you are having problems styling table of contents |
| 6914 |
ensure you have an updated skin. |
| 6915 |
* Skin::mainPageLink() has been deprecated. Use LinkRenderer service instead. |
| 6916 |
* BaseTemplate::getToolbox() method has been hard deprecated. The toolbox data |
| 6917 |
is now available in a sidebar data array which you can get from any class |
| 6918 |
that's extending QuickTemplate class. |
| 6919 |
* Constructing a DefaultPreferencesFactory, LinkHolderArray or PasswordReset |
| 6920 |
without a $hookContainer parameter is deprecated. |
| 6921 |
* Autopromote class, soft deprecated since 1.35, now emits deprecation warnings. |
| 6922 |
Use UserGroupManager instead. |
| 6923 |
* SpecialBlock::canBlockEmail has been deprecated. Please use |
| 6924 |
BlockPermissionChecker::checkEmailPermissions instead. |
| 6925 |
* SpecialBlock::checkUnblockSelf has been deprecated. Please use |
| 6926 |
BlockPermissionChecker::checkBlockPermissions instead. |
| 6927 |
* SpecialBlock::parseExpiryInput was deprecated - use |
| 6928 |
BlockUser::parseExpiryInput instead. |
| 6929 |
* SpecialBlock::validateTarget has been deprecated, use BlockUtils instead. |
| 6930 |
* SpecialBlock::validateTargetField has been deprecated for external use, |
| 6931 |
use BlockUtils instead. |
| 6932 |
* SpecialPage::getLanguageConverter has been deprecated, use |
| 6933 |
LanguageConverterFactory::getLanguageConverter() directly. |
| 6934 |
* ParserCache::getKey has been deprecated. Use ParserCache::getMetadata and |
| 6935 |
ParserCache::makeParserOutputKey instead. |
| 6936 |
* The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4, |
| 6937 |
was removed. MediaWiki support for PHPUnit 4 ended with the removal of HHVM |
| 6938 |
support. |
| 6939 |
* The PHPUnit6And8Compat class, used to provide compatibility with PHPUnit 6, |
| 6940 |
was removed without deprecation. This class was introduced during the |
| 6941 |
upgrade to PHPUnit 8, but never used. |
| 6942 |
* MediaWikiIntegrationTestCase::assertType, hard-deprecated in 1.35 due to |
| 6943 |
incompatibility with PHPUnit 8, was removed. |
| 6944 |
* ParserCache::getETag has been deprecated, instead build suitable etag |
| 6945 |
explicitly. |
| 6946 |
* The following functions from the Language class have been hard deprecated |
| 6947 |
and will be removed in a subsequent release: |
| 6948 |
- findVariantLink |
| 6949 |
- convertTitle |
| 6950 |
- updateConversionTable |
| 6951 |
- commafy |
| 6952 |
* The following functions from the Title class have been hard deprecated: |
| 6953 |
- getPreviousRevisionID |
| 6954 |
- getNextRevisionID |
| 6955 |
- getEarliestRevTime |
| 6956 |
* The following functions from the User class have been hard deprecated: |
| 6957 |
- getDefaultOptions |
| 6958 |
- getDefaultOption |
| 6959 |
* The mw.language.commafy client-side method has been deprecated, to match |
| 6960 |
the deprecation of Language::commafy. Use mw.language.convertNumber |
| 6961 |
instead. |
| 6962 |
* The "es6-promise" module has been deprecated. Use "es6-polyfills" instead. |
| 6963 |
* Title::isDeleted() and Title::isDeletedQuick() have been deprecated. Please |
| 6964 |
use Title::getDeletedEditsCount() and Title::hasDeletedEdits() instead. |
| 6965 |
* Article::getContentObject, soft-deprecated since 1.32, was hard-deprecated. |
| 6966 |
* WikiRevision::importUpload, soft-deprecated since 1.31, was hard-deprecated. |
| 6967 |
* Html::infoBox() has been deprecated. There's no replacement. |
| 6968 |
* Message::toString() without a $format parameter, soft-deprecated since 1.28, |
| 6969 |
was hard-deprecated. Use explicit formatting methods instead, such as |
| 6970 |
Message::text() and Message::escaped(). |
| 6971 |
* BagOStuff::makeKeyInternal() usage outside of BagOStuff has been deprecated. |
| 6972 |
* BagOStuff::setDebug() is deprecated and calls to it are ignored. Debug logs |
| 6973 |
are now unconditionally enabled. |
| 6974 |
* The following global functions have been hard deprecated: |
| 6975 |
- wfAppendToArrayIfNotDefault |
| 6976 |
- wfAcceptToPrefs |
| 6977 |
- wfClearOutputBuffers |
| 6978 |
- wfConfiguredReadOnlyReason |
| 6979 |
- wfDebugMem |
| 6980 |
- wfGetPrecompiledData |
| 6981 |
- wfNegotiateType |
| 6982 |
* BeforeParserFetchTemplateAndtitleHook has been deprecated; replace |
| 6983 |
with the new BeforeParserFetchTemplateRevisionRecord hook. (The |
| 6984 |
similar ParserFetchTemplateHook was deprecated in 1.35; the new hook |
| 6985 |
replaces both.) |
| 6986 |
* The InterwikiLoadPrefix hook has been deprecated; it is not compatible |
| 6987 |
with future wikitext parsers (which need to enumerate all interwiki |
| 6988 |
prefixes). In test cases please use $wgInterwikiCache instead. |
| 6989 |
* WikiPage instances should no longer be constructed for titles that do not |
| 6990 |
represent editable pages (e.g. special pages). WikiPages were always |
| 6991 |
documented to represent "MediaWiki article and history". |
| 6992 |
* Skin::getSkinStylePath() has been deprecated. Please replace usages with |
| 6993 |
the direct path to the resources. |
| 6994 |
* The second argument of EnhancedChangesList::getDiffHistLinks, $query, has |
| 6995 |
been deprecated. |
| 6996 |
* The ParserTestTables hook has been deprecated; it is no longer necessary |
| 6997 |
after a ParserTestRunner refactoring. |
| 6998 |
* The following classes have been hard deprecated: CachedAction, |
| 6999 |
SpecialCachedPage, CacheHelper, ICacheHelper. They were unused in MediaWiki |
| 7000 |
ecosystem, so no replacement was provided. |
| 7001 |
* The ProtectionForm::buildForm hook has been deprecated. Please use the |
| 7002 |
ProtectionFormAddFormFields hook instead. |
| 7003 |
* RevisionStore::newMutableRevisionFromArray has been hard deprecated. Instead, |
| 7004 |
MutableRevisionRecord should be constructed directly via constructor. |
| 7005 |
* UserIdentity::getActorId() is deprecated. The actor ID should not be exposed |
| 7006 |
to application logic. Storage layer code should use the ActorNormalization |
| 7007 |
service for normalizing and denormalizing user names. |
| 7008 |
* Constructing a UserIdentityValue with an actor ID as the third parameter is |
| 7009 |
deprecated. The parameter should be omitted. Storage layer code should use |
| 7010 |
the ActorNormalization service for normalizing and denormalizing user names. |
| 7011 |
* Command::cgroup() is deprecated and no longer functional. $wgShellCgroup is |
| 7012 |
now implemented as an Executor option. |
| 7013 |
* Command::restrict() is deprecated. Instead use the new separate accessors. |
| 7014 |
* MWTidy::tidy() is deprecated. Use MediaWikiServices::getTidy()-tidy() instead. |
| 7015 |
* TidyDriverBase::supportsValidate() is deprecated; it has always returned |
| 7016 |
false since 1.33. |
| 7017 |
* WatchedItem::getUser hard-deprecated in favor of ::getUserIdentity. |
| 7018 |
* WatchedItemStoreInterface::enqueueWatchlistExpiryJob was hard deprecated in |
| 7019 |
favor of the new method maybeEnqueueWatchlistExpiryJob that takes care of |
| 7020 |
relevant configuration checks. |
| 7021 |
* LogEntry::getPerformer() and its implementations have been hard-deprecated, in |
| 7022 |
favor of ::getPerformerIdentity(). |
| 7023 |
* AuthManager::singleton(), deprecated in 1.35, is hard deprecated. Use |
| 7024 |
MediaWikiServices::getAuthManager() instead. |
| 7025 |
* User::clearNotification(), deprecated in 1.35, is hard deprecated. Use |
| 7026 |
WatchlistManager::clearTitleUserNotification() instead. |
| 7027 |
* Passing string to DatabaseBlock::setBlocker was deprecated. Only UserIdentity |
| 7028 |
is now allowed. |
| 7029 |
* DatabaseBlock constructor 'byText' option was deprecated in favour of 'by' |
| 7030 |
option, which now accepts UserIdentity. Passing user ID is deprecated. |
| 7031 |
* Parser::getUser was deprecated. Use Parser::getUserIdentity instead. |
| 7032 |
* DatabaseBlock::isWhitelistedFromAutoblocks was deprecated. Use |
| 7033 |
DatabaseBlock::isExemptedFromAutoblocks instead. |
| 7034 |
* User::isIPRange(), deprecated in 1.35, is hard deprecated. |
| 7035 |
Use the UserNameUtils service or IPUtils directly. |
| 7036 |
* BaseTemplate::getFooterIcons(), deprecated in 1.35, is hard deprecated. Read |
| 7037 |
footer icons from template data requested via $this->get('footericons'). |
| 7038 |
* `box-shadow()` LESS mixin from mediawiki.mixins is deprecated due to updated |
| 7039 |
basic browser support. Use unprefixed property `box-shadow:` instead. |
| 7040 |
* MergeHistory::checkPermissions was deprecated. Use ::probablyCanMerge or |
| 7041 |
::authorizeMerge instead. |
| 7042 |
* User::isValidUserName(), deprecated in 1.35, is hard deprecated. |
| 7043 |
Use the UserNameUtils service instead. |
| 7044 |
* The TitleArrayFromResult hook has been deprecated. |
| 7045 |
* The EditPageBeforeEditToolbar hook has been deprecated; it has become |
| 7046 |
defunct after the classic edit toolbar was removed. Use one of the many |
| 7047 |
other EditPage hooks instead. |
| 7048 |
* Deprecated the class name MediaWiki\User\WatchlistNotificationManager; use |
| 7049 |
MediaWiki\Watchlist\WatchlistManager instead. Deprecated the method |
| 7050 |
MediaWikiServices->getWatchlistNotificationManager(); use |
| 7051 |
MediaWikiServices->getWatchlistManager() instead. |
| 7052 |
* The "ArticleEditUpdatesDeleteFromRecentchanges" hook, deprecated in 1.35, has |
| 7053 |
been removed. Other hooks like "RecentChange_save" can be used instead. |
| 7054 |
|
| 7055 |
=== Other changes in 1.36 === |
| 7056 |
* The 'tidy' key in ParserOptions (used in the parser cache) has been removed. |
| 7057 |
It has had no effect since 1.35. |
| 7058 |
* A future release of MediaWiki will make `{{=}}` a built-in parser function, |
| 7059 |
for use when automatically escaping the `=` character in template arguments. |
| 7060 |
A tracking category and parser warning have been added to this release when |
| 7061 |
`{{=}}` is used and it expands to something other than `=`. |
| 7062 |
* The implementation of TestFileReader::read has been changed to use Parsoid's |
| 7063 |
parser test file parser. This should be compatible with existing code, but it |
| 7064 |
only supports version 2 of the test file specification and may be more strict |
| 7065 |
when parsing invalid input, including duplicate tests. |
| 7066 |
* BeforeParserFetchTemplateRevisionRecord, a new hook, unifies and replaces the |
| 7067 |
old BeforeParserFetchTemplateAndtitleHook and ParserFetchTemplateHook. |
| 7068 |
* The SkinLessImportPaths attribute was added, allowing skins to add a directory |
| 7069 |
to the import path for LESS stylesheets. Skins can use this to provide a |
| 7070 |
custom version of mediawiki.skin.variables.less, setting skin-specific values |
| 7071 |
for certain LESS variables. |
| 7072 |
* The interaction between ContentHandler::getParserOutputForIndexing() and |
| 7073 |
ContentHandler::getDataForSearchIndex() has been clarified (the latter should |
| 7074 |
only be called with the result of the former). Extensions may override |
| 7075 |
getParserOutputForIndexing() to skip generating HTML, which may improve |
| 7076 |
indexing performance. (The default implementation still generates HTML, and |
| 7077 |
getDataForSearchIndex() implementations can still rely on it if they do not |
| 7078 |
over-ride getParserOutputForIndexing().) |
| 7079 |
* Article::fetchContentObject, ::mContentObject, ::mContentLoaded, |
| 7080 |
::mRevIdFetched, all deprecated since 1.32, were removed. |
| 7081 |
* Article::mParserOptions and ::setParserOptions were removed. |
| 7082 |
* Article and ImagePage::getEmptyPageParserOutput, unused, were removed. |
| 7083 |
* ParserCache's default serialization format was changed from PHP serialization |
| 7084 |
to JSON serialization. In case some installed extension do not support JSON |
| 7085 |
yet, $wgParserCacheUseJson can be used to revert back to PHP serialization. |
| 7086 |
* PermissionManager::groupHasPermission, ::getGroupPermissions and |
| 7087 |
::getGroupsWithPermission were deprecated, use GroupPermissionsLookup |
| 7088 |
service instead. |
| 7089 |
* WatchedItemStoreInterface now accepts PageIdentity where it accepted |
| 7090 |
LinkTarget, calling with LinkTarget was deprecated. |
| 7091 |
* 'movable' attribute has been added to the 'namespaces' property of |
| 7092 |
extension.json schema. Extensions that define namespaces can set it to |
| 7093 |
`false` to disallow moving pages in the specified namespace. Extensions |
| 7094 |
should either use this or NamespaceIsMovableHook, but not both. The hook |
| 7095 |
overrides the attribute. |
| 7096 |
|
| 7097 |
== Compatibility == |
| 7098 |
|
| 7099 |
MediaWiki 1.36 requires PHP 7.3.19 or later and the following PHP extensions: |
| 7100 |
|
| 7101 |
* ctype |
| 7102 |
* dom |
| 7103 |
* fileinfo |
| 7104 |
* iconv |
| 7105 |
* intl |
| 7106 |
* json |
| 7107 |
* mbstring |
| 7108 |
* xml |
| 7109 |
|
| 7110 |
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, |
| 7111 |
but support for them is somewhat less mature. |
| 7112 |
|
| 7113 |
The supported versions are: |
| 7114 |
|
| 7115 |
* MySQL 5.5.8 or later |
| 7116 |
* PostgreSQL 9.4 or later |
| 7117 |
* SQLite 3.8.0 or later |
| 7118 |
|
| 7119 |
== Online documentation == |
| 7120 |
Documentation for both end-users and site administrators is available on |
| 7121 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 7122 |
for pages that explicitly state that their contents are in the public domain): |
| 7123 |
|
| 7124 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 7125 |
|
| 7126 |
== Mailing list == |
| 7127 |
A mailing list is available for MediaWiki user support and discussion: |
| 7128 |
|
| 7129 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 7130 |
|
| 7131 |
A low-traffic announcements-only list is also available: |
| 7132 |
|
| 7133 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 7134 |
|
| 7135 |
It's highly recommended that you sign up for one of these lists if you're |
| 7136 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 7137 |
|
| 7138 |
== IRC help == |
| 7139 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 7140 |
|
| 7141 |
= MediaWiki 1.35 = |
| 7142 |
|
| 7143 |
MediaWiki 1.35 should mostly work on PHP 8.0/8.1, however it is not |
| 7144 |
currently actively supported. Testing (on a development wiki!) is |
| 7145 |
appreciated, and bugs with PHP 8.0/8.1 on MediaWiki 1.35 will be accepted. |
| 7146 |
|
| 7147 |
It is anticipated that in a later MediaWiki 1.35 point release, we can |
| 7148 |
declare 1.35 as supporting PHP 8.0/8.1. |
| 7149 |
|
| 7150 |
PHP 8.0 workboard: https://phabricator.wikimedia.org/tag/php_8.0_support/ |
| 7151 |
PHP 8.1 workboard: https://phabricator.wikimedia.org/tag/php_8.1_support/ |
| 7152 |
PHP 8.2 workboard: https://phabricator.wikimedia.org/tag/php_8.2_support/ |
| 7153 |
PHP 8.3 workboard: https://phabricator.wikimedia.org/tag/php_8.3_support/ |
| 7154 |
|
| 7155 |
== MediaWiki 1.35.14 == |
| 7156 |
|
| 7157 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7158 |
|
| 7159 |
=== Changes since MediaWiki 1.35.13 === |
| 7160 |
* Localisation updates. |
| 7161 |
* (T344912) mail: Encode period (ascii 46) if it appears in encoded email |
| 7162 |
header. |
| 7163 |
* (T347726, CVE-2023-51704) SECURITY: logging: Fix non-escaped messages |
| 7164 |
used in rights log. |
| 7165 |
|
| 7166 |
== MediaWiki 1.35.13 == |
| 7167 |
|
| 7168 |
This is a maintenance release of the MediaWiki 1.35 branch. |
| 7169 |
|
| 7170 |
=== Changes since MediaWiki 1.35.12 === |
| 7171 |
* Tarball release to fix backport issues with patch for T341529. |
| 7172 |
|
| 7173 |
== MediaWiki 1.35.12 == |
| 7174 |
|
| 7175 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7176 |
|
| 7177 |
=== Changes since MediaWiki 1.35.11 === |
| 7178 |
* Localisation updates. |
| 7179 |
* (T333050, CVE-2023-45363) SECURITY: Fix infinite loop for |
| 7180 |
self-redirects with variants conversion. |
| 7181 |
* (T341434) WikiImporter: Improve error message output. |
| 7182 |
* (T341737) ApiBase: Cast $id to string in filterIDs. |
| 7183 |
* (T342632) ApiComparePages: Add help url. |
| 7184 |
* (T347227) ImportReporter: Make callback functions public. |
| 7185 |
* doc: Improve description of type in extension.schema.v1.json. |
| 7186 |
* (T340221, CVE-2023-45360) SECURITY: XSS via |
| 7187 |
'youhavenewmessagesmanyusers' and 'youhavenewmessages' messages. |
| 7188 |
* (T341529, CVE-2023-45362) SECURITY: diff-multi-sameuser |
| 7189 |
("X intermediate revisions by the same user not shown") ignores username |
| 7190 |
suppression. |
| 7191 |
* (T341565, CVE-2023-3550) SECURITY: Stored XSS when uploading crafted XML |
| 7192 |
file to Special:Upload (non-standard configuration). |
| 7193 |
|
| 7194 |
== MediaWiki 1.35.11 == |
| 7195 |
|
| 7196 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7197 |
|
| 7198 |
=== Changes since MediaWiki 1.35.10 === |
| 7199 |
* Localisation updates. |
| 7200 |
* (T333990) composer.json: Explicitly pin psr/http-message to 1.0.1. |
| 7201 |
* (T335203, CVE-2023-29197) SECURITY: Upgrading guzzlehttp/psr7 |
| 7202 |
(1.9.0 => 1.9.1). |
| 7203 |
* (T269636) Add Access-Control-Max-Age to $wgAllowedCorsHeaders. |
| 7204 |
* (T322944) Add Authorization to default $wgAllowedCorsHeaders. |
| 7205 |
* (T332889, CVE-2023-36675) SECURITY: Fix escaping in BlockLogFormatter. |
| 7206 |
* (T297917) objectcache: avoid use of ctype_digit() in |
| 7207 |
WANObjectCache::adaptiveTTL(). |
| 7208 |
* (T330464) Work around argument corruption bug in XMLReader::open. |
| 7209 |
* (T313157) IndexPager: Also protect against $offset being 0. |
| 7210 |
* (T335612, CVE-2023-36674) SECURITY: Move badFile lookup to Linker. |
| 7211 |
|
| 7212 |
== MediaWiki 1.35.10 == |
| 7213 |
|
| 7214 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7215 |
|
| 7216 |
=== Changes since MediaWiki 1.35.9 === |
| 7217 |
* Localisation updates. |
| 7218 |
* (T324895) MWCallbackStream: Add explicit $stream property. |
| 7219 |
* Remove /images .htaccess rules that are no longer relevent. |
| 7220 |
* Disable php in .htaccess of images directory as a hardening measure. |
| 7221 |
* (T322583) Include missing message parameter in message. |
| 7222 |
* Fix phan error when Excimer is enabled. |
| 7223 |
* (T274966) tests: Make pass on php8.0. |
| 7224 |
* (T323373) Parser: Fix extractSections() behavior for PHP >= 8.0. |
| 7225 |
* (T326021) Add matrix: to $wgUrlProtocols. |
| 7226 |
* api/en.json: api-help-datatype-expiry add missing 'may'. |
| 7227 |
* (T225218) Wait until the recent changes are updated. |
| 7228 |
* (T328222) Pass empty string to strlen() if schema is null for |
| 7229 |
PostgresDatabase. |
| 7230 |
* (T317329) OutputPage: Fix undefined ['host'] in ImagePreconnect code. |
| 7231 |
* (T289926) SpecialRevisionDelete: Set default of '' for wpReason. |
| 7232 |
* (T155582, T328503) Fix XML dumps for content types with non-string |
| 7233 |
getNativeData(). |
| 7234 |
* (T295958, T278847) MediaWiki-Docker: Switch PHP images to PHP7.4. |
| 7235 |
* (T314099) revisiondelete: Replace dynamic property Status::$itemStatuses. |
| 7236 |
* (T329198) ParamValidator: Improve paramvalidator-help-multi-max message. |
| 7237 |
* (T292348) WikiImporter: do not fail if upload entry in dump lacks 'text' |
| 7238 |
tag. |
| 7239 |
* (T329484) API: Fix query+allimages user parameter description. |
| 7240 |
* (T330529) SpecialEditTags: Set default of '' for wpReason. |
| 7241 |
* (T330526) htmlform: Handle null from HTMLFormField::getDefault in |
| 7242 |
multiselects. |
| 7243 |
* (T285159, CVE-2023-29141) SECURITY: Do not apply autoblocks to untrusted |
| 7244 |
XFF headers. |
| 7245 |
|
| 7246 |
== MediaWiki 1.35.9 == |
| 7247 |
|
| 7248 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7249 |
|
| 7250 |
=== Changes since MediaWiki 1.35.8 === |
| 7251 |
* Localisation updates. |
| 7252 |
* (T319000) WebInstaller: Don't try and run trim() on null. |
| 7253 |
* (T320864) When calling mail(), use an array for headers. |
| 7254 |
* (T311567) In ManualLogEntry, cast the comment to string. |
| 7255 |
* (T323082) Upgrading wikimedia/xmp-reader (0.7.0 => 0.8.5). |
| 7256 |
* Language: Handle ronna and quetta. |
| 7257 |
* (T304515) LCStoreStaticArray: atomically replace the cache file. |
| 7258 |
* (T324890, T324891, T324901) Parser: Allow dynamic properties on PHP 8.2. |
| 7259 |
* (T322637) SECURITY: sqlite should not create DB file world-readable. |
| 7260 |
|
| 7261 |
== MediaWiki 1.35.8 == |
| 7262 |
|
| 7263 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7264 |
|
| 7265 |
=== Changes since MediaWiki 1.35.7 === |
| 7266 |
* Localisation updates. |
| 7267 |
* (T311568) UploadBase::setTempFile() handle $tempPath being passed as null. |
| 7268 |
* (T311559) SpecialListFiles: user parameter isn't always present. |
| 7269 |
* (T311561) ImageListPager: Don't call htmlspecialchars() on null. |
| 7270 |
* (T311920) SpecialBlockList: Prevent passing null to trim(). |
| 7271 |
* (T311921) SpecialUserrights: Don't pass null to str_replace. |
| 7272 |
* (T311570) SpecialWithoutInterwiki: Don't pass null through to |
| 7273 |
Title::capitalize(). |
| 7274 |
* (T311574, T311576) SpecialLinkSearch: Don't pass null through to the parser. |
| 7275 |
* (T312519, T312520) Parser::extensionSubstitution() Don't run substr() on null. |
| 7276 |
* (T287564) populateInterwiki: Include not null columns iw_api/iw_wikiid. |
| 7277 |
* (T312302) SpecialRedirect: Don't pass null to explode. |
| 7278 |
* RemoveInvalidEmails: Fix quoting for postgres. |
| 7279 |
* (T312678) import: UploadSourceAdapter::stream_read() don't pass null to |
| 7280 |
strlen(). |
| 7281 |
* (T312300) SpecialDiff: Don't pass null to explode(). |
| 7282 |
* (T312680) parser: Fix CoreParserFunctions::urlencode() null coalescence $arg. |
| 7283 |
* (T289926) Handle null passed to wfShorthandToInteger() and Html::element(). |
| 7284 |
* (T289926) Ensure that strlen() does not get passed a (valid) null. |
| 7285 |
* (T312301) SpecialDiff: Don't pass null to trim(). |
| 7286 |
* Hooks: Use more meaningful name for SkinAfterPortlet hook parameter. |
| 7287 |
* (T289926) Ensure we don't pass null to mb_strlen. |
| 7288 |
* (T312305, T311572, T311571, T311578) HtmlForm: Null coalescence in trim() |
| 7289 |
calls. |
| 7290 |
* (T289926) site: Consistently return null from Site::getDomain(). |
| 7291 |
* (T307304, T289879) filebackend,jobqueue: Add signature for |
| 7292 |
FilterIterator::accept(). |
| 7293 |
* (T312183) rdbms: Adapt hasOrMadeRecentPrimaryChanges test mock for PHP 8.1. |
| 7294 |
* Add application/vnd.ms-opentype to MIME list. |
| 7295 |
* Allow composer/installers plugin in composer.json. |
| 7296 |
* (T313663) Make HandlerTestTrait compatible with php8.1. |
| 7297 |
* (T313663) [php8.1] Change override of $wgResourceBasePath for CSP tests. |
| 7298 |
* Change type hints for BatchRowIterator and NotRecursiveIterator for |
| 7299 |
compatibility with PHP 8.1. |
| 7300 |
* (T313663) [php8] Don't use strlen on potentially null string. |
| 7301 |
* (T313663) [php8.1] Suppress test warning about providing null. |
| 7302 |
* (T313663) Parser will use current timestamp instead of null if passed a |
| 7303 |
RevisionRecord that does not have a timestamp. |
| 7304 |
* (T313663) Add explicit null check for $sha in FileBackend [php8.1]. |
| 7305 |
* (T313663) LogFormatter: Cast argument of ctype_digit to string [php8.1]. |
| 7306 |
* (T289879, T289926) Get rid of warnings on PHP 8.1. |
| 7307 |
* rdbms: fix some PHP 8 warnings in Database/LoadBalancer/LBFactory. |
| 7308 |
* (T313663) Avoid testing strlen on null in ApiQuerySiteinfo [php 8.1 compat]. |
| 7309 |
* Fix a couple deprecation warnings in the installer under PHP 8.1. |
| 7310 |
* (T313663) Use default timezone UTC for SpecialWatchlistTest [php 8.1]. |
| 7311 |
* (T314096) Migrate use of ${var}-style string interpolation. |
| 7312 |
* (T313663, T313662) Make default value for optional args {{PAGESINCAT:..}} be |
| 7313 |
'' not null. |
| 7314 |
* (T314225) SpecialCategories: Null coalescene $par. |
| 7315 |
* (T314099) User: Allow dynamic properties on PHP 8.2. |
| 7316 |
* (T314404) SpecialGoToInterwiki: Null coalescene $par. |
| 7317 |
* (T314397) SpecialBlock: Better handle null in getTargetUserTitle. |
| 7318 |
* (T314099) phpunit: Fix trivial dynamic property usages in tests. |
| 7319 |
* (T314405) UploadStash: Check if us_prop is set in the fileMetadata. |
| 7320 |
* (T314550) SpecialMergeHistory: Set timestamp to '' if no mergepoint. |
| 7321 |
* (T314551) SpecialMergeHistory: Set defaults for target and dest parameters. |
| 7322 |
* api: Add rel=nofollow to help examples. |
| 7323 |
* (T314824) tests: Update parser test after i18n change. |
| 7324 |
* (T263927) Add autocomplete HTML attribute to common auth form fields. |
| 7325 |
* (T307613) Validate length of user email on Special:ChangeEmail/ |
| 7326 |
Special:CreateAccount. |
| 7327 |
* (T314906, T314907) SpecialBlock: Set defaults for wpPageRestrictions and |
| 7328 |
wpNamespaceRestrictions. |
| 7329 |
* (T315309) ImportStreamSource::newFromURL() Prevent passing null to fwrite. |
| 7330 |
* (T315892) composer.json: Pin phpunit to 8.5.28. |
| 7331 |
* (T229092) MigrateActors.php: ignore duplicate creations of actors. |
| 7332 |
* (T313049) Bump wikimedia/parsoid to v0.12.3. |
| 7333 |
* (T317750) session: Fix broken SessionTest case due to PHPUnit dependency |
| 7334 |
change. |
| 7335 |
* (T318460) SpecialChangeEmail: Set default for returntoquery. |
| 7336 |
* (T316304, CVE-2022-41767) SECURITY: reassignEdits doesn't update results |
| 7337 |
in an IP range check on Special:Contributions. |
| 7338 |
* (T309894, CVE-2022-41765) SECURITY: HTMLUserTextField exposes existence |
| 7339 |
of hidden users. |
| 7340 |
|
| 7341 |
== MediaWiki 1.35.7 == |
| 7342 |
|
| 7343 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7344 |
|
| 7345 |
=== Changes since MediaWiki 1.35.6 === |
| 7346 |
* Localisation updates. |
| 7347 |
* (T289879) Type hints for ArrayAccess. |
| 7348 |
* (T304783) TemplateParser: avoid warnings when called by NoLocalSettings. |
| 7349 |
* Rebuilt vendor with composer 2.3.3. |
| 7350 |
* (T289879) Address some deprecations for PHP 8.1. |
| 7351 |
* Fix old_name in UserLogoutComplete hook. |
| 7352 |
* (T286260, T307979) objectcache: normalize $exptime to a TTL in |
| 7353 |
APCUBagOStuff/WinCacheBagOStuff. |
| 7354 |
* MediaSearchWidget should declare an explicit dependency on mediawiki.user |
| 7355 |
module. |
| 7356 |
* (T288423) WikiImporter: Replace deprecated WikiRevision::setText. |
| 7357 |
* (T309377, CVE-2022-29248, T311384, CVE-2022-27776) Updating guzzlehttp/guzzle |
| 7358 |
(6.5.5 => 6.5.8). |
| 7359 |
* (T308471) SECURITY: Escape welcomeuser message passed to showSuccessPage(). |
| 7360 |
* (T311272) Call parent constructor of AddSite maintenance script first. |
| 7361 |
* MediaWiki: Don't eagerly initialize action name. |
| 7362 |
* (T289926) Avoid passing null to trim() in SkinTemplate. |
| 7363 |
* (T307282) Avoid passing null to strcasecmp(), for PHP 8.1. |
| 7364 |
* (T311552) ChangesListSpecialPage: Don't pass null to FormatJson::decode(). |
| 7365 |
* (T311569) FileBackend::isStoragePath() Handle being passed null. |
| 7366 |
* (T311544) Pass int to ApiUsageException::newWithMessage()'s $httpCode param. |
| 7367 |
* (T311678) SpecialEditWatchlist: Prevent passing null to strtolower(). |
| 7368 |
* (T281741) ChangeTags: Fix adding CSS classes for hidden tags. |
| 7369 |
* (T296642) changetags: Fix management of a '0' tag. |
| 7370 |
* (T311554) ChangeTags: Return early in formatSummaryRow() if $tags === null. |
| 7371 |
* (T303033) Handle null in ChangeTags::modifyDisplayQuery. |
| 7372 |
|
| 7373 |
== MediaWiki 1.35.6 == |
| 7374 |
|
| 7375 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7376 |
|
| 7377 |
=== Changes since MediaWiki 1.35.5 === |
| 7378 |
* (T298261) Fix support for Composer 2.2. |
| 7379 |
* (T298283) composer.json: Add wikimedia/composer-merge-plugin to allow-plugins. |
| 7380 |
* Update doctrine/dbal (3.0.0 => 3.1.5). |
| 7381 |
* (T298564) MemcachedClient: Add support for IPv6. |
| 7382 |
* (T297543, CVE-2022-28202) SECURITY: properly escape output used within |
| 7383 |
galleries and Special:RevisionDelete. |
| 7384 |
* (T268847) Suppress deprecation warnings from libxml_disable_entity_loader(). |
| 7385 |
* (T283275) Fix PHP 8.0 failure of WikiExporterFactoryTest. |
| 7386 |
* (T274966) Upgrading wikimedia/html-formatter (1.0.2 => 2.0.1). |
| 7387 |
* Fix the json schema and the extension processor for Parsoid extension modules. |
| 7388 |
* (T299696) update.php: Avoid passing null to substr. |
| 7389 |
* In PHP 8.1 don't throw exceptions from mysqli. |
| 7390 |
* (T289926) SiteConfiguration: Don't pass null to str_replace(). |
| 7391 |
* (T264735) Fix deprecation warning from CURLPIPE_HTTP1. |
| 7392 |
* (T260735) Stop using is_resource() where possible. |
| 7393 |
* (T289879) Apply ReturnTypeWillChange to various implementations of built in |
| 7394 |
interfaces. |
| 7395 |
* (T299312) Implement __serialize/__unserialize for PHP 8.1 support. |
| 7396 |
* ExtensionRegistry: Add process cache for lazy attributes. |
| 7397 |
* (T301041) ApiPageSet: Add "missing": true to missing revisions. |
| 7398 |
* Allow ParsoidModules extension schema to register services. |
| 7399 |
* (T297708) Allow setting max execution time to several special pages. |
| 7400 |
* Upgrading wikimedia/object-factory (v2.1.0 => v2.2.0). |
| 7401 |
* (T302540) composer.json: Add ext-calendar to require. |
| 7402 |
* (T302540) composer.json: Add ext-simplexml to require-dev. |
| 7403 |
* (T302540) composer.json: Add various PHP extensions to suggests. |
| 7404 |
* Upgrading symfony/polyfill-php80 (v1.23.1 => v1.25.0). |
| 7405 |
* (T303871) Add Title::getId() as an alias for ::getArticleId(). |
| 7406 |
* (T304008) Don't re-check "Move subpages" on Special:MovePage after a warning. |
| 7407 |
* (T293576) listFiles: Display file name instead of version. |
| 7408 |
* (T303560) Installer: Check correct PCRE_CONFIG_NEWLINE value. |
| 7409 |
* wrapOldPasswords: add \n to two output calls. |
| 7410 |
* (T304993) Make editcontentmodel a part of editpage grant. |
| 7411 |
* (T297571, CVE-2022-28201) Title::newMainPage() goes into an infinite recursion |
| 7412 |
loop if it points to a local interwiki. |
| 7413 |
* (T297731, CVE-2022-28203) Requesting Special:NewFiles on a wiki with many file |
| 7414 |
uploads with actor as a condition can result in a DoS. |
| 7415 |
|
| 7416 |
== MediaWiki 1.35.5 == |
| 7417 |
|
| 7418 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7419 |
|
| 7420 |
=== Changes since MediaWiki 1.35.4 === |
| 7421 |
* (T290697) Add symfony/polyfill-php80. |
| 7422 |
* IcuCollation: Add some more icu to unicode version mappings. |
| 7423 |
* ApiBase: Annotate deprecated constants individually. |
| 7424 |
* PHPVersionCheck: Mark PHP 7.4.0 - 7.4.2 as buggy. |
| 7425 |
* (T293044) installer: Fix 5th param to sourceFile() in DatabaseUpdater. |
| 7426 |
* (T291127) Always encode spaces in cookie values as "%20". |
| 7427 |
* Use LocalFile::getHookRunner instead of LocalFile::hookRunner. |
| 7428 |
* HistoryBlobStub: add getLocation() to get $mOldId. |
| 7429 |
* Fix checkStorage.php. |
| 7430 |
* checkStorage: pass no parameters to WikiRevision::getContent(). |
| 7431 |
* (T292763, CVE-2021-44854) SECURITY: Do not cache private wiki completion |
| 7432 |
results. |
| 7433 |
* (T294316) Revert "Mark ApiClientLogin/ApiLogin as requiring write mode". |
| 7434 |
* (T250068) resources: Upgrade jQuery from 3.4.1 to 3.6.0. |
| 7435 |
* (T250068) resources: Upgrade jquery-migrate from 3.1.0 (patched) to 3.3.2 |
| 7436 |
(patched). |
| 7437 |
* (T294796) JobQueueRedis: Replace deprecated zSize with zCard. |
| 7438 |
* (T212428, T267468) Allow populateContentTables to continue when there are |
| 7439 |
bad blobs. |
| 7440 |
* (T295191) ApiQuerySiteinfo: Fix "rightsinfo"/"url" when $wgRightsPage is |
| 7441 |
set. |
| 7442 |
* Update pear/mail_mime to 1.10.11. |
| 7443 |
* Update deprecated Guzzle Psr7 function calls. |
| 7444 |
* Tweak error message for missing composer dependencies. |
| 7445 |
* (T296112) Allow inserting new sections named '0'. |
| 7446 |
* nukeNS: don't run purgeRedundantText() after every change. |
| 7447 |
* (T225888) RollbackAction: fix missing pagetitle. |
| 7448 |
* (T297322, CVE-2021-44858, CVE-2021-44857) SECURITY: Fix permissions checks in |
| 7449 |
undo actions. |
| 7450 |
* (T297574, CVE-2021-45038) SECURITY: Fix permissions check in action=rollback. |
| 7451 |
* (T34716, T297416) SECURITY: Require 'read' right for most actions. |
| 7452 |
* (T271037, CVE-2021-44856) SECURITY: Fix use of EditFilterMergedContent hook |
| 7453 |
when changing content model. |
| 7454 |
|
| 7455 |
== MediaWiki 1.35.4 == |
| 7456 |
|
| 7457 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7458 |
|
| 7459 |
=== Changes since MediaWiki 1.35.3 === |
| 7460 |
* (T283394) Mark ApiClientLogin/ApiLogin as requiring write mode. |
| 7461 |
* (T283273) Make postgres IRC channel point to libera.chat. |
| 7462 |
* (T289108) ExtensionProcessor: Remove loaderScripts from extension.json |
| 7463 |
schemas. |
| 7464 |
* (T281549) Installer: Fix mediawiki-announce auto subscription code. |
| 7465 |
* FormatJson: Optimize encode() for supported PHP versions. |
| 7466 |
* (T290398) renameRestrictions.php: Update protected_titles as well. |
| 7467 |
* $wgMimeTypeBlacklist - This configuration array now prohibits the RFC 4329 |
| 7468 |
form of JavaScript, 'application/javascript', as well as previous MIME types. |
| 7469 |
* (T51097, T290273) resourceloader: Call getStyleFiles from |
| 7470 |
FileModule::getFileHashes. |
| 7471 |
* (T277788) parser: Avoid calling ParserOptions::getOption() too many times. |
| 7472 |
* (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in Special:Search. |
| 7473 |
* (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full |
| 7474 |
table scan. |
| 7475 |
* (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of |
| 7476 |
Special:Contributions. |
| 7477 |
|
| 7478 |
== MediaWiki 1.35.3 == |
| 7479 |
|
| 7480 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7481 |
|
| 7482 |
=== Changes since MediaWiki 1.35.2 === |
| 7483 |
* (T259685) SQLite compatibility with ZeroConf VisualEditor was fixed in 1.35.2. |
| 7484 |
* (T196906, T242751) Fix the test MonologSpiTest::testDefaultChannel. |
| 7485 |
* (T279964) Parser: Trim trailing whitespace as the last step in pre-save |
| 7486 |
transform. |
| 7487 |
* (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER. |
| 7488 |
* (T252853) Update updateSearchIndex.php to 2006+ standards. |
| 7489 |
* (T276945) Define a batch size in maintenance/manageJobs.php. |
| 7490 |
* (T276945) Implement JobQueueDB::getAllAbandonedJobs. |
| 7491 |
* (T269676) authevents: strval() variables passed to status when logging. |
| 7492 |
* (T280944) $wgIncludejQueryMigrate - This setting allows the jQuery Migrate |
| 7493 |
plugin to be disabled. It has been enabled by default since MediaWiki 1.27. |
| 7494 |
* (T281584) apihelp-query+iwlinks-param-prop: s/interlanguage/interwiki/. |
| 7495 |
* (T281635) Delete maintenance/cleanupAncientTables.php. |
| 7496 |
* (T282133) RedisConnectionPool: Suppress phan issue. |
| 7497 |
* (T281549) WebInstaller: Don't show the announce-l subscribe |
| 7498 |
checkbox temporarily. |
| 7499 |
* (T278266) Fix annoying E_NOTICE about undefined 'alt' index in |
| 7500 |
Skin#makeFooterIcon. |
| 7501 |
* (T264214) UserRightsProxy::addGroup has to be allowed to update the |
| 7502 |
old group as well, which is used for granting interwiki rights. |
| 7503 |
* (T269776, T278266) getFooterIcons should not return empty arrays. |
| 7504 |
* (T274966) Skip AvroFormatterTest::testSchemaNotAvailable on PHP 8.0. |
| 7505 |
* phpunit: fail on warnings. |
| 7506 |
* (T283247) Freenode -> Libera per wikimedia moving from |
| 7507 |
freenode to libera. |
| 7508 |
* (T243124) Make phpunit:unit accept extension*.json to populate the classes. |
| 7509 |
* (T142663) Add extension.json merge strategy "provide_default". |
| 7510 |
* (T283540) HookContainer: Fix normalization of callback for static handler. |
| 7511 |
* (T283464) Fix array order for array_replace_recursive merge strategy. |
| 7512 |
* (T247223) Optimise MessageCache::isMainCacheable() for the single-message |
| 7513 |
case. |
| 7514 |
* (T278579) Don't send headers on ob_end_clean(). |
| 7515 |
* (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from purging |
| 7516 |
pages. |
| 7517 |
|
| 7518 |
== MediaWiki 1.35.2 == |
| 7519 |
|
| 7520 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7521 |
|
| 7522 |
MediaWiki 1.35.2 supports Composer 2.0. It is recommended to make sure your |
| 7523 |
libraries are up to date on Composer 1.x, before running Composer 2.x. |
| 7524 |
|
| 7525 |
While normally running update.php isn't required for point releases, |
| 7526 |
it is recommended to run it for 1.35.2 so that iwlinks.iwl_prefix is |
| 7527 |
updated to take 32 characters. |
| 7528 |
|
| 7529 |
=== Changes since MediaWiki 1.35.1 === |
| 7530 |
* (T270450) The confusingly-named User->isLoggedIn() method has been deprecated |
| 7531 |
in favour of the method it wraps, User->isRegistered(). |
| 7532 |
* Upgrade pimple/pimple from 3.3.0 to 3.3.1 for PHP 8.0 support. |
| 7533 |
* Upgrade seld/jsonlint from 1.7.1 to 1.8.3 for PHP 8.0 support. |
| 7534 |
* Upgrade doctrine/dbal from 2.10.4 to 3.0.0 for PHP 8.0 support. |
| 7535 |
* (T270734) Fix display of Special:Preferences URL in password reset email. |
| 7536 |
* (T252774, T271441) resourceloader: Give SkinModule 'features' option an |
| 7537 |
extensible default. |
| 7538 |
* (T271441) Unknown features shouldn't break style output. |
| 7539 |
* (T264986) Make use of CURLMOPT_MAX_HOST_CONNECTIONS conditional on having |
| 7540 |
curl >= 7.30.0. |
| 7541 |
* DefaultSettings.php: Update $wgPingback documentation. |
| 7542 |
* Fix docs for LanguageConverter::translate. |
| 7543 |
* (T272250) Don't rely on implicit string->int cast in comparison. |
| 7544 |
* (T272327) Exif::isSlong: Cast input to float so PHP 8.0 abs() doesn't whine. |
| 7545 |
* (T272328) UploadBase: Don't call MimeAnalyzer if mTempPath is null. |
| 7546 |
* Remove nonfunctional default sampling for WANObjectCache metrics. |
| 7547 |
* (T258851) Prevent service injection to LoadExtensionSchemaUpdates hook. |
| 7548 |
* (T270852) Hooks: Map dash character to underscore when generating hook names. |
| 7549 |
* (T271551, T270145) Fix fetching ipblock-exempt within |
| 7550 |
BlockManager::getUserBlock. |
| 7551 |
* PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0. |
| 7552 |
* (T248925) Set empty closures in DatabaseTest to fix PHP 8 tests. |
| 7553 |
* (T34217) rdbms: Remove outdated MySQL 4 references and fix doc URLs. |
| 7554 |
* (T248925) Special:Contributions reports negative namespace error on PHP 8. |
| 7555 |
* (T248925) objectcache: Fix non-numeric string check in HashBagOStuff for |
| 7556 |
PHP 8. |
| 7557 |
* (T248925) Fix CacheTime::getCacheExpiry for PHP 8. |
| 7558 |
* (T259685) Allow REST API POST handlers to opt out of mandatory SQLite locking. |
| 7559 |
* (T91820, T259685) MWLBFactory: rename magic HTTP header for opting out of |
| 7560 |
SQLite write lock. |
| 7561 |
* (T272326) Fix DeprecationHelperTest on PHP 8. |
| 7562 |
* Upgrade wikimedia/less.php from 3.0.0 to 3.1.0 for PHP 8.0 support. |
| 7563 |
* (T236639) OutputPage: Make $wgDebugRedirects work again. |
| 7564 |
* (T274648) registration: Allow reusing cached metadata between wikis. |
| 7565 |
* CdnCacheUpdate: Send full URL instead of path to Curl for purge. |
| 7566 |
* Upgrade monolog/monolog from 1.25.3 to 2.2.0 for PHP 8.0 support. |
| 7567 |
* FileBackend: Do not use SOCKET_ENOENT on windows. |
| 7568 |
* (T275441) ApiQueryUserInfo: Allow all uiprops to be requested at once. |
| 7569 |
* (T275261) Escape wikitext in the title in invalid title error messages. |
| 7570 |
* (T275242) Extend iwlinks.iwl_prefix to VARBINARY(32) on MySQL. |
| 7571 |
* (T246594, T270228) PHPVersionCheck: Complain about known-bad versions above |
| 7572 |
minimum. |
| 7573 |
* (T275824) Upgrade wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1 for |
| 7574 |
Composer 2.0 support. |
| 7575 |
* (T269293) Record all used options in metadata. |
| 7576 |
* Allow usage of Composer 2.0 to install MediaWiki's dependencies. |
| 7577 |
* (T259872) skins: Call headElement() after getTemplateData() in SkinMustache. |
| 7578 |
* (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access |
| 7579 |
Special:ResetTokens. |
| 7580 |
* (T272412) Add "Account data" section to user preferences. |
| 7581 |
* (T268310) Add list of thumbnail urls to LocalFilePurgeThumbnails hook. |
| 7582 |
* (T277520) registration: Allow specifying immovable namespaces in |
| 7583 |
extension.json. |
| 7584 |
* (T275619) Maintenance::hasOption and Maintenance::getOption now behave as |
| 7585 |
documented and are not altered by previous calls to these methods. |
| 7586 |
* (T254688) Remove page inner join from subquery in SpecialWhatLinksHere. |
| 7587 |
* (T122124) signup: added help message for security. |
| 7588 |
* (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-* messages |
| 7589 |
on Special:NewFiles. |
| 7590 |
* (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages on |
| 7591 |
ChangesList pages. |
| 7592 |
* (T277414) HTMLFormField: Use non namespaced class name rather than |
| 7593 |
static::class. |
| 7594 |
* (T268673) maintenance: Don't create SearchUpdate in rebuildtextindex.php |
| 7595 |
for page_namespace below 0. |
| 7596 |
* (T246594, T270228) Mark ParserOptionsTests skipped on PHP 7.4.0-7.4.8. |
| 7597 |
* (T268230) Switch to new MediaWiki logo by Serhio Magpie. |
| 7598 |
* (T271735) Expand config-pingback-help, link to privacy policy in |
| 7599 |
config-pingback. |
| 7600 |
* Fix documentation of user-global in $wgRateLimits. |
| 7601 |
* BackupDumper: Add -o as shortcode for --output. |
| 7602 |
* (T235554) Disable DEFER_SET_LENGTH_AND_FLUSH headers to avoid HTTP errors. |
| 7603 |
* (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection they |
| 7604 |
have right to do so via action=protect. |
| 7605 |
* (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in fast |
| 7606 |
double move. |
| 7607 |
* (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user can |
| 7608 |
create pages. |
| 7609 |
* (T279451, CVE-2021-30458) SECURITY: Parsoid comment fostering allows for |
| 7610 |
inserting mostly arbitrary <meta> tags. |
| 7611 |
|
| 7612 |
== MediaWiki 1.35.1 == |
| 7613 |
|
| 7614 |
This is a security and maintenance release of the MediaWiki 1.35 branch. |
| 7615 |
|
| 7616 |
While normally running update.php isn't required for point releases, |
| 7617 |
it is recommended to run it for 1.35.1 so that sites.site_language is |
| 7618 |
updated to take 35 characters. |
| 7619 |
|
| 7620 |
Watchlist Expiry is no longer considered experimental, but is off by default. |
| 7621 |
To enable it, set $wgWatchlistExpiry = true; in your LocalSettings.php. |
| 7622 |
|
| 7623 |
=== Changes since MediaWiki 1.35.0 === |
| 7624 |
* (T263929) purgeList.php Fix all-namespaces option to match one used in code. |
| 7625 |
* (T248719) ParserCache::get - fix wfDeprecated call. |
| 7626 |
* (T261430) WatchlistExpiryWidget: Move focus to expiry dropdown after hitting |
| 7627 |
Tab. |
| 7628 |
* Preload mediawiki.watchstar.widgets before api request. |
| 7629 |
* (T261030) ApiEditPage: Show existing watchlist expiry if status is not being |
| 7630 |
changed. |
| 7631 |
* (T264502) Fix PHP 8 compat with strcspn() $length parameter exceeding string. |
| 7632 |
* (T248925) Remove final modifier on private function. |
| 7633 |
* (T264683) Remove ipb_anon_only from ipb_address_unique index addition. |
| 7634 |
* (T261415) Add days left messages to changes-lists' clock icons. |
| 7635 |
* Fix order of wfDeprecated parameters in ExternalStoreDB::getSlave. |
| 7636 |
* (T261260) Preload class used in HeaderCallback. |
| 7637 |
* (T260868, T260009) Normalize WatchedItem expiry field. |
| 7638 |
* (T264683) Remove doTable check from (Mysql|Sqlite)Updater::indexHasFields. |
| 7639 |
* (T264534) ApiPageSet: Avoid infinite loop when merging redirects. |
| 7640 |
* (T196906) Empty Monolog loggers are now real blackholes. |
| 7641 |
* (T258649) WatchAction: avoid UPDATE when old and new watch period is |
| 7642 |
indefinite. |
| 7643 |
* Parser: Adjust typehint to show that getTitle can return null. |
| 7644 |
* (T263592) media: Fix case of FlashPixVersion in |
| 7645 |
FormatMetadata::makeFormattedData(). |
| 7646 |
* (T265223) BaseTemplate: Guard against passing zero arg to array_merge(). |
| 7647 |
* (T264965) Fix base path handling for MessagePosterModule registration. |
| 7648 |
* (T252183) Fix Database::getTempTableWrites for multi table DDLs. |
| 7649 |
* (T182546) Fix switch/case indentation per mediawiki coding conventions. |
| 7650 |
* Flip Yoda conditionals. |
| 7651 |
* (T263213) Move SkinTemplate::getFooterLinks() to Skin. |
| 7652 |
* build: Updating mediawiki/mediawiki-codesniffer to 33.0.0. |
| 7653 |
* (T267105) Make ImageBuilder::checkMissingImage public. |
| 7654 |
* Updating guzzlehttp/guzzle (6.5.4 => 6.5.5). |
| 7655 |
* (T266681) Support new style hook registration on install and update. |
| 7656 |
* (T266980) Fix unsetting of copyright icon in FooterIcons. |
| 7657 |
* upload.js: Don't assume that warnings array will include 'code' key. |
| 7658 |
* upload.js: Fix typo in upload API. |
| 7659 |
* (T264333, T190988, T266903) Pass along ignorewarnings param to all |
| 7660 |
individual chunks being uploaded. |
| 7661 |
* (T267558) importTextFiles.php: Replace deprecated WikiRevision:setText(). |
| 7662 |
* (T266418) composer.json: add requirement for composer-plugin-api ^1.1. |
| 7663 |
* (T261431) Add ARIA attributes to watchlink and its notification. |
| 7664 |
* (T258877) Change invalid 'Content-Encoding: none' header. |
| 7665 |
* Fix trailing ; in patch-sites-site_language-35.sql. |
| 7666 |
* (T248852) wfAssembleUrl: Handle empty query field in URL bits. |
| 7667 |
* (T268846) Updating wikimedia/testing-access-wrapper (1.0.0 => 2.0.0). |
| 7668 |
* (T268887) migrateComments: Cast array keys back to string before passing |
| 7669 |
to the DB. |
| 7670 |
* (T266619) Introduce new $wgThumbPath config. |
| 7671 |
* (T269178) MemcachedClient: Cast Resource to integer. |
| 7672 |
* (T263925) Use the old HookContainer to set up the post-reset services. |
| 7673 |
* Change "site cache" to just "cache" in the right-purge message. |
| 7674 |
* [UploadedFileStreamTest] Skip test with chmod. |
| 7675 |
* (T269710) Updating composer/semver (1.5.1 => 1.7.2). |
| 7676 |
* (T269710) Updating mediawiki/mediawiki-codesniffer (33.0.0 => 34.0.0). |
| 7677 |
* (T260631, T260633), BotPassword::save() now returns a Status object for the |
| 7678 |
result rather than a bool. The length of the bot password grants and |
| 7679 |
restriction fields are now validated, and an error will be thrown if it |
| 7680 |
would be truncated by the database. |
| 7681 |
* (T265778) Fix English/*nix specific error messages in FSFileBackend. |
| 7682 |
* (T267543) Split dropping of image.img_user_timestamp. |
| 7683 |
* [FileTest] Do not assume /tmp exists on windows. |
| 7684 |
* Clean up temp files correctly after unit tests. |
| 7685 |
* Skip undo related phpunit tests when diff3 is missing. |
| 7686 |
* (T269964) rdbms: Remove outer parentheses in insert query for Postgres. |
| 7687 |
* (T263911) In MWExceptionHandler::report(), catch all throwables. |
| 7688 |
* (T268894, CVE-2020-35474) SECURITY: Use Html::element in |
| 7689 |
ChangeListSpecialPage for sanity. |
| 7690 |
* (T268917) Use Xml::element in SpecialUserrights for sanity. |
| 7691 |
* (T268938, CVE-2020-35478, CVE-2020-35479) SECURITY: Pass escaped html |
| 7692 |
to LogFormatter::makePageLink for sanity. |
| 7693 |
* (T268938) Fixed mixed escaping in Language::translateBlockExpiry. |
| 7694 |
* (T263911) UserOptionsManager: don't differentiate anons caches. |
| 7695 |
* (T261260) HeaderCallback: pre-cache request ID. |
| 7696 |
* Parsoid updated to v0.12.1. |
| 7697 |
* (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log |
| 7698 |
entries when MediaWiki:Mainpage uses Special:MyLanguage. |
| 7699 |
* (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions |
| 7700 |
and user pages of hidden users and missing users. |
| 7701 |
* (T270145) Fix condition that can lead to using APCOND_BLOCKED in |
| 7702 |
$wgAutopromote to cause an OOM in PHP. |
| 7703 |
|
| 7704 |
== MediaWiki 1.35.0 == |
| 7705 |
|
| 7706 |
=== Changes since MediaWiki 1.35.0-rc.3 === |
| 7707 |
* (T261258) Remove checks for ancient ImageMagick versions in BitmapHandler. |
| 7708 |
* (T260232) Don't include null page ids in query list for category dumps. |
| 7709 |
* (T260009) Check existing watchitem when saving action=watch. |
| 7710 |
* (T259055) Correct success messages for action=watch. |
| 7711 |
* mediawiki.page.ready: Simpler tablesorter/makeCollapsible call. |
| 7712 |
* mediawiki.page.ready: Fix skin override config flags, wrong way round. |
| 7713 |
* (T262175, T248512) Remove requirement for ApiWatchlistTrait to be in ApiBase. |
| 7714 |
* (T259053, T260434) Watchlist: Fix updateWatchLink removing css class when |
| 7715 |
action=watch. |
| 7716 |
* (T261901, T261476) mediawiki.notification: Don't close notif when clicking |
| 7717 |
<select> element. |
| 7718 |
* (T251506) Sanitizer: Truncate IDs to a reasonable length. |
| 7719 |
* (T259452) Parsoid updated to v0.12.0. |
| 7720 |
* (T261970) watch.ajax: Add expiry support to watchpage.mw event. |
| 7721 |
* (T262900) Fix failure of rebuildLocalisationCache.php due to ResourceLoader |
| 7722 |
hook. |
| 7723 |
* (T263014) Hard deprecate File::userCan() with $user=null. |
| 7724 |
* (T262547) Use localized success message after watching via action=watch. |
| 7725 |
* (T201491) Fix typo 'Watchlst' in `apihelp-edit-param-watchlistexpiry`. |
| 7726 |
* (T261081) Installer: consistently reset Language objects. |
| 7727 |
* (T250449, T250450) Installer: consistently reset Language objects. |
| 7728 |
* Explicitly wrap some XML calls in libxml_disable_entity_loader(). |
| 7729 |
* (T262934) Ensure dropdown label is always on its own line. |
| 7730 |
* (T246855) resourceloader: Use a local HookRunner. |
| 7731 |
* (T263604) Have findBadBlobs.php require Maintenance.php rather than |
| 7732 |
cleanupTable.inc. |
| 7733 |
* (T263606) Set fake time, to avoid flaky tests. |
| 7734 |
* (T261325) Add FindMissingActors script. |
| 7735 |
* (T262364) shell: Don't blacklist /run/firejail. |
| 7736 |
* (T263655) NewPagesPager: Ignore nonexistent namespaces. |
| 7737 |
* Update specialPageAliases and magicWords for Egyptian Arabic (arz). |
| 7738 |
* (T261347) ParserOutput: don't throw on bad editsection. |
| 7739 |
* (T232568, CVE-2020-25813) SpecialUserrights: If a viewer lacks `hideuser`, |
| 7740 |
ignore hidden users. |
| 7741 |
* (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on |
| 7742 |
Special:Contributions. |
| 7743 |
* (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within |
| 7744 |
LogEventsList. |
| 7745 |
* (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking |
| 7746 |
firejail's --output functionality. |
| 7747 |
* (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and |
| 7748 |
'style' attribute. |
| 7749 |
* (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in |
| 7750 |
mw.message( ... ).parse(). |
| 7751 |
* (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct |
| 7752 |
database. |
| 7753 |
* (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used. |
| 7754 |
* Add Finnish special page aliases. |
| 7755 |
* Fix GuzzleHttpRequest request headers. |
| 7756 |
* Fix description for pruneFileCache.php. |
| 7757 |
* emptyUserGroup.php: handle more than 5000 users. |
| 7758 |
* Make ApiSandbox copyable URL absolute. |
| 7759 |
* (T261087) Add a link from a deleted page to that page's logs. |
| 7760 |
|
| 7761 |
== MediaWiki 1.35.0-rc.3 == |
| 7762 |
|
| 7763 |
=== Changes since MediaWiki 1.35.0-rc.2 === |
| 7764 |
* (T258662) mediawiki.visibleTimeout: Update the nextVisibleTimeoutId value. |
| 7765 |
* Ensure Parsoid doesn't throw when <ref> is used w/o Cite installed. |
| 7766 |
* Remove maintenance/createCommonPasswordCdb.php. |
| 7767 |
* (T260468) Increase "sites.site_global_key" to varbinary(64). |
| 7768 |
* (T183759) Fix shell edge-cases in Windows. |
| 7769 |
* (T257879) Drop PHP 7.2 support; require 7.3.19. |
| 7770 |
* (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global |
| 7771 |
rate limit type. |
| 7772 |
* (T246991) User: enforce pingLimiter() expiry time. |
| 7773 |
* (T256831) Rest: Handle Uri constructor exception. |
| 7774 |
* (T259094) Fix RequestFromGlobalsTest failing in Travis CI. |
| 7775 |
* (T256831, T261344) Rest: Use try/catch to handle URIs with embedded colon. |
| 7776 |
|
| 7777 |
== MediaWiki 1.35.0-rc.2 == |
| 7778 |
|
| 7779 |
=== Changes since MediaWiki 1.35.0-rc.1 === |
| 7780 |
* (T259693) uuid: Fix filenames on Windows. |
| 7781 |
* Remove Gruntfile.js and package-lock.json from the tarball. |
| 7782 |
* firejail: Strengthen by copying from Wikimedia's profile. |
| 7783 |
* (T260059) ResourceLoaderOOUIImageModule: loadOOUIDefinition() may return |
| 7784 |
false. |
| 7785 |
* (T30162, T245387) The installer supports using a Postgres server running |
| 7786 |
on a custom port other than 5432. |
| 7787 |
* (T260201) Support private wikis in Parsoid zero configuration mode. |
| 7788 |
* Fix bad use of `|=` PHP bit operation where `= … ||` bool is intended. |
| 7789 |
* (T259212) SpecialBlock: Show error if a block could not be inserted or found. |
| 7790 |
* (T255842) UserOptionsManager: fix options reset. |
| 7791 |
* (T258649) WatchAction: avoid unnecessary UPDATEs when expiry is unchanged. |
| 7792 |
* (T250851) Allow skins to override mediawiki.page.ready initialisation. |
| 7793 |
* (T250851) mediawiki.page.ready: Allow skins to disable search lazy load. |
| 7794 |
* (T253135, T255632) Update language in watchlist expiry. |
| 7795 |
* Use IPset in MWRestrictions::checkIP. |
| 7796 |
* (T259564) Fix race condition on edit page. |
| 7797 |
* (T260759) Hide watchlist expiry label in edit form. |
| 7798 |
* mime: Fix docs of MIME_EXTENSIONS, they're arrays, not space-separated. |
| 7799 |
* (T260031) Add application/font-sfnt to MimeMap for ttf files. |
| 7800 |
* (T259379) WatchedItemStore: Cache single WatchedItems with preexisting expiry. |
| 7801 |
* Add a maintenance script to create bot passwords. |
| 7802 |
* (T201269) Add Traditional Chinese zh-hant as fallback for Amis (ami). |
| 7803 |
* Improve wfParseUrl docs. |
| 7804 |
* (T251038) Add multi index fields in ImageListPager for unique paginate. |
| 7805 |
* (T259916) Guard against 'Widget not found' error. |
| 7806 |
|
| 7807 |
== MediaWiki 1.35.0-rc.1 == |
| 7808 |
|
| 7809 |
=== Changes since MediaWiki 1.35.0-rc.0 === |
| 7810 |
* (T252136) Fix RecentChanges watchlist filters when WatchlistExpiry is off. |
| 7811 |
* (T258662) Update time period for watchlist expiry pop-up. |
| 7812 |
* (T258443) Fix expiry dropdown not getting disabled on edit page. |
| 7813 |
* (T259398) Add license information for promise-polyfill. |
| 7814 |
* Remove executable bit from scripts without shebang. |
| 7815 |
* (T256526) Fix bold of watched items on Special:RecentChangesLinked. |
| 7816 |
* (T259060) Edit page expiry dropdown should keep state after |
| 7817 |
disabling/enabling. |
| 7818 |
* (T259009) Translate expiry period in pop-up message for watchlist expiry. |
| 7819 |
* (T258310) Add watchlist clock icon to RecentChanges. |
| 7820 |
* (T259362) Permit temporary table writes on replica DB connections. |
| 7821 |
* (T250214) Add UI support in Special:EditWatchlist for watchlist expiry. |
| 7822 |
* (T72470) Disable wgLegacyJavaScriptGlobals by default. |
| 7823 |
* (T130906) Add Edge to MediaWiki:Clearyourcache. |
| 7824 |
* (T257279) Add mediawiki.ui Less variable deprecation note. |
| 7825 |
* (T249521) Fixed reassignEdits.php to work with anonymous users. |
| 7826 |
* (T259448) Fix Circular dependency when creating service in |
| 7827 |
DBLoadBalancerFactory. |
| 7828 |
* (T257259) Default to using watchlist expiry of old page when moving pages. |
| 7829 |
|
| 7830 |
== MediaWiki 1.35.0-rc.0 == |
| 7831 |
|
| 7832 |
== Upgrading notes for 1.35 == |
| 7833 |
1.35 requires PHP 7.3.19 or above (up from 7.2.9). (T257879) |
| 7834 |
|
| 7835 |
1.35 has several database changes since 1.34, and will not work without schema |
| 7836 |
updates. Note that due to changes to some very large tables like the revision |
| 7837 |
table, the schema update may take quite long (minutes on a medium sized site, |
| 7838 |
many hours on a large site). |
| 7839 |
|
| 7840 |
Don't forget to always back up your database before upgrading! |
| 7841 |
|
| 7842 |
MediaWiki 1.35 is the next LTS after 1.31, and will be supported for around 3 |
| 7843 |
years. |
| 7844 |
|
| 7845 |
MediaWiki has a lot of both soft and hard deprecations, and code removed. As |
| 7846 |
always, make sure your versions of extensions match the MediaWiki version, |
| 7847 |
and updates may be required to any custom extensions. |
| 7848 |
|
| 7849 |
See the file UPGRADE for more detailed upgrade instructions, including |
| 7850 |
important information when upgrading from versions prior to 1.11. |
| 7851 |
|
| 7852 |
Some specific notes for MediaWiki 1.35 upgrades are below: |
| 7853 |
* (T259685) When using SQLite as the database backend for MediaWiki, |
| 7854 |
Zeroconf (zero-configuration) VisualEditor/Parsoid only works with |
| 7855 |
MediaWiki 1.35.2 and above. It is still recommended to use |
| 7856 |
MySQL/MariaDB rather than SQLite when using VisualEditor. |
| 7857 |
|
| 7858 |
For notes on 1.34.x and older releases, see HISTORY. |
| 7859 |
|
| 7860 |
=== Configuration changes for system administrators in 1.35 === |
| 7861 |
|
| 7862 |
* (T72470) $wgLegacyJavaScriptGlobals is now false by default. This feature |
| 7863 |
will be completely removed in a later MediaWiki release. |
| 7864 |
|
| 7865 |
==== New configuration ==== |
| 7866 |
* $wgDiffEngine — This can be used to specify the difference engine to use, |
| 7867 |
rather than MediaWiki choosing the first of $wgExternalDiffEngine, wikidiff2, |
| 7868 |
or php that is usable. |
| 7869 |
* $wgSearchMatchRedirectPreference — This configuration setting controls whether |
| 7870 |
users can set a new preference, search-match-redirect, which decides if search |
| 7871 |
should redirect them to exact matches is available. By default, this is set to |
| 7872 |
false, which maintains the previous behaviour without preference bloat. Change |
| 7873 |
your site's default by setting $wgDefaultUserOptions['search-match-redirect']. |
| 7874 |
* $wgPoolCounterConf['SpecialContributions'] — Per-user concurrency in the use |
| 7875 |
of SpecialContributions can now be limited by setting this appropriately. |
| 7876 |
* $wgPasswordPolicy — PasswordCannotBeSubstringInUsername is a new password |
| 7877 |
policy check. Similar to the existing PasswordCannotMatchUsername check, this |
| 7878 |
check ensures that a user's (case-insensitive) password cannot be a part of |
| 7879 |
their username. e.g. password = MyPass, username = ThisUsersPasswordIsMyPass. |
| 7880 |
* $wgLogos — This new configuration setting combines the now-deprecated $wgLogo |
| 7881 |
and $wgLogoHD settings into a single, associative array. It provides support |
| 7882 |
for a new key, 'wordmark', for setting a horizontal wordmark to show next to |
| 7883 |
the graphical logo. To do this, set 'wordmark' to an array with 'src' set to |
| 7884 |
the path of the wordmark image, and 'width' and 'height' for its dimensions |
| 7885 |
in pixels. $wgLogos inherits the existing support provided by its predecessor |
| 7886 |
settings: '1x' mapping to the path of the logo as a 135x135px raster image |
| 7887 |
(equivalent to $wgLogo), and '1.5x', '2x', and 'svg' operating as before for |
| 7888 |
$wgLogoHD. If $wgLogos is unset, $wgLogo and $wgLogoHD values are read for |
| 7889 |
temporary backwards compatibility. (T232140) |
| 7890 |
* $wgWatchlistExpiry — (EXPERIMENTAL) This enables the new watchlist expiry |
| 7891 |
feature. The database table (watchlist_expiry) for this is created regardless |
| 7892 |
of this setting, but all other aspects of the expiry feature are controlled |
| 7893 |
by it. Enabling in production is discouraged for the time being. A future |
| 7894 |
MediaWiki 1.35 release will advertise this feature once it is stable. |
| 7895 |
* $wgWatchlistPurgeRate — This sets the chance of expired watchlist items being |
| 7896 |
purged on each page edit. Only has effect if $wgWatchlistExpiry is true. |
| 7897 |
* $wgWatchlistExpiryMaxDuration — This is the maximum definite relative duration |
| 7898 |
for watchlist expiries. Only has effect if $wgWatchlistExpiry is true. |
| 7899 |
* $wgImgAuthPath – This can be used to override the path prefix used when |
| 7900 |
handling img_auth.php requests. (T235357) |
| 7901 |
* $wgAllowedCorsHeaders — This is a list of headers which can be used in a |
| 7902 |
cross-site API request. |
| 7903 |
* $wgHTTPMaxTimeout and $wgHTTPMaxConnectTimeout — These allow site |
| 7904 |
administrators to limit the timeouts used by the HTTP client libraries. |
| 7905 |
This only affects callers using HttpRequestFactory and the deprecated |
| 7906 |
wrappers in the Http class. |
| 7907 |
* $wgCdnMaxageStale — This controls the Cache-Control s-maxage header for page |
| 7908 |
views when PoolCounter lock contention indicates that a stale cache entry |
| 7909 |
should be sent. |
| 7910 |
* $wgForceHTTPS — This makes the HTTP to HTTPS redirect be unconditional and |
| 7911 |
suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We |
| 7912 |
recommend this be set to true on pure HTTPS wikis. |
| 7913 |
* $wgCookieSameSite — This setting allows login cookies to be sent with |
| 7914 |
SameSite=None. This is required for cross-site CentralAuth auto-login after |
| 7915 |
Chrome 84. |
| 7916 |
* $wgUseSameSiteLegacyCookies — This adds a compatibility hack to |
| 7917 |
SameSite=None cookies for browsers which implemented an incompatible draft |
| 7918 |
version of the specification. |
| 7919 |
|
| 7920 |
==== Changed configuration ==== |
| 7921 |
* $wgResourceLoaderMaxage (T235314) — This configuration array controls the |
| 7922 |
max-age for HTTP caching through the Cache-Control header. It has uses the |
| 7923 |
"versioned" key for urls that do have a version parameter, and the |
| 7924 |
"unversioned" key for urls without a version parameter. The sub keys for |
| 7925 |
"client" and "server" are no longer supported in MediaWiki 1.35. |
| 7926 |
* $wgEnableOpenSearchSuggest — This boolean variable is deprecated and no longer |
| 7927 |
used. The OpenSearch API is now always enabled. |
| 7928 |
* $wgAuthManagerConfig and $wgAuthManagerAutoConfig — These can now use the |
| 7929 |
'services' option in provider specifications. |
| 7930 |
* $wgVirtualRestConfig['modules']['parsoid'] — |
| 7931 |
- The defaults have been updated. If you were relying on the default values, |
| 7932 |
you may need to update your configuration. |
| 7933 |
- The 'URL' parameter, previously allowed for backwards-compatibility, has |
| 7934 |
been deprecated. Use 'url' instead. |
| 7935 |
* $wgXmlDumpSchemaVersion — Default is now set to XML_DUMP_SCHEMA_VERSION_11, so |
| 7936 |
dumps use the new dump format by default. Consumers of XML dumps should not |
| 7937 |
be affected if they ignore any unknown tags they encounter. Also, the format |
| 7938 |
is effectively unchanged for revisions that only contain the main slot. The |
| 7939 |
--schema-version option can be used with the dumpBackup.php script to set the |
| 7940 |
dump format. (T238921) |
| 7941 |
* $wgParserConf — This configuration is now deprecated. It has been |
| 7942 |
effectively constant since 2008, and is ignored by core code. |
| 7943 |
Configure the ParserFactory service in order to customize the Parser used. |
| 7944 |
* $wgAutoloadAttemptLowercase — This has been deprecated, and the default value |
| 7945 |
changed to false. |
| 7946 |
* $wgAllowImageMoving — This configuration setting is now deprecated. Instead, |
| 7947 |
use $wgGroupPermissions; e.g., to revoke sysops' ability to move images use |
| 7948 |
$wgGroupPermissions['sysop']['movefile'] = false. |
| 7949 |
* $wgAllowImageTag — This configuration is now deprecated; future parsers will |
| 7950 |
not support direct use of the HTML <img> tag in wikitext. |
| 7951 |
* $wgUseTwoButtonsSearchForm — This has been deprecated. If you maintain a skin |
| 7952 |
that relies on this and wishes to let system administrators change it, you |
| 7953 |
should convert it to a config variable specific to your skin. If you're using |
| 7954 |
it to configure your wiki, you should check individual skins to see whether |
| 7955 |
they have local skin config for the feature and use that. |
| 7956 |
* $wgPasswordPolicy — The deprecated policy 'PasswordCannotBePopular' has been |
| 7957 |
removed. Use PasswordNotInCommonList instead which covers many more passwords. |
| 7958 |
* Backwards compatibility for using an associative array |
| 7959 |
(e.g. [ '127.0.0.1' => 'bad-ip' ]) for $wgProxyList has been removed. This |
| 7960 |
was deprecated since 1.30. Please convert these arrays to indexed/sequential |
| 7961 |
ones (e.g. [ '127.0.0.1' ]). |
| 7962 |
* $wgShellRestrictionMethod — This now defaults to 'autodetect', which will |
| 7963 |
enable sandboxing for shell commands using firejail, if it's installed. To |
| 7964 |
disable restrictions, set it to false. |
| 7965 |
* $wgLegacyJavaScriptGlobals – This deprecated setting now default to false, |
| 7966 |
instead of true, ahead of its planned removal. |
| 7967 |
|
| 7968 |
==== Removed configuration ==== |
| 7969 |
* $wgSysopEmailBans — This setting, deprecated in 1.34, was removed. To let |
| 7970 |
sysops block email access, use $wgGroupPermissions['sysop']['blockemail']. |
| 7971 |
* $wgDBWindowsAuthentication — This setting had no effect anymore after support |
| 7972 |
for SQL Server was removed in 1.34. (T230418) |
| 7973 |
* $wgProfileOnly — This setting, deprecated in 1.23, was removed. The profiler |
| 7974 |
output should instead be configured via $wgProfiler['output']. |
| 7975 |
* $wgProfileLimit — This setting, deprecated in 1.25, was removed. |
| 7976 |
Set $wgProfiler['threshold'] instead. |
| 7977 |
* $wgDebugTimestamps — This setting was removed. It affected the text output |
| 7978 |
produced via $wgDebugComments, if enabled. |
| 7979 |
* $wgSkipSkin — This setting, deprecated in 1.23, was removed. To disable a |
| 7980 |
skin from being shown, use $wgSkipSkins. |
| 7981 |
* $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and $wgSquidMaxage — |
| 7982 |
These, deprecated in 1.34, have been removed. Use $wgUseCdn, $wgCdnServers, |
| 7983 |
$wgCdnServersNoPurge, or $wgCdnMaxAge instead. |
| 7984 |
* $wgDisableCounters — This, deprecated in 1.25, was removed. The feature that |
| 7985 |
it controlled was already removed in 1.26, but the variable remained existent |
| 7986 |
with a value of `false` for backward-compatibility. |
| 7987 |
* $wgMaxGeneratedPPNodeCount — This setting was removed. It only affected |
| 7988 |
Preprocessor_DOM, which was deprecated in 1.34 and removed in this release. |
| 7989 |
* $wgFixArabicUnicode and $wgFixMalayalamUnicode — These, deprecated in 1.33, |
| 7990 |
were removed. The fixes are now always enabled for their respective languages. |
| 7991 |
* $wgAllowTitlesInSVG — This, unused and deprecated since 1.34, was removed. |
| 7992 |
* $wgEnablePartialBlocks — This setting, deprecated when it was added in 1.33, |
| 7993 |
was removed. Partial blocks are now always enabled. |
| 7994 |
* $wgLocalInterwiki — This setting, deprecated in 1.23, has been removed. |
| 7995 |
* $wgContentHandlerUseDB — This setting, deprecated in 1.34, has been removed. |
| 7996 |
* $wgMultiContentRevisionSchemaMigrationStage — This setting must no longer |
| 7997 |
be set locally. If the migration stage was set to anything other than |
| 7998 |
SCHEMA_COMPAT_NEW locally, update.php must be run after removing the setting. |
| 7999 |
Usage of the setting in code is deprecated. The setting will be removed |
| 8000 |
completely in 1.36. |
| 8001 |
* $wgEnableRestAPI — This setting is no longer obeyed by MediaWiki core, and |
| 8002 |
should not be set set locally. Usage of the setting in code is deprecated; it |
| 8003 |
is now set true by default. The setting will be removed completely in 1.36. |
| 8004 |
* $wgObjectCaches — The 'slaveOnly' option for SqlBagOStuff, deprecated in 1.34, |
| 8005 |
was removed. Use 'replicaOnly' instead. |
| 8006 |
|
| 8007 |
=== New user-facing features in 1.35 === |
| 8008 |
* (T204618) Whitelisted the aria-hidden HTML attribute for all elements in |
| 8009 |
wikitext. |
| 8010 |
* (T13456) Special:EditPage, Special:PageHistory, Special:PageInfo, and |
| 8011 |
Special:Purge have been created as shortcuts for each action. |
| 8012 |
Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory, |
| 8013 |
PageInfo, and Purge corresponding to action= history, info, and purge |
| 8014 |
respectively. When linked to, its subpage is used as the target. Otherwise, |
| 8015 |
it displays a basic interface to allow the end user to specify the target |
| 8016 |
manually. |
| 8017 |
* (T139221) The generated table of contents is now a navigation landmark role |
| 8018 |
for assistive technologies. |
| 8019 |
* (T245931) interwiki map API doesn't report foreign language if |
| 8020 |
$wgInterwikiMagic=false |
| 8021 |
* The form at ?action=watch has a new dropdown list to support expiry dates for |
| 8022 |
watchlist items (if $wgWatchlistExpiry is true). |
| 8023 |
|
| 8024 |
=== New developer features in 1.35 === |
| 8025 |
* A Docker based local development develpoment environment configuration is |
| 8026 |
included (T238224) and DEVELOPERS.md has been added with usage documentation |
| 8027 |
and links to further help. |
| 8028 |
* If CSP is enabled, extensions can now add additional sources using the |
| 8029 |
ContentSecurityPolicy::addDefaultSource, ::addStyleSrc and ::addScriptSrc |
| 8030 |
methods (e.g. $context->getOutput()->getCSP()->addDefaultSrc( 'example.com' )) |
| 8031 |
* Extensions can now specify classes and namespaces to be autoloaded by the |
| 8032 |
test autoloader, by setting the "TestAutoloadNamespaces" and |
| 8033 |
"TestAutoloadClasses" properties in extension.json. (T196090) |
| 8034 |
* (T250977) extension.json now allows "SearchMappings" which maps the canonical |
| 8035 |
name of the search engine (used in wgSearchType and wgSearchTypeAlternatives) |
| 8036 |
to a specification using the ObjectFactory specification. This allows |
| 8037 |
extensions to register Search Engines using namespaced classes. |
| 8038 |
* Added getters for OutputPage's robot, index and follow policies; |
| 8039 |
getRobotPolicy() returns the entire policy as a string in the form |
| 8040 |
<index policy>,<follow policy> while getIndexPolicy() and getFollowPolicy() |
| 8041 |
return their respective policies as a string. |
| 8042 |
* The ResourceLoaderSiteModulePages and ResourceLoaderSiteStylesModulePages |
| 8043 |
hooks were added to allow changing which wiki pages these modules contain. |
| 8044 |
* The SkinFactory now allows skins to be specified as an ObjectFactory spec, |
| 8045 |
allowing the construction of skins with services injected. |
| 8046 |
* ContentHandlerFactory for most ContentHandler static methods. It has been |
| 8047 |
added to the constructors for many classes to improve SOLID / GRASP. |
| 8048 |
* FileDeleteForm's constructor now accepts a user as the second parameter. |
| 8049 |
Support for not passing a user has also been hard-deprecated and will be |
| 8050 |
removed in 1.36. |
| 8051 |
* The ParserPreSaveTransformComplete hook was added. |
| 8052 |
* The ParserBeforePreprocess hook was added. |
| 8053 |
* The ResourceLoaderSkinModule class now has a "legacy" feature that loads |
| 8054 |
the stylesheets previously part of the "mediawiki.legacy.shared" and |
| 8055 |
"mediawiki.legacy.commonPrint" module. |
| 8056 |
Those modules are now deprecated and no longer loaded by skins. |
| 8057 |
For skins needing to retain these styles, you will need to load these |
| 8058 |
styles via a module using the ResourceLoaderSkinModule class. |
| 8059 |
See Vector and Monobook for examples. |
| 8060 |
* ParserOutput now has methods addExtraCSPStyleSrc, addExtraCSPDefaultSrc |
| 8061 |
addExtraCSPScriptSrc for parser tags/functions to be able to add sources |
| 8062 |
to the Content Security Policy. |
| 8063 |
* The HtmlCacheUpdater service was added to unify the logic of purging CDN cache |
| 8064 |
and HTML file cache to simplify callers and make them more consistent. |
| 8065 |
* The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked. |
| 8066 |
* Preferences which use HTMLTitlesMultiselectField can make use of |
| 8067 |
MultiTitleFilter class for saving title text to/from article IDs in user |
| 8068 |
preferences. |
| 8069 |
* OutputPage::addHtmlClasses() was added to allow injecting CSS classes on |
| 8070 |
to the <html> element on page load. |
| 8071 |
* The SkinAddFooterLinks hook is added to allow extensions to add items to skin |
| 8072 |
footers. Previously this had to be done via SkinTemplateOutputPageBeforeExec. |
| 8073 |
Doing so using that hook is now hard deprecated. |
| 8074 |
* A new BlockPermissionChecker service was introduced for checking |
| 8075 |
block-related permissions. |
| 8076 |
* The support of 'database' type of extensions has been added to allow 3d party |
| 8077 |
databases like Percona be used as storage. See T226857, T253248. |
| 8078 |
* Three new return parameters have been added to the |
| 8079 |
EditPageGetCheckboxesDefinition hook. Handlers of this hook are no longer |
| 8080 |
restricted to defining checkboxes. See the documentation of |
| 8081 |
EditPage::getCheckboxesDefinition() for more details. |
| 8082 |
* New flag File::RENDER_TMP was added in order to allow |
| 8083 |
File::generateAndSaveThumb and File::trasform to render a thumbnail without |
| 8084 |
saving it to the storage. |
| 8085 |
|
| 8086 |
=== External library changes in 1.35 === |
| 8087 |
|
| 8088 |
==== New external libraries ==== |
| 8089 |
* Added wikimedia/ip-utils 1.0.0. |
| 8090 |
* Added wikimedia/parsoid 0.12.3. |
| 8091 |
* Added wikimedia/services 2.0.1. |
| 8092 |
* Added taylorhakes/promise-polyfill v8.1.3. |
| 8093 |
* Added vuejs v2.6.11. |
| 8094 |
* Added vuex v3.1.3. |
| 8095 |
* Added symfony/symfony/polyfill-php80 1.25.0. |
| 8096 |
|
| 8097 |
===== New development-only external libraries ===== |
| 8098 |
* Added doctrine/dbal 3.1.5. |
| 8099 |
* Added doctrine/sql-formatter 1.1.0. |
| 8100 |
* Added pimple/pimple 3.3.1. |
| 8101 |
|
| 8102 |
==== Changed external libraries ==== |
| 8103 |
* pear/mail_mime was upgraded from 1.10.2 to 1.10.11. |
| 8104 |
* wikimedia/less.php was upgraded from 1.8.0 to 3.1.0. |
| 8105 |
* Updated oojs from 3.0.0 to 5.0.0. |
| 8106 |
* Updated OOUI from 0.35.1 to 0.39.3. |
| 8107 |
* zordius/lightncandy was upgraded from 0.23.0 to 1.2.5. |
| 8108 |
* Updated jQuery from v3.3.1 to v3.6.0. |
| 8109 |
* Updated jQuery Migrate from v3.0.1 to v3.3.2. |
| 8110 |
* Updated wikimedia/assert from 0.2.2 to 0.5.0. |
| 8111 |
* Updated pear/net_smtp from 1.8.1 from to 1.9.1. |
| 8112 |
* Updated psr/log from 1.0.2 to 1.1.3. |
| 8113 |
* Updated jquery.i18n from 1.0.5 to 1.0.7. |
| 8114 |
* Updated guzzlehttp/guzzle from 6.3.3 to 6.5.8. |
| 8115 |
* Updated wikimedia/xmp-reader from 0.6.3 to 0.8.5. |
| 8116 |
Fixes error log spam with too-large XMP data, and adds support for GPano tags. |
| 8117 |
* Updated wikimedia/base-convert from v2.0.0 to v2.0.1. |
| 8118 |
* Updated composer/semver from 1.5.0 to 1.7.2. |
| 8119 |
* Updated wikimedia/remex-html from 2.1.0 to 2.2.0. |
| 8120 |
* Replaced wikimedia/password-blacklist 0.1.4 with wikimedia/common-passwords |
| 8121 |
0.2.0. |
| 8122 |
* Updated wikimedia/composer-merge-plugin from 1.4.1 to 2.0.1. |
| 8123 |
* Updated wikimedia/html-formatter from 1.0.2 to 2.0.1. |
| 8124 |
* Updated wikimedia/object-factory from 2.1.0 to 2.2.0. |
| 8125 |
|
| 8126 |
===== Changed development-only external libraries ===== |
| 8127 |
* Updated symfony/yaml from 3.4.28 to 5.0.5. |
| 8128 |
* Updated nikic/php-parser from 3.1.5 to 4.4.0. |
| 8129 |
* Updated php-parallel-lint/php-console-highlighter from v0.3.2 to v0.5. |
| 8130 |
* Updated php-parallel-lint/php-parallel-lint from v0.9.2 to v1.2.0. |
| 8131 |
* Updated psy/psysh from 0.9.9 to 0.10.4. |
| 8132 |
* Updated monolog/monolog from 1.24.0 to 2.2.0. |
| 8133 |
* Upgrade mediawiki-codesniffer from 28.0.0 to 38.0.0. |
| 8134 |
* Updated composer/spdx-licenses from 1.5.1 to 1.5.3. |
| 8135 |
* Updated monolog/monolog from 1.25.2 to 1.25.3. |
| 8136 |
* Updated qunit from 2.9.1 to 2.10.0. |
| 8137 |
* Updating wikimedia/testing-access-wrapper from 1.0.0 to 2.0.0. |
| 8138 |
* Updated seld/jsonlint from 1.7.1 to 1.8.3. |
| 8139 |
|
| 8140 |
==== Removed external libraries ==== |
| 8141 |
* phpunit/php-invoker (dev-only). |
| 8142 |
Removing this unbreaks development on Windows systems, in exchange for losing |
| 8143 |
time limits in running unit tests. |
| 8144 |
* The jquery.getAttrs module was removed. |
| 8145 |
|
| 8146 |
=== Action API changes in 1.35 === |
| 8147 |
* The 'suggest' parameter of action=opensearch has been deprecated. |
| 8148 |
The API behaves the same with and without this parameter. |
| 8149 |
It was previously used by $wgEnableOpenSearchSuggest to partially |
| 8150 |
disable the API if set to false. Specifically, it would deny internal |
| 8151 |
frontend requests carrying this parameter, whilst accepting other requests. |
| 8152 |
* Integer-type parameters are now validated for syntax rather than being |
| 8153 |
interpreted in surprising ways. For example, the following will now return a |
| 8154 |
badinteger error: |
| 8155 |
- "1.9" (formerly interpreted as "1") |
| 8156 |
- " 1" (formerly interpreted as "1") |
| 8157 |
- "1e1" (formerly interpreted as "1" or "10", depending on the PHP version) |
| 8158 |
- "1foobar" (formerly interpreted as "1") |
| 8159 |
- "foobar" (formerly intepreted as "0") |
| 8160 |
parameters. Ranges should be assumed to be enforced. |
| 8161 |
* Many user-type parameters now accept a user ID, formatted like "#12345". |
| 8162 |
* The 'assert' parameter used by all API modules now supports the value 'anon'. |
| 8163 |
When specified, the API will return the 'assertanonfailed' error if the user |
| 8164 |
is logged in. |
| 8165 |
* action=edit now supports the 'baserevid' parameter for edit conflict |
| 8166 |
detection, as an alternative to 'basetimestamp'. Note that self-conflicts |
| 8167 |
will continue to be ignored if 'basetimestamp' is set, but not if only |
| 8168 |
'baserevid' is set. |
| 8169 |
* A new module was added to change the content model of existing pages. |
| 8170 |
Use action=changecontentmodel. Unlike Special:ChangeContentModel, the api |
| 8171 |
module does not work for pages that do not already exist. |
| 8172 |
* If $wgWatchlistExpiry is true, the following API changes are made: |
| 8173 |
- action=watch accepts a new 'expiry' parameter analagous to the expiry |
| 8174 |
accepted by action=userrights, action=block, etc., except it must be no |
| 8175 |
greater than $wgWatchlistExpiryMaxDuration, or an infinity value. |
| 8176 |
- action=query&list=watchlistraw returns pages' watchlist expiry dates. |
| 8177 |
* (T249526) action=login will now return Failed rather than NeedToken on |
| 8178 |
session loss. |
| 8179 |
|
| 8180 |
=== Action API internal changes in 1.35 === |
| 8181 |
* The Action API now uses the Wikimedia\ParamValidator library for parameter |
| 8182 |
validation, which brings some new features and changes. For the most part |
| 8183 |
existing module code should work as it did before, but see subsequent notes |
| 8184 |
for changes. |
| 8185 |
- The values for all ApiBase PARAM_* constants have changed. Code should have |
| 8186 |
been using the constants rather than hard-coding the values. |
| 8187 |
- Several ApiBase PARAM_* constants have been deprecated, see the in-class |
| 8188 |
documentation for details. Use the equivalent ParamValidator constants |
| 8189 |
instead. |
| 8190 |
- The value returned for 'upload'-type parameters has changed from |
| 8191 |
WebRequestUpload to Psr\Http\Message\UploadedFileInterface. |
| 8192 |
* Validation of 'user'-type parameters is more flexible. PARAM constants exist |
| 8193 |
to specify the type of "user" allowed and to request UserIdentity objects |
| 8194 |
rather than name strings. The default is to accept all types (name, IP, |
| 8195 |
range, and interwiki) that were formerly accepted. |
| 8196 |
* Maximum limits are no longer ignored in "internal mode". |
| 8197 |
* The $paramName to ApiBase::handleParamNormalization() should now include the |
| 8198 |
prefix. |
| 8199 |
* (T245931) meta=siteinfo&siprop=interwikimap no longer reports language or |
| 8200 |
extralanglink when $wgInterwikiMagic is false. |
| 8201 |
|
| 8202 |
=== Languages updated in 1.35 === |
| 8203 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 8204 |
Below only new and removed languages are listed, as well as changes to languages |
| 8205 |
because of Phabricator reports. |
| 8206 |
|
| 8207 |
* The default targets for the ISBN search from Special:BookSources in English |
| 8208 |
have been updated for better international suppport. They will now be |
| 8209 |
BetterWorldBooks.com, OpenLibrary.org and Worldcat.org. |
| 8210 |
* (T237672) Changed the Moroccan Arabic language (ary) to the Arabic script. |
| 8211 |
* (T201269) Added language support for Amis (ami). |
| 8212 |
* (T248299) Added language support for Inari Sami (smn). |
| 8213 |
* (T251369) Added language support for Ladin (lld). |
| 8214 |
* (T251369) Added language support for Seediq (trv), also known as Taroko. |
| 8215 |
* (T254854) Added language support for Southern Altay (alt). |
| 8216 |
|
| 8217 |
=== Breaking changes in 1.35 === |
| 8218 |
* MediaWiki no longer supports PHP 7.2; use PHP 7.3.19+ (T228346, T257879). |
| 8219 |
* ResourceLoader::getLessVars(), deprecated in 1.32, was removed. |
| 8220 |
Use ResourceLoaderModule::getLessVars() instead. |
| 8221 |
* The jquery.tabIndex module, deprecated in 1.34, has been removed. |
| 8222 |
* The mediawiki.RegExp module alias, deprecated in 1.34, was removed. |
| 8223 |
Use the mediawiki.util module instead. |
| 8224 |
* The easy-deflate.inflate module, unused since 1.32, was removed. |
| 8225 |
* The easy-deflate.deflate module was removed. Use the mediawiki.deflate |
| 8226 |
module instead. |
| 8227 |
* The mediawiki.notify module was removed. The mw.notify() shortcut is now |
| 8228 |
available by default, without any dependency. |
| 8229 |
* (T219604) The "jquery.ui.*" and "jquery.effects.*" module aliases, |
| 8230 |
deprecated in 1.34, have been removed. Use "jquery.ui" instead. |
| 8231 |
* (T235457) The "user.tokens" module has been removed. |
| 8232 |
Use "user.options" instead. |
| 8233 |
* (T251855) The mw.Map#exists method in JavaScript no longer supports checking |
| 8234 |
multiple keys. This affects mw.config.exists() and mw.user.tokens.exists(). |
| 8235 |
* The internal variable $constructorOptions for the Parser & SpecialPageFactory, |
| 8236 |
exposed only for integration purposes, are now each replaced by a const called |
| 8237 |
CONSTRUCTOR_OPTIONS. This was a breaking change made without deprecation. |
| 8238 |
* ObjectCache::getWANInstance, deprecated in 1.34, was removed. |
| 8239 |
Use MediaWikiServices::getMainWANObjectCache instead. |
| 8240 |
* ObjectCache::newWANCacheFromParams, deprecated in 1.34, was removed. |
| 8241 |
Construct WANObjectCache directly instead, or use MediaWikiServices. |
| 8242 |
* (T231366) The ProfilerOutputDb class and profileinfo.php entry point, |
| 8243 |
deprecated in 1.34, was removed. |
| 8244 |
* SiteConfiguration->localVHosts, deprecated in 1.25, was removed. |
| 8245 |
Use $wgLocalVirtualHosts instead. |
| 8246 |
* The $wgContLanguageCode read-only variable was removed. |
| 8247 |
It has been a non-configurable copy of $wgLanguageCode since MW 1.8 (2006). |
| 8248 |
Use $wgLanguageCode directly instead. |
| 8249 |
* ApiQueryUserInfo::getBlockInfo, deprecated in 1.34, was removed. Use |
| 8250 |
ApiBlockInfoTrait::getBlockDetails instead. |
| 8251 |
* Password::equals(), deprecated in 1.33, was removed. Use Password::verify(). |
| 8252 |
* QuickTemplate::setRef(), deprecated in 1.31, was removed. Use set(). |
| 8253 |
* The mediawiki.ui.text module, deprecated in 1.28 and unused, was removed. |
| 8254 |
* AbstractBlock::mReason, deprecated in 1.34, is no longer public. |
| 8255 |
* The GetBlockedStatus and UserIsHidden, deprecated in 1.34, has been removed. |
| 8256 |
Instead, use the GetUserBlock hook. |
| 8257 |
* As part of work to replace the Parser, a large number of breaking changes have |
| 8258 |
been made, principally in related methods and properties being removed or made |
| 8259 |
private: |
| 8260 |
- disableCache(), deprecated in 1.28. |
| 8261 |
- serializeHalfParsedText() and the helpers unserializeHalfParsedText(), |
| 8262 |
isValidHalfParsedText(), and StripState::getSubState() and |
| 8263 |
StripState::merge(), all deprecated in 1.31. The helper functions |
| 8264 |
LinkHolderArray::mergeForeign() and LinkHolderArray::getSubArray() |
| 8265 |
were also removed. |
| 8266 |
- getConverterLanguage(), deprecated in 1.32. Use getTargetLanguage() instead. |
| 8267 |
- A large set of methods exposed only for historical reasons, deprecated in |
| 8268 |
1.34, have now been removed or made private: |
| 8269 |
- areSubpagesAllowed() |
| 8270 |
- armorLinks() |
| 8271 |
- createAssocArgs() |
| 8272 |
- doAllQuotes() |
| 8273 |
- doDoubleUnderscore() |
| 8274 |
- doHeadings() |
| 8275 |
- doMagicLinks() |
| 8276 |
- formatHeadings() |
| 8277 |
- getImageParams() |
| 8278 |
- getVariableValue() |
| 8279 |
- initialiseVariables() |
| 8280 |
- makeKnownLinkHolder() |
| 8281 |
- maybeDoSubpageLink() |
| 8282 |
- parseLinkParameter() |
| 8283 |
- replaceExternalLinks() |
| 8284 |
- replaceInternalLinks() |
| 8285 |
- replaceInternalLinks2() |
| 8286 |
- replaceLinkHoldersText(). |
| 8287 |
- splitWhitespace() |
| 8288 |
- stripAltText() |
| 8289 |
- testPreprocess() |
| 8290 |
- testPst() |
| 8291 |
- testSrvus() |
| 8292 |
- incrementIncludeSize(), setTransparentTagHook(), replaceTransparentTags(), |
| 8293 |
and $mTransparentTagHooks have been removed without deprecation. |
| 8294 |
- The following constants have been made private without deprecation: |
| 8295 |
- ::EXT_LINK_ADDR |
| 8296 |
- ::EXT_IMAGE_REGEX |
| 8297 |
- ::SPACE_NOT_NL |
| 8298 |
- The following properties have been removed without deprecation: |
| 8299 |
- ::$mDefaultStripList |
| 8300 |
- ::$mIncludeCount |
| 8301 |
- ::$mRevIdForTs |
| 8302 |
- The following properties have been made private without deprecation: |
| 8303 |
- ::$mFunctionSynonyms |
| 8304 |
- ::$mFunctionTagHooks |
| 8305 |
- ::$mStripList |
| 8306 |
- ::$mVarCache |
| 8307 |
- ::$mImageParams |
| 8308 |
- ::$mImageParamsMagicArray |
| 8309 |
- ::$mSubstWords |
| 8310 |
- ::$mVariables |
| 8311 |
- ::$mConf (deprecated in 1.34) |
| 8312 |
- ::$mExtLinkBracketedRegex |
| 8313 |
- ::$mUrlProtocols |
| 8314 |
- ::$mAutonumber |
| 8315 |
- ::$mLinkHolders |
| 8316 |
- ::$mDefaultSort |
| 8317 |
- ::$mTplRedirCache |
| 8318 |
- ::$mForceTocPosition |
| 8319 |
- ::$mTplDomCache |
| 8320 |
- ::$mOutputType |
| 8321 |
- ::$mLangLinkLanguages |
| 8322 |
- ::$currentRevisionCache |
| 8323 |
- ::$mProfiler |
| 8324 |
- ::$mLinkRenderer |
| 8325 |
- Parser::getTitle() will now throw a TypeError if $mTitle is uninitialized. |
| 8326 |
This use pattern was deprecated in 1.34. |
| 8327 |
- ContentHandler::makeParserOptions(), deprecated in 1.32, was removed. Use |
| 8328 |
WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead. |
| 8329 |
- The ParserAfterUnstrip hook, believed to be unused, was removed without |
| 8330 |
deprecation. |
| 8331 |
- Preprocessor_DOM and related classes, deprecated in 1.34, have been removed. |
| 8332 |
Consequently, the related ParserOptions::getMaxGeneratedPPNodeCount() and |
| 8333 |
::setMaxGeneratedPPNodeCount() have been removed without deprecation. |
| 8334 |
- The support for the old signature for ParserFactory::__construct, which was |
| 8335 |
deprecated in 1.34, has been removed. |
| 8336 |
- Parser::getDefaultPreprocessorClass(), deprecated in 1.34, has been removed. |
| 8337 |
* MediaWikiTestCase::prepareServices(), deprecated in 1.32, has been removed |
| 8338 |
* The method ContentHandler::getSlotDiffRendererInternal is replaced with |
| 8339 |
ContentHandler::getSlotDiffRendererWithOptions. This breaks consumers which |
| 8340 |
call parent::getSlotDiffRendererInternal (no instances of which are known). |
| 8341 |
* TextContent::getHighlightHtml, deprecated since 1.24, has been removed. Use |
| 8342 |
TextContent::getHtml instead. |
| 8343 |
* ExtensionRegistry::load(), deprecated in 1.34, was removed. Instead, use |
| 8344 |
ExtensionRegistry::queue(). |
| 8345 |
* MWMessagePack class, deprecated in 1.34, was removed. |
| 8346 |
* The cdb.php maintenance script was removed. Use the 'cdb' command from the |
| 8347 |
wikimedia/cdb library instead. |
| 8348 |
* User::addNewUserLogEntryAutoCreate, deprecated in 1.27, was removed. |
| 8349 |
* FileBasedSiteLookup class, deprecated in 1.33, was removed. |
| 8350 |
* The wfGlobalCacheKey global function, deprecated in 1.30, was removed. |
| 8351 |
* The APCBagOStuff class was removed. MediaWiki requires PHP 7.2+ (support |
| 8352 |
for HHVM was dropped) and these versions of PHP only support apcu. The default |
| 8353 |
"apc" entry in $wgObjectCaches now refers to APCUBagOStuff. |
| 8354 |
* Database::bufferResults(), deprecated in 1.34, has been removed. |
| 8355 |
* CannotReplaceActiveServiceException, ContainerDisabledException, |
| 8356 |
DestructibleService, NoSuchServiceException, SalvageableService, |
| 8357 |
ServiceAlreadyDefinedException, ServiceContainer and ServiceDisabledException |
| 8358 |
in the global namespace, deprecated in 1.33, were removed. Use the classes in |
| 8359 |
the MediaWiki\\Services namespace instead. |
| 8360 |
* The following methods in the Interwiki class were removed: ::fetch(), |
| 8361 |
::isValidInterwiki(), ::invalidateCache(), and ::getAllPrefixes(). |
| 8362 |
* The UsersMultiselectWidget config 'allowArbitrary' is now false by default. To |
| 8363 |
accept arbitrary entries, pass in true for this config. |
| 8364 |
* OutputPage::parse() and OutputPage::parseInline(), deprecated in 1.32, have |
| 8365 |
been removed. Use ::parseAsContent() or ::parseAsInterface(), as |
| 8366 |
appropriate. |
| 8367 |
* WikiPage::selectFields, deprecated in 1.31, was removed. Use ::getQueryInfo. |
| 8368 |
* The remaining static methods for MagicWord, deprecated in 1.32, were removed. |
| 8369 |
These were MagicWord::get(), ::getSubstIDs(), ::getDoubleUnderscoreArray(), |
| 8370 |
::getVariableIDs(), and ::getCacheTTL(). Instead, use MagicWordFactory (via |
| 8371 |
MediaWikiServices). |
| 8372 |
* ApiBase::checkTitleUserPermissions no longer accepts a User as the third |
| 8373 |
parameter. Passing a user was deprecated in 1.33. |
| 8374 |
* Sanitizer::setupAttributeWhitelist() and Sanitizer::attributeWhitelist(), |
| 8375 |
deprecated in 1.34, have been removed. They should not have been public. |
| 8376 |
* Passing a sequential array as the second parameter to |
| 8377 |
Sanitizer::validateAttributes() has been deprecated; use an associative |
| 8378 |
array where keys are the allowed attributes. |
| 8379 |
* The $warnCallback parameter to Sanitizer::removeHTMLtags, deprecated since |
| 8380 |
its introduction in 1.28, has been removed. |
| 8381 |
* SpecialRecentChanges::filterByCategories(), deprecated in 1.31, was removed. |
| 8382 |
* The `ArticleContentViewCustom` hook, deprecated in 1.32, was removed. |
| 8383 |
* AuthManager::callLegacyAuthPlugin, deprecated in 1.33, was removed. |
| 8384 |
* wfGetMessageCacheStorage was removed without deprecation. |
| 8385 |
* Title::moveSubpages, deprecated in 1.34, was removed. Use the MovePage class |
| 8386 |
and MovePage::moveSubpages instead. |
| 8387 |
* Article::doEditContent, deprecated in 1.29, was removed. Instead, use |
| 8388 |
WikiPage::doEditContent. |
| 8389 |
* CommentStore::newKey, deprecated in 1.31, was removed. |
| 8390 |
* EditPage::$hookError was changed from public to private. |
| 8391 |
* Title::isValidMoveOperation, ::moveTo, and ::isValidMoveTarget, deprecated |
| 8392 |
in 1.25, were removed. Use the MovePage class and its methods instead. |
| 8393 |
* Title::getUserCaseDBKey(), deprecated in 1.33, was removed. Use ::getDBkey(). |
| 8394 |
* StringUtils::explodeMarkup() was removed without deprecation. |
| 8395 |
* AjaxResponse methods that were unused have been removed without deprecation: |
| 8396 |
- checkLastModified |
| 8397 |
- loadFromMemcached |
| 8398 |
- storeInMemcached |
| 8399 |
- setCacheDuration |
| 8400 |
- setVary |
| 8401 |
* ApiDelete::delete and ::deleteFile, both of which were protected methods, |
| 8402 |
have been made private to allow a signature change. |
| 8403 |
* HistoryPager::revLink, ::curLink, ::lastLink, and ::diffButtons, which had |
| 8404 |
no visibilities defined, have been made private to allow signature changes. |
| 8405 |
* SpecialNewpages::revisionFromRcResult, which previously was protected, has |
| 8406 |
been made private to allow a signature change. |
| 8407 |
* DifferenceEngine::$mOldRev and $mNewRev, deprecated for public access in |
| 8408 |
1.32, have been removed. |
| 8409 |
* DifferenceEngine::revisionDeleteLink, which was previosuly protected, has |
| 8410 |
been made private to allow a signature change. |
| 8411 |
* DifferenceEngine::getParserOutput, which is protected, has had a breaking |
| 8412 |
signature change: the second parameter must be a RevisionRecord object, |
| 8413 |
rather than a Revision object. |
| 8414 |
* WikiPage::setLastEdit, which was previously protected, has been made |
| 8415 |
private to allow a signature change. |
| 8416 |
* Skin::getSkinNameMessages() deprecated in 1.34, has been removed. |
| 8417 |
* Skin::escapeSearchLink() deprecated in 1.34, has been removed, use |
| 8418 |
Skin::getSearchLink() instead. |
| 8419 |
* Skin::shouldPreloadLogo() deprecated in 1.32, has been removed. |
| 8420 |
* Revision::loadFromId and RevisionStore::loadRevisionFromId have been |
| 8421 |
removed. |
| 8422 |
* OutputPage::parserOptions doesn't accept an $options parameter anymore. |
| 8423 |
* MessageCache::getParserOptions previously did not have a visibility set. |
| 8424 |
It has been made private. |
| 8425 |
* SpecialUndelete::showDiff previously did not have a visibilty set. It |
| 8426 |
hav been made private to allow a signature change. |
| 8427 |
* The Skin no longer loads the "mediawiki.legacy.shared" or |
| 8428 |
"mediawiki.legacy.commonPrint" modules. The legacy shared styles must now |
| 8429 |
be loaded by the skin explicitly, either inherited via the |
| 8430 |
"mediawiki.skinning.*" modules, or by making your skin's main styles |
| 8431 |
module use the ResourceLoaderSkinModule class with the "legacy" attribute. |
| 8432 |
See Vector and Monobook for examples. |
| 8433 |
* Passing an ApiMain to the constructor of ApiResult is no longer supported. |
| 8434 |
This was deprecated in 1.25. |
| 8435 |
* ResourceLoaderWikiModule::invalidateModuleCache has been declared to |
| 8436 |
be @internal as part of a signature change. No known uses exist outside |
| 8437 |
of MediaWiki core. |
| 8438 |
* The ArticleAfterFetchContentObject hook, deprecated in 1.32, was removed. |
| 8439 |
Use ArticleRevisionViewCustom to control output. |
| 8440 |
* DatabaseBlock::isValid, deprecated in 1.33, was removed. |
| 8441 |
* HTMLUserTextField and HTMLUsersMultiselectField previously implied |
| 8442 |
required=true when exists=true. Form fields that use exists=true should also |
| 8443 |
set required=true if they are required. |
| 8444 |
* In DatabaseUpdater, the following methods are no longer public: dropTable(), |
| 8445 |
modifyTable(), modifyField(), runMaintenance(), copyFile(), appendLine(). |
| 8446 |
In PostgresUpdater, the following methods are no longer public: |
| 8447 |
addPgEnumValue(), addPgIndex(), addPgExtIndex(). This change was made without |
| 8448 |
deprecation due to immediate danger of data corruption and loss, see T157651. |
| 8449 |
Extensions should instead use dropExtensionTable(), |
| 8450 |
modifyExtensionExtensionTable(), modifyExtensionField(), addExtensionUpdate(). |
| 8451 |
The addExtensionUpdate() method can still be used to access any of the |
| 8452 |
protected methods on DatabaseUpdater. |
| 8453 |
* ResourceLoader no longer provides the (always-true) variables for wgEnableAPI |
| 8454 |
and wgEnableWriteAPI; they were deprecated in MediaWiki 1.31 and removed from |
| 8455 |
the PHP environment in MediaWiki 1.32. |
| 8456 |
* The wfSetupSession global function, deprecated in 1.27, was removed. Use the |
| 8457 |
persist() method of the right MediaWiki\Session\SessionManager object instead. |
| 8458 |
* The wfIsHHVM global function, deprecated in 1.34, was removed. |
| 8459 |
* GenderCache::doTitlesArray no longer accepts string values in its $titles |
| 8460 |
array parameter. Use Title objects (or other LinkTarget) instead. |
| 8461 |
* Unused CommentStore::MAX_COMMENT_LENGTH has been removed. |
| 8462 |
* User::checkTemporaryPassword() and User::checkPassword(), deprecated in 1.27, |
| 8463 |
were removed. Use AuthManager instead. |
| 8464 |
* All constants and class functions now have explicit visibility modifiers. This |
| 8465 |
means, per [[mw:Stable interface policy]], that these should now be considered |
| 8466 |
stable. This also helps MW align with PSR 2 and PSR 12. This was done based on |
| 8467 |
audits of the corpus of skins and extensions hosted in Gerrit. If you find any |
| 8468 |
that you need to be less restrictive (i.e. public or protected), please report |
| 8469 |
these so that we can re-evaluate or suggest workarounds. |
| 8470 |
* BaseTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg() or |
| 8471 |
->getMsg() instead. |
| 8472 |
* QuickTemplate::msgWiki(), deprecated in 1.33, was removed. Use ->msg() |
| 8473 |
instead. |
| 8474 |
* WebInstaller::getErrorBox() and ::getWarningBox(), deprecated in 1.34, |
| 8475 |
were removed. Use Html::errorBox() or ::warningBox() instead. |
| 8476 |
* SpecialVersion::getExtensionCredits() and SpecialVersion::getSkinCredits() |
| 8477 |
have become private without deprecation. |
| 8478 |
* As part of the migration to a new hook system (T240307), the following classes |
| 8479 |
now require an additional HookContainer constructor parameter: |
| 8480 |
- AuthManager |
| 8481 |
- BadFileLookup |
| 8482 |
- BlockManager |
| 8483 |
- ClassicInterwikiLookup |
| 8484 |
- ContentHandlerFactory |
| 8485 |
- ContentSecurityPolicy |
| 8486 |
- DefaultOptionsManager |
| 8487 |
- DerivedPageDataUpdater |
| 8488 |
- FullSearchResultWidget |
| 8489 |
- HtmlCacheUpdater |
| 8490 |
- LanguageFactory |
| 8491 |
- LanguageNameUtils |
| 8492 |
- LinkRenderer |
| 8493 |
- LinkRendererFactory |
| 8494 |
- LocalisationCache |
| 8495 |
- MagicWordFactory |
| 8496 |
- MessageCache |
| 8497 |
- NamespaceInfo |
| 8498 |
- PageEditStash |
| 8499 |
- PageHandlerFactory |
| 8500 |
- PageUpdater |
| 8501 |
- ParserFactory |
| 8502 |
- PermissionManager |
| 8503 |
- RevisionStore |
| 8504 |
- RevisionStoreFactory |
| 8505 |
- Router |
| 8506 |
- SearchEngineConfig |
| 8507 |
- SearchEngineFactory |
| 8508 |
- SearchFormWidget |
| 8509 |
- SearchNearMatcher |
| 8510 |
- SessionBackend |
| 8511 |
- SpecialPageFactory |
| 8512 |
- UserNameUtils |
| 8513 |
- UserOptionsManager |
| 8514 |
- WatchedItemQueryService |
| 8515 |
- WatchedItemStore |
| 8516 |
* The following classes now require setHookContainer() to be called after |
| 8517 |
construction: |
| 8518 |
- AuthenticationProvider |
| 8519 |
- ResourceLoaderModule |
| 8520 |
- SearchEngine |
| 8521 |
* The parameters to ChronologyProtector::getTouched() and |
| 8522 |
ILBFactory::getChronologyProtectorTouched() were changed without backwards |
| 8523 |
compatibility. |
| 8524 |
* The deprecated $blacklist parameter to wfIsBadImage() has been removed. |
| 8525 |
* SpecialBlock::checkUnblockSelf no longer accepts an integer representing |
| 8526 |
an user ID as part of ongoing refactoring of SpecialBlock class. |
| 8527 |
* User::setInternalPassword() and User::setPassword(), deprecated in 1.27, have |
| 8528 |
been removed. Use User::changeAuthenticationData() instead. |
| 8529 |
* User::selectFields(), deprecated in 1.31, has been removed. Use |
| 8530 |
User::getQueryInfo() instead. |
| 8531 |
* The "legacy" serialization type in RESTBagOStuff, deprecated in 1.34, |
| 8532 |
has been removed. |
| 8533 |
* The populateContentModel.php maintenance script was removed. It has |
| 8534 |
been replaced by the populateContentTables.php script. |
| 8535 |
* The findHooks.php maintenance script, for the old hooks system, was removed. |
| 8536 |
* (T257278) Calling MediaWiki\Shell\Command::restrict() will now overwrite |
| 8537 |
any previous restrictions rather than adding to them, making it possible to |
| 8538 |
disable the default restrictions. |
| 8539 |
|
| 8540 |
=== Deprecations in 1.35 === |
| 8541 |
* The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4, is |
| 8542 |
now deprecated. MediaWiki support for PHPUnit 4 ended with the removal of HHVM |
| 8543 |
support. |
| 8544 |
* LockManagerGroup::getDefault() and LockManagerGroup::getAny() are deprecated. |
| 8545 |
They seem to be unused. Just use get() directly, and catch any exception. |
| 8546 |
* AbstractBlock::getPermissionsError and AbstractBlock::getBlockErrorParams are |
| 8547 |
deprecated. Use BlockErrorFormatter::getMessage instead. |
| 8548 |
* The IP class is deprecated. Please instead use the Wikimedia\IPUtils class |
| 8549 |
from the new wikimedia/ip-utils library instead. Additionally, the RE_IP_* |
| 8550 |
constants are also deprecated. RE_IP_BYTE can be replaced with a class |
| 8551 |
constant on the IPUtils class, while the others will eventually be made |
| 8552 |
private. |
| 8553 |
* The following Language methods are deprecated: getFallbackFor, |
| 8554 |
getFallbacksFor, getFallbacksIncludingSiteLanguage. Use the corresponding new |
| 8555 |
methods on the LanguageFallback class: getFirst, getAll, and |
| 8556 |
getAllIncludingSiteLanguage. |
| 8557 |
* FileJournal::factory is deprecated. Use the constructor directly instead. |
| 8558 |
* AbstractBlock methods setBlocker(), getBlocker() are deprecated and will |
| 8559 |
become internal implementation of DatabaseBlock. |
| 8560 |
* Title::countRevisionsBetween has been deprecated and moved into RevisionStore. |
| 8561 |
* FileBackendGroup::singleton() is deprecated. Use MediaWikiServices instead. |
| 8562 |
* FileBackendGroup::destroySingleton() is deprecated. Test frameworks should |
| 8563 |
instead reset MediaWikiServices between test runs. |
| 8564 |
(MediaWikiIntegrationTestCase does this automatically.) |
| 8565 |
* GenderCache::singleton(), deprecated in 1.28, is hard deprecated. Use |
| 8566 |
MediaWikiServices::getGenderCache() instead. |
| 8567 |
* MediaWikiIntegrationTest::setContentLang() has been deprecated. Use |
| 8568 |
setMwGlobals( 'wgLanguageCode', 'xxx' ) to set a different site language |
| 8569 |
code, or setService( 'ContentLanguage', $myObj ) to set a specific Language |
| 8570 |
object. Service resets and $wgContLang will be handled automatically. |
| 8571 |
* MediaWikiIntegrationTest::assertType() has been deprecated, as part of the |
| 8572 |
work to move to PHPUnit 8; PHPUnit's assertInternalType() was deprecated, and |
| 8573 |
will be removed in PHPUnit 9. MediaWikiIntegrationTest::assertTypeOrValue(), |
| 8574 |
a wrapper for assertType(), has been removed immediately, without deprecation. |
| 8575 |
* AbstractBlock::getReason is deprecated, since reasons are actually stored as |
| 8576 |
CommentStoreComments, and getReason returns a string with no caller control |
| 8577 |
over language or formatting. Instead use AbstractBlock::getReasonComment, |
| 8578 |
which returns the CommentStoreComment. |
| 8579 |
* The global function wfGetRusage() is deprecated and will now always call the |
| 8580 |
getrusage() function without checking for its existence. |
| 8581 |
* The properties User::mBlock, User::mBlockedby and User::mHideName are |
| 8582 |
deprecated. Instead, use User::getBlock to get the block, then use |
| 8583 |
AbstractBlock::getByName or AbstractBlock::getHideName.Use the GetUserBlock |
| 8584 |
hook to set, unset or modify a block, including hiding or unhiding a user. |
| 8585 |
* Directly calling the MergeHistory constructor is deprecated. Instead, use the |
| 8586 |
new MergeHistoryFactory class. |
| 8587 |
* Language::factory() and Language::getParentLanguage() are deprecated, and so |
| 8588 |
is directly calling the Language constructor. Use the new LanguageFactory |
| 8589 |
class instead. |
| 8590 |
* Language::classFromCode() is deprecated. There is no reason it should be used |
| 8591 |
outside the Language class itself. |
| 8592 |
* Language::clearCaches() is deprecated. Instead, reset all services and set |
| 8593 |
Language::$mLangObjCache = []. |
| 8594 |
* The following functions from Language class are deprecated in favour of |
| 8595 |
respective functions in LanguageConverter: |
| 8596 |
- autoConvert |
| 8597 |
- autoConvertToAllVariants |
| 8598 |
- convert |
| 8599 |
- convertTitle |
| 8600 |
- convertNamespace |
| 8601 |
- hasVariants |
| 8602 |
- hasVariant |
| 8603 |
- convertHtml |
| 8604 |
- convertCategoryKey |
| 8605 |
- getVariants |
| 8606 |
- getPreferredVariant |
| 8607 |
- getURLVariant |
| 8608 |
- findVariantLink |
| 8609 |
- getExtraHashOptions |
| 8610 |
- updateConversionTable |
| 8611 |
* Language::classFromCode() is hard deprecated and should be removed in 1.36 |
| 8612 |
* Language::getConverter() is deprecated and should be removed in 1.36 |
| 8613 |
* Language::MESSAGES_FALLBACKS, Language::STRICT_FALLBACKS were deprecated. |
| 8614 |
Use LanguageFallback::MESSAGES and LanguageFallback::STRICT respectively |
| 8615 |
* Language::$mLangObjCache is deprecated and should be removed in 1.36. Use |
| 8616 |
MediaWikiServices instead to get a LanguageFactory. |
| 8617 |
* Language::getMessagesFor(), getMessageFor(), and getMessageKeysFor() are |
| 8618 |
deprecated. Use LocalisationCache's getItem(), getSubitem(), and |
| 8619 |
getSubitemList() methods directly. |
| 8620 |
* OutputPage::getCSPNonce() is deprecated, use OutputPage::getCSP()->getNonce() |
| 8621 |
instead. |
| 8622 |
* DerivedPageDataUpdater::prepareUpdate accepted as its second parameter an |
| 8623 |
optional array of options. Specifying the value of the `oldrevision` key of |
| 8624 |
the array to be a Revision object, rather than a RevisionRecord object, is |
| 8625 |
hard deprecated. The same applies to the options parameter in |
| 8626 |
WikiPage::doEditUpdates. |
| 8627 |
* Skin::makeI18nUrl() and makeNSUrl() have been deprecated, no longer used. |
| 8628 |
* Title::countAuthorsBetween and Title::getAuthorsBetween were hard deprecated. |
| 8629 |
Use respective methods in RevisionStore instead. |
| 8630 |
* Remove deprecated SkinCopyrightFooter &$forContent parameter |
| 8631 |
* The following Language class static variables have been replaced with |
| 8632 |
constants and deprecated: $mWeekdayMsgs, $mWeekdayAbbrevMsgs, $mMonthMsgs, |
| 8633 |
$mMonthGenMsgs, $mMonthAbbrevMsgs, $mIranianCalendarMonthMsgs, |
| 8634 |
$mHebrewCalendarMonthMsgs, $mHebrewCalendarMonthGenMsgs, |
| 8635 |
$mHijriCalendarMonthMsgs and $durationIntervals. |
| 8636 |
* As part of dropping security support for IE 6 and IE 7, |
| 8637 |
WebRequest::checkUrlExtension() has been deprecated, and now always returns |
| 8638 |
true. |
| 8639 |
* The following ApiBase::PARAM_* constants have been deprecated in favor of |
| 8640 |
equivalent ParamValidator constants: PARAM_DFLT, PARAM_ISMULTI, PARAM_TYPE, |
| 8641 |
PARAM_MAX, PARAM_MAX2, PARAM_MIN, PARAM_ALLOW_DUPLICATES, PARAM_DEPRECATED, |
| 8642 |
PARAM_REQUIRED, PARAM_SUBMODULE_MAP, PARAM_SUBMODULE_PARAM_PREFIX, PARAM_ALL, |
| 8643 |
PARAM_EXTRA_NAMESPACES, PARAM_SENSITIVE, PARAM_DEPRECATED_VALUES, |
| 8644 |
PARAM_ISMULTI_LIMIT1, PARAM_ISMULTI_LIMIT2, PARAM_MAX_BYTES, PARAM_MAX_CHARS. |
| 8645 |
* ApiBase::explodeMultiValue() is deprecated. Use |
| 8646 |
ParamValidator::explodeMultiValue() instead. |
| 8647 |
* ApiBase::parseMultiValue() is deprecated. No replacement is provided; |
| 8648 |
generally this sort of thing should be handled by fully validating the |
| 8649 |
parameter. |
| 8650 |
* ApiBase::validateLimit() and ApiBase::validateTimestamp() are deprecated. |
| 8651 |
Use ApiParamValidator::validateValue() with an appropriate settings array |
| 8652 |
instead. |
| 8653 |
* ContentHandler (use ContentHandlerFactory): |
| 8654 |
- getForTitle |
| 8655 |
- getForContent |
| 8656 |
- getForModelID |
| 8657 |
- getContentModels |
| 8658 |
- getAllContentFormats |
| 8659 |
- protected $handler (not need anymore) |
| 8660 |
- cleanupHandlersCache (not need anymore) |
| 8661 |
* (T212738) The $wgVersion global is deprecated; instead, use MW_VERSION. |
| 8662 |
* $wgMemc is deprecated, use MediaWikiServices::getLocalServerObjectCache() |
| 8663 |
instead. |
| 8664 |
* ObjectCache::detectLocalServerCache() is deprecated, instead use |
| 8665 |
MediaWikiServices::getLocalServerObjectCache() or |
| 8666 |
ObjectCache::makeLocalServerCache(). |
| 8667 |
* ImagePage::getImageLimitsFromOptions() is deprecated. Use static function |
| 8668 |
MediaFileTrait::getImageLimitsFromOptions() instead. |
| 8669 |
* As part of work to replace the Parser, alongside the breaking changes listed |
| 8670 |
above, a large number of deprecations changes been made, to simplify the API |
| 8671 |
or because they will not be supported in replacement: |
| 8672 |
- Parser::doBlockLevels() (and BlockLevelPass class has been marked @internal) |
| 8673 |
- Parser::setFunctionTagHook() |
| 8674 |
- Parser::attributeStripCallback() |
| 8675 |
- Parser::fetchTemplate() - use Parser::fetchTemplateAndTitle() instead. |
| 8676 |
- Parser::enableOOUI() - use $parser->getOutput()->enableOOUI() instead. |
| 8677 |
- LinkHolderArray has been deprecated for public usage and will be |
| 8678 |
internal part of parser. |
| 8679 |
- The following parser-related hooks have been deprecated: |
| 8680 |
- InternalParseBeforeSanitize |
| 8681 |
Use an alternative hook which doesn't expose internal half-parsed state, |
| 8682 |
like ParserBeforeInternalParse or ParserAfterTidy |
| 8683 |
- ParserFetchTemplate |
| 8684 |
Use BeforeParserFetchTemplateAndTitle |
| 8685 |
- ParserSectionCreate |
| 8686 |
No replacement; <section> tag wrapping will be done by core in future. |
| 8687 |
- BeforeParserrenderImageGallery |
| 8688 |
No replacement; MediaHandler provides for customizable media rendering |
| 8689 |
- ParserBeforeTidy |
| 8690 |
Use ParserAfterTidy instead to avoid exposing internal half-parsed state |
| 8691 |
- ParserBeforeStrip |
| 8692 |
No replacement; stripping is no longer supported. |
| 8693 |
- ParserAfterStrip |
| 8694 |
No replacement; stripping is no longer supported. |
| 8695 |
- The accessor/mutator methods Parser::Options(), Parser::OutputType(), and |
| 8696 |
Parser::Title() have been deprecated; use the appropriate Parser::get* or |
| 8697 |
Parser::set* methods instead. |
| 8698 |
- Parser::firstCallInit() has been deprecated. The parser is initialized |
| 8699 |
fully on construction and so ::firstCallInit() no longer has any effect |
| 8700 |
when manually invoked. |
| 8701 |
- ParserOptions::setAllowExternalImages(), ::setAllowExternalImagesFrom(), |
| 8702 |
and ::setEnableImageWhitelist() have been deprecated. Future parsers |
| 8703 |
will not allow per-parser configuration of image filtering; use |
| 8704 |
site configuration instead. |
| 8705 |
- ParserOptions::getTidy() and ParserOptions::setTidy() have been deprecated. |
| 8706 |
These options no longer have any effect. |
| 8707 |
- Most methods of MWTidy, except for MWTidy::tidy(), have been deprecated; |
| 8708 |
tidiness is always enabled and not configurable. |
| 8709 |
- Version 1 of the parserTests file format has been deprecated. You'll need to |
| 8710 |
update your parser tests to version 2, which uses Remex tidy on all test |
| 8711 |
output by default. Support for parser tests with Remex tidy off will later |
| 8712 |
be removed entirely. |
| 8713 |
- $wgParser — This global variable, soft deprecated in 1.32, has now been hard |
| 8714 |
deprecated. Use MediaWikiServices::getInstance()->getParser() instead. |
| 8715 |
(T160811) |
| 8716 |
* The signature of DefaultPreferencesFactory::__construct has been changed: |
| 8717 |
- LanguageConverter $languageConverter has been added. |
| 8718 |
and its usage with old arguments is hard deprecated. |
| 8719 |
* The public usage of the following properties of LanguageConverter have been |
| 8720 |
deprecated as there is no reason they should be used outside the |
| 8721 |
LanguageConverter class and will be changed from public to private: |
| 8722 |
- mLangObj |
| 8723 |
- mUcfirst |
| 8724 |
- mConvRuleTitle |
| 8725 |
- mURLVariant |
| 8726 |
- mUserVariant |
| 8727 |
- mHeaderVariant |
| 8728 |
- mMaxDepth |
| 8729 |
- mVarSeparatorPattern |
| 8730 |
changed from public to protected: |
| 8731 |
- mTables |
| 8732 |
* The ArticleEditUpdatesDeleteFromRecentchanges hook has been deprecated. Please |
| 8733 |
use the RecentChange_save hook or similar instead. |
| 8734 |
* The ArticleEditUpdates hook has been deprecated. Please |
| 8735 |
use the RevisionDataUpdates hook or similar instead. |
| 8736 |
* The SkinTemplatePreventOtherActiveTabs and SkinTemplateTabAction hooks have |
| 8737 |
been hard deprecated. Please use the SkinTemplateNavigation__Universal hook |
| 8738 |
instead. |
| 8739 |
* ResourceLoaderFileModule::compileLessFile() has been deprecated, use |
| 8740 |
ResourceLoaderFileModule::compileLessString() instead |
| 8741 |
* The SquidPurgeClient and SquidPurgeClientPool classes have been deprecated. |
| 8742 |
Use MultiHttpClient or HtmlCacheUpdater instead. |
| 8743 |
* MimeAnalyzer::getExtensionsForType() and ::getTypesForExtensions() were |
| 8744 |
deprecated in favor of MimeAnalyzer::getExtensionsFromMimeType() and |
| 8745 |
::getMimeTypesFromExtension(), respectively. The new methods return arrays |
| 8746 |
rather than strings. |
| 8747 |
* Calling Action::factory and Action constructor with WikiPage has been |
| 8748 |
hard deprecated. Caller must provide an Article instance. |
| 8749 |
* ApiTestCase::doLogin, soft deprecated in 1.31, was hard deprecated. |
| 8750 |
* WebRequest::getLimitOffset is hard deprecated. Instead, use |
| 8751 |
::getLimitOffsetForUser and pass a User object. |
| 8752 |
* PageArchive::getPreviousRevision is hard deprecated. Instead, use the new |
| 8753 |
::getPreviousRevisionRecord method. |
| 8754 |
* PageArchive::getArchivedRevision is hard deprecated. Instead, use the new |
| 8755 |
::getArchivedRevisionRecord method. |
| 8756 |
* PageArchive::undelete is hard deprecated. Instead, use ::undeleteAsUser |
| 8757 |
and pass a User object. |
| 8758 |
* PageArchive::getRevision is hard deprecated. |
| 8759 |
* EditPage::getBaseRevision was hard deprecated. Instead, use the new |
| 8760 |
::getExpectedParentRevision method. |
| 8761 |
* The public variable EditPage::$mBaseRevision was hard deprecated. |
| 8762 |
* FileDeleteForm previously did not accept a user parameter in its constructor, |
| 8763 |
instead relying on the global $wgUser. A user parameter has been added, |
| 8764 |
and //not// providing a user is deprecated. There are no known callers |
| 8765 |
outside of mediawiki core. |
| 8766 |
* AuthManager::singleton() has been deprecated. Use |
| 8767 |
MediaWikiServices::getInstance()->getAuthManager() instead. |
| 8768 |
* ContribsPager::tryToCreateValidRevision is hard deprecated. Instead, use |
| 8769 |
ContribsPager::tryCreatingRevisionRecord. |
| 8770 |
* The following functions all accept an optional user parameter. Not passing a |
| 8771 |
user is hard deprecated, and support for calling them without passing a user |
| 8772 |
will be removed in 1.36: |
| 8773 |
- Title::getNotificationTimestamp (note however that the method is deprecated |
| 8774 |
in its entirely in favor of the new WatchlistNotificationManager service) |
| 8775 |
- PatrolLog::record |
| 8776 |
- LogEventsList::userCan |
| 8777 |
- LogEventsList::userCanBitfield |
| 8778 |
- LogEventsList::userCanViewLogType |
| 8779 |
- LogPage::addEntry |
| 8780 |
- FileDeleteForm::doDelete |
| 8781 |
- OldLocalFile::userCan |
| 8782 |
- ArchivedFile::userCan |
| 8783 |
- File::userCan |
| 8784 |
* The following functions all accept an optional audience parameter and |
| 8785 |
an optional user parameter. If the audience is FOR_THIS_USER and no |
| 8786 |
user is passed, they fallback to $wgUser. Not passing a user when |
| 8787 |
one is needed is deprecated |
| 8788 |
- LogEventsList::getExcludeClause |
| 8789 |
- WikiPage::getComment |
| 8790 |
- WikiPage::getCreator |
| 8791 |
- WikiPage::getUser |
| 8792 |
- WikiPage::getUserText |
| 8793 |
* UploadBase::checkWarnings now accepts a User parameter; not providing a |
| 8794 |
user is soft deprecated. |
| 8795 |
* Article::insertProtectNullRevision and WikiPage::insertProtectNullRevision |
| 8796 |
were hard deprecated. Instead, use WikiPage::insertNullProtectionRevision. |
| 8797 |
* Article::doDeleteArticle, Article::doDeleteArticleReal, and |
| 8798 |
WikiPage::doDeleteArticle are all deprecated. Instead, use |
| 8799 |
WikiPage::doDeleteArticleReal. |
| 8800 |
* Article::getComment is deprecated. Instead, use WikiPage::getComment. |
| 8801 |
* Article::getCreator is deprecated. Instead, use WikiPage::getCreator. |
| 8802 |
* Article::updateRevisionOn() and ::updateIfNewerOn(), and |
| 8803 |
WikiPage::updateIfNewerOn() are deprecated. Instead, use |
| 8804 |
WikiPage::updateRevisionOn(). |
| 8805 |
* Article::getUser is deprecated. Instead, use WikiPage::getUser. |
| 8806 |
* Article::getUserText is deprecated. Instead, use WikiPage::getUserText. |
| 8807 |
* Article::prepareContentForEdit is hard deprecated. Instead, use |
| 8808 |
WikiPage::prepareContentForEdit. |
| 8809 |
* WikiPage::prepareContentForEdit previously accepted either a Revision or a |
| 8810 |
RevisionRecord object as its optional second parameter. Passing a Revision |
| 8811 |
is now hard deprecated. |
| 8812 |
* Article::getUndoContent and WikiPage::getUndoContent are hard deprecated. |
| 8813 |
Instead, use ContentHandler::getUndoContent. |
| 8814 |
* Passing Revision objects to ContentHandler::getUndoContent is hard deprecated. |
| 8815 |
Instead, pass the associated Content objects, as well as whether the undo is |
| 8816 |
from the current revision. |
| 8817 |
* Article::doDeleteUpdates and ::doEditUpdates are deprecated. Instead, |
| 8818 |
use WikiPage::doDeleteUpdates and ::doEditUpdates. |
| 8819 |
* WikiPage::doEditUpdates previously accepted a Revision object as its first |
| 8820 |
parameter. It now accepts RevisionRecord objects, and passing Revision |
| 8821 |
objects is deprecated. |
| 8822 |
* Article::getRevisionFetched is deprecated. Instead, use the |
| 8823 |
fetchRevisionRecord method, which has been converted from protected to |
| 8824 |
public. |
| 8825 |
* LocalFileDeleteBatch was migrated to a new constructor signature with the |
| 8826 |
user as the second parameter. Support for the old signature is hard |
| 8827 |
deprecated, and once removed the user parameter will be required. At the |
| 8828 |
same time, a number of file-deletion related methods were updated |
| 8829 |
- File::delete is hard deprecated in favor of the new ::deleteFile |
| 8830 |
- LocalFile::delete is hard deprecated in favor of the new ::deleteFile |
| 8831 |
- LocalFile::deleteOld is hard deprecated in favor of the new ::deleteOldFile |
| 8832 |
- ForeignDBFile::delete is hard deprecated in favor of the new ::deleteFile |
| 8833 |
* File::recordUpload (along with the respective methods in the LocalFile and |
| 8834 |
ForeignDBFile classes) is hard deprecated, and LocalFile::recordUpload2 is |
| 8835 |
soft deprecated. Use the new LocalFile::recordUpload3, which has a different |
| 8836 |
signature and requires that a User parameter is passed. |
| 8837 |
* The SpecialPageFactory class was moved from the MediaWiki\Special namespace |
| 8838 |
to the MediaWiki\SpecialPage namespace. The old location remains as a |
| 8839 |
deprecated alias. |
| 8840 |
* Title::userCan, ::quickUserCan, and ::getUserPermissionsErrors, which |
| 8841 |
were deprecated in 1.33, were hard deprecated. Instead, use |
| 8842 |
PermissionManager::userCan, ::quickUserCan, and ::getPermissionErrors. |
| 8843 |
* All methods of the old SpecialPageFactory, deprecated in 1.32, were hard |
| 8844 |
deprecated. Instead, get a SpecialPageFactory from MediaWikiServices and |
| 8845 |
use its methods. |
| 8846 |
* User::updateNewtalk now accepts as its optional third parameter a |
| 8847 |
RevisionRecord object; passing a Revision is hard deprecated. |
| 8848 |
* User::getNewMessageRevisionId and ::getNewMessageLinks were hard deprecated. |
| 8849 |
* DifferenceEngine::getRevisionHeader now accepts a RevisionRecord as its |
| 8850 |
first parameter; passing a Revision is hard deprecated. |
| 8851 |
* WikiPage::doDeleteUpdates now accepts as its optional third parameter |
| 8852 |
a RevisionRecord object; passing a Revision is hard deprecated. |
| 8853 |
* WikiPage::onArticleEdit now accepts as its optional second parameter |
| 8854 |
a RevisionRecord object; passing a Revision is hard deprecated. |
| 8855 |
* Global $wgUser variable was soft deprecated. |
| 8856 |
* The Revision class was soft deprecated entirely in 1.31. All methods |
| 8857 |
have now been individually hard deprecated: |
| 8858 |
- ::__construct - create MutableRevisionRecord objects instead |
| 8859 |
- ::newFromId - use RevisionLookup::getRevisionById instead |
| 8860 |
- ::newFromTitle - use RevisionLookup::getRevisionByTitle instead |
| 8861 |
- ::newFromPageId - use RevisionStore::getRevisionByPageId instead |
| 8862 |
- ::newFromArchiveRow - use RevisionFactory::newRevisionFromArchiveRow |
| 8863 |
- ::newFromRow - use RevisionStore::newRevisionFromRow instead |
| 8864 |
- ::loadFromPageId - use RevisionStore::getRevisionByPageId instead |
| 8865 |
- ::loadFromTitle - use RevisionStore::getRevisionByTitle instead |
| 8866 |
- ::loadFromTimestamp - use RevisionStore::getRevisionByTimestamp instead |
| 8867 |
- ::getQueryInfo - use RevisionStore::getQueryInfo instead |
| 8868 |
- ::getArchiveQueryInfo - use RevisionStore::getArchiveQueryInfo instead |
| 8869 |
- ::getParentLengths - use RevisionStore::getRevisionSizes instead |
| 8870 |
- ::getRevisionRecord - no replacement |
| 8871 |
- ::getId - use RevisionRecord::getId instead |
| 8872 |
- ::setId - use MutableRevisionRecord::setId instead |
| 8873 |
- ::setUserIdAndName - use MutableRevisionRecord::setUser instead |
| 8874 |
- ::getTextId - use SlotRecord::getContentAddress for retrieving an actual |
| 8875 |
content address, or RevisionRecord::hasSameContent to compare content |
| 8876 |
- ::getParentId - use RevisionRecord::getParentId instead |
| 8877 |
- ::getSize - use RevisionRecord::getSize instead |
| 8878 |
- ::getSha1 - use RevisionRecord::getSha1 instead |
| 8879 |
- ::getTitle - use RevisionRecord::getPageAsLinkTarget instead |
| 8880 |
- ::setTitle - the method was previously a no-op |
| 8881 |
- ::getPage - use RevisionRecord::getPageId instead |
| 8882 |
- ::getUser - use RevisionRecord::getUser and then User::getId instead |
| 8883 |
- ::getUserText - use RevisionRecord::getUser and then User::getName instead |
| 8884 |
- ::getComment - use RevisionRecord::getComment instead |
| 8885 |
- ::isMinor - use RevisionRecord::isMinor instead |
| 8886 |
- ::isUnpatrolled - use RevisionStore::getRcIdIfUnpatrolled instead |
| 8887 |
- ::getRecentChange - use RevisionStore::getRecentChange instead |
| 8888 |
- ::isDeleted - use RevisionRecord::isDeleted instead |
| 8889 |
- ::getVisibility - use RevisionRecord::getVisibility instead |
| 8890 |
- ::getContent - use RevisionRecord::getContent instead |
| 8891 |
- ::getSerializedData - use SlotRecord::getContent for retrieving a |
| 8892 |
content object, and Content::serialize for the serialized form |
| 8893 |
- ::getContentModel - use SlotRecord::getModel instead |
| 8894 |
- ::getContentFormat - use SlotRecord::getFormat instead, with a fallback |
| 8895 |
to ContentHandler::getDefaultFormat |
| 8896 |
- ::getContentHandler - use ContentHandlerFactory::getContentHandler instead |
| 8897 |
- ::getTimestamp - use RevisionRecord::getTimestamp instead |
| 8898 |
- ::isCurrent - use RevisionRecord::isCurrent instead |
| 8899 |
- ::getPrevious - use RevisionLookup::getPreviousRevision instead |
| 8900 |
- ::getNext - use RevisionLookup::getNextRevision instead |
| 8901 |
- ::getRevisionText - use RevisionRecord::getContent instead |
| 8902 |
- ::compressRevisionText - use SqlBlobStore::compressData instead |
| 8903 |
- ::decompressRevisionText - use SqlBlobStore::decompressData instead |
| 8904 |
- ::insertOn - use RevisionStore::insertRevisionOn instead |
| 8905 |
- ::base36Sha1 - use SlotRecord::base36Sha1 instead |
| 8906 |
- ::newNullRevision - use RevisionStore::newNullRevision |
| 8907 |
- ::userCan - use RevisionRecord::userCanBitfield instead |
| 8908 |
- ::userCanBitfield - use RevisionRecord::userCanBitfield instead |
| 8909 |
- ::getTimestampFromId - use RevisionStore::getTimestampFromId instead |
| 8910 |
- ::countByPageId - use RevisionStore::countRevisionsByPageId instead |
| 8911 |
- ::countByTitle - use RevisionStore::countRevisionsByTitle instead |
| 8912 |
- ::userWasLastToEdit - use RevisionStore::userWasLastToEdit instead |
| 8913 |
- ::newKnownCurrent - use RevisionStore::getKnownCurrentRevision instead |
| 8914 |
* The Revision method had a few methods that were previously protected and |
| 8915 |
have been made private. They were: |
| 8916 |
- ::getRevisionStore |
| 8917 |
- ::getRevisionLookup |
| 8918 |
- ::getRevisionFactory |
| 8919 |
- ::getBlobStore |
| 8920 |
The $mRecord variable was also changed from protected to private. |
| 8921 |
* Multiple hooks that include Revision objects were deprecated. The hooks, as |
| 8922 |
well as suitable replacements, are noted below: |
| 8923 |
- ArticleRevisionUndeleted (hard deprecated, use the RevisionUndeleted hook) |
| 8924 |
- ArticleRollbackComplete (hard deprecated, use the RollbackComplete hook) |
| 8925 |
- DiffRevisionTools (hard deprecated, use the DiffTools hook) |
| 8926 |
- DiffViewHeader (hard deprecated, use the DifferenceEngineViewHeader hook) |
| 8927 |
- HistoryRevisionTools (hard deprecated, use the HistoryTools hook) |
| 8928 |
- NewRevisionFromEditComplete (hard deprecated, use the |
| 8929 |
RevisionFromEditComplete hook). |
| 8930 |
- PageContentInsertComplete (hard deprecated, use the PageSaveComplete hook) |
| 8931 |
- PageContentSaveComplete (hard deprecated, use the PageSaveComplete hook) |
| 8932 |
- RevisionInsertComplete (soft deprecated in 1.31, now hard deprecated) |
| 8933 |
- TitleMoveCompleting (hard deprecated, use the PageMoveCompleting hook) |
| 8934 |
- TitleMoveComplete (hard deprecated, use the PageMoveComplete hook) |
| 8935 |
- UndeleteShowRevision (hard deprecated) |
| 8936 |
* The following RevisionStore methods were deprecated: |
| 8937 |
- ::loadRevisionFromTitle |
| 8938 |
- ::loadRevisionFromTimestamp |
| 8939 |
- ::loadRevisionFromPageId |
| 8940 |
- ::listRevisionSizes |
| 8941 |
* WikiPage::$mLastRevision was changed from protected to private. |
| 8942 |
* RecentChange::markPatrolled was deprecated. Use ::doMarkPatrolled instead. |
| 8943 |
* The JobRunner class has been converted to a service class. |
| 8944 |
Direct construction is deprecated, use MediaWikiServices::getJobRunner. |
| 8945 |
* JobRunner::setLogger has been deprecated, thus using JobRunner as a |
| 8946 |
LoggerAwareInterface is deprecated as well. Rely on the logger passed in the |
| 8947 |
constructor instead. |
| 8948 |
* LogEventsList::typeAction accepts an optional right to check against as |
| 8949 |
the fourth parameter. Specifying such a right is deprecated. |
| 8950 |
* SkinTemplate::makeArticleUrlDetails has been deprecated, no longer used. |
| 8951 |
* Passing a Revision object into CategoryMembershipChange constructor is |
| 8952 |
deprecated. Pass a RevisionRecord instead. |
| 8953 |
* The "mediawiki.legacy.oldshared" module has been deprecated. |
| 8954 |
Skins and extensions that are using this should copy its necessary CSS rules |
| 8955 |
to their own styles module. CologneBlue and Nostalgia skins serve as examples. |
| 8956 |
* The "mediawiki.legacy.shared" module has been deprecated. |
| 8957 |
Use the "mediawiki.skinning.*" modules, or ResourceLoaderSkinModule instead. |
| 8958 |
* The following hooks, soft deprecated in 1.24, have been hard deprecated: |
| 8959 |
- APIQueryInfoTokens |
| 8960 |
- APIQueryRecentChangesTokens |
| 8961 |
- APIQueryRevisionsTokens |
| 8962 |
- APIQueryUsersTokens |
| 8963 |
- ApiTokensGetTokenTypes |
| 8964 |
* Calling Action::factory and Action constructor with any Page implementations |
| 8965 |
other than Article is deprecated. |
| 8966 |
* Action::page property is deprecated for direct access. |
| 8967 |
Use Action::getArticle or Action::getWikiPage instead. |
| 8968 |
* LESS `.background-image-svg()` mixin from 'mediawiki.mixins.less' is |
| 8969 |
deprecated and should be removed in 1.36. |
| 8970 |
* LESS `.background-image-svg-quick()` mixin from 'mediawiki.mixins.less' is |
| 8971 |
deprecated and should be removed in 1.36. |
| 8972 |
* The following methods were deprecated: |
| 8973 |
- Title::getFirstRevision (hard deprecated) |
| 8974 |
- Title::getEarliestRevTime |
| 8975 |
- WikiPage::getOldestRevision (hard deprecated) |
| 8976 |
- Article::getOldestRevision (hard deprecated) |
| 8977 |
Use RevisionStore::getFirstRevision instead. |
| 8978 |
* WikiPage::commitRollback and ::doRollback are declared to be internal |
| 8979 |
in preparation for breaking changes. Neither method has any known |
| 8980 |
callers outside of MediaWiki core. Both methods modify an array passed |
| 8981 |
by reference ($resultDetails) - accessing the Revision objects added to |
| 8982 |
that array (using the keys `current` and `target`) is also deprecated. |
| 8983 |
* The following Linker methods previously accepted Revision objects as |
| 8984 |
parameters. They now accept either Revision or RevisionRecord objects. |
| 8985 |
Passing a Revision object is hard deprecated. |
| 8986 |
- ::revUserLink |
| 8987 |
- ::revUserTools |
| 8988 |
- ::revComment |
| 8989 |
- ::generateRollback |
| 8990 |
- ::getRollbackEditCount |
| 8991 |
- ::buildRollbackLink |
| 8992 |
- ::getRevDeleteLink |
| 8993 |
* WikiPage::hasDifferencesOutsideMainSlot previously accepted Revision |
| 8994 |
objects for its two parameters. It now accepts RevisionRecord objects, |
| 8995 |
and passing Revision objects is hard deprecated. |
| 8996 |
* WikiPage::updateRevisionOn previously accepted Revision objects for its |
| 8997 |
second parameter. It now accepts RevisionRecord objects, and passing |
| 8998 |
Revision objects is hard deprecated. |
| 8999 |
* The ParserGetVariableValueVarCache hook has been deprecated. |
| 9000 |
* When using the ParserGetVariableValueSwitch hook, the following unusual |
| 9001 |
uses have been deprecated: modifying the passed $magicWordId or failing to |
| 9002 |
cache the returned value in $variableCache. The related |
| 9003 |
MagicWordwgVariableIDs hook has been deprecated and renamed; use |
| 9004 |
the GetMagicVariableIDs hook instead. |
| 9005 |
* The following Parser properties have been deprecated: |
| 9006 |
- ::$mTagHooks |
| 9007 |
- ::$mFunctionHooks |
| 9008 |
- ::$mMarkerIndex |
| 9009 |
- ::$mFirstCall |
| 9010 |
- ::$mPreprocessor |
| 9011 |
- ::$mOutput |
| 9012 |
- ::$mStripState |
| 9013 |
- ::$mLinkID |
| 9014 |
- ::$mIncludeSizes |
| 9015 |
- ::$mPPNodeCount |
| 9016 |
- ::$mGeneratedPPNodeCount |
| 9017 |
- ::$mHighestExpansionDepth |
| 9018 |
- ::$mDoubleUnderscores |
| 9019 |
- ::$mExpensiveFunctionCount |
| 9020 |
- ::$mShowToc |
| 9021 |
- ::$mUser |
| 9022 |
- ::$mOptions |
| 9023 |
- ::$mTitle |
| 9024 |
- ::$ot |
| 9025 |
- ::$mRevisionObject |
| 9026 |
- ::$mRevisionId |
| 9027 |
- ::$mRevisionTimestamp |
| 9028 |
- ::$mRevisionUser |
| 9029 |
- ::$mRevisionSize |
| 9030 |
- ::$mInputSize |
| 9031 |
- ::$mInParse |
| 9032 |
* LinksUpdate::getRevision and ::setRevision are hard deprecated in favor |
| 9033 |
of the new ::getRevisionRecord and ::setRevisionRecord methods. |
| 9034 |
* A large number of exposed variables and methods of Article were deprecated as |
| 9035 |
part of its planned removal: |
| 9036 |
- Article::$mContext is deprecated; use getContext()/setContext() instead. |
| 9037 |
- Article::__get(), ::__set() are hard deprecated, use the WikiPage properties |
| 9038 |
instead. |
| 9039 |
- These Article methods were hard deprecated; use their WikiPage equivalents: |
| 9040 |
- ::checkFlags, |
| 9041 |
- ::checkTouched, |
| 9042 |
- ::clearPreparedEdit, |
| 9043 |
- ::commitRollback, |
| 9044 |
- ::doDeleteArticleReal, |
| 9045 |
- ::doEditContent, |
| 9046 |
- ::doPurge, |
| 9047 |
- ::doRollback, |
| 9048 |
- ::doUpdateRestrictions, |
| 9049 |
- ::doViewUpdates, |
| 9050 |
- ::exists, |
| 9051 |
- ::followRedirect, |
| 9052 |
- ::getContentHandler, |
| 9053 |
- ::getContentModel, |
| 9054 |
- ::getContributors, |
| 9055 |
- ::getDeletionUpdates, |
| 9056 |
- ::getHiddenCategories, |
| 9057 |
- ::getId, |
| 9058 |
- ::getLatest, |
| 9059 |
- ::getLinksTimestamp, |
| 9060 |
- ::getMinorEdit, |
| 9061 |
- ::getRedirectTarget, |
| 9062 |
- ::getRedirectURL, |
| 9063 |
- ::getTimestamp, |
| 9064 |
- ::getTouched, |
| 9065 |
- ::hasViewableContent, |
| 9066 |
- ::insertOn, |
| 9067 |
- ::insertRedirect, |
| 9068 |
- ::insertRedirectEntry, |
| 9069 |
- ::isCountable, |
| 9070 |
- ::isRedirect, |
| 9071 |
- ::loadFromRow, |
| 9072 |
- ::loadPageData, |
| 9073 |
- ::lockAndGetLatest, |
| 9074 |
- ::makeParserOptions, |
| 9075 |
- ::pageDataFromId, |
| 9076 |
- ::pageDataFromTitle, |
| 9077 |
- ::prepareContentForEdit, |
| 9078 |
- ::protectDescription, |
| 9079 |
- ::protectDescriptionLog, |
| 9080 |
- ::replaceSectionAtRev, |
| 9081 |
- ::setTimestamp, |
| 9082 |
- ::shouldCheckParserCache, |
| 9083 |
- ::supportsSections, |
| 9084 |
- ::triggerOpportunisticLinksUpdate, |
| 9085 |
- ::updateCategoryCounts, and |
| 9086 |
- ::updateRedirectOn. |
| 9087 |
- Article::generateReason() was hard deprecated; instead, please use |
| 9088 |
WikiPage::getAutoDeleteReason(). |
| 9089 |
- Article::replaceSectionContent() was hard deprecated, use |
| 9090 |
Article::replaceSectionAtRev() instead. |
| 9091 |
- Article::getRevision and WikiPage::getRevision were hard deprecated in favor |
| 9092 |
of the new WikiPage::getRevisionRecord method. |
| 9093 |
* A new UserNameUtils service was introduced. The following User methods |
| 9094 |
were deprecated in favor of using the new service: |
| 9095 |
- isIP |
| 9096 |
- isIPRange |
| 9097 |
- isValidUserName |
| 9098 |
- isUsableName |
| 9099 |
- isCreatableName |
| 9100 |
- getCanonicalName |
| 9101 |
* The signature of WikiPage::doDeleteArticleReal was changed to make the user |
| 9102 |
the second parameter, and the suppression option the third parameter. |
| 9103 |
Previously, the third parameter was unused. Using the old signature is |
| 9104 |
hard deprecated. |
| 9105 |
* ApiQueryRevisions::getRollbackToken, which has been soft deprecated since |
| 9106 |
1.24, accepted as its third parameter a Revision object. It now accepts |
| 9107 |
a RevisionRecord, and passing a Revision is hard deprecated. |
| 9108 |
* Passing Article to ParserCache::get() was deprecated |
| 9109 |
* ParserOptions::newCanonical() with no first parameter, or null as the first |
| 9110 |
parameter, which falls back to using global $wgUser, is hard deprecated. |
| 9111 |
* Parser::fetchCurrentRevisionOfTitle, ::statelessFetchRevision, and |
| 9112 |
::getRevisionObject were hard deprecated in favor of the new |
| 9113 |
::fetchCurrentRevisionRecordOfTitle, ::statelessFetchRevisionRecord, |
| 9114 |
and ::getRevisionRecordObject methods respectively. |
| 9115 |
* ParserOptions::getCurrentRevisionCallback and ::setCurrentRevisionCallback |
| 9116 |
were hard deprecated in favor of the new ::getCurrentRevisionRecordCallback |
| 9117 |
and ::setCurrentRevisionRecordCallback methods respectively. |
| 9118 |
* Parser::statelessFetchTemplate returns an array; accessing the Revision |
| 9119 |
object returned (via the `revision` key to the array) is deprecated. Instead, |
| 9120 |
use `revision-record` to retrieve the equivalent RevisionRecord. |
| 9121 |
* WikiPage::doEditContent returns an array, and PageUpdater::getStatus returns |
| 9122 |
a Status object with an array value. For both of those arrays, accessing the |
| 9123 |
Revision object returned (via the `revision` key to the array) is deprecated. |
| 9124 |
Instead, use `revision-record` to retrieve the equivalent RevisionRecord. |
| 9125 |
* Page interface was deprecated. Use Article or WikiPage instead. |
| 9126 |
* The following DatabaseBlock methods are deprecated because they are no longer |
| 9127 |
needed in core: chooseBlock, fromMaster, deleteIfExpired. |
| 9128 |
* wfGetScriptUrl() was deprecated. The script URL should be configured rather |
| 9129 |
than detected. wfScript() can be used to get a configured script URL. |
| 9130 |
* Action::factory() with null $action argument is hard deprecated |
| 9131 |
* The following methods of the User class were deprecated: getDefaultOptions, |
| 9132 |
getDefaultOption, getOptions, getOption, getBoolOption, getIntOption, |
| 9133 |
setOption, listOptionKinds, getOptionKinds, resetOptions. Use corresponding |
| 9134 |
methods in UserOptionsLookup or UserOptionsManager service classes instead. |
| 9135 |
* UserRetrieveNewTalks hook was deprecated without replacement. |
| 9136 |
* User::getNewtalk and ::setNewtalk were hard deprecated. Use service |
| 9137 |
TalkPageNotificationManager instead. |
| 9138 |
* EditPage::matchSpamRegex and ::matchSummarySpamRegex were hard deprecated in |
| 9139 |
favor of the new SpamChecker service. |
| 9140 |
* Title::getNotificationTimestamp, User::clearNotification, and |
| 9141 |
User::clearAllNotifications were deprecated in favor of the new |
| 9142 |
WatchlistNotificationManager service. |
| 9143 |
* SpecialPage::setListed() and SpecialPage::listed() were deprecated. Subclass |
| 9144 |
UnlistedSpecialPage to set listed as false, and use SpecialPage::isListed() |
| 9145 |
to get the value. |
| 9146 |
* CategoryPage::getCategoryViewerClass() and ::setCategoryViewerClass() were |
| 9147 |
deprecated. |
| 9148 |
* MWHttpRequest and its subclasses PhpHttpRequest, CurlHttpRequest and |
| 9149 |
GuzzleHttpRequest now require the timeout and connectTimeout options to |
| 9150 |
always be specified, otherwise a deprecation warning will be raised. Most |
| 9151 |
callers should use HttpRequestFactory which always sets these options. |
| 9152 |
* Linker::normaliseSpecialPage() has been deprecated, instead make use of |
| 9153 |
LinkRenderer::normalizeTarget(). |
| 9154 |
* SkinTemplate::getPersonalToolsList() was soft deprecated. |
| 9155 |
* ChangeTags::truncateTagDescription() has been deprecated. |
| 9156 |
* The following methods of the User class are deprecated: getGroups, |
| 9157 |
getGroupMemberships, getEffectiveGroups, getAutomaticGroups, |
| 9158 |
addGroup, removeGroup, getFormerGroups, getAllGroups, getImplicitGroups, |
| 9159 |
addAutopromoteOnceGroups. Use the new UserGroupManager service instead. |
| 9160 |
* The following methods of the UserGroupMembership class were deprecated: |
| 9161 |
selectFields, getMembershipsForUser, getMembership, insert, delete, |
| 9162 |
newFromRow, initFromRow, purgeExpired. |
| 9163 |
Use the new UserGroupManager service instead. |
| 9164 |
* wfWaitForSlaves() has been hard deprecated. Use LBFactory::waitForReplication |
| 9165 |
instead. It was soft deprecated in 1.27. |
| 9166 |
* BaseTemplate::getAfterPortlet and ::renderAfterPortlet have been deprecated in |
| 9167 |
favor of the Skin::getAfterPortlet method. Skin::getAfterPortlet does not wrap |
| 9168 |
the result in a div, callers are responsible for that. |
| 9169 |
The hook BaseTemplateAfterPortlet, called by both methods has been deprecated |
| 9170 |
as well and is replaced by SkinAfterPortlet. |
| 9171 |
* Autopromote class has been soft deprecated and it's methods moved into |
| 9172 |
UserGroupManager. |
| 9173 |
* SkinTemplateBuildNavUrlsNav_urlsAfterPermalink hook has been deprecated. |
| 9174 |
Use SidebarBeforeOutput hook and get the revision id from the OutputPage |
| 9175 |
object. |
| 9176 |
* BaseTemplate::getToolbox() method has been soft deprecated. The toolbox data |
| 9177 |
is now available in a sidebar data array which you can get from any class |
| 9178 |
that's extending QuickTemplate class. The hook associated with this method, |
| 9179 |
BaseTemplateToolbox, has been hard deprecated. To add items to the toolbox, |
| 9180 |
use SidebarBeforeOutput hook instead. |
| 9181 |
* The SkinTemplateOutputPageBeforeExec hook is deprecated. |
| 9182 |
The page [[mw:Manual:Hooks/SkinTemplateOutputPageBeforeExec]] and T60137 |
| 9183 |
for recommendations for alternative approaches based on how developers |
| 9184 |
previously used this hook. |
| 9185 |
* SkinTemplateToolboxEnd hook has been deprecated. Use SidebarBeforeOutput hook |
| 9186 |
instead. |
| 9187 |
* Using Skin::addToBodyAttributes() method to add body attributes has been |
| 9188 |
deprecated. Use OutputPageBodyAttributes hook instead. |
| 9189 |
* Installer::getDBTypes has been hard deprecated in favor of |
| 9190 |
InstallerDBSupport::getDatabases |
| 9191 |
* The hooks BeforeHttpsRedirect, CanIPUseHTTPS and UserRequiresHTTPS were |
| 9192 |
deprecated, as part of a long-term plan to remove support for mixed |
| 9193 |
HTTP/HTTPS wikis. |
| 9194 |
* Skin::generateDebugHTML() has been hard deprecated. Call |
| 9195 |
MWDebug::getHTMLDebugLog() directly. |
| 9196 |
* ExternalStoreDB::getSlave(), soft deprecated in 1.34, was hard deprecated. |
| 9197 |
Use ExternalStoreDB::getReplica() instead. |
| 9198 |
* Less variables in mediawiki.ui/variables.less file that don't follow the |
| 9199 |
standard variable naming scheme (compare WikimediaUI Base) including |
| 9200 |
`@colorGray* variables have been deprecated. New variables are in place and |
| 9201 |
aliases have been set. Replace occurrences and use the new variables instead. |
| 9202 |
|
| 9203 |
=== Other changes in 1.35 === |
| 9204 |
* A new maintenance script is added (purgeExpiredWatchlistItems.php) with which |
| 9205 |
to delete expired watchlist items. These items will also be deleted during |
| 9206 |
wiki editing if $wgWatchlistPurgeRate is > 0. This maintenance script only |
| 9207 |
has effect if $wgWatchlistExpiry is true. It is recommended that a cronjob or |
| 9208 |
similar be set up to run it at least daily. |
| 9209 |
* Title::purgeSquid is deprecated. Use MediaWikiServices::getHtmlCacheUpdater. |
| 9210 |
* SpecialVersion::getExtLicenseFileName() has been deprecated, use |
| 9211 |
MediaWiki\ExtensionInfo::getLicenseFileNames() instead. |
| 9212 |
* SpecialVersion::getExtAuthorsFileName() has been deprecated, use |
| 9213 |
MediaWiki\ExtensionInfo::getAuthorsFileName() instead. |
| 9214 |
* Migration to the new content storage schema is complete, all backwards |
| 9215 |
compatibility code and duplication in the database have been removed. |
| 9216 |
The old schema was a 1:1 relationship modeled by |
| 9217 |
revision.text_id -> text.old_id. The new schema is a n:m relationship, |
| 9218 |
revision.rev_id <- slots.slot_revision_id|slots.slot_content_id -> |
| 9219 |
content.content_id|content.content_address -> text.old_id. The same applies |
| 9220 |
to the archive table. |
| 9221 |
The following fields were removed: |
| 9222 |
- revision.rev_text_id, replaced by content.content_address |
| 9223 |
- revision.rev_content_model, replaced by content.content_model, |
| 9224 |
referencing content_models.model_id |
| 9225 |
- revision.rev_content_format, replaced by automatic detecting in |
| 9226 |
ContentHandler |
| 9227 |
- archive.ar_text_id, replaced by content.content_address |
| 9228 |
- archive.ar_content_model, replaced by content.content_model, |
| 9229 |
referencing content_models.model_id |
| 9230 |
- archive.ar_content_format, replaced by automatic detecting in |
| 9231 |
ContentHandler |
| 9232 |
* Migration to normalized storage of edit comments and user names is |
| 9233 |
progressing. The following fields were unused and have been removed: |
| 9234 |
- revision.rev_comment, |
| 9235 |
replaced by rev_comment_id referencing comment.comment_id. |
| 9236 |
- revision.rev_user and rev_user_text, |
| 9237 |
replaced by rev_actor referencing actor.actor_id. |
| 9238 |
Note that archive.ar_user, archive.ar_user_text, and archive.ar_comment |
| 9239 |
had already been removed in previous releases. |
| 9240 |
* The printableversion has been marked as deprecated per T167956. |
| 9241 |
* (T30162, T245387) The installer supports using a Postgres server running |
| 9242 |
on a custom port other than 5432. |
| 9243 |
|
| 9244 |
== Compatibility == |
| 9245 |
MediaWiki 1.35 requires PHP 7.3.19 or later, and the following PHP extensions: |
| 9246 |
|
| 9247 |
* ctype |
| 9248 |
* dom |
| 9249 |
* fileinfo |
| 9250 |
* iconv |
| 9251 |
* json |
| 9252 |
* mbstring |
| 9253 |
* xml |
| 9254 |
|
| 9255 |
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, |
| 9256 |
but support for them is somewhat less mature. |
| 9257 |
|
| 9258 |
The supported versions are: |
| 9259 |
|
| 9260 |
* MySQL 5.5.8 or later |
| 9261 |
* PostgreSQL 9.2 or later |
| 9262 |
* SQLite 3.8.0 or later |
| 9263 |
|
| 9264 |
== Online documentation == |
| 9265 |
Documentation for both end-users and site administrators is available on |
| 9266 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 9267 |
for pages that explicitly state that their contents are in the public domain): |
| 9268 |
|
| 9269 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 9270 |
|
| 9271 |
== Mailing list == |
| 9272 |
A mailing list is available for MediaWiki user support and discussion: |
| 9273 |
|
| 9274 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 9275 |
|
| 9276 |
A low-traffic announcements-only list is also available: |
| 9277 |
|
| 9278 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 9279 |
|
| 9280 |
It's highly recommended that you sign up for one of these lists if you're |
| 9281 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 9282 |
|
| 9283 |
== IRC help == |
| 9284 |
There's usually someone online in #mediawiki on irc.libera.chat. |
| 9285 |
|
| 9286 |
= MediaWiki 1.34 = |
| 9287 |
|
| 9288 |
== MediaWiki 1.34.4 == |
| 9289 |
|
| 9290 |
This is a maintenance release of the MediaWiki 1.34 branch. |
| 9291 |
|
| 9292 |
=== Changes since MediaWiki 1.34.3 === |
| 9293 |
* Fixed issue relating to backporting of changes for T260485. |
| 9294 |
|
| 9295 |
== MediaWiki 1.34.3 == |
| 9296 |
|
| 9297 |
This is a security and maintenance release of the MediaWiki 1.34 branch. |
| 9298 |
|
| 9299 |
=== Changes since MediaWiki 1.34.2 === |
| 9300 |
* In the web installer, use secure session cookies. |
| 9301 |
* Make UsersPager::requestedGroup public. |
| 9302 |
* (T257407) Split patch-drop-user-fields.sql into patch per table. |
| 9303 |
* (T257356) Split patch-drop-comment-fields.sql into patch per table. |
| 9304 |
* (T257997) Undeprecate WebInstaller::getInfoBox(). |
| 9305 |
* Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional |
| 9306 |
and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We |
| 9307 |
recommend this be set to true on pure HTTPS wikis. |
| 9308 |
* Added $wgCookieSameSite, which allows login cookies to be sent with |
| 9309 |
SameSite=None. This is required for cross-site CentralAuth autologin after |
| 9310 |
Chrome 84. |
| 9311 |
* Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to |
| 9312 |
SameSite=None cookies for browsers which implemented an incompatible draft |
| 9313 |
version of the specification. |
| 9314 |
* (T257207) shell: Expand documentation in firejail.profile. |
| 9315 |
* (T246135) Give the "remember me" checkbox a specific CSS class so skins |
| 9316 |
like Minerva can only hide that checkbox. |
| 9317 |
* (T256287) rdbms: improve DBConnRef domain selection exception message. |
| 9318 |
* (T248191, T259123) phpunit: Acknowledge known dberror from |
| 9319 |
SpecialPageFatalTest. |
| 9320 |
* (T256394, T259123) Cleanup up excess commit() call in LocalRepoTest. |
| 9321 |
* Fix runBatchedQuery.php for no result from select. |
| 9322 |
* (T130906) Add Edge to MediaWiki:Clearyourcache. |
| 9323 |
* (T249521) reassignEdits: Update script to use User::newFromName for anon |
| 9324 |
users. |
| 9325 |
* (T172060) GlobalFunctions: Use php_uname instead of posix_uname. |
| 9326 |
* Use IPset in MWRestrictions::checkIP. |
| 9327 |
* (T260031) Add application/font-sfnt to MimeMap for ttf files. |
| 9328 |
* shell: Make ->restrict( RESTRICT_NONE ) actually work. |
| 9329 |
* (T183759) Fixes shell edge-cases in Windows. |
| 9330 |
* (T258390) Add CentralIdLookup::factoryNonLocal(). |
| 9331 |
* (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate |
| 9332 |
limits. |
| 9333 |
* (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence |
| 9334 |
of hidden users. |
| 9335 |
* (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate |
| 9336 |
limit type. |
| 9337 |
* (T246991) User: enforce pingLimiter() expiry time. |
| 9338 |
* (T260232) don't include null page ids in query list for category dumps. |
| 9339 |
* (T251506) Sanitizer: Truncate IDs to a reasonable length. |
| 9340 |
* (T262900) Fix failure of rebuildLocalisationCache.php due to RL hook. |
| 9341 |
* Explicitly wrap some XML calls in libxml_disable_entity_loader(). |
| 9342 |
* (T263455 T247285) Set EnableJavaScriptTest to true in |
| 9343 |
includes/DevelopmentSettings.php. |
| 9344 |
* (T232568, CVE-2020-25813) SECURITY: SpecialUserrights: If a viewer lacks |
| 9345 |
`hideuser`, ignore hidden users. |
| 9346 |
* (T255918, CVE-2020-25812) SECURITY: Unescaped message used in HTML on |
| 9347 |
Special:Contributions. |
| 9348 |
* (T256171, CVE-2020-25815) SECURITY: Unescaped message used in HTML within |
| 9349 |
LogEventsList. |
| 9350 |
* (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking |
| 9351 |
firejail's --output functionality. |
| 9352 |
* (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and |
| 9353 |
'style' attribute. |
| 9354 |
* (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in |
| 9355 |
mw.message( ... ).parse(). |
| 9356 |
* (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct |
| 9357 |
database. |
| 9358 |
* (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used. |
| 9359 |
|
| 9360 |
== MediaWiki 1.34.2 == |
| 9361 |
|
| 9362 |
This is a security and maintenance release of the MediaWiki 1.34 branch. |
| 9363 |
|
| 9364 |
=== Changes since MediaWiki 1.34.1 === |
| 9365 |
* (T247017) PasswordReset performance improvements. |
| 9366 |
* The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked. |
| 9367 |
* (T250568) Work around change in SimpleXMLElement behavior introduced in PHP |
| 9368 |
7.3.17. |
| 9369 |
* (T251789) Let $wgResourceLoaderMaxQueryLength=-1 fallback to default. |
| 9370 |
* Remove some rotten and out of date documentation. |
| 9371 |
* (T252311) Improvements to some older SQLite update patches. |
| 9372 |
* (T240307) Minor fixes to extension.schema.v2.json and |
| 9373 |
extension.schema.v1.json. |
| 9374 |
* (T238043) cleanupUsersWithNoId.php: Handle missing fields. |
| 9375 |
* (T199474) Set rc_patrolled to 2 for autopatrolled changes in |
| 9376 |
rebuildrecentchanges.php. |
| 9377 |
* (T229461) Update the change_tag table in rebuildrecentchanges.php. |
| 9378 |
* (T249730) Password Reset Updates. |
| 9379 |
* (T234450) Per-user concurrency in SpecialContributions can now be limited by |
| 9380 |
setting $wgPoolCounterConf['SpecialContributions'] appropriately. |
| 9381 |
* (T248947) SECURITY: img_auth.php may leak private extension images into the |
| 9382 |
public cache. |
| 9383 |
|
| 9384 |
== MediaWiki 1.34.1 == |
| 9385 |
|
| 9386 |
This is a security and maintenance release of the MediaWiki 1.34 branch. |
| 9387 |
|
| 9388 |
=== Changes since MediaWiki 1.34.0 === |
| 9389 |
* (T211450) User: better error message when getActorId fails. |
| 9390 |
* (T241340) Don't redefine MW_ENTRY_POINT in thumb.php if already defined. |
| 9391 |
* (T236444) User: Allow newSystemUser() to create over anonymous actors. |
| 9392 |
* (T238483) Fix NewPagesPager "hide registered users" option. |
| 9393 |
* (T245072) mediawiki.language: Rename languageData back to languageNames. |
| 9394 |
* Use proper SemVer comparison in CheckComposerLockUpToDate. |
| 9395 |
* (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated. |
| 9396 |
* (T246127) Fix error when initialising updateCollation.php. |
| 9397 |
* Update comment about PHP versions supported by The PHP Group. |
| 9398 |
* (T247215) Fix output of RecountCategories::doWork(). |
| 9399 |
* Add check for page existence to view.php maintenance script. |
| 9400 |
* (T245149) Fix fetching login token from action=query&meta=tokens on private |
| 9401 |
wikis. |
| 9402 |
* (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink(). |
| 9403 |
* (T232932) SECURITY: User content can redirect the logout button to different |
| 9404 |
URL. |
| 9405 |
* (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to |
| 9406 |
any CSS selector. |
| 9407 |
|
| 9408 |
== MediaWiki 1.34.0 == |
| 9409 |
|
| 9410 |
=== Changes since MediaWiki 1.34.0-rc.1 === |
| 9411 |
* $wgDiffEngine (T237049) – This configuration can be used to specify which |
| 9412 |
difference engine to use. MediaWiki continues to default to automatically |
| 9413 |
choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is |
| 9414 |
usable. |
| 9415 |
* (T231866) SqlBlobStore no longer needs Language object. |
| 9416 |
* (T236735) WikiExporter: Remove unnecessary check for SCHEMA_COMPAT_WRITE_OLD |
| 9417 |
flag. |
| 9418 |
* (T231673) Set MCR migration stage to SCHEMA_COMPAT_NEW. |
| 9419 |
* (T229601) Make sure DBLoadBalancerFactory service is not disabled. |
| 9420 |
* (T232866) Fix support for HTTP/2 in MultiHttpClient. |
| 9421 |
* (T231866) LocalisationCache: Don't instantiate ResourceLoader. |
| 9422 |
* (T227461) Stop calling deprecated Redis delete functions. |
| 9423 |
* (T239561) Mark options as requiring parameters in addSite.php. |
| 9424 |
* (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest. |
| 9425 |
* (T239734) Replace deprecated lSize with lLen in Redis code. |
| 9426 |
* (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset. |
| 9427 |
* (T239428) ApiEditPage: Test for bad redirect targets. |
| 9428 |
* (T233342) rdbms: Log debug message traces as 'exception.trace' instead of |
| 9429 |
'trace'. |
| 9430 |
* (T226751) media: Log and fail gracefully on invalid EXIF coordinates. |
| 9431 |
* (T240924) NewPagesPager: Fix namespace query conditions. |
| 9432 |
* (T212067) Tests for an old PHP bug in parse_url. |
| 9433 |
|
| 9434 |
== MediaWiki 1.34.0-rc.1 == |
| 9435 |
|
| 9436 |
=== Changes since MediaWiki 1.34.0-rc.0 === |
| 9437 |
* (T231742) rdbms: Restore debug toolbar "Queries" feature. |
| 9438 |
* (T231366) The ProfilerOutputDb class, 'profiling' table, and profileinfo.php |
| 9439 |
entry point had been deprecated. |
| 9440 |
* (T234361) localisation: Add debug message for backend of MessageCache. |
| 9441 |
* (T234361) session: Add debug message for the used store class. |
| 9442 |
* (T235559) Fix example Kask configuration in RESTBagOStuff class comment. |
| 9443 |
* (T235137) Don't apply styling for Special:Contributions on other pages. |
| 9444 |
* Upgrade mediawiki-codesniffer from 26.0.0 to 28.0.0 (dev-only). |
| 9445 |
* (T219604) The "jquery.ui.*" and "jquery.effects.*" modules are now |
| 9446 |
deprecated as aliases for the "jquery.ui" module. |
| 9447 |
* (T235392) Deprecate setting Parser::mTitle to null. |
| 9448 |
* Supporting commits for T235392 were also backported to prevent divergence |
| 9449 |
from master (MediaWiki 1.35). |
| 9450 |
* (T234581) The 'jquery.tabIndex' module is deprecated. |
| 9451 |
* Fix docs for GetUserBlock hooks. |
| 9452 |
* Parser: Hard deprecate getConverterLanguage. |
| 9453 |
* (T236810) A number of public methods of Parser were exposed only for |
| 9454 |
historical reasons and have been deprecated: doMagicLinks, |
| 9455 |
doDoubleUnderscore, doHeadings, doAllQuotes, replaceExternalLinks, |
| 9456 |
replaceInternalLinks, replaceInternalLinks2, getVariableValue, |
| 9457 |
initialiseVariables, formatHeadings, testPst, testPreprocess, testSrvus, |
| 9458 |
areSubpagesAllowed, maybeDoSubpageLink, splitWhitespace, createAssocArgs, |
| 9459 |
armorLinks, makeKnownLinkHolder, getImageParams, parseLinkParameter, |
| 9460 |
stripAltText, replaceLinkHolders, replaceLinkHoldersText, armorLinks, |
| 9461 |
makeKnownLinkHolder, getImageParams, parseLinkParameter, stripAltText. |
| 9462 |
* (T30798) $wgServer must now always be set in LocalSettings.php. This is most |
| 9463 |
likely the case already for any wiki installed after 1.18. The autodetection |
| 9464 |
system was informally deprecated since 1.18 and vulnerable to cache poisoning |
| 9465 |
attacks. Older wikis may need to update their LocalSettings.php file. |
| 9466 |
* (T232169) Hard deprecate $wgSysopEmailBans. |
| 9467 |
* (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php. |
| 9468 |
* (T181658) Do not insert page titles into querycache.qc_value. |
| 9469 |
* ParamValidator has been flagged as unstable. |
| 9470 |
* Hard deprecate Parser::disableCache(). |
| 9471 |
|
| 9472 |
== MediaWiki 1.34.0-rc.0 == |
| 9473 |
|
| 9474 |
== Upgrading notes for 1.34 == |
| 9475 |
1.34 has several database changes since 1.33, and will not work without schema |
| 9476 |
updates. Note that due to changes to some very large tables like the revision |
| 9477 |
table, the schema update may take quite long (minutes on a medium sized site, |
| 9478 |
many hours on a large site). |
| 9479 |
|
| 9480 |
Don't forget to always back up your database before upgrading! |
| 9481 |
|
| 9482 |
See the file UPGRADE for more detailed upgrade instructions, including |
| 9483 |
important information when upgrading from versions prior to 1.11. |
| 9484 |
|
| 9485 |
Some specific notes for MediaWiki 1.34 upgrades are below: |
| 9486 |
|
| 9487 |
* MediaWiki now requires PHP 7.2.9 or above. |
| 9488 |
* MediaWiki no longer supports HHVM. |
| 9489 |
|
| 9490 |
For notes on 1.33.x and older releases, see HISTORY. |
| 9491 |
|
| 9492 |
=== Configuration changes for system administrators in 1.34 === |
| 9493 |
|
| 9494 |
In an effort to enforce best practices for passwords, MediaWiki will now warn |
| 9495 |
users, and suggest that they change their password, if it is in the list of |
| 9496 |
100,000 commonly used passwords that are considered bad passwords. If you want |
| 9497 |
to disable this for your users, please add the following to your local settings: |
| 9498 |
|
| 9499 |
$wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false; |
| 9500 |
|
| 9501 |
==== New configuration ==== |
| 9502 |
* $wgAllowExternalReqID (T201409) - This configuration setting controls whether |
| 9503 |
MediaWiki accepts the request ID set by the incoming request via the |
| 9504 |
`X-Request-Id` header. If set to `true`, that value will be used throughout |
| 9505 |
the code as the request identificator. Otherwise, the sent header will be |
| 9506 |
ignored and the request ID will either be taken from Apache's mod_unique |
| 9507 |
module or will be generated by MediaWiki itself (depending on the set-up). |
| 9508 |
* $wgEnableSpecialMute (T218265) - This configuration controls whether |
| 9509 |
Special:Mute is available and whether to include a link to it on emails |
| 9510 |
originating from Special:Email. |
| 9511 |
* editmyuserjsredirect user right – users without this right now cannot edit JS |
| 9512 |
redirects in their userspace unless the target of the redirect is also in |
| 9513 |
their userspace. By default, this right is given to everyone. |
| 9514 |
* (T226733) Add rate limiter to Special:ConfirmEmail. |
| 9515 |
* $wgDiffEngine (T237049) – This configuration can be used to specify which |
| 9516 |
difference engine to use. MediaWiki continues to default to automatically |
| 9517 |
choosing the first of $wgExternalDiffEngine, wikidiff2, or php that is |
| 9518 |
usable. |
| 9519 |
|
| 9520 |
==== Changed configuration ==== |
| 9521 |
* $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four |
| 9522 |
CDN-related config variables have been renamed from being specific to Squid – |
| 9523 |
they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and |
| 9524 |
$wgSquidMaxage respectively. This aligns them with the related existing |
| 9525 |
variable $wgCdnMaxageLagged. The previous configuration variable names are |
| 9526 |
deprecated, but will be used as the fall back if they are still set. |
| 9527 |
Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated. |
| 9528 |
* (T27707) File type checks for image uploads have been relaxed to allow files |
| 9529 |
containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG |
| 9530 |
setting is no longer applied and is now always true. Note that MSIE 7 may |
| 9531 |
still be able to misinterpret certain malformed PNG files as HTML. |
| 9532 |
* (T30798) $wgServer must now always be set in LocalSettings.php. This is most |
| 9533 |
likely the case already for any wiki installed after 1.18. The autodetection |
| 9534 |
system was informally deprecated since 1.18 and vulnerable to cache poisoning |
| 9535 |
attacks. Older wikis may need to update their LocalSettings.php file. |
| 9536 |
* Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type |
| 9537 |
detection heuristic on upload, which is more conservative than the checks |
| 9538 |
that were changed above. |
| 9539 |
* $wgExternalDiffEngine — Setting this to a string value of 'wikidiff', |
| 9540 |
'wikidiff2', or 'wikidiff3' will no longer work. This legacy behaviour was |
| 9541 |
deprecated in MediaWiki 1.27, 1.32, and 1.27, respectively. |
| 9542 |
* $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now |
| 9543 |
hard-deprecated. |
| 9544 |
* $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in |
| 9545 |
1.23, is now hard-deprecated. |
| 9546 |
* $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated. |
| 9547 |
Instead, set the log file in $wgDebugLogGroups['profileoutput']. |
| 9548 |
* $wgProxyList — Setting this to an array with IP addresses in the array keys, |
| 9549 |
which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be |
| 9550 |
an array with IP addresses as the values, or a string path to a file |
| 9551 |
containing one IP address per line. |
| 9552 |
* $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock are now enabled by default. |
| 9553 |
|
| 9554 |
==== Removed configuration ==== |
| 9555 |
* $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change |
| 9556 |
size threshold, please specify in php.ini, using the configuration variable |
| 9557 |
wikidiff2.moved_paragraph_detection_cutoff. |
| 9558 |
* $wgUseESI - This experimental setting, deprecated in 1.33, is now removed. |
| 9559 |
* $wgDebugPrintHttpHeaders - The default of including HTTP headers in the |
| 9560 |
debug log channel is no longer configurable. The debug log itself remains |
| 9561 |
configurable via $wgDebugLogFile. |
| 9562 |
* $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values |
| 9563 |
stored in WANObjectCache. This is no longer configurable. |
| 9564 |
* $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure |
| 9565 |
password setups and deprecated since 1.24, is now removed. |
| 9566 |
* $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT |
| 9567 |
in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf). |
| 9568 |
* $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead. |
| 9569 |
* $wgActorTableSchemaMigrationStage has been removed. Extension code for |
| 9570 |
MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW. |
| 9571 |
|
| 9572 |
=== New user-facing features in 1.34 === |
| 9573 |
* Special:Mute has been added as a quick way for users to block unwanted emails |
| 9574 |
from other users originating from Special:EmailUser. |
| 9575 |
* (T207577) Special:NewSection has been created as a shortcut to creating a new |
| 9576 |
section on a page. When linked to, its subpage is used as the target |
| 9577 |
([[Special:NewSection/Test]] redirects to creating a new section in "Test"). |
| 9578 |
Otherwise, it displays a basic interface to allow the end user to specify |
| 9579 |
the target manually. |
| 9580 |
* (T220447) Special:Contributions/newbies has been removed for performance and |
| 9581 |
usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead. |
| 9582 |
* Special:NewFiles/newbies has been removed for performance and usefulness |
| 9583 |
reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead. |
| 9584 |
|
| 9585 |
=== New developer features in 1.34 === |
| 9586 |
* The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification |
| 9587 |
of headers in private wikis. |
| 9588 |
* Language::formatTimePeriod now supports the new 'avoidhours' option to output |
| 9589 |
strings like "5 days ago" instead of "5 days 13 hours ago". |
| 9590 |
* (T220163) Added SpecialMuteModifyFormFields hook to allow extensions |
| 9591 |
to add fields to Special:Mute. |
| 9592 |
* (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths. |
| 9593 |
See <https://www.mediawiki.org/wiki/OOUI/Themes> for details. |
| 9594 |
* (T229035) The GetUserBlock hook was added. Use this instead of |
| 9595 |
GetBlockedStatus. |
| 9596 |
* ObjectFactory is available as a service. When used as a service, the object |
| 9597 |
specs can now specify needed DI services. |
| 9598 |
* (T222388) Special pages can now be specified as an ObjectFactory spec, |
| 9599 |
allowing the construction of special pages that require services to be |
| 9600 |
injected in their constructor. |
| 9601 |
* (T222388) API modules can now be specified as an ObjectFactory spec, |
| 9602 |
allowing the construction of modules that require services to be injected |
| 9603 |
in their constructor. |
| 9604 |
* (T117736) The function signature of SpecialContributions::getForm::filters |
| 9605 |
has changed. It now expects definitions of additional filter fields as array |
| 9606 |
rather than string. |
| 9607 |
|
| 9608 |
=== External library changes in 1.34 === |
| 9609 |
|
| 9610 |
==== Changed external libraries ==== |
| 9611 |
* Updated Mustache from 1.0.0 to v3.0.1. |
| 9612 |
* Updated OOUI from v0.31.3 to v0.34.0. |
| 9613 |
* Updated OOjs from v2.2.2 to v3.0.0. |
| 9614 |
* Updated composer/semver from 1.4.2 to 1.5.0. |
| 9615 |
* Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only). |
| 9616 |
* Updated mediawiki/codesniffer from 25.0.0 to 28.0.0 (dev-only). |
| 9617 |
* Updated cssjanus/cssjanus from 1.2.1 to 1.3.0. |
| 9618 |
* Updated wikimedia/at-ease from 1.2.0 to 2.0.0. |
| 9619 |
* Updated wikimedia/remex-html from 2.0.1 to 2.1.0. |
| 9620 |
* Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only). |
| 9621 |
* Updated wikimedia/object-factory from 1.0.0 to 2.1.0. |
| 9622 |
* Updated wikimedia/timestamp from 2.2.0 to 3.0.0. |
| 9623 |
* Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3. |
| 9624 |
* Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only). |
| 9625 |
* Updated wikimedia/avro from 1.8.0 to 1.9.0 (dev-only). |
| 9626 |
|
| 9627 |
==== Removed external libraries ==== |
| 9628 |
* The jquery.async module, deprecated in 1.33, was removed. |
| 9629 |
|
| 9630 |
=== Bug fixes in 1.34 === |
| 9631 |
* (T222529) If a log entry or page revision is recorded in the database with an |
| 9632 |
empty username, attempting to display it will log an error and return a "no |
| 9633 |
username available" to the user instead of silently displaying nothing or |
| 9634 |
invalid links. |
| 9635 |
|
| 9636 |
=== Action API changes in 1.34 === |
| 9637 |
* The 'recenteditcount' response property from action=query list=allusers, |
| 9638 |
deprecated in 1.25, has been removed. |
| 9639 |
* (T60993) action=query list=filearchive, list=alldeletedrevisions and |
| 9640 |
prop=deletedrevisions no longer require the 'deletedhistory' user right. |
| 9641 |
* In the response to queries that use 'prop=imageinfo', entries for |
| 9642 |
non-existing files (indicated by the 'filemissing' field) now omit the |
| 9643 |
following fields, since they are meaningless in this context: |
| 9644 |
'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width', |
| 9645 |
'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment', |
| 9646 |
'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime', |
| 9647 |
'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata', |
| 9648 |
'mime', 'mediadtype', 'bitdepth'. |
| 9649 |
Clients that process these fields should first check if 'filemissing' is |
| 9650 |
set. Fields that are supported even if the file is missing include: |
| 9651 |
'canonicaltitle', 'archivename' (deleted files only), 'descriptionurl', |
| 9652 |
'descriptionshorturl'. |
| 9653 |
* The 'blockexpiry' result property in list=users and list=allusers will now be |
| 9654 |
returned in the same format used by the rest of the API: ISO 8601 for |
| 9655 |
expiring blocks, and "infinite" for non-expiring blocks. |
| 9656 |
|
| 9657 |
=== Action API internal changes in 1.34 === |
| 9658 |
* The exception thrown in ApiModuleManager::getModule has been changed |
| 9659 |
from an MWException to an UnexpectedValueException, thrown by ObjectFactory. |
| 9660 |
ApiModuleManager::getModule now also throws InvalidArgumentExceptions when |
| 9661 |
ObjectFactory is presented with an invalid spec or incorrectly constructed |
| 9662 |
objects. |
| 9663 |
* Added ApiQueryBlockInfoTrait. |
| 9664 |
|
| 9665 |
=== Languages updated in 1.34 === |
| 9666 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 9667 |
Below only new and removed languages are listed, as well as changes to languages |
| 9668 |
because of Phabricator reports. |
| 9669 |
|
| 9670 |
* (T152908) Added language support for N'Ko (nqo). |
| 9671 |
|
| 9672 |
=== Breaking changes in 1.34 === |
| 9673 |
* The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in |
| 9674 |
1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and |
| 9675 |
Wikimedia\AtEase\AtEase::restoreWarnings() directly. |
| 9676 |
* Preferences class, deprecated in 1.31, has been removed. |
| 9677 |
* The following parts of code, deprecated in 1.32, were removed in favor of |
| 9678 |
built-in PHP functions: |
| 9679 |
* CryptRand class |
| 9680 |
* CryptRand service |
| 9681 |
* Functions of the MWCryptRand class: singleton(), wasStrong() and generate(). |
| 9682 |
* Various Special Page PHP Classes were renamed (mostly casing changes): |
| 9683 |
* SpecialAncientpages => SpecialAncientPages |
| 9684 |
* SpecialConfirmemail => SpecialConfirmEmail |
| 9685 |
* SpecialDeadendpages => SpecialDeadendPages |
| 9686 |
* SpecialFewestrevisions => SpecialFewestRevisions |
| 9687 |
* SpecialListredirects => SpecialListRedirects |
| 9688 |
* SpecialLonelypages => SpecialLonelyPages |
| 9689 |
* SpecialLongpages => SpecialLongPages |
| 9690 |
* SpecialMIMEsearch => SpecialMIMESearch |
| 9691 |
* SpecialMostcategories => SpecialMostCategories |
| 9692 |
* SpecialMostinterwikis => SpecialMostInterwikis |
| 9693 |
* SpecialMostlinked => SpecialMostLinked |
| 9694 |
* SpecialMostlinkedcategories => SpecialMostLinkedCategories |
| 9695 |
* SpecialMostlinkedtemplates => SpecialMostLinkedTemplates |
| 9696 |
* SpecialMostrevisions => SpecialMostRevisions |
| 9697 |
* SpecialNewimages => SpecialNewFiles |
| 9698 |
* SpecialShortpages => SpecialShortPages |
| 9699 |
* SpecialUncategorizedcategories => SpecialUncategorizedCategories |
| 9700 |
* SpecialUncategorizedimages => SpecialUncategorizedImages |
| 9701 |
* SpecialUncategorizedpages => SpecialUncategorizedPages |
| 9702 |
* SpecialUncategorizedtemplates => SpecialUncategorizedTemplates |
| 9703 |
* SpecialUnusedcategories => SpecialUnusedCategories |
| 9704 |
* SpecialUnusedimages => SpecialUnusedImages |
| 9705 |
* SpecialUnusedtemplates => SpecialUnusedTemplates |
| 9706 |
* SpecialUnwatchedpages => SpecialUnwatchedPages |
| 9707 |
* SpecialWantedcategories => SpecialWantedCategories |
| 9708 |
* SpecialWantedtemplates => SpecialWantedTemplates |
| 9709 |
* SpecialWithoutinterwiki => SpecialWithoutInterwiki |
| 9710 |
* Language::setCode, deprecated in 1.32, was removed. Use Language::factory to |
| 9711 |
create a new Language object with a different language code. |
| 9712 |
* MWNamespace::clearCaches() has been removed. So has the $rebuild parameter |
| 9713 |
to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31. |
| 9714 |
Instead, reset services, such as by calling $this->overrideMwServices() (if |
| 9715 |
your test extends MediaWikiTestCase). Services will generally not pick up |
| 9716 |
configuration changes from after they were created, so you must reset |
| 9717 |
services after any configuration change. Even if your code works now, it is |
| 9718 |
likely to break in future versions as more code is moved to services. |
| 9719 |
* The ill-defined "DatabaseOraclePostInit" hook has been removed. |
| 9720 |
* PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have |
| 9721 |
been removed. |
| 9722 |
* ObjectFactory class, deprecated in 1.31, has been removed. |
| 9723 |
* HWLDFWordAccumudlator class, deprecated in 1.28, has been removed. |
| 9724 |
* XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed. |
| 9725 |
* The RedirectSpecialPage::execute method could sometimes return a Title object. |
| 9726 |
This behavior was removed, and the method now matches the parent signature |
| 9727 |
(SpecialPage::execute) which is to return HTML string or void. |
| 9728 |
To obtain the destination title, use RedirectSpecialPage::getRedirect. |
| 9729 |
* The 'recenteditcount' response property from action API action=query |
| 9730 |
list=allusers, deprecated in 1.25, has been removed. |
| 9731 |
* SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(), |
| 9732 |
SearchEngine::create(), SearchEngine::getSearchTypes() and |
| 9733 |
SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed. |
| 9734 |
* FileRepo::streamFile(), deprecated in 1.26, has been removed. |
| 9735 |
* User::randomPassword() method, deprecated in 1.27, have been removed. |
| 9736 |
* MWNamespace::canTalk(), deprecated in 1.30, have been removed. |
| 9737 |
* Parser class property $mUniqPrefix, deprecated in 1.26, has been removed. |
| 9738 |
* wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been |
| 9739 |
removed. |
| 9740 |
* wfMakeUrlIndexes() function, deprecated in 1.33, have been removed. |
| 9741 |
* Method signatures in WatchedItemQueryServiceExtension have changed from taking |
| 9742 |
User objects to taking UserIdentity objects. Extensions implementing this |
| 9743 |
interface need to be changed accordingly. |
| 9744 |
* User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been |
| 9745 |
removed. Use UserGroupMembership::getGroupPage and ::getLink instead. |
| 9746 |
* User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use |
| 9747 |
UserGroupMembership::getLink() instead. |
| 9748 |
* SavepointPostgres, deprecated in 1.31, has been removed. |
| 9749 |
* OutputPage::enableSectionEditLinks(), OutputPage::sectionEditLinksEnabled(), |
| 9750 |
ParserOptions::getEditSection(), ParserOptions::setEditSection(), and |
| 9751 |
ParserOutput::getEditSectionTokens, ::getTOCEnabled, ::setEditSectionTokens, |
| 9752 |
and ::setTOCEnabled, deprecated in 1.31, have been removed. |
| 9753 |
* EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30, |
| 9754 |
have been removed. |
| 9755 |
* Four methods in OutputPage, deprecated in 1.32, have been removed. You should |
| 9756 |
use OutputPage::showFatalError or throw a FatalError instead. The methods are |
| 9757 |
::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and |
| 9758 |
::showFileNotFoundError(). |
| 9759 |
* ApiBase::truncateArray(), deprecated in 1.32, has been removed. |
| 9760 |
* IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's |
| 9761 |
INTL_ICU_VERSION constant directly. |
| 9762 |
* HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed. |
| 9763 |
* ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(), |
| 9764 |
both deprecated in 1.32, have been removed. |
| 9765 |
* BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have |
| 9766 |
been removed. Use ->msg() or ->getMsg() instead. |
| 9767 |
* WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead, |
| 9768 |
use WatchAction::getWatchToken() with action 'unwatch' directly. |
| 9769 |
* Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in |
| 9770 |
1.28, have been removed. |
| 9771 |
* PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(), |
| 9772 |
deprecated in 1.32, have been removed. |
| 9773 |
* OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated |
| 9774 |
in 1.33, have been removed. |
| 9775 |
* User::getPasswordValidity(), deprecated in 1.33, has been removed. |
| 9776 |
* ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been |
| 9777 |
removed. |
| 9778 |
* ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed. |
| 9779 |
* JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed. |
| 9780 |
* MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed. |
| 9781 |
* SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed. |
| 9782 |
* The Block typehint only refers to blocks stored in the database. It should be |
| 9783 |
updated to AbstractBlock in cases where any type of block could be expected. |
| 9784 |
* FileRepoStatus, deprecated in 1.25, has been removed. |
| 9785 |
* The LegacyHookPreAuthenticationProvider class, deprecated since its creation |
| 9786 |
in 1.27, has been removed. |
| 9787 |
* IP::isValidBlock(), deprecated in 1.30, has been removed. |
| 9788 |
* WikiPage::prepareContentForEdit now doesn't accept an integer for $revision, |
| 9789 |
was deprecated in 1.25. |
| 9790 |
* The jquery.byteLength module, deprecated in 1.31, was removed. |
| 9791 |
Use the mediawiki.String module instead. |
| 9792 |
* mw.language.specialCharacters, deprecated in 1.33, has been removed. |
| 9793 |
Use require( 'mediawiki.language.specialCharacters' ) instead. |
| 9794 |
* The jquery.colorUtil module was removed. Use jquery.color instead. |
| 9795 |
* The jquery.checkboxShiftClick module was removed. The functionality |
| 9796 |
is provided by mediawiki.page.ready instead (T232688). |
| 9797 |
* The 'jquery.accessKeyLabel' module has been removed. This jQuery |
| 9798 |
plugin now ships as part of the 'mediawiki.util' module bundle. |
| 9799 |
* EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit() |
| 9800 |
directly. |
| 9801 |
* HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use |
| 9802 |
getErrorsOrWarnings() instead. |
| 9803 |
* SpecialPage::getTitle(), deprecated in 1.23, has been removed. Use |
| 9804 |
SpecialPage::getPageTitle() instead. |
| 9805 |
* jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold |
| 9806 |
jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer, |
| 9807 |
which are no longer used, have now been removed. |
| 9808 |
* SpecialEmailUser::validateTarget(), ::getTarget() without a sender/user |
| 9809 |
specified, deprecated in 1.30, have been removed. |
| 9810 |
* BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed. |
| 9811 |
* The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA. |
| 9812 |
* The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been |
| 9813 |
removed. Use NS_FILE and NS_FILE_TALK respectively. |
| 9814 |
* Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer |
| 9815 |
(deprecated in 1.32) have been removed. Closures should be used instead. |
| 9816 |
* OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(), |
| 9817 |
::addWikiTextTidy(), ::addWikiTextTitle(), deprecated in 1.32, have been |
| 9818 |
removed. |
| 9819 |
* The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader() |
| 9820 |
method, deprecated in 1.32, have been removed. |
| 9821 |
* WebInstallerOutput::addWikiText(), deprecated in 1.32, has been removed. |
| 9822 |
* Parser::fetchFile(), deprecated in 1.32, has been removed. Use the method |
| 9823 |
Parser::fetchFileAndTitle() instead. |
| 9824 |
* The global function wfBCP47, deprecated in 1.31, has been removed. |
| 9825 |
* wfCountDown() function, deprecated in 1.31, has been removed. Use |
| 9826 |
\Maintenance::countDown() method instead. |
| 9827 |
* OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was |
| 9828 |
deprecated since 1.20. |
| 9829 |
* Skin::outputPage() no longer accepts a context. This was deprecated in 1.20. |
| 9830 |
* Linker::link() no longer accepts a string for the query array, as was |
| 9831 |
deprecated in 1.20. |
| 9832 |
* PrefixSearch::titleSearch(), deprecated in 1.23, has been removed. Use the |
| 9833 |
SearchEngine::defaultPrefixSearch or ::completionSearch() methods instead. |
| 9834 |
* The UserRights hook, deprecated in 1.26, has been removed. Instead, use the |
| 9835 |
UserGroupsChanged hook. |
| 9836 |
* Skin::getDefaultInstance(), deprecated in 1.27, has been removed. Get the |
| 9837 |
instance from MediaWikiServices instead. |
| 9838 |
* The UserLoadFromSession hook, deprecated in 1.27, has been removed. |
| 9839 |
* The wfResetSessionID global function, deprecated in 1.27, has been removed. |
| 9840 |
Use MediaWiki\Session\SessionManager instead. |
| 9841 |
* The wfGetLBFactory global function, deprecated in 1.27, has been removed. |
| 9842 |
Use MediaWikiServices::getInstance()->getDBLoadBalancerFactory(). |
| 9843 |
* The internal method OutputPage->addScriptFile() will no longer silently drop |
| 9844 |
calls that use an invalid path (i.e., something other than an absolute path, |
| 9845 |
protocol-relative URL, or full scheme URL), and will instead pass them to the |
| 9846 |
client where they will likely 404. This usage was deprecated in 1.24. |
| 9847 |
* Database::reportConnectionError, deprecated in 1.32, has been removed. |
| 9848 |
* APIEditBeforeSave hook, deprecated in 1.28, has been removed. Please see |
| 9849 |
EditFilterMergedContent hook for an alternative way to use this feature. |
| 9850 |
* API module methods getDescription(), getParamDescription(), & getExamples(), |
| 9851 |
all deprecated in 1.25 and ignored, have been removed. |
| 9852 |
* The API module method getDescriptionMessage(), deprecated in 1.30, has been |
| 9853 |
removed. |
| 9854 |
* The JavaScript global variable wgLoadScript has been removed. Use |
| 9855 |
mw.util.wikiScript( 'load' ) instead. |
| 9856 |
* ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has |
| 9857 |
been unused since 1.16 and was deprecated in 1.22. To deprecate a property |
| 9858 |
in JavaScript, use mw.log.deprecate() instead. |
| 9859 |
* The 'user.groups' module, deprecated in 1.28, was removed. |
| 9860 |
Use the 'user' module instead. |
| 9861 |
* The ResourceLoaderContext::expandModuleNames method, deprecated in 1.33, was |
| 9862 |
removed. Use ResourceLoader::expandModuleNames instead. |
| 9863 |
* The ability to override User::$mRights has been removed. Use |
| 9864 |
PermissionManager::addTemporaryUserRights() instead. |
| 9865 |
* Previously, when iterating ResultWrapper with foreach() or a similar |
| 9866 |
construct, the range of the index was 1..numRows. This has been fixed to be |
| 9867 |
0..(numRows-1). |
| 9868 |
* The ChangePasswordForm hook, deprecated in 1.27, has been removed. Use the |
| 9869 |
AuthChangeFormFields hook or security levels instead. |
| 9870 |
* WikiMap::getWikiIdFromDomain(), deprecated in 1.33, has been removed. |
| 9871 |
Use WikiMap::getWikiIdFromDbDomain() instead. |
| 9872 |
* The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace, |
| 9873 |
which were deprecated and ignored by core since 1.22, are no longer set to any |
| 9874 |
value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not |
| 9875 |
updated since 2013 to cope with this deprecation may now break. |
| 9876 |
* (T222637) Passing ResourceLoaderModule objects to ResourceLoader::register() |
| 9877 |
or $wgResourceModules is no longer supported. |
| 9878 |
Use the 'class' or 'factory' option of the array format instead. |
| 9879 |
* The parameter $lang of the functions generateTOC and tocList in Linker and |
| 9880 |
DummyLinker must be in type Language when present. Other types are |
| 9881 |
deprecated since 1.33. |
| 9882 |
* The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29, |
| 9883 |
have been removed. |
| 9884 |
* ParserOption::getSpeculativeRevIdCallback(), deprecated in 1.28, has been |
| 9885 |
removed. |
| 9886 |
* The UploadVerification hook, deprecated in 1.28, has been removed. Instead, |
| 9887 |
use the UploadVerifyFile hook. |
| 9888 |
* UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(), |
| 9889 |
deprecated in 1.28, have been removed. Instead, please use the getFileKey() |
| 9890 |
method on the response from doStashFile(). |
| 9891 |
* LBFactory::setDomainPrefix() and LoadBalancer::setDomainPrefix(), deprecated |
| 9892 |
in 1.33, have been removed. Use setLocalDomainPrefix() instead. |
| 9893 |
* IDatabase::implicitGroupby(), deprecated in 1.30, has been removed. |
| 9894 |
* IDatabase::doneWrites(), deprecated in 1.31, has been removed. |
| 9895 |
Use IDatabase::lastDoneWrites() instead. |
| 9896 |
* Database::reportConnectionError(), deprecated in 1.32, has been removed. |
| 9897 |
* LoadBalancer::laggedSlaveUsed(), deprecated in 1.28, has been removed. |
| 9898 |
Use LoadBalancer::laggedReplicaUsed() instead. |
| 9899 |
* Database::getProperty(), deprecated in 1.28, has been removed. |
| 9900 |
* IDatabase::getWikiId(), deprecated in 1.30, has been removed. |
| 9901 |
Use IDatabase::getDomainID() instead. |
| 9902 |
* (T191231) Support for using Oracle or MSSQL as database backends has been |
| 9903 |
dropped. |
| 9904 |
* MessageCache::destroyInstance() has been removed. Instead, call |
| 9905 |
MediaWikiTestCase::resetServices(). |
| 9906 |
* SearchResult protected field $searchEngine is removed and no longer |
| 9907 |
initialized after calling SearchResult::initFromTitle(). |
| 9908 |
* The UserIsBlockedFrom hook is only called if a block is found first, and |
| 9909 |
should only be used to unblock a blocked user. |
| 9910 |
* Parameters for index.php from PATH_INFO, such as the title, are no longer |
| 9911 |
written to $_GET. |
| 9912 |
* The selectFields() methods on classes LocalFile, ArchivedFile, OldLocalFile, |
| 9913 |
DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use |
| 9914 |
the corresponding getQueryInfo() methods instead. |
| 9915 |
* The following methods on Revision, deprecated since 1.31, have been removed. |
| 9916 |
Use RevisionStore::getQueryInfo() or RevisionStore::getArchiveQueryInfo() |
| 9917 |
instead. |
| 9918 |
* Revision::userJoinCond() |
| 9919 |
* Revision::pageJoinCond() |
| 9920 |
* Revision::selectFields() |
| 9921 |
* Revision::selectArchiveFields() |
| 9922 |
* Revision::selectTextFields() |
| 9923 |
* Revision::selectPageFields() |
| 9924 |
* Revision::selectUserFields() |
| 9925 |
* User::setNewpassword(), deprecated in 1.27 has been removed. |
| 9926 |
* The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance |
| 9927 |
functions, deprecated since 1.28, have been removed. |
| 9928 |
* Language::$dataCache has been removed (without prior deprecation, for |
| 9929 |
practical reasons). Use MediaWikiServices instead to get a LocalisationCache. |
| 9930 |
|
| 9931 |
=== Deprecations in 1.34 === |
| 9932 |
* The MWNamespace class is deprecated. Use NamespaceInfo. |
| 9933 |
* ExtensionRegistry->load() is deprecated, as it breaks dependency checking. |
| 9934 |
Instead, use ->queue(). |
| 9935 |
* User::isBlocked() is deprecated since it does not tell you if the user is |
| 9936 |
blocked from editing a particular page. Use User::getBlock() or |
| 9937 |
PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead. |
| 9938 |
* User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved |
| 9939 |
to the BlockManager as private helper methods. |
| 9940 |
* User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted |
| 9941 |
instead. |
| 9942 |
* The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled |
| 9943 |
is deprecated. Pass only the User argument. |
| 9944 |
* WatchedItem::getUser is deprecated. Use getUserIdentity. |
| 9945 |
* Passing a Title as the first parameter to the getTimestampById method of |
| 9946 |
RevisionStore is deprecated. Omit it, passing only the remaining parameters. |
| 9947 |
* Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use |
| 9948 |
RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision. |
| 9949 |
* The Title parameter to RevisionLookup::getPreviousRevision and |
| 9950 |
RevisionLookup::getNextRevision is deprecated and should be omitted. |
| 9951 |
* MWHttpRequest::factory is deprecated. Use HttpRequestFactory. |
| 9952 |
* The Http class is deprecated. For the request, get, and post methods, use |
| 9953 |
HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI. For |
| 9954 |
getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a |
| 9955 |
MultiHttpClient directly. |
| 9956 |
* Http::$httpEngine is deprecated and has no replacement. The default 'guzzle' |
| 9957 |
engine will eventually be made the only engine for HTTP requests. |
| 9958 |
* RepoGroup::singleton(), RepoGroup::destroySingleton(), |
| 9959 |
RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all |
| 9960 |
deprecated. Use MediaWikiServices instead. |
| 9961 |
* The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated. |
| 9962 |
Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage. |
| 9963 |
* MWMessagePack class, no longer used, has been deprecated in 1.34. |
| 9964 |
* The Block class is separated into DatabaseBlock (for blocks stored in the |
| 9965 |
database), and SystemBlock (for temporary blocks created by the system). |
| 9966 |
SystemBlock should be used when creating any temporary blocks. Block is |
| 9967 |
a deprecated alias for DatabaseBlock. |
| 9968 |
* Parser::$mConf is deprecated. It will be removed entirely in a later version. |
| 9969 |
Some context can be found at T224165. |
| 9970 |
* Constructing Parser directly is deprecated. Obtain one from ParserFactory. |
| 9971 |
* Title::moveSubpages is deprecated. Use MovePage::moveSubpages or |
| 9972 |
MovePage::moveSubpagesIfAllowed. |
| 9973 |
* The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo. |
| 9974 |
* (T62260) Hard deprecate Language::getExtraUserToggles() method. |
| 9975 |
* Language::viewPrevNext function is deprecated, use |
| 9976 |
PrevNextNavigationRenderer::buildPrevNextNavigation instead |
| 9977 |
* User::trackBlockWithCookie and DatabaseBlock::clearCookie are deprecated. Use |
| 9978 |
BlockManager::trackBlockWithCookie and BlockManager::clearCookie instead. |
| 9979 |
* DatabaseBlock::setCookie, DatabaseBlock::getCookieValue, |
| 9980 |
DatabaseBlock::getIdFromCookieValue and AbstractBlock::shouldTrackWithCookie |
| 9981 |
are moved to internal helper methods for BlockManager::trackBlockWithCookie. |
| 9982 |
* ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have |
| 9983 |
been deprecated. Inside ResourceLoaderModule subclasses, use the local methods |
| 9984 |
instead. Elsewhere, use the methods from the ResourceLoader class. |
| 9985 |
* The Profiler::setTemplated and Profiler::getTemplated methods have been |
| 9986 |
deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput |
| 9987 |
instead. |
| 9988 |
* The ProfilerOutputDb class, 'profiling' table, and profileinfo.php entry |
| 9989 |
point had been deprecated (T231366). |
| 9990 |
* The Preprocessor_DOM implementation has been deprecated. It will be |
| 9991 |
removed in a future release. Use the Preprocessor_Hash implementation |
| 9992 |
instead. |
| 9993 |
* Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist() |
| 9994 |
have been deprecated; they will be made private in the future. |
| 9995 |
* SearchResult::termMatches() method is deprecated. It was unreliable because |
| 9996 |
only populated by few search engine implementations. Use |
| 9997 |
SqlSearchResult::getTermMatches() if really needed. |
| 9998 |
* SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated |
| 9999 |
and should no longer be passed. Search engine implemenations should be |
| 10000 |
responsible for carrying relevant information needed for highlighting with |
| 10001 |
their own SearchResultSet/SearchResult sub-classes. |
| 10002 |
* SearchResultSet::free() method is deprecated. |
| 10003 |
* SearchEngine::$searchTerms protected field is deprecated. Moved to |
| 10004 |
SearchDatabase. |
| 10005 |
* The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle |
| 10006 |
hooks is highly discouraged as it's only populated by SearchDatabase search |
| 10007 |
engines. |
| 10008 |
* Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin |
| 10009 |
template option 'searchaction' instead. |
| 10010 |
* Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated. |
| 10011 |
Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead. |
| 10012 |
* LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have |
| 10013 |
been deprecated. |
| 10014 |
* FileBackend::getWikiId() has been deprecated. |
| 10015 |
Use FileBackend::getDomainId() instead. |
| 10016 |
* User::getRights() and User::$mRights have been deprecated. Use |
| 10017 |
PermissionManager::getUserPermissions() instead. |
| 10018 |
* The LocalisationCacheRecache hook no longer allows purging of message blobs |
| 10019 |
to be prevented. Modifying the $purgeBlobs parameter now has no effect. |
| 10020 |
* SVGMetadataExtractor::getMetadata has been deprecated. Instead, you should |
| 10021 |
use SVGReader->getMetadata() directly. |
| 10022 |
* The following public properties on AbstractBlock are deprecated: $mReason, |
| 10023 |
$mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead. |
| 10024 |
* The following public properties on DatabaseBlock are deprecated: $mAuto, |
| 10025 |
$mParentBlockId. To check for an autoblock use DatabaseBlock::getType; to |
| 10026 |
check for the parent ID, use DatabaseBlock::getParentBlockId. |
| 10027 |
* SearchEngine::userHighlightPrefs() is deprecated, simply stop passing |
| 10028 |
$contextlines and $contextchars to the SearchHighlighter methods, they will |
| 10029 |
use proper defaults defined in SearchHighlighter::DEFAULT_CONTEXT_LINES and |
| 10030 |
DEFAULT_CONTEXT_CHARS. |
| 10031 |
* SearchUpdate constructor: passing a string as the title param and or a boolean |
| 10032 |
or a string as the content will produce a deprecation warning. |
| 10033 |
* SearchEngine::getTextFromContent() is deprecated, use getTextForSearchIndex() |
| 10034 |
directly from the Content object. |
| 10035 |
* SearchEngine::textAlreadyUpdatedForIndex() is deprecated, given the |
| 10036 |
deprecation above this method is no longer needed/called and should not be |
| 10037 |
implemented by SearchEngine implementation. |
| 10038 |
* IDatabase::bufferResults() has been deprecated. Use query batching instead. |
| 10039 |
* MessageCache::singleton() is deprecated. Use |
| 10040 |
MediaWikiServices::getMessageCache(). |
| 10041 |
* ObjectCache::getWANInstance() is deprecated. Use |
| 10042 |
MediaWikiServices::getMainWANObjectCache() instead. |
| 10043 |
* ObjectCache::newWANCacheFromParams() is deprecated. Use |
| 10044 |
MediaWikiServices::getMainWANObjectCache() instead. |
| 10045 |
* Constructing MovePage directly is deprecated. Use MovePageFactory. |
| 10046 |
* TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead. |
| 10047 |
* wfIsBadImage() is deprecated. Use the BadFileLookup service instead. |
| 10048 |
* Building a new SearchResult is hard-deprecated, always call |
| 10049 |
SearchResult::newFromTitle(). This class is being refactored into an abstract |
| 10050 |
class. If you extend this class please be sure to override all its methods |
| 10051 |
or extend RevisionSearchResult. |
| 10052 |
* Skin::getSkinNameMessages() is deprecated and no longer used. |
| 10053 |
* The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp() instead. |
| 10054 |
* Specifying a SpecialPage object for the list of special pages (either through |
| 10055 |
the SpecialPage_initList hook or by adding to $wgSpecialPages) is now |
| 10056 |
deprecated. |
| 10057 |
* The 'jquery.tabIndex' module is deprecated. |
| 10058 |
* WebInstaller::getWarningBox() and getErrorBox() are deprecated. |
| 10059 |
Use Html::errorBox() or Html::warningBox() instead. |
| 10060 |
* Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user', |
| 10061 |
'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted |
| 10062 |
to use the corresponding actor fields directly. Note that use with |
| 10063 |
'rev_user' is *not* deprecated at this time. |
| 10064 |
* Specifying both the class and factory parameters for |
| 10065 |
ApiModuleManager::addModule is now deprecated. The ObjectFactory spec should |
| 10066 |
be used instead. |
| 10067 |
* The UserIsHidden hook is deprecated. Use GetUserBlock instead, and add a |
| 10068 |
system block that hides the user. |
| 10069 |
* The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or |
| 10070 |
remove a block. |
| 10071 |
* $wgContentHandlerUseDB is deprecated and should always be true. |
| 10072 |
* StreamFile::send404Message() and StreamFile::parseRange() are now deprecated. |
| 10073 |
Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange() |
| 10074 |
respectively instead. |
| 10075 |
* Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban |
| 10076 |
users from sending emails, use |
| 10077 |
$wgGroupPermissions['sysop']['blockemail'] = true; |
| 10078 |
* ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use |
| 10079 |
ApiQueryBlockInfoTrait instead. |
| 10080 |
* PasswordReset is now a service, its direct instantiation is deprecated. |
| 10081 |
* RESTBagOStuff users should specify either "JSON" or "PHP" serialization type. |
| 10082 |
* The global function wfIsHHVM() is deprecated and will now always return false |
| 10083 |
regardless of the runtime environment. This is part of the continuing work to |
| 10084 |
remove HHVM support from MediaWiki, which started in MediaWiki 1.31. |
| 10085 |
* Language::getLocalisationCache() is deprecated. Use MediaWikiServices |
| 10086 |
instead. |
| 10087 |
* The following Language methods are deprecated: isSupportedLanguage, |
| 10088 |
isValidCode, isValidBuiltInCode, isKnownLanguageTag, fetchLanguageNames, |
| 10089 |
fetchLanguageName, getFileName, getMessagesFileName, getJsonMessagesFileName. |
| 10090 |
Use the new LanguageNameUtils class instead. (Note that fetchLanguageName(s) |
| 10091 |
are called getLanguageName(s) in the new class.) |
| 10092 |
* Using the Parser without initializing its $mTitle property to non-null has |
| 10093 |
been deprecated. In a future release Parser::getTitle() will throw a |
| 10094 |
TypeError if $mTitle is uninitialized. |
| 10095 |
* A number of public methods of Parser were exposed only for historical |
| 10096 |
reasons and have been deprecated: doMagicLinks, doDoubleUnderscore, |
| 10097 |
doHeadings, doAllQuotes, replaceExternalLinks, replaceInternalLinks, |
| 10098 |
replaceInternalLinks2, getVariableValue, initialiseVariables, formatHeadings, |
| 10099 |
testPst, testPreprocess, testSrvus, areSubpagesAllowed, maybeDoSubpageLink, |
| 10100 |
splitWhitespace, createAssocArgs, armorLinks, makeKnownLinkHolder, |
| 10101 |
getImageParams, parseLinkParameter, stripAltText, replaceLinkHolders, |
| 10102 |
replaceLinkHoldersText, armorLinks, makeKnownLinkHolder, getImageParams, |
| 10103 |
parseLinkParameter, stripAltText. |
| 10104 |
|
| 10105 |
=== Other changes in 1.34 === |
| 10106 |
* Added option to specify "Various authors" as author in extension credits using |
| 10107 |
"..." as the only author name. If the "author" array contains more than one |
| 10108 |
entry and "..." is one of the entries in the array, "..." will be parsed as |
| 10109 |
"others" (version-poweredby-others i18n message) like previously. |
| 10110 |
* (T232563) Browser support ("Grade C") for Internet Explorer 6 and 7 |
| 10111 |
was discontinued. Basic content and security features may no longer |
| 10112 |
work correctly in these browsers. |
| 10113 |
|
| 10114 |
= MediaWiki 1.33 = |
| 10115 |
|
| 10116 |
== MediaWiki 1.33.4 == |
| 10117 |
|
| 10118 |
This is a security and maintenance release of the MediaWiki 1.33 branch. |
| 10119 |
|
| 10120 |
=== Changes since MediaWiki 1.33.3 === |
| 10121 |
* (T247017) PasswordReset performance improvements. |
| 10122 |
* The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked. |
| 10123 |
* (T250568) Work around change in SimpleXMLElement behavior introduced in PHP |
| 10124 |
7.3.17. |
| 10125 |
* Remove some rotten and out of date documentation. |
| 10126 |
* (T252311) Improvements to some older SQLite update patches. |
| 10127 |
* (T240307) Minor fixes to extension.schema.v2.json and |
| 10128 |
extension.schema.v1.json. |
| 10129 |
* rdbms: Add callback for atomic section cancellation. |
| 10130 |
* (T191668) NameTableStoreTest::getCallCheckingDb simplification. |
| 10131 |
* Make NameTableStore use LoadBalancer::getConnectionRef(). |
| 10132 |
* (T224949) NameTableStore: ensure consistency upon rollback. |
| 10133 |
* (T199474) Set rc_patrolled to 2 for autopatrolled changes in |
| 10134 |
rebuildrecentchanges.php. |
| 10135 |
* (T229461) Update the change_tag table in rebuildrecentchanges.php. |
| 10136 |
* (T234450) Per-user concurrency in SpecialContributions can now be limited by |
| 10137 |
setting $wgPoolCounterConf['SpecialContributions'] appropriately. |
| 10138 |
* (T248947) SECURITY: img_auth.php may leak private extension images into the |
| 10139 |
public cache. |
| 10140 |
|
| 10141 |
== MediaWiki 1.33.3 == |
| 10142 |
|
| 10143 |
This is a security and maintenance release of the MediaWiki 1.33 branch. |
| 10144 |
|
| 10145 |
=== Changes since MediaWiki 1.33.2 === |
| 10146 |
* (T245072) mediawiki.language: Rename languageData back to languageNames. |
| 10147 |
* Use proper SemVer comparison in CheckComposerLockUpToDate. |
| 10148 |
* (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated. |
| 10149 |
* Update comment about PHP versions supported by The PHP Group. |
| 10150 |
* (T247215) Fix output of RecountCategories::doWork(). |
| 10151 |
* Add check for page existence to view.php maintenance script. |
| 10152 |
* (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink(). |
| 10153 |
* (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to |
| 10154 |
any CSS selector. |
| 10155 |
|
| 10156 |
== MediaWiki 1.33.2 == |
| 10157 |
|
| 10158 |
This is a security and maintenance release of the MediaWiki 1.33 branch. |
| 10159 |
|
| 10160 |
=== Changes since MediaWiki 1.33.1 === |
| 10161 |
* (T217831) (T200653) PopulateContentTables: compute sha1 and length if needed. |
| 10162 |
* Fix extra newlines in the installer. |
| 10163 |
* (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php. |
| 10164 |
* (T181658) Do not insert page titles into querycache.qc_value. |
| 10165 |
* (T206013) Suppress errors when reading invalid XML file properties. |
| 10166 |
* (T237931) Remove references to pg_attrdef.adsrc in Postgres code. |
| 10167 |
* Use correct value for 'sslmode' in DatabasePostgres. |
| 10168 |
* (T232866) Fix support for HTTP/2 in MultiHttpClient. |
| 10169 |
* (T227461) Stop calling deprecated Redis delete functions. |
| 10170 |
* (T239561) Mark options as requiring parameters in addSite.php. |
| 10171 |
* (T219440) Skip flaky rollback test. |
| 10172 |
* (T232866) Mimic CURLOPT_POST in GuzzleHttpRequest. |
| 10173 |
* (T239734) Replace deprecated lSize with lLen in Redis code. |
| 10174 |
* (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset. |
| 10175 |
* (T239428) ApiEditPage: Test for bad redirect targets. |
| 10176 |
* (T233342) rdbms: Log debug message traces as 'exception.trace' instead of |
| 10177 |
'trace'. |
| 10178 |
* (T226751) media: Log and fail gracefully on invalid EXIF coordinates. |
| 10179 |
* (T212067) SECURITY: Work around PHP bug in parse_url. |
| 10180 |
|
| 10181 |
== MediaWiki 1.33.1 == |
| 10182 |
|
| 10183 |
This is a security and maintenance release of the MediaWiki 1.33 branch. |
| 10184 |
|
| 10185 |
=== Changes since MediaWiki 1.33.0 === |
| 10186 |
* A change that kept people with a database table prefix that didn't |
| 10187 |
end with an underscore from updating was reverted. |
| 10188 |
* (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3. |
| 10189 |
* The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification |
| 10190 |
of headers in private wikis. |
| 10191 |
* (T230317) Allow upgrading from MediaWiki before 1.15 where the valid_tag table |
| 10192 |
doesn't yet exist. |
| 10193 |
* (T208897) MessageCache: Restore 'loadedLanguages' tracking for load(). |
| 10194 |
* (T228555) MessageCache: Fix isMainCacheable() logic for non-content languages. |
| 10195 |
* (T200088) Remove title protection correctly for undeletions and imports. |
| 10196 |
* (T230402) SECURITY: Add permission check for suppressed account to |
| 10197 |
Special:Redirect. |
| 10198 |
* Add helper for HTTPFileStreamer header syntax. |
| 10199 |
* (T227461) ObjectCache: avoid using deprecated phpredis::delete() alias. |
| 10200 |
* (T231386) SpecialRedirect::dispatchUser() should use a 302 http status code. |
| 10201 |
* (T118799) Fix XMP parser errors due to trailing nullchar. |
| 10202 |
* (T230618) Fix GROUP BY in ActiveUsersPager and RecentChangesUpdateJob for |
| 10203 |
PostgreSQL. |
| 10204 |
* (T230487) Handle changed defaults in Argon2PasswordTest::testPartialConfig(). |
| 10205 |
* (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy. |
| 10206 |
* (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into |
| 10207 |
separate files to help allieviate potential migration problems. |
| 10208 |
|
| 10209 |
=== Upgrading notes for 1.33 === |
| 10210 |
1.33 has several database changes since 1.32, and will not work without schema |
| 10211 |
updates. Note that due to changes to some very large tables like the revision |
| 10212 |
table, the schema update may take quite long (minutes on a medium sized site, |
| 10213 |
many hours on a large site). |
| 10214 |
|
| 10215 |
Don't forget to always back up your database before upgrading! |
| 10216 |
|
| 10217 |
See the file UPGRADE for more detailed upgrade instructions, including |
| 10218 |
important information when upgrading from versions prior to 1.11. |
| 10219 |
|
| 10220 |
Some specific notes for MediaWiki 1.33 upgrades are below: |
| 10221 |
|
| 10222 |
* Some external link searches will not work correctly until update.php (or |
| 10223 |
refreshExternallinksIndex.php) is run. These include searches for links using |
| 10224 |
IP addresses, internationalized domain names, and possibly mailto links. |
| 10225 |
* If you ran migrateActors.php using an older version of MediaWiki and want to |
| 10226 |
run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD, |
| 10227 |
note that log_search rows needed to find revision deletions by target user |
| 10228 |
were incorrectly deleted. See T215464 for details. |
| 10229 |
* If revision deletions were performed when the wiki was configured with |
| 10230 |
$wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without |
| 10231 |
migrateActors.php having been run, the log_search table may contain rows with |
| 10232 |
empty values for "target_author_actor" which will prevent log searches for |
| 10233 |
revision deletions by target user from finding those log entries. These rows |
| 10234 |
may be corrected by (re-)running migrateActors.php. |
| 10235 |
|
| 10236 |
For notes on 1.32.x and older releases, see HISTORY. |
| 10237 |
|
| 10238 |
== MediaWiki 1.33.0 == |
| 10239 |
|
| 10240 |
=== Changes since MediaWiki 1.33.0-rc.0 === |
| 10241 |
* (T225558) Update installer link to PHP intl. |
| 10242 |
* (T225901) Only attempt to deduplicate if there is data in archive and revision |
| 10243 |
tables. |
| 10244 |
* (T225564) Fetch tag ID before calling undefineTag(). |
| 10245 |
* (T225496) Detect APC for MainCacheType in CLI installer. |
| 10246 |
* Call unpack() with correct parameters in MimeAnalyzer.php for PHP 7.0 support. |
| 10247 |
* (T212613) Style change tags correctly on Special:Newpages. |
| 10248 |
* (T202211) Fix SQLite patch-(page|template)links-fix-pk.sql column order. |
| 10249 |
|
| 10250 |
== MediaWiki 1.33.0-rc.0 == |
| 10251 |
|
| 10252 |
=== Configuration changes for system administrators in 1.33 === |
| 10253 |
==== New configuration ==== |
| 10254 |
* $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives |
| 10255 |
accounts with block permissions the ability to block users, IPs, and IP ranges |
| 10256 |
from editing specific pages, while allowing them to edit the rest of the wiki. |
| 10257 |
It is a temporary setting for gradual enablement, current default to `false`, |
| 10258 |
and will be set to `true` and then removed once initial development completes. |
| 10259 |
|
| 10260 |
==== Changed configuration ==== |
| 10261 |
* $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in |
| 10262 |
MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH. |
| 10263 |
* $wgPasswordPolicy – There is a new password policy to check that the account's |
| 10264 |
password is not in the large blacklist. This is enabled by default for the |
| 10265 |
built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure |
| 10266 |
this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`. |
| 10267 |
* $wgPasswordDefault – There is a new password type configuration using Argon2 |
| 10268 |
password hashing (which requires PHP 7.2 and above). It's designed to resist |
| 10269 |
timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure |
| 10270 |
argon2 to be used, by default, it will automatically choose the best available |
| 10271 |
algorithm depending on which version of PHP you have available. To use this, |
| 10272 |
you can set `$wgPasswordDefault = 'argon2';`. |
| 10273 |
* $wgActorTableSchemaMigrationStage now defaults to reading the new schema. |
| 10274 |
update.php will back-populate the new database fields due to the changed |
| 10275 |
setting, which may take some time on large wikis. You can avoid downtime by |
| 10276 |
following a process like that described in T188327. |
| 10277 |
|
| 10278 |
==== Removed configuration ==== |
| 10279 |
* $wgTagStatisticsNewTable (T199334) — This temporary setting, added in |
| 10280 |
MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki |
| 10281 |
will now always use the `change_tag_def` instead of the `change_tag` table. |
| 10282 |
* $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and |
| 10283 |
$wgDebugTidy – These options, all deprecated since 1.26, have now all been |
| 10284 |
removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting |
| 10285 |
remains only for experimental features and debugging, and should not be used. |
| 10286 |
* $wgEnableParserCache – This setting has been deprecated since 1.26, has now |
| 10287 |
been removed. If you still desire to disable the parser cache, instead you can |
| 10288 |
set `$wgParserCacheType = CACHE_NONE;`. |
| 10289 |
* $wgCommentTableSchemaMigrationStage – This temporary migration setting has now |
| 10290 |
been removed. Code finding it unset should treat it as being MIGRATION_NEW. |
| 10291 |
* $wgAuth – This old setting, deprecated in 1.27, has been removed as part of |
| 10292 |
the removal of AuthPlugin. |
| 10293 |
* $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent |
| 10294 |
to allow sites to configure a file in which to cache the SiteStore database |
| 10295 |
table, but it was never used. SiteStore already caches its information by |
| 10296 |
default using BagOStuff (e.g. Memcached or APC). |
| 10297 |
* $wgClockSkewFudge – This setting was used by User.php to let sites adjust by |
| 10298 |
how much MediaWiki would fudge when trying to minimize the chances of a |
| 10299 |
user.user_touched database update to the "current" timestamp being before the |
| 10300 |
value already there (e.g. due to clock skew between different servers). This |
| 10301 |
is no longer a problem, because the code now ensures the timestamp is always |
| 10302 |
higher than the previous one. The writes are guarded with CAS logic (check |
| 10303 |
and set), which prevents updates that would overlap. |
| 10304 |
* $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has |
| 10305 |
been removed. |
| 10306 |
|
| 10307 |
=== New user-facing features in 1.33 === |
| 10308 |
* (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category |
| 10309 |
to be hidden on Special:UnusedCategories. |
| 10310 |
* (T210814) SVGs are now by default displayed in wiki language on image |
| 10311 |
pages. |
| 10312 |
* Special:CreateAccount now warns the user if their chosen username has to be |
| 10313 |
normalized. |
| 10314 |
* (T205040) Multilingual images are now be displayed in the current parse |
| 10315 |
language where available. |
| 10316 |
* Special:ActiveUsers will no longer filter out users who became inactive since |
| 10317 |
the last time the active users query cache was updated. |
| 10318 |
* (T215675) RecentChange and ManualLogEntry implement new Taggable interface. |
| 10319 |
* (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions |
| 10320 |
to modify (example: add tags) log entries. |
| 10321 |
|
| 10322 |
=== New developer features in 1.33 === |
| 10323 |
* The AuthManagerLoginAuthenticateAudit hook has a new parameter for |
| 10324 |
additional information about the authentication event. |
| 10325 |
* TextContent::getText() was introduced as a replacement for |
| 10326 |
Content::getNativeData() for text-based content models. |
| 10327 |
* (T214706) LinksUpdate::getAddedExternalLinks() and |
| 10328 |
LinksUpdate::getRemovedExternalLinks() were introduced. |
| 10329 |
* (T213893) Added 'MaintenanceUpdateAddParams' hook |
| 10330 |
* (T219655) The MarkPatrolled hook has a new parameter for the tags |
| 10331 |
associated with this entry in the patrol log. |
| 10332 |
* (T212472) Extensions can now specify platform abilities they require to work, |
| 10333 |
limited to shell access for now. |
| 10334 |
|
| 10335 |
|
| 10336 |
=== External library changes in 1.33 === |
| 10337 |
==== New external libraries ==== |
| 10338 |
* Added wikimedia/password-blacklist 0.1.4. |
| 10339 |
* Added guzzlehttp/guzzle 6.3.3. |
| 10340 |
|
| 10341 |
==== Changed external libraries ==== |
| 10342 |
* Updated OOUI from v0.29.2 to v0.31.3. |
| 10343 |
* Updated OOjs Router from pre-release to v0.2.0. |
| 10344 |
* Updated moment from v2.19.3 to v2.24.0. |
| 10345 |
* Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2. |
| 10346 |
* Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0. |
| 10347 |
* Updated jquery-client from 2.0.1 to 2.0.2. |
| 10348 |
* Updated pear/net_smtp from 1.8.0 to 1.8.1. |
| 10349 |
* Updated cssjanus/cssjanus from 1.2.0 to 1.3.0. |
| 10350 |
* Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7. |
| 10351 |
|
| 10352 |
==== Removed external libraries ==== |
| 10353 |
* (T219403) jquery.ui.spinner, deprecated since 1.31, was removed. |
| 10354 |
|
| 10355 |
|
| 10356 |
=== Developer library changes in 1.33 === |
| 10357 |
==== New developer libraries ==== |
| 10358 |
* Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only). |
| 10359 |
* Added mediawiki/mediawiki-phan-config 0.5.0 (dev-only). |
| 10360 |
|
| 10361 |
==== Changed developer libraries ==== |
| 10362 |
* Updated wikimedia/ip-set from 1.3.0 to 2.0.1. |
| 10363 |
* The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be |
| 10364 |
used instead. |
| 10365 |
* Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only). |
| 10366 |
* Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only). |
| 10367 |
* Updated mediawiki/mediawiki-codesniffer from 22.0.0 to 25.0.0 (dev-only). |
| 10368 |
* Updated qunitjs from 2.6.2 to 2.9.1. |
| 10369 |
|
| 10370 |
==== Removed developer libraries ==== |
| 10371 |
* The jetbrains/phpstorm-stubs repository was removed in favour of the minimal |
| 10372 |
stubs we need, which are kept in the new `.phan/internal_stubs` directory |
| 10373 |
(dev-only). |
| 10374 |
|
| 10375 |
|
| 10376 |
=== Bug fixes in 1.33 === |
| 10377 |
* (T164211) Special:UserRights could sometimes fail with a |
| 10378 |
"conflict detected" error when there weren't any conflicts. |
| 10379 |
* (T216029) Chrome redirects to Special:BadTitle after editing a section with |
| 10380 |
a non-Latin name on a page with non-Latin characters in title. |
| 10381 |
* (T222385) resourceloader: Use AND instead of OR for upsert conds in |
| 10382 |
saveFileDependencies(). |
| 10383 |
|
| 10384 |
=== Action API changes in 1.33 === |
| 10385 |
* (T198913) Added 'ApiOptions' hook. |
| 10386 |
* The JSON formatversion=2 is no longer experimental. |
| 10387 |
* Internal API errors (those with code beginning "internal_api_error") will |
| 10388 |
include the exception class name in a data field named "errorclass". |
| 10389 |
* Class names are not guaranteed to remain stable, and in particular database |
| 10390 |
exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name. |
| 10391 |
* The code including an exception class name is deprecated. In the future, |
| 10392 |
all internal errors will use code "internal_api_error". |
| 10393 |
* (T212356) When using action=delete on pages with many revisions, the module |
| 10394 |
may return a boolean-true 'scheduled' and no 'logid'. This signifies that the |
| 10395 |
deletion will be processed via the job queue. |
| 10396 |
* action=setnotificationtimestamp will now update the watchlist asynchronously |
| 10397 |
if entirewatchlist is set, so updates may not be visible immediately |
| 10398 |
* Block info will be added to "blocked" errors from more modules. |
| 10399 |
* (T216245) Autoblocks will now be spread by action=edit and action=move. |
| 10400 |
* action=query&meta=userinfo has a new uiprop, 'latestcontrib', that returns |
| 10401 |
the date of user's latest contribution. |
| 10402 |
* (T25227) action=logout now requires to be posted and have a csrf token. |
| 10403 |
|
| 10404 |
=== Action API internal changes in 1.33 === |
| 10405 |
* A number of deprecated methods for API documentation, intended for overriding |
| 10406 |
by extensions, are no longer called by MediaWiki, and will emit deprecation |
| 10407 |
notices if your extension attempts to use them: |
| 10408 |
* ApiBase::getDescription() (deprecated in 1.25) |
| 10409 |
* ApiBase::getParamDescription() (deprecated in 1.25) |
| 10410 |
* ApiBase::getExamples() (deprecated in 1.25) |
| 10411 |
* ApiBase::getDescriptionMessage() (deprecated in 1.30) |
| 10412 |
Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have |
| 10413 |
been removed, as their only use was to let extensions override values returned |
| 10414 |
by getDescription() and getParamDescription(), respectively. |
| 10415 |
* API error codes may only contain ASCII letters, numbers, underscore, and |
| 10416 |
hyphen. Methods such as ApiBase::dieWithError() and |
| 10417 |
ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if |
| 10418 |
passed a bad code. |
| 10419 |
* ApiBase::checkTitleUserPermissions() now takes an options array as its third |
| 10420 |
parameter. Passing a User object or null is deprecated. |
| 10421 |
* The api-feature-usage log channel now has log context. The text message is |
| 10422 |
deprecated and will be removed in the future. |
| 10423 |
|
| 10424 |
=== Languages updated in 1.33 === |
| 10425 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 10426 |
Below only new and removed languages are listed, as well as changes to languages |
| 10427 |
because of Phabricator reports. |
| 10428 |
|
| 10429 |
* (T203908) Added language support for Eastern Pwo (kjp). |
| 10430 |
* (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations |
| 10431 |
for NS_TEMPLATE. |
| 10432 |
* (T212221) Added $digitTransformTable for Santali (sat). |
| 10433 |
* (T216479) Added language support for Saisiyat (xsy). |
| 10434 |
* (T219728) Added support for new Japanese era name "Reiwa" |
| 10435 |
|
| 10436 |
=== Breaking changes in 1.33 === |
| 10437 |
* The parameteter $lang in DifferenceEngine::setTextLanguage must be of type |
| 10438 |
Language. Other types are deprecated since 1.32. |
| 10439 |
* Skin::doEditSectionLink requires type Language for the parameter $lang. |
| 10440 |
The parameters $tooltip and $lang are mandatory. Omitting the parameters is |
| 10441 |
deprecated since 1.32. |
| 10442 |
* Language::truncate(), deprecated in 1.31, has been removed. |
| 10443 |
* UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly |
| 10444 |
instead. |
| 10445 |
* (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages', |
| 10446 |
and 'notice-message', which were deprecated in 1.32, were removed. Instead, |
| 10447 |
use 'help', 'help-message', and 'help-messages'. |
| 10448 |
* (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed. |
| 10449 |
* The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and |
| 10450 |
RestbaseVirtualRESTService, deprecated since 1.26, have been removed. |
| 10451 |
Use the RESTBase v1 or Parsoid v3 API instead. |
| 10452 |
* ParserOptions defaults 'tidy' to true now, since the untidy modes of the |
| 10453 |
parser are being deprecated and ParserOptions::getCanonicalOverrides() |
| 10454 |
has always been true at any rate. |
| 10455 |
* Support for disabling tidy and external tidy implementations has been removed. |
| 10456 |
This was deprecated in 1.32. The pure PHP Remex tidy implementation is now |
| 10457 |
used and no configuration is necessary. |
| 10458 |
* A number of deprecated methods for API documentation, intended for overriding |
| 10459 |
by extensions, are no longer called by MediaWiki, and will emit deprecation |
| 10460 |
notices if your extension attempts to use them: |
| 10461 |
* ApiBase::getDescription() (deprecated in 1.25) |
| 10462 |
* ApiBase::getParamDescription() (deprecated in 1.25) |
| 10463 |
* ApiBase::getExamples() (deprecated in 1.25) |
| 10464 |
* ApiBase::getDescriptionMessage() (deprecated in 1.30) |
| 10465 |
Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have |
| 10466 |
been removed, as their only use was to let extensions override values returned |
| 10467 |
by getDescription() and getParamDescription(), respectively. |
| 10468 |
* The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin', |
| 10469 |
'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by |
| 10470 |
the creation of AuthManager in 1.27, have been removed. This also means that |
| 10471 |
the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate |
| 10472 |
is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and |
| 10473 |
that LoginSignupSpecialPage->getBCFieldDefinitions() is removed. |
| 10474 |
* The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead, |
| 10475 |
use 'jquery.i18n'. |
| 10476 |
* The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since |
| 10477 |
1.16, have now been removed. Instead, use $specialPageAliases or $magicWords |
| 10478 |
respectively in a $wgExtensionMessagesFiles file. |
| 10479 |
* The following methods of the Preferences class, deprecated in 1.31, have been |
| 10480 |
removed: |
| 10481 |
* getSaveBlacklist() |
| 10482 |
* loadPreferenceValues() |
| 10483 |
* getOptionFromUser() |
| 10484 |
* profilePreferences() |
| 10485 |
* skinPreferences() |
| 10486 |
* filesPreferences() |
| 10487 |
* datetimePreferences() |
| 10488 |
* renderingPreferences() |
| 10489 |
* editingPreferences() |
| 10490 |
* rcPreferences() |
| 10491 |
* watchlistPreferences() |
| 10492 |
* searchPreferences() |
| 10493 |
* miscPreferences() |
| 10494 |
* generateSkinOptions() |
| 10495 |
* getDateOptions() |
| 10496 |
* getImageSizes() |
| 10497 |
* getThumbSizes() |
| 10498 |
* validateSignature() |
| 10499 |
* cleanSignature() |
| 10500 |
* getTimezoneOptions() |
| 10501 |
* filterIntval() |
| 10502 |
* filterTimezoneInput() |
| 10503 |
* getTimeZoneList() |
| 10504 |
* mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead. |
| 10505 |
* (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27. |
| 10506 |
* The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed. |
| 10507 |
Specifically: mediawiki.api.category, mediawiki.api.edit, |
| 10508 |
mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse, |
| 10509 |
mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch, |
| 10510 |
mediawiki.api.messages, and mediawiki.api.rollback. |
| 10511 |
* The 'jquery.byteLimit' module alias for 'jquery.lengthLimit', |
| 10512 |
deprecated in 1.31, was removed. |
| 10513 |
* Revision::fetchRevision(), deprecated in 1.28, was removed. |
| 10514 |
* Class SquidUpdate, deprecated in 1.27, was removed. |
| 10515 |
* Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use |
| 10516 |
Title->getCdnUrls(). |
| 10517 |
* Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use |
| 10518 |
Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead. |
| 10519 |
* Title->canTalk(), deprecated in 1.30, was removed. Instead, use |
| 10520 |
Title->canHaveTalkPage(). |
| 10521 |
* Title's methods for site and user page related to CSS and JS, deprecated in |
| 10522 |
1.31, were removed: |
| 10523 |
* Title->isCssOrJsPage() — Use Title->isSiteConfigPage() |
| 10524 |
* Title->isCssJsSubpage() – Use Title->isUserConfigPage() |
| 10525 |
* Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage() |
| 10526 |
* Title->isCssSubpage() – Use Title->isUserCssConfigPage() |
| 10527 |
* Title->isJsSubpage() – Use Title->isUserJsConfigPage() |
| 10528 |
* SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(), |
| 10529 |
would return the global SiteStore instance, has been removed. You can get to |
| 10530 |
this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly. |
| 10531 |
* Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's). |
| 10532 |
Instead, use Language->formatSize() with the relevant Language object. |
| 10533 |
* Linker::formatTemplates, deprecated in 1.28, has been removed (along with the |
| 10534 |
version in DummyLinker). You can use TemplatesOnThisPageFormatter directly. |
| 10535 |
* EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can |
| 10536 |
use MediaWikiServices::getInstance()->getEventRelayerGroup() directly. |
| 10537 |
* LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to |
| 10538 |
be unused, and is distinct from OutputPage->addLink(), which remains. |
| 10539 |
* JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use |
| 10540 |
JsonContent->getData(). |
| 10541 |
* MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the |
| 10542 |
exception ID is the same as the request ID, from WebRequest::getRequestId(). |
| 10543 |
* SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed. |
| 10544 |
You can use SearchEngine::getNearMatcher() instead. |
| 10545 |
* EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been |
| 10546 |
removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly. |
| 10547 |
* User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have |
| 10548 |
been removed. Instead, please use UserGroupMembership::getGroupName() and |
| 10549 |
UserGroupMembership::getGroupMemberName(). |
| 10550 |
* Backwards compatibility for setting wgSessionsInObjectCache to false or using |
| 10551 |
wgSessionHandler, both of which were deprecated in 1.27 with the introduction |
| 10552 |
of SessionManager, has been removed. |
| 10553 |
* SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use |
| 10554 |
MediaWiki\Auth\AuthManager::autoCreateUser instead. |
| 10555 |
* The mw.libs.jpegmeta property, deprecated in 1.31, was removed. |
| 10556 |
Use require( 'mediawiki.libs.jpegmeta' ) instead. |
| 10557 |
* The mw.user.stickyRandomId() method, deprecated in 1.32, was removed. |
| 10558 |
Use mw.user.getPageviewToken() instead. |
| 10559 |
* Removed deprecated class property WikiRevision::$importer. |
| 10560 |
* ResourceLoaderFileModule::readStyleFiles() now requires its $context |
| 10561 |
parameter. |
| 10562 |
* The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has |
| 10563 |
been removed. |
| 10564 |
* MessageBlobStore::__construct() now requires its $rl parameter. |
| 10565 |
* Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31) |
| 10566 |
has been removed. |
| 10567 |
* The 'jquery.xmldom' module has been removed. |
| 10568 |
* The 'jquery.mockjax' module has been removed. |
| 10569 |
* The 'jquery.hidpi' module, deprecated in 1.32, has been removed. |
| 10570 |
* AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions |
| 10571 |
should instead use AuthManager. The following no longer exist: |
| 10572 |
* The AuthPlugin class itself and the related AuthPluginUser class and i18n |
| 10573 |
* The AuthPluginSetup and AuthPluginAutoCreate hooks |
| 10574 |
* The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider, |
| 10575 |
AuthManagerAuthPlugin, and AuthManagerAuthPluginUser. |
| 10576 |
* The $wgAuth configuration setting and its use in Setup.php and unit tests |
| 10577 |
* (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed. |
| 10578 |
* Language::markNoConversion, deprecated in 1.32, has been removed. Use |
| 10579 |
LanguageConverter::markNoConversion instead. |
| 10580 |
* BagOStuff::modifySimpleRelayEvent() method has been removed. |
| 10581 |
* ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed. |
| 10582 |
Use ParserOutput::allCacheVaryingOptions instead. |
| 10583 |
* CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed. |
| 10584 |
Use CdnCacheUpdate::newFromTitles() instead. |
| 10585 |
* Handling of multiple arguments by the Block constructor, deprecated in 1.26, |
| 10586 |
has been removed. |
| 10587 |
* The translation of main page in Sardinian (sc) was changed from "Pàgina Base" |
| 10588 |
to "Pàgina printzipale". Existing wikis using this content language need to |
| 10589 |
move the main page or change the name through MediaWiki:Mainpage page. |
| 10590 |
* wfSplitWikiID(), deprecated in 1.32, has been removed. |
| 10591 |
* MessageBlobStore::getBlob(), deprecated in 1.27, has been removed. |
| 10592 |
Use ::getBlobs() instead. |
| 10593 |
* The .background-size() LESS mixin, deprecated in 1.27, has been removed. |
| 10594 |
* ReadOnlyMode::clearCache() and ConfiguredReadOnlyMode::clearCache() have been |
| 10595 |
removed. Use MediaWikiTestCase::overrideMwServices() instead. |
| 10596 |
* Support for the 'aggregator' option of JobQueue (and thus $wgJobTypeConf) was |
| 10597 |
removed. The JobQueueAggregator interface and JobQueueAggregatorRedis class |
| 10598 |
have also been removed. They were experimentally developed for use by the |
| 10599 |
Wikimedia Foundation, but were never used, with no known use cases. (Note that |
| 10600 |
this does not affect JobQueueRedis which is still supported.) |
| 10601 |
|
| 10602 |
=== Deprecations in 1.33 === |
| 10603 |
* The configuration option $wgUseESI has been deprecated, and is expected |
| 10604 |
to be removed in a future release. |
| 10605 |
* The configuration option $wgSquidPurgeUseHostHeader has been deprecated, |
| 10606 |
and is expected to be removed in a future release. |
| 10607 |
* The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode, |
| 10608 |
introduced in MW 1.17, have been deprecated. These fixes will always be |
| 10609 |
applied for Arabic and Malayalam in the future. Please enable these on |
| 10610 |
your local wiki (if you have them explicitly set to false) and run |
| 10611 |
maintenance/cleanupTitles.php to fix any existing page titles. |
| 10612 |
* The LegacyHookPreAuthenticationProvider class, deprecated since its creation |
| 10613 |
in 1.27 as part of the AuthManager re-write, now emits deprecation warnings. |
| 10614 |
This will help identify the issue if you added it to $wgAuthManagerConfig. |
| 10615 |
* wfSplitWikiId() is now deprecated. Cache key generation should have the wiki |
| 10616 |
domain ID as a key component and use makeGlobalKey(). |
| 10617 |
* (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use |
| 10618 |
Title::getDBkey(), which doesn't vary case. |
| 10619 |
* User::getPasswordValidity() is now deprecated. User::checkPasswordValidity() |
| 10620 |
returns the same information in a more useful format. |
| 10621 |
* For Linker::generateTOC() and Linker::tocList(), passing strings or booleans |
| 10622 |
as the $lang parameter was deprecated. The same applies to DummyLinker. |
| 10623 |
* The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To |
| 10624 |
follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist' |
| 10625 |
instead which blacklists 100,000 commonly used passwords. |
| 10626 |
* (T208862) Action::requiresUnblock() is now called from |
| 10627 |
Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method |
| 10628 |
was only called in Action::checkCanExecute(). Actions should ensure that their |
| 10629 |
requiresUnblock() returns the proper result (the default is `true`). |
| 10630 |
* (T211608) The MediaWiki\Services namespace has been renamed to |
| 10631 |
Wikimedia\Services. The old name is still supported, but deprecated. |
| 10632 |
* (T155582) Content::getNativeData has been deprecated. Please use model- |
| 10633 |
specific getters, such as TextContent::getText(). |
| 10634 |
* The class WebInstallerOutput is now marked as @private. |
| 10635 |
* (T209699) The jquery.async module has been deprecated. JavaScript code that |
| 10636 |
needs asynchronous behaviour should use Promises. |
| 10637 |
* Password::equals() is deprecated, use verify(). |
| 10638 |
* BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use |
| 10639 |
other means to fetch a properly escaped message string or Message object. |
| 10640 |
* (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit |
| 10641 |
testing code for your JavaScript modules, is deprecated. Instead, you can now |
| 10642 |
use the new extension registration key 'QUnitTestModule'. |
| 10643 |
* (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript |
| 10644 |
code that needs this behaviour should use OO.ui.debounce/throttle. |
| 10645 |
* The mw.language.specialCharacters property from the |
| 10646 |
'mediawiki.language.specialCharacters' module has been deprecated. |
| 10647 |
Use require( 'mediawiki.language.specialCharacters' ) instead. |
| 10648 |
* ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be |
| 10649 |
removed in a future release. |
| 10650 |
* Passing a User object or null as the third parameter to |
| 10651 |
ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array |
| 10652 |
[ 'user' => $user ] instead. |
| 10653 |
* (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked, |
| 10654 |
Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set |
| 10655 |
block properties; use Block::appliesToRight and Block::appliesToUsertalk to |
| 10656 |
check block behaviour. |
| 10657 |
* The api-feature-usage log channel now has log context. The text message is |
| 10658 |
deprecated and will be removed in the future. |
| 10659 |
* The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup |
| 10660 |
implementation, use CachingSiteStore instead. |
| 10661 |
* Language::viewPrevNext function is deprecated, use |
| 10662 |
SpecialPage::buildPrevNextNavigation instead |
| 10663 |
* ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags() |
| 10664 |
instead. The setTags() method was overriding the tags, addTags() doesn't |
| 10665 |
override, only adds new tags. |
| 10666 |
* Block::isValid is deprecated, since it is no longer needed in core. |
| 10667 |
* Calling Maintenance::hasArg() as well as Maintenance::getArg() with no |
| 10668 |
parameter has been deprecated. Please pass the argument number 0. |
| 10669 |
* ResourceLoaderContext::expandModuleNames has been deprecated. |
| 10670 |
Use ResourceLoader::expandModuleNames instead. |
| 10671 |
|
| 10672 |
=== Other changes in 1.33 === |
| 10673 |
* (T201747) Html::openElement() warns if given an element name with a space |
| 10674 |
in it. |
| 10675 |
* The implementation of buildStringCast() in Wikimedia\Rdbms\Database has |
| 10676 |
changed to explicitly cast. Subclasses relying on the base-class |
| 10677 |
implementation should check whether they need to override it now. |
| 10678 |
* BagOStuff::add is now abstract and must explicitly be defined in subclasses. |
| 10679 |
* LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence, |
| 10680 |
the following hooks will now be triggered upon page deletion in addition |
| 10681 |
to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete. |
| 10682 |
LinksUpdateAfterInsert is not triggered since deletions do not cause |
| 10683 |
insertions into links tables. |
| 10684 |
* Category::newFromID( $id )->getID() will now return $id without any |
| 10685 |
validation, to avoid a mostly unnecessary DB query. |
| 10686 |
* On Special:Version, the name for an extension can no longer be arbitrary |
| 10687 |
html when no link is specified. |
| 10688 |
|
| 10689 |
= MediaWiki 1.32 = |
| 10690 |
|
| 10691 |
== MediaWiki 1.32.6 == |
| 10692 |
|
| 10693 |
This is a security and maintenance release of the MediaWiki 1.32 branch. |
| 10694 |
|
| 10695 |
=== Changes since MediaWiki 1.32.5 === |
| 10696 |
* (T236628) Fix for ArticleRevisionViewCustom hook in DifferenceEngine.php. |
| 10697 |
* (T181658) Do not insert page titles into querycache.qc_value. |
| 10698 |
* (T206013) Suppress errors when reading invalid XML file properties. |
| 10699 |
* (T237931) Remove references to pg_attrdef.adsrc in Postgres code. |
| 10700 |
* Use correct value for 'sslmode' in DatabasePostgres. |
| 10701 |
* (T232866) Fix support for HTTP/2 in MultiHttpClient. |
| 10702 |
* (T227461) Stop calling deprecated Redis delete functions. |
| 10703 |
* (T239561) Mark options as requiring parameters in addSite.php. |
| 10704 |
* (T239734) Replace deprecated lSize with lLen in Redis code. |
| 10705 |
* (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset. |
| 10706 |
* (T239428) ApiEditPage: Test for bad redirect targets. |
| 10707 |
* (T233342) rdbms: Log debug message traces as 'exception.trace' instead of |
| 10708 |
'trace'. |
| 10709 |
* (T226751) media: Log and fail gracefully on invalid EXIF coordinates. |
| 10710 |
* (T212067) SECURITY: Work around PHP bug in parse_url. |
| 10711 |
|
| 10712 |
== MediaWiki 1.32.5 == |
| 10713 |
|
| 10714 |
This is a maintenance release of the MediaWiki 1.32 branch. |
| 10715 |
|
| 10716 |
=== Changes since MediaWiki 1.32.4 === |
| 10717 |
* Compute sha1 and length if needed in maintenance/populateContentTables.php. |
| 10718 |
* Fix extra newlines in the installer. |
| 10719 |
* Followup T230402, PermissionManager doesn't exist until 1.33, so fix the |
| 10720 |
backported patches to use User::isAllowed() instead. |
| 10721 |
|
| 10722 |
== MediaWiki 1.32.4 == |
| 10723 |
|
| 10724 |
This is a security and maintenance release of the MediaWiki 1.32 branch. |
| 10725 |
|
| 10726 |
=== Changes since MediaWiki 1.32.3 === |
| 10727 |
* (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3. |
| 10728 |
* The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification |
| 10729 |
of headers in private wikis. |
| 10730 |
* (T230402) SECURITY: Add permission check for suppressed account to |
| 10731 |
Special:Redirect. |
| 10732 |
* (T208897) MessageCache: Restore 'loadedLanguages' tracking for load(). |
| 10733 |
* (T200088) Remove title protection correctly for undeletions and imports. |
| 10734 |
* Add helper for HTTPFileStreamer header syntax. |
| 10735 |
* (T118799) Fix XMP parser errors due to trailing nullchar. |
| 10736 |
* (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy. |
| 10737 |
* Cache redirects from Special:Redirect. |
| 10738 |
* (T231386) dispatchUser() should use a 302 http status code. |
| 10739 |
* (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into |
| 10740 |
separate files to help allieviate potential migration problems. |
| 10741 |
* Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database |
| 10742 |
updates. |
| 10743 |
|
| 10744 |
== MediaWiki 1.32.3 == |
| 10745 |
|
| 10746 |
This is a maintenance release of the MediaWiki 1.32 branch. |
| 10747 |
|
| 10748 |
=== Changes since MediaWiki 1.32.2 === |
| 10749 |
* (T225558) Update installer link to PHP intl. |
| 10750 |
* (T225496) Detect APC for MainCacheType in CLI installer. |
| 10751 |
* (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies. |
| 10752 |
* (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order. |
| 10753 |
|
| 10754 |
== MediaWiki 1.32.2 == |
| 10755 |
|
| 10756 |
This is a security and maintenance release of the MediaWiki 1.32 branch. |
| 10757 |
|
| 10758 |
=== Changes since MediaWiki 1.32.1 === |
| 10759 |
* (T204423) Backport support for hyphenated DB names in JobQueueGroup. |
| 10760 |
* (T216968) Return pageid as int in both list=iwbacklinks and |
| 10761 |
list=langbacklinks. |
| 10762 |
* (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL. |
| 10763 |
* (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags. |
| 10764 |
* (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when |
| 10765 |
$wgBlockDisablesLogin is true. |
| 10766 |
* (T216029) Chrome redirects to Special:BadTitle after editing a section with |
| 10767 |
a non-Latin name on a page with non-Latin characters in title. |
| 10768 |
* Unbreak language related maintenance scripts that use StaticArrayWriter. |
| 10769 |
* (T219728) Added support for new Japanese era name "Reiwa". |
| 10770 |
* (T25227) SECURITY: action=logout now requires to be posted and have a csrf |
| 10771 |
token. |
| 10772 |
* Updated cssjanus/cssjanus from 1.2.0 to 1.3.0. |
| 10773 |
* (T221045) Remove orphaned code from ConfigRepository. |
| 10774 |
* (T222385) resourceloader: Use AND instead of OR for upsert conds in |
| 10775 |
saveFileDependencies(). |
| 10776 |
* (T224374) Fix message parameters so that the message that says SQLite is |
| 10777 |
out of date makes sense. |
| 10778 |
* (T200471) Prevent LBFactorySimple breaking ExternalStorage, when trying to |
| 10779 |
connect to external server with local database name. |
| 10780 |
* (T197279) SECURITY: Fix reauth in Special:ChangeEmail. |
| 10781 |
* (T208881) SECURITY: blacklist CSS var(). |
| 10782 |
* (T209794) SECURITY: rate-limit and prevent blocked users from changing email. |
| 10783 |
* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block. |
| 10784 |
* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query. |
| 10785 |
* (T222036, T222038) SECURITY: Add permission check for user is permitted to |
| 10786 |
view the log type. |
| 10787 |
* (T221739) SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358. |
| 10788 |
|
| 10789 |
== MediaWiki 1.32.1 == |
| 10790 |
|
| 10791 |
=== Changes since MediaWiki 1.32.0 === |
| 10792 |
* (T213577) rdbms: avoid transaction status errors from ping() in rollback(). |
| 10793 |
* rdbms: Pass required parameter. |
| 10794 |
* rdbms: do not treat SAVEPOINT and RELEASE SAVEPOINT as write queries. |
| 10795 |
* (T204531) rdbms: reduce LoadBalancer replication log spam. |
| 10796 |
* (T213489) Avoid session double-start in Setup.php. |
| 10797 |
* (T213717) Correct namespace 'Template' for gom-deva |
| 10798 |
* (T198054) Fix login page crash caused by unknown language via ?uselang |
| 10799 |
* (T215324) (T210937) list=users mistakenly reports user as missing. |
| 10800 |
* (T209483) Add ILBFactory::redefineLocalDomain method. This is intended for |
| 10801 |
use with scripts like addWiki.php to avoid mismatched domain errors. |
| 10802 |
* (T208871) The hard-coded Google search form on the database error page was |
| 10803 |
removed. |
| 10804 |
* (T204800) Fix Title::getFragmentForURL for bad interwiki prefix |
| 10805 |
* (T215566) Fix installer being unable to determine if the database exists |
| 10806 |
during a fresh installation. |
| 10807 |
|
| 10808 |
== MediaWiki 1.32.0 == |
| 10809 |
|
| 10810 |
=== Changes since MediaWiki 1.32.0-rc.2 === |
| 10811 |
* (T188327) Fix slow queries in migrateActors.php. |
| 10812 |
* (T102320) Fix $magicWords for the Sanskrit language. |
| 10813 |
|
| 10814 |
=== Changes since MediaWiki 1.32.0-rc.1 === |
| 10815 |
* Fix addition of ug_expiry column to user_groups table on MSSQL. |
| 10816 |
* (T210307) Fix the cache timestamp for forced updates. |
| 10817 |
* (T210621) User: Bypass repeatable-read when creating an actor_id. |
| 10818 |
* (T197535) Extensions can now specify PHP versions and PHP extensions they |
| 10819 |
depend on. |
| 10820 |
* Updated wikimedia/ip-set from v1.2.0 to v1.3.0. |
| 10821 |
* (T212356) When using action=delete on pages with many revisions, the module |
| 10822 |
may return a boolean-true 'scheduled' and no 'logid'. This signifies that the |
| 10823 |
deletion will be processed via the job queue. |
| 10824 |
* (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and |
| 10825 |
recentchanges.rc_cur_time from the PostgreSQL schema. |
| 10826 |
|
| 10827 |
=== Changes since MediaWiki 1.32.0-rc.0 === |
| 10828 |
* (T209885) Prevent populateSearchIndex.php from breaking once actor migration |
| 10829 |
has been started. |
| 10830 |
* (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php |
| 10831 |
if --lang is used with the command-line installer (install.php). |
| 10832 |
|
| 10833 |
=== Configuration changes in 1.32 === |
| 10834 |
|
| 10835 |
==== New configuration ==== |
| 10836 |
* $wgJpegQuality – The quality of JPEG thumbnails is now configurable through |
| 10837 |
this setting. The default is 80, which matches the quality of JPEG thumbnails |
| 10838 |
previously generated by ImageMagick. The quality of JPEG thumbnails generated |
| 10839 |
by GD was previously 95, but now uses the $wgJpegQuality setting as well. |
| 10840 |
* $wgCookieSetOnIpBlock - This determines whether to set a cookie when an IP |
| 10841 |
user is blocked. Doing so means that a blocked user, even after moving to a |
| 10842 |
new IP address, will still be blocked. |
| 10843 |
* $wgRawHtmlMessages – This new configuration setting is added for listing |
| 10844 |
messages which are displayed as raw HTML. |
| 10845 |
* $wgCSPHeader and $wgCSPReportOnlyHeader – You can now define a |
| 10846 |
"Content Security Policy" for your wiki. This adds a defense-in-depth feature |
| 10847 |
to stop an attacker who has found a bug in the parser allowing them to insert |
| 10848 |
malicious attributes. Disabled by default. (T135963) |
| 10849 |
* $wgGroupPermissions – A new user group, 'interface-admin', is added for |
| 10850 |
controlling access to sitewide CSS/JS (and editing other users' CSS/JS). No |
| 10851 |
other group has 'editsitecss', 'editusercss', 'editsitejs' or 'edituserjs' |
| 10852 |
by default. |
| 10853 |
* $wgGrantPermissions – A new grant group, 'editsiteconfig', is added for |
| 10854 |
granting the above rights. |
| 10855 |
* $wgDBDefaultGroup – A default database group for use by maintenance scripts. |
| 10856 |
* $wgResourceLoaderEnableJSProfiler – This new configuration setting lets you |
| 10857 |
enable client-side profiling of JavaScript modules; it is off by default. |
| 10858 |
* (T193868) $wgChangeTagsSchemaMigrationStage — This temporary configuration |
| 10859 |
setting allows sysadmins to gradually migrate the database table schema for |
| 10860 |
how change tags are stored. |
| 10861 |
* (T199334) $wgTagStatisticsNewTable — This temporary configuration setting |
| 10862 |
allows sysadmins to enable the caching of Special:Tags via the new |
| 10863 |
change_tag_def table. |
| 10864 |
|
| 10865 |
==== Changed configuration ==== |
| 10866 |
* $wgUseAjax – This setting, deprecated in 1.31, is now ignored. |
| 10867 |
* $wgDefaultUserOptions – The default watchlist view time (watchlistdays) has |
| 10868 |
been increased from 3 to 7 days. (T194414) |
| 10869 |
* $wgGroupPermissions – The right to edit sitewide Javascript |
| 10870 |
(e.g. MediaWiki:Common.js), CSS or JSON was separated from 'editinterface' |
| 10871 |
and is available under 'editsitejs'/'editsitecss'/'editsitejson'. Having |
| 10872 |
'editinterface' is still necessary to edit such pages. |
| 10873 |
* $wgMultiContentRevisionSchemaMigrationStage now defaults to writing both the |
| 10874 |
old and the new schema, but reading the new schema, so Multi-Content Revisions |
| 10875 |
(MCR) are now functional by default. The new default value of the setting is |
| 10876 |
SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW. |
| 10877 |
* $wgActorTableSchemaMigrationStage no longer accepts MIGRATION_WRITE_BOTH or |
| 10878 |
MIGRATION_WRITE_NEW. It instead uses SCHEMA_COMPAT_WRITE_BOTH | |
| 10879 |
SCHEMA_COMPAT_READ_OLD and SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW |
| 10880 |
for intermediate stages of migration. |
| 10881 |
* $wgDBTableOptions – The default table options now use the binary charset. The |
| 10882 |
default was already overridden in the installer-generated LocalSettings.php, |
| 10883 |
and so is always set to binary after the installer UI option was removed. The |
| 10884 |
default value is only used when the installer installs an extension. |
| 10885 |
* $wgPopularPasswordFile — The location of the default popular passwords file |
| 10886 |
has been moved to be in line with other non-PHP files used by libraries and |
| 10887 |
classes. |
| 10888 |
* $wgEnableImageWhitelist is now disabled by default, as it opens up a hole for |
| 10889 |
potential privacy leaks by administrators. You can check |
| 10890 |
"MediaWiki:External image whitelist" on your wiki to see whether the feature |
| 10891 |
was ever used, and whether it needs to be re-enabled. |
| 10892 |
|
| 10893 |
==== Removed configuration ==== |
| 10894 |
* $wgEnableAPI and $wgEnableWriteAPI – These settings, deprecated in 1.31, |
| 10895 |
have been removed. (T115414) |
| 10896 |
* $wgSiteSupportPage – This setting, unused since 1.5, was removed. |
| 10897 |
* $wgBrowserBlacklist – This setting, deprecated in 1.30, was removed. |
| 10898 |
* $wgExperimentalHtmlIds – This setting, deprecated since 1.30, was removed. |
| 10899 |
The 'html5-legacy' value for $wgFragmentMode is no longer accepted. |
| 10900 |
* $wgPasswordSenderName - This setting, ignored since 1.23 by MediaWiki and |
| 10901 |
most extensions, is no longer set. Instead, you can modify the system |
| 10902 |
message `emailsender`. |
| 10903 |
* $wgTidyConfig – The experimental Html5Internal and Html5Depurate tidy drivers |
| 10904 |
were removed. RemexHtml, which is the default, should be used instead. |
| 10905 |
* (T181318) The $wgStyleVersion setting and its appendage to various script and |
| 10906 |
style URLs in OutputPage, deprecated in 1.31, was removed. |
| 10907 |
* (T140807) The wgResourceLoaderLESSImportPaths configuration option was removed |
| 10908 |
from ResourceLoader. Instead, use `@import` statements in LESS to import |
| 10909 |
files directly from nearby directories within the same project. |
| 10910 |
* (T140804) The wgResourceLoaderLESSVars configuration option, deprecated |
| 10911 |
since 1.30, was removed. Instead, to expose variables from PHP to LESS, use |
| 10912 |
the ResourceLoaderModule::getLessVars() method. |
| 10913 |
* $wgResourceLoaderValidateStaticJS – This setting, unused since MediaWiki 1.18, |
| 10914 |
was removed. |
| 10915 |
* Two temporary variables for deploying the feature of filters on change lists, |
| 10916 |
$wgStructuredChangeFiltersShowPreference introduced in MediaWiki 1.30 and |
| 10917 |
$wgStructuredChangeFiltersOnWatchlist in 1.31, were removed. |
| 10918 |
|
| 10919 |
=== New features in 1.32 === |
| 10920 |
* (T112474) Generalized the ResourceLoader mechanism for overriding modules |
| 10921 |
using a particular page during edit previews. |
| 10922 |
* (T12331) You can now log page creation events by setting $wgPageCreationLog |
| 10923 |
to true. |
| 10924 |
* Added 'ApiParseMakeOutputPage' hook. |
| 10925 |
* (T174313) Added checkbox on Special:ListUsers to display only users in |
| 10926 |
temporary user groups. |
| 10927 |
* (T152462) A cookie can now be set when an IP user is blocked to track that |
| 10928 |
user if they move to a new IP address. This is disabled by default. |
| 10929 |
* (T194950) Added 'ApiMaxLagInfo' hook. |
| 10930 |
* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when |
| 10931 |
reauthenticating. |
| 10932 |
* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if |
| 10933 |
getLoginSecurityLevel() returns non-false. |
| 10934 |
* The 'ImageBeforeProduceHTML' hook is now passed three new parameters, $parser, |
| 10935 |
&$query and &$widthOption, allowing extensions even finer control over the |
| 10936 |
resulting HTML code. |
| 10937 |
* Added new 'ArticleShowPatrolFooter' hook, which allows extensions to determine |
| 10938 |
if the [mark as patrolled] link should be shown at the footer of patrollable |
| 10939 |
pages. |
| 10940 |
* The array of hidden options ($opts) passed to the 'SpecialSearchPowerBox' hook |
| 10941 |
is now passed by reference, allowing extensions to modify or even unset it. |
| 10942 |
* Added new 'OutputPageAfterGetHeadLinksArray' hook, allowing extensions to |
| 10943 |
modify the return value of OutputPage#getHeadLinksArray in order to add, |
| 10944 |
remove or otherwise alter the elements to be output in the page <head>. |
| 10945 |
* (T28934) The 'HistoryPageToolLinks' hook allows extensions to append |
| 10946 |
additional links to the subtitle of a history page. |
| 10947 |
* The 'GetLinkColours' hook now receives an additional $title parameter, |
| 10948 |
the Title object of the page being parsed, on which the links will be shown. |
| 10949 |
* (T194731) DifferenceEngine supports multiple slots. Added SlotDiffRenderer to |
| 10950 |
render diffs between two Content objects, and DifferenceEngine::setRevisions() |
| 10951 |
to render diffs between two custom (potentially multi-content) revisions. |
| 10952 |
Added GetSlotDiffRenderer hook which works like GetDifferenceEngine for slots. |
| 10953 |
* Added a temporary action=mcrundo to the web UI, as the normal undo logic |
| 10954 |
can't yet handle MCR and deadlines are forcing is to put off fixing that. |
| 10955 |
This action should be considered deprecated and should not be used directly. |
| 10956 |
* Extensions overriding ContentHandler::getUndoContent() will need to be |
| 10957 |
updated for the changed method signature. |
| 10958 |
* Added a new hook, 'UserGetRightsRemove', which can be used to remove rights |
| 10959 |
from user. Unlike the 'UserGetRights' it will ensure that removed rights |
| 10960 |
will not be reinserted. |
| 10961 |
* (T197535) Extensions can now specify PHP versions and PHP extensions they |
| 10962 |
depend on. |
| 10963 |
|
| 10964 |
=== External library changes in 1.32 === |
| 10965 |
|
| 10966 |
==== New external libraries ==== |
| 10967 |
* Added pear/Net_SMTP v1.8.0. |
| 10968 |
* Added wikimedia/xmp-reader v0.6.0. |
| 10969 |
|
| 10970 |
* Added cache/integration-tests v0.16.0 (dev-only). |
| 10971 |
* Added giorgiosironi/eris v0.10.0 (dev-only). |
| 10972 |
* Added seld/jsonlint v1.7.1 (dev-only). |
| 10973 |
|
| 10974 |
* Added EasyDeflate (unversioned). |
| 10975 |
|
| 10976 |
==== Changed external libraries ==== |
| 10977 |
* Updated OOUI from v0.26.3 to v0.29.2. |
| 10978 |
* Updated wikimedia/base-convert from v1.0.1 to v2.0.0. |
| 10979 |
* Updated wikimedia/remex-html from v1.0.3 to v2.0.1. |
| 10980 |
* Updated wikimedia/scoped-callback from v1.0.0 to v2.0.0. |
| 10981 |
** ScopedCallback objects can no longer be serialized. |
| 10982 |
* Updated wikimedia/timestamp from v1.0.0 to v2.2.0. |
| 10983 |
* Updated wikimedia/wrappedstring from v2.3.0 to v3.0.1. |
| 10984 |
* oyejorge/less.php replaced with our fork wikimedia/less.php |
| 10985 |
* Updated wikimedia/ip-set from v1.2.0 to v1.3.0. |
| 10986 |
|
| 10987 |
* Updated composer/spdx-licenses from v1.3.0 to v1.4.0 (dev-only). |
| 10988 |
* Updated mediawiki/mediawiki-codesniffer from v18.0.0 to v22.0.0 (dev-only). |
| 10989 |
* Updated psy/psysh from v0.8.11 to v0.9.6 (dev-only). |
| 10990 |
|
| 10991 |
* Updated CLDRPluralRuleParser from v0.1.0 to v1.3.2-pre. |
| 10992 |
* Updated jquery from v3.2.1 to v3.3.1. |
| 10993 |
* Updated jquery.client from v2.0.0 to v2.0.1. |
| 10994 |
* Updated jquery.i18n from v1.0.4 to v1.0.5. |
| 10995 |
* Updated mustache.js from v0.8.2-d9aa703 to v1.0.0. |
| 10996 |
* Updated OOjs from v2.2.0 to v2.2.2. |
| 10997 |
* Updated qunitjs from v2.4.0 to v2.6.2. |
| 10998 |
* Updated sinonjs from v1.17.3 to v1.17.7. |
| 10999 |
|
| 11000 |
==== Removed external libraries ==== |
| 11001 |
* pear/mail_mime-decode was removed. |
| 11002 |
|
| 11003 |
=== Bug fixes in 1.32 === |
| 11004 |
* SpecialPage::execute() will now only call checkLoginSecurityLevel() if |
| 11005 |
getLoginSecurityLevel() returns non-false. |
| 11006 |
* (T43720, T46197) Improved page display title handling for category pages |
| 11007 |
* (T65080) Fixed resetting options of some types via API action=options. |
| 11008 |
|
| 11009 |
=== Action API changes in 1.32 === |
| 11010 |
* Added templated parameters. |
| 11011 |
* A module can define a templated parameter like "{fruit}-quantity", where |
| 11012 |
the actual parameters recognized correspond to the values of a multi-valued |
| 11013 |
parameter. Then clients can make requests like |
| 11014 |
"fruits=apples|bananas&apples-quantity=1&bananas-quantity=5". |
| 11015 |
* action=paraminfo will return templated parameter definitions separately |
| 11016 |
from normal parameters. All parameter definitions now include an "index" |
| 11017 |
key to allow clients to maintain parameter ordering when merging normal and |
| 11018 |
templated parameters. |
| 11019 |
* It is now an error to submit too many values for a multi-valued parameter. |
| 11020 |
This has generated a warning since MediaWiki 1.14. |
| 11021 |
* Assertion failures from the 'assert' and 'assertuser' parameters will no |
| 11022 |
longer use the action module's custom response format, for the few modules |
| 11023 |
that use custom formatters that handle errors. |
| 11024 |
* (T198935) User list preferences such as `email-blacklist` and similar |
| 11025 |
extension preferences are no longer represented as arrays when returned by |
| 11026 |
action=query&meta=userinfo&uiprop=options. |
| 11027 |
* 'missingparam' errors will now use the prefixed parameter name in the code |
| 11028 |
and error text, e.g. "noxxfoo" and "The 'xxfoo' parameter must be set" rather |
| 11029 |
than "nofoo" and "The 'foo' parameter must be set". |
| 11030 |
* action=query&prop=revisions now takes a 'rvslots' parameter to indicate the |
| 11031 |
multi-content revision slots for which content should be returned. It also |
| 11032 |
has a new rvprop, 'roles', to indicate which roles have slots. A deprecation |
| 11033 |
warning will be issued if rvprop=content or rvprop=contentmodel are used |
| 11034 |
without rvslots. |
| 11035 |
* The rvcontentformat parameter to action=query&prop=revisions has been |
| 11036 |
deprecated. Clients should be prepared to deal with the default format for |
| 11037 |
relevant models. |
| 11038 |
* Use of the deprecated parameters rvexpandtemplates, rvgeneratexml, rvparse, |
| 11039 |
rvdiffto, rvdifftotext, rvdifftotextpst, rvcontentformat, or the deprecated |
| 11040 |
rvprop=parsetree is forbidden with the new 'rvslots' parameter. |
| 11041 |
* action=query&prop=deletedrevisions, action=query&list=allrevisions, and |
| 11042 |
action=query&list=alldeletedrevisions are changed similarly to |
| 11043 |
&prop=revisions (see the three previous items). |
| 11044 |
* (T174032) action=compare now supports multi-content revisions. |
| 11045 |
* It has a 'slots' parameter to select diffing of individual slots. The |
| 11046 |
default behavior is to return one combined diff. |
| 11047 |
* The 'fromtext', 'fromsection', 'fromcontentmodel', 'fromcontentformat', |
| 11048 |
'totext', 'tosection', 'tocontentmodel', and 'tocontentformat' parameters |
| 11049 |
are deprecated. Specify the new 'fromslots' and 'toslots' to identify which |
| 11050 |
slots have text supplied and the corresponding templated parameters for |
| 11051 |
each slot. |
| 11052 |
* The behavior of 'fromsection' and 'tosection' of extracting one section's |
| 11053 |
content is not being preserved. 'fromsection-{slot}' and 'tosection-{slot}' |
| 11054 |
instead expand the given text as if for a section edit. This effectively |
| 11055 |
declines T183823 in favor of T185723. |
| 11056 |
* (T198214) The 'disabletidy' parameter to action=parse has been |
| 11057 |
deprecated; untidy output will not be supported by future wikitext |
| 11058 |
parsers. |
| 11059 |
* Added intestactionsdetail to action=query&prop=info to allow retrieving the |
| 11060 |
reasons an action is not allowed. |
| 11061 |
* Deprecated action=query&prop=info inprop=readable in favor of |
| 11062 |
intestactions=read. |
| 11063 |
* (T212356) When using action=delete on pages with many revisions, the module |
| 11064 |
may return a boolean-true 'scheduled' and no 'logid'. This signifies that the |
| 11065 |
deletion will be processed via the job queue. |
| 11066 |
|
| 11067 |
=== Action API internal changes in 1.32 === |
| 11068 |
* Added 'ApiParseMakeOutputPage' hook. |
| 11069 |
* Parameter names may no longer contain '{' or '}', as these are now used for |
| 11070 |
templated parameters. |
| 11071 |
* (T194950) Added 'ApiMaxLagInfo' hook. |
| 11072 |
* The following methods now take a RevisionRecord rather than a Revision. No |
| 11073 |
external callers are known. |
| 11074 |
* ApiFeedContributions::feedItemAuthor() |
| 11075 |
* ApiFeedContributions::feedItemDesc() |
| 11076 |
* ApiQueryRevisionsBase::extractRevisionInfo() |
| 11077 |
* The following deprecated methods have been removed: |
| 11078 |
* ApiBase::profileIn() (deprecated in 1.25) |
| 11079 |
* ApiBase::profileOut() (deprecated in 1.25) |
| 11080 |
* ApiBase::safeProfileOut() (deprecated in 1.25) |
| 11081 |
* ApiBase::profileDBIn() (deprecated in 1.25) |
| 11082 |
* ApiBase::profileDBOut() (deprecated in 1.25) |
| 11083 |
* ApiBase::dieUsage() (deprecated in 1.29) |
| 11084 |
* ApiBase::dieUsageMsg() (deprecated in 1.29) |
| 11085 |
* ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29) |
| 11086 |
* ApiBase::getErrorFromStatus() (deprecated in 1.29) |
| 11087 |
* ApiBase::parseMsg() (deprecated in 1.29) |
| 11088 |
* ApiBase::setWarning() (deprecated in 1.29) |
| 11089 |
* ApiPageSet::getInvalidTitles() (deprecated in 1.26) |
| 11090 |
* ApiQueryLogEvents::addLogParams() (deprecated in 1.25) |
| 11091 |
* ApiUsageException::getCodeString() (deprecated in 1.29) |
| 11092 |
* ApiUsageException::getMessageArray() (deprecated in 1.29) |
| 11093 |
* Class UsageException, deprecated in 1.29, has been removed. |
| 11094 |
* ApiErrorFormatter: Added getFormat() and newWithFormat(). In particular, you |
| 11095 |
can now easily test $formatter->getFormat() === 'bc', and then call |
| 11096 |
$formatter->newWithFormat( 'plaintext' ) to get a non-BC formatter. |
| 11097 |
|
| 11098 |
=== Languages updated in 1.32 === |
| 11099 |
MediaWiki supports over 350 languages. Many localisations are updated regularly. |
| 11100 |
Below only new and removed languages are listed, as well as changes to languages |
| 11101 |
because of Phabricator reports. |
| 11102 |
|
| 11103 |
* (T193566) Added language support for Ambonese Malay (abs). |
| 11104 |
* (T194047) Added language support for Shawiya, Latin script (shy-latn). |
| 11105 |
* (T195940) Added language support for Batak Mandailing (btm). |
| 11106 |
* (T137491) Added language support for Standard Moroccan Amazigh (zgh). |
| 11107 |
* (T198132) Added language support for Manipuri (mni). |
| 11108 |
* (T201276) Added language support for Western Armenian (hyw). |
| 11109 |
* (T201583) Added language support for Mon (mnw). |
| 11110 |
|
| 11111 |
=== Breaking changes in 1.32 === |
| 11112 |
* $wgRequestTime, deprecated in 1.25, was removed. Use |
| 11113 |
$_SERVER['REQUEST_TIME_FLOAT'] or WebRequest::getElapsedTime() instead. |
| 11114 |
* The MediaWikiI18N class, deprecated in 1.31, was removed. |
| 11115 |
* QuickTemplate::setTranslator(), deprecated in 1.31, was removed. Use |
| 11116 |
Skin::msg() instead. |
| 11117 |
* wfInitShellLocale(), deprecated in 1.30, was removed. |
| 11118 |
* wfShellExecDisabled(), deprecated in 1.30, was removed. |
| 11119 |
* The type string for the parameter $lang of DateFormatter::getInstance, |
| 11120 |
deprecated in 1.31, was removed. |
| 11121 |
* The EDIT_TOKEN_SUFFIX constant deprecated in 1.27, was removed. Use |
| 11122 |
MediaWiki\Session\Token::SUFFIX instead. |
| 11123 |
* EditPage::isOouiEnabled() deprecated in 1.30, was removed. |
| 11124 |
* mw.util.wikiGetlink(), deprecated in 1.23, was removed. Use mw.util.getUrl() |
| 11125 |
instead. |
| 11126 |
* (T61113) The following methods and constants from the Revision class, which |
| 11127 |
were deprecated in 1.25, have now been removed: |
| 11128 |
* Revision::getRawUser() |
| 11129 |
* Revision::getRawUserText() |
| 11130 |
* Revision::getRawComment() |
| 11131 |
* window.gM() from mediawiki.jqueryMsg, deprecated in 1.23, was removed. Use |
| 11132 |
mw.msg() or mw.message() instead. |
| 11133 |
* mw.util.escapeId(), deprecated in 1.30, was removed. Use |
| 11134 |
mw.util.escapeIdForAttribute or mw.util.escapeIdForLink instead. |
| 11135 |
* mw.util.updateTooltipAccessKeys(), deprecated in 1.24, was removed. Use |
| 11136 |
jquery.accessKeyLabel instead. |
| 11137 |
* The SqlDataUpdate class, deprecated in 1.28, has been removed. |
| 11138 |
* The Html5Internal and Html5Depurate tidy driver classes were removed, along |
| 11139 |
with the Balancer tidy implementation. Both implementations were experimental, |
| 11140 |
and were replaced by RemexHtml. |
| 11141 |
* (T179624) Job::insert() and ::batchInsert(), deprecated in 1.21, were both |
| 11142 |
removed. Use JobQueueGroup::singleton()->push() instead. |
| 11143 |
* The jquery.footHovzer module, for mediawiki.debug, was removed. |
| 11144 |
* The es5-shim module, empty and deprecated since 1.29, was removed. |
| 11145 |
* the dom-level2-shim module, empty and deprecated since 1.29, was removed. |
| 11146 |
* the json module, empty and deprecated since 1.29, was removed. |
| 11147 |
* The mediawiki.widgets.visibleByteLimit module alias, deprecated in 1.32, was |
| 11148 |
removed. Use mediawiki.widgets.visibleLengthLimit instead. |
| 11149 |
* The jquery.farbtastic module, unused since 1.18, was removed. |
| 11150 |
* The 'jquery.expandableField' module, unused since 1.22, was removed. |
| 11151 |
* The hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' may provide |
| 11152 |
any HTMLForm object rather than PreferencesForm. |
| 11153 |
* The non namespaced TimestampException class, deprecated in 1.29, was removed. |
| 11154 |
Use Wikimedia\Timestamp\TimestampException instead. |
| 11155 |
* The global functions codepointToUtf8, hexSequenceToUtf8, utf8ToHexSequence, |
| 11156 |
utf8ToCodepoint, and escapeSingleString (deprecated in 1.25) were removed. |
| 11157 |
The UtfNormal\Utils class from the utfnormal library should be used instead. |
| 11158 |
* The deprecated UTF8_ and UNICODE_ constants were removed. The class constants |
| 11159 |
from the UtfNormal\Constants class from the utfnormal library should be used |
| 11160 |
* The protected methods PHPSessionHandler::returnSuccess() and returnFailure(), |
| 11161 |
only needed for PHP5 compatibility, have been removed. It now uses the boolean |
| 11162 |
values `true` and `false` respectively. |
| 11163 |
* The $parserMemc global and wfGetParserCacheStorage(), deprecated since 1.30, |
| 11164 |
were removed. Use the ParserCache class instead. |
| 11165 |
* ScopedCallback (deprecated in 1.28) was removed. Use Wikimedia\ScopedCallback |
| 11166 |
instead. |
| 11167 |
* Support for ResourceLoaderModule::getModifiedTime() and getModifiedHash(), |
| 11168 |
deprecated since 1.26, was removed. Use getDefinitionSummary() instead. |
| 11169 |
* (T195256) Skins are recommended not to rely on JavaScript for the "mw-jump" |
| 11170 |
and "jump-to-nav" accessibility links. To this end, the "jquery.mw-jump" |
| 11171 |
is no longer loaded by default. The Vector and MonoBook skins have made a |
| 11172 |
minor change to implement the toggle feature with CSS instead. To restore |
| 11173 |
prior functionality, either explicitly load "jquery.mw-jump" in your skin |
| 11174 |
or refer to T195256 for details on how to make the same change. |
| 11175 |
* Hook 'EditPageBeforeEditChecks' was removed; |
| 11176 |
use 'EditPageGetCheckboxesDefinition' instead. |
| 11177 |
* Linker::getLinkColour() and DummyLinker::getLinkColour(), deprecated since |
| 11178 |
1.28, were removed. LinkRenderer::getLinkClasses() should be used instead. |
| 11179 |
* Wikimedia\Rdbms\LoadBalancer::getLaggedSlaveMode(), deprecated in 1.28, has |
| 11180 |
been removed. Use Wikimedia\Rdbms\LoadBalancer::getLaggedReplicaMode() |
| 11181 |
instead. |
| 11182 |
* mw.widgets.CategoryMultiselectWidget now uses TagMultiselectWidget instead of |
| 11183 |
CapsuleMultiselectWidget. The following methods may no longer be used: |
| 11184 |
* setItemsFromData: Use setValue instead |
| 11185 |
* getItemsData: Use getItems instead and get the data property |
| 11186 |
* Two OutputPage methods, addMetadataLink() and getMetadataAttribute(), were |
| 11187 |
removed. Use addLink() instead. |
| 11188 |
* Another two OutputPage methods, setPageTitleActionText() and |
| 11189 |
getPageTitleActionText(), were removed. They did nothing since 1.15 (almost |
| 11190 |
ten years). Use setHTMLTitle() directly. |
| 11191 |
* The return value of OutputPage::adaptCdnTTL() has been removed. The |
| 11192 |
value returned was misleading and probably not what any caller would |
| 11193 |
have wanted. |
| 11194 |
* All MagicWord static member variables have been removed. Use appropriate |
| 11195 |
hooks or MagicWordFactory methods instead. |
| 11196 |
* MagicWord::clearCache() has been removed. Instead, create a new |
| 11197 |
MagicWordFactory, such as by calling |
| 11198 |
resetServiceForTesting( 'MagicWordFactory' ) on a MediaWikiServices. |
| 11199 |
* mw.util.init() has been removed. This function is not needed anymore and was |
| 11200 |
a no-op function since 1.30. |
| 11201 |
* SpecialPageFactory::resetList() is a no-op. Call overrideMwServices() |
| 11202 |
instead. |
| 11203 |
* MediaWiki no longer supports a StartProfiler.php file. Instead, you can set |
| 11204 |
$wgProfiler and $wgEnableProfileInfo. |
| 11205 |
* The mw.loader.addSource() is now considered a private method, and no longer |
| 11206 |
supports the `id, url` signature. Use the `Object` parameter instead. |
| 11207 |
* The backwards-compatibility code in HTMLForm to add a drop-down control to an |
| 11208 |
option that is not set to be a drop-down if the "mw-chosen" class is present, |
| 11209 |
is now removed. |
| 11210 |
* Several collations were removed. They were workarounds for bugs in the ICU |
| 11211 |
library and they are no longer needed (as of ICU 57.1): |
| 11212 |
* 'uppercase-se' (NorthernSamiUppercaseCollation) - use 'uca-se' instead |
| 11213 |
* 'xx-uca-et' (CollationEt) - use 'uca-et' instead |
| 11214 |
* 'xx-uca-fa' (CollationFa) - use 'uca-fa' instead |
| 11215 |
* LanguageCode::bcp47() now always returns a valid BCP 47 code. This means |
| 11216 |
that some MediaWiki-specific language codes, such as `simple`, are mapped |
| 11217 |
into valid BCP 47 codes (eg `en-simple`). |
| 11218 |
* The hooks 'SpecialRecentChangesFilters' & 'SpecialWatchlistFilters' deprecated |
| 11219 |
in 1.23 were removed. Instead, use 'ChangesListSpecialPageStructuredFilters'. |
| 11220 |
The ChangesListSpecialPage code for these legacy hooks, and their use in |
| 11221 |
SpecialRecentchanges.php and SpecialWatchlist, was also removed: |
| 11222 |
* ChangesListSpecialPage->getCustomFilters() |
| 11223 |
* ChangesListSpecialPage->getFilterGroupDefinitionFromLegacyCustomFilters() |
| 11224 |
* ChangesListSpecialPage::customFilters |
| 11225 |
* The global function wfUseMW, deprecated since 1.26, has now been removed. Use |
| 11226 |
the "requires" property of static extension registration instead. |
| 11227 |
* $wgSpecialPages no longer accepts array syntax, deprecated since 1.18. |
| 11228 |
* The MailAddress constructor can no longer be called with a User object, |
| 11229 |
behaviour which has been deprecated since 1.24. |
| 11230 |
* LBFactory, deprecated since 1.28, has been removed. Instead, use |
| 11231 |
Wikimedia\Rdbms\LBFactory. |
| 11232 |
* The MimeMagic class, deprecated since 1.28 has been removed. Get a |
| 11233 |
MimeAnalyzer instance from MediaWikiServices instead. |
| 11234 |
* The '--tidy' option to maintenance/parse.php has been removed. Tidying |
| 11235 |
the output is now the default. Use '--no-tidy' to bypass the tidy |
| 11236 |
phase. |
| 11237 |
* The global function wfErrorLog, deprecated since 1.25, has now been removed. |
| 11238 |
Use MWLoggerLegacyLogger::emit or UDPTransport. |
| 11239 |
* The hooks 'SpecialRecentChangesQuery' & 'SpecialWatchlistQuery', deprecated in |
| 11240 |
1.23, were removed. Instead, use ChangesListSpecialPageStructuredFilters or |
| 11241 |
ChangesListSpecialPageQuery. |
| 11242 |
* The global function wfUsePHP, deprecated since 1.30, has now been removed. To |
| 11243 |
assert a newer version of PHP than MediaWiki does, use extension registration. |
| 11244 |
* The hook 'ChangesListSpecialPageFilters', deprecated in 1.29, has now been |
| 11245 |
removed. Use the 'ChangesListSpecialPageStructuredFilters' hook instead. |
| 11246 |
* DeferredUpdates::setImmediateMode(), deprecated since 1.29, has been removed. |
| 11247 |
* File / MediaHandler::getStreamHeaders(), deprecated since 1.30, was removed. |
| 11248 |
* The hook 'DoEditSectionLink', deprecated since 1.25, has been removed. Use |
| 11249 |
the hook 'SkinEditSectionLinks' instead. |
| 11250 |
* The hook 'UserGetImplicitGroups', deprecated since 1.25, has been removed. |
| 11251 |
* The global function wfRunHooks, deprecated since 1.25, has now been removed. |
| 11252 |
Use Hooks::run(). |
| 11253 |
* The hook 'UnknownAction', deprecated since 1.19, has now been removed. |
| 11254 |
* The hook 'ParserLimitReport', deprecated since 1.22, has been removed. Use |
| 11255 |
the hooks 'ParserLimitReportPrepare' and 'ParserLimitReportFormat' instead. |
| 11256 |
* The following deprecated API methods have been removed: |
| 11257 |
* ApiBase::profileIn() (deprecated in 1.25) |
| 11258 |
* ApiBase::profileOut() (deprecated in 1.25) |
| 11259 |
* ApiBase::safeProfileOut() (deprecated in 1.25) |
| 11260 |
* ApiBase::profileDBIn() (deprecated in 1.25) |
| 11261 |
* ApiBase::profileDBOut() (deprecated in 1.25) |
| 11262 |
* ApiBase::dieUsage() (deprecated in 1.29) |
| 11263 |
* ApiBase::dieUsageMsg() (deprecated in 1.29) |
| 11264 |
* ApiBase::dieUsageMsgOrDebug() (deprecated in 1.29) |
| 11265 |
* ApiBase::getErrorFromStatus() (deprecated in 1.29) |
| 11266 |
* ApiBase::parseMsg() (deprecated in 1.29) |
| 11267 |
* ApiBase::setWarning() (deprecated in 1.29) |
| 11268 |
* ApiPageSet::getInvalidTitles() (deprecated in 1.26) |
| 11269 |
* ApiQueryLogEvents::addLogParams() (deprecated in 1.25) |
| 11270 |
* ApiUsageException::getCodeString() (deprecated in 1.29) |
| 11271 |
* ApiUsageException::getMessageArray() (deprecated in 1.29) |
| 11272 |
* Class UsageException, deprecated in 1.29, has been removed. |
| 11273 |
* MediaWiki no longer has a 'JavaScript-powered' wikitext toolbar built in. The |
| 11274 |
old "bulletin board style toolbar", known as "the 2006 wikitext editor", has |
| 11275 |
been removed, and instead sysadmins will be required to choose one (or more) |
| 11276 |
of the several extensions available for this purpose if they need the |
| 11277 |
functionality. The MediaWiki "tarball" releases have included the replacement |
| 11278 |
extension for this, the WikiEditor extension aka "the 2010 wikitext editor", |
| 11279 |
for many years now. As part of this, several parts of MediaWiki have been |
| 11280 |
removed or simplified: |
| 11281 |
* The user option 'showtoolbar' (shown as "Show edit toolbar") is no longer |
| 11282 |
available; if an extension adds a toolbar via the EditPageBeforeEditToolbar |
| 11283 |
hook, it will be shown; extensions should provide a specific user preference |
| 11284 |
to disable themselves as needed. |
| 11285 |
* The public methods Language::getImageFile() and ::getImageFiles(), and the |
| 11286 |
related specification of $imageFiles within individual languages' code file, |
| 11287 |
as well as the referenced static media assets, all of which were only used |
| 11288 |
inside MediaWiki itself for providing the icons for the old toolbar, have |
| 11289 |
been removed without explicit deprecation. |
| 11290 |
* The internal ResourceLoader module "mediawiki.toolbar", which is unused |
| 11291 |
except by MediaWiki itself and back-compatibility code, has been removed. |
| 11292 |
* The internal ResourceLoaderEditToolbarModule class has been removed. |
| 11293 |
|
| 11294 |
=== Deprecations in 1.32 === |
| 11295 |
* HTMLForm::setSubmitProgressive() is deprecated. No need to call it. Submit |
| 11296 |
button is already marked as progressive. |
| 11297 |
* Skin::setupSkinUserCss() is deprecated. Adding of modules to load |
| 11298 |
has been centralised to Skin::getDefaultModules(), which is now capable |
| 11299 |
of queueing style modules as well. |
| 11300 |
* OutputPage::addModuleScripts() and ParserOutput::addModuleScripts are |
| 11301 |
deprecated. Use addModules() instead. |
| 11302 |
* Overriding SearchEngine::{searchText,searchTitle,searchArchiveTitle} |
| 11303 |
in extending classes is deprecated. Extend related doSearch* methods |
| 11304 |
instead. |
| 11305 |
* The following 'mediawiki.api' plugin modules were merged into mediawiki.api |
| 11306 |
and deprecated: mediawiki.api.category, mediawiki.api.edit, |
| 11307 |
mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse, |
| 11308 |
mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch, |
| 11309 |
mediawiki.api.messages, and mediawiki.api.rollback. |
| 11310 |
* ApiBase::truncateArray() is deprecated. No replacement, as nothing is known |
| 11311 |
to use it. |
| 11312 |
* WatchAction::getUnwatchToken is deprecated. Use WatchAction::getWatchToken |
| 11313 |
with the 'unwatch' action parameter instead. |
| 11314 |
* IcuCollation::getICUVersion() is deprecated, as you can just use the PHP |
| 11315 |
constant INTL_ICU_VERSION directly in all versions that MediaWiki supports. |
| 11316 |
* Parser::fetchFile() is deprecated. Use ::fetchFileAndTitle() instead. |
| 11317 |
* The ApiQueryContributions class has been renamed to ApiQueryUserContribs. |
| 11318 |
* The XMPInfo, XMPReader, and XMPValidate classes have been deprecated in favor |
| 11319 |
of the namespaced classes provided by the wikimedia/xmp-reader library. |
| 11320 |
* SearchResultSet::{next,rewind} are deprecated. Calling code should |
| 11321 |
use foreach on the SearchResultSet, or the extractResults method. Extending |
| 11322 |
code should override extractResults. |
| 11323 |
* Instantiating SearchResultSet directly is deprecated. SearchEngine |
| 11324 |
implementations must subclass SearchResultSet for their purposes. |
| 11325 |
* SearchResult::setExtensionData argument has been changed from accepting an |
| 11326 |
array to accepting a Closure that returns the array when called. |
| 11327 |
* Class CryptRand, everything in MWCryptRand except generateHex() and function |
| 11328 |
MediaWikiServices::getInstance()->getCryptRand() are deprecated, use |
| 11329 |
random_bytes() to generate cryptographically secure random byte sequences. |
| 11330 |
* Parser::getConverterLanguage() is deprecated. Use ::getTargetLanguage() |
| 11331 |
instead. |
| 11332 |
* Language::markNoConversion() is deprecated. It confused readers because |
| 11333 |
it had unexpected behavior (only marking text if it looked like a URL) |
| 11334 |
and was only used in a single place in the code. Use |
| 11335 |
LanguageConverter::markNoConversion() instead. |
| 11336 |
* (T197492) Language::truncate() was soft deprecated in 1.31 and is |
| 11337 |
hard deprecated in this release. It has been split into two similar |
| 11338 |
methods, Language::truncateForVisual() and Language::truncateForDatabase(), |
| 11339 |
which measure length in characters and bytes, respectively. Use |
| 11340 |
Language::truncateForVisual() when possible to provide equity to users |
| 11341 |
of multibyte scripts. |
| 11342 |
* (T176526) EditPage::getContextTitle() falling back to $wgTitle when the |
| 11343 |
context title is unset is now deprecated; anything creating an EditPage |
| 11344 |
instance should set the context title via ::setContextTitle(). |
| 11345 |
* The 'jquery.hidpi' module (polyfill for IMG srcset) is deprecated. |
| 11346 |
* ResourceLoaderStartUpModule::getStartupModules() and ::getLegacyModules() |
| 11347 |
are deprecated. These concepts are obsolete and have no replacement. |
| 11348 |
* String type for $lang of DifferenceEngine::setTextLanguage is deprecated. |
| 11349 |
* The following methods of OutputPage are now deprecated in favour |
| 11350 |
of using showFatalError directly: OutputPage::showFileDeleteError() |
| 11351 |
OutputPage::showFileNotFoundError(), OutputPage::showFileRenameError() |
| 11352 |
OutputPage::showFileCopyError() and OutputPage::showUnexpectedValueError(). |
| 11353 |
* The Replacer, DoubleReplacer, HashtableReplacer, and RegexlikeReplacer |
| 11354 |
classes are now deprecated. Use a Closure instead. |
| 11355 |
* (T194263) ContentHandler::makeParserOptions() is deprecated. Use |
| 11356 |
WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead. |
| 11357 |
* (T100681) Use of the Parsoid v1 API with the VirtualRESTService, deprecated in |
| 11358 |
MediaWiki 1.26, is now hard-deprecated. All known clients were converted to |
| 11359 |
the Parsoid v3 API in May 2015. |
| 11360 |
* $input is deprecated in hook 'LogEventsListGetExtraInputs'. Use |
| 11361 |
$formDescriptor instead. |
| 11362 |
* SearchEngine::transformSearchTerm( $term ) should no longer be called prior |
| 11363 |
to running searchText. This method was mainly implemented to support the |
| 11364 |
'prefix' URI param in SpecialSearch, but there are no reasons to expose this |
| 11365 |
logic as it should be handled internally by SearchEngine implementations |
| 11366 |
supporting this feature. SearchEngine implementations should no longer |
| 11367 |
override this methods. |
| 11368 |
* SearchEngine::replacePrefixes( $query ) should no longer be called prior |
| 11369 |
to running searchText/searchTitle. |
| 11370 |
* (T199657) Messages for $wgFilterLogTypes labels should be no longer be in the |
| 11371 |
'log-show-hide-[type]' format. Instead use 'logeventslist-[type]-log'. |
| 11372 |
* Global functions wfArrayFilter() and wfArrayFilterByKey() are deprecated. |
| 11373 |
use array_filter() directly. |
| 11374 |
* The $wgShowSQLErrors global is deprecated and nonfunctional. |
| 11375 |
Set $wgShowExceptionDetails and/or $wgShowHostnames instead. |
| 11376 |
* The $wgShowDBErrorBacktrace global is deprecated and nonfunctional. |
| 11377 |
Set $wgShowExceptionDetails instead. |
| 11378 |
* Public access to the DifferenceEngine properties mOldid, mNewid, mOldRev, |
| 11379 |
mNewRev, mOldPage, mNewPage, mOldContent, mNewContent, mRevisionsLoaded, |
| 11380 |
mTextLoaded and mCacheHit is deprecated. Use getOldid() / getNewid() / |
| 11381 |
getOldRevision() / getNewRevision() for the first four (note that the |
| 11382 |
revision ones return a RevisionRecord, not a Revision), do your own lookup |
| 11383 |
for page/content. |
| 11384 |
* The $wgExternalDiffEngine value 'wikidiff2' is deprecated. To use wikidiff2 |
| 11385 |
just enable the PHP extension, and it will be autodetected. |
| 11386 |
* (T194731) DifferenceEngine properties mOldContent and mNewContent and methods |
| 11387 |
setContent(), generateContentDiffBody(), generateTextDiffBody() and textDiff() |
| 11388 |
are deprecated. To interact with a single slot, use a SlotDiffRenderer (and |
| 11389 |
subclass it to customize diff rendering); to diff custom (e.g. unsaved) |
| 11390 |
content, use setRevisions(). Subclassing DifferenceEngine should only be done |
| 11391 |
to customize page-level diff properties (such as the navigation header). |
| 11392 |
* The wfUseMW function, soft-deprecated in 1.26, is now hard deprecated. |
| 11393 |
* All MagicWord static methods are now deprecated. Use the MagicWordFactory |
| 11394 |
methods instead. |
| 11395 |
* PasswordFactory::init is deprecated. To get a password factory with the |
| 11396 |
standard configuration, use |
| 11397 |
MediaWikiServices::getInstance()->getPasswordFactory. |
| 11398 |
* $wgContLang is deprecated, use |
| 11399 |
MediaWikiServices::getInstance()->getContentLanguage() instead. |
| 11400 |
* $wgParser is deprecated, use MediaWikiServices::getInstance()->getParser() |
| 11401 |
instead. |
| 11402 |
* wfGetMainCache() is deprecated, use ObjectCache::getLocalClusterInstance() |
| 11403 |
instead. |
| 11404 |
* wfGetCache() is deprecated, use ObjectCache::getInstance() instead. |
| 11405 |
* All SpecialPageFactory static methods are deprecated. Instead, call the |
| 11406 |
methods on a SpecialPageFactory instance, which may be obtained from |
| 11407 |
MediaWikiServices. |
| 11408 |
* mw.user.stickyRandomId was renamed to the more explicit |
| 11409 |
mw.user.getPageviewToken to better capture its function. |
| 11410 |
* Passing Revision objects to ContentHandler::getUndoContent() is deprecated, |
| 11411 |
Content object should be passed instead. |
| 11412 |
* (T197179) Parameters 'notice', 'notice-messages', 'notice-message', |
| 11413 |
previously used by OOUI HTMLForm fields, are now deprecated. Use |
| 11414 |
'help', 'help-message', 'help-messages' instead. |
| 11415 |
* (T197179) HTMLFormField::getNotices() is now deprecated. |
| 11416 |
* The jquery.localize module is now deprecated. Use jquery.i18n instead. |
| 11417 |
* The SecondaryDataUpdates hook was deprecated in favor of RevisionDataUpdates, |
| 11418 |
or overriding ContentHandler::getSecondaryDataUpdates (T194038). |
| 11419 |
* The WikiPageDeletionUpdates hook was deprecated in favor of |
| 11420 |
PageDeletionDataUpdates, or overriding ContentHandler::getDeletionDataUpdates |
| 11421 |
(T194038). |
| 11422 |
* Content::getSecondaryDataUpdates has been deprecated in favor of |
| 11423 |
ContentHandler::getSecondaryDataUpdates() for overriding by extensions |
| 11424 |
(T194038). |
| 11425 |
Application logic should call WikiPage::doSecondaryDataUpdates() (T194037). |
| 11426 |
* Content::getDeletionUpdates has been deprecated in favor of |
| 11427 |
ContentHandler::getDeletionUpdates() for overriding by extensions (T194038). |
| 11428 |
Application logic should call WikiPage::doSecondaryDataUpdates() (T194037). |
| 11429 |
* (T198214) Old Tidy-related configuration settings, which were soft-deprecated |
| 11430 |
in MediaWiki 1.26, have now been hard deprecated. This affects $wgUseTidy, |
| 11431 |
$wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and $wgDebugTidy. Use |
| 11432 |
$wgTidyConfig instead. |
| 11433 |
* All Tidy configurations other than Remex have been hard deprecated; |
| 11434 |
future parsers will not emit compatible output for these configurations. |
| 11435 |
In particular, running MediaWiki with tidy disabled has been deprecated. |
| 11436 |
* (T198214) OutputPage::addWikiText(), OutputPage::addWikiTextWithTitle(), |
| 11437 |
and OutputPage::addWikiTextTitle() have been deprecated, since they |
| 11438 |
can result in untidy output. In addition OutputPage::addWikiTextTidy() |
| 11439 |
and OutputPage::addWikiTextTitleTidy() was deprecated to make naming new |
| 11440 |
methods consistent. Use OutputPage::addWikiTextAsInterface() or |
| 11441 |
OutputPage::addWikiTextAsContent() instead, which ensures the output is |
| 11442 |
tidy and clarifies whether content-language specific postprocessing should |
| 11443 |
be done on the text. |
| 11444 |
* OutputPage::parse() and OutputPage::parseInline() have been deprecated |
| 11445 |
due to untidy output and inconsistent handling of wrapper divs and |
| 11446 |
interface/content language defaults. Use OutputPage::parseAsContent(), |
| 11447 |
OutputPage::parseAsInterface(), or OutputPage::parseInlineAsInterface() |
| 11448 |
as appropriate. |
| 11449 |
* QuickTemplate::msgHtml() and BaseTemplate::msgHtml() have been deprecated |
| 11450 |
as they promote bad practises. I18n messages should always be properly |
| 11451 |
escaped. |
| 11452 |
* Skin::getDynamicStylesheetQuery() has been deprecated. It always |
| 11453 |
returns action=raw&ctype=text/css which callers should use directly. |
| 11454 |
* Class LegacyFormatter is deprecated. |
| 11455 |
* Use of CommentStore::insertWithTempTable() with 'img_description' is |
| 11456 |
deprecated. Use CommentStore::insert() instead. |
| 11457 |
* Language::setCode is deprecated as public function. Use Language::factory |
| 11458 |
to create a new Language object with a different language code. |
| 11459 |
* Several classes have been moved from the MediaWiki\Storage\ namespace to the |
| 11460 |
MediaWiki\Revision\ namespace. The old class names are aliased for |
| 11461 |
compatibility, but are deprecated. Classes are IncompleteRevisionException, |
| 11462 |
MutableRevisionRecord, MutableRevisionSlots, RevisionAccessException, |
| 11463 |
RevisionArchiveRecord, RevisionFactory, RevisionLookup, RevisionRecord, |
| 11464 |
RevisionSlots, RevisionStore, RevisionStoreRecord, SlotRecord, and |
| 11465 |
SuppressedDataException. |
| 11466 |
* When using OOUI HTMLForm containing an 'info' field which uses the 'rawrow' |
| 11467 |
option, it is now deprecated to give its contents (the 'default' option) |
| 11468 |
as a string. They should be given as a OOUI\FieldLayout object instead. |
| 11469 |
Notably, this affects fields defined in the 'GetPreferences' hook, because |
| 11470 |
Special:Preferences uses an OOUI form now. (If possible, don't use 'rawrow'.) |
| 11471 |
* In Skin::doEditSectionLink omitting the parameters $tooltip and $lang is |
| 11472 |
deprecated. For the $lang parameter, types other than Language are |
| 11473 |
deprecated. |
| 11474 |
* The $wgUseKeyHeader configuration option and the |
| 11475 |
OutputPage::getKeyHeader() method have been deprecated; the relevant |
| 11476 |
draft IETF spec expired without becoming a standard. |
| 11477 |
* Deprecated API action=query&prop=info inprop=readable in favor of |
| 11478 |
intestactions=read. |
| 11479 |
|
| 11480 |
=== Other changes in 1.32 === |
| 11481 |
* (T198811) The following tables have had their UNIQUE indexes turned into |
| 11482 |
proper PRIMARY KEYs for increased maintainability: interwiki, page_props, |
| 11483 |
protected_titles and site_identifiers. |
| 11484 |
* OOUI HTMLForm will now display help text inline after the input field, |
| 11485 |
rather than in a popup. Previous behavior can be restored by using |
| 11486 |
`'help-inline' => false`. |
| 11487 |
* The archive table's ar_rev_id field is now unique. |
| 11488 |
* Special:BotPasswords now requires reauthentication. |
| 11489 |
* (T174023) Multi-Content Revision (MCR) capabilities were introduced into the |
| 11490 |
storage layer and have basic support for display. No user interface exists |
| 11491 |
yet for creating or managing content in slots beides the main slot. See |
| 11492 |
<https://www.mediawiki.org/wiki/Multi-Content_Revisions> for more |
| 11493 |
information. |
| 11494 |
* The image_comment_temp database table has been removed. Since all access |
| 11495 |
should be mediated by the CommentStore class, this change shouldn't affect |
| 11496 |
external code. |
| 11497 |
* (T206147) Database::close() will no longer commit any open transactions. |
| 11498 |
* (T64103) Dropped columns category.cat_hidden, site_stats.ss_admins, and |
| 11499 |
recentchanges.rc_cur_time from the PostgreSQL schema. |
| 11500 |
|
| 11501 |
= MediaWiki 1.31 = |
| 11502 |
|
| 11503 |
== MediaWiki 1.31.16 == |
| 11504 |
|
| 11505 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11506 |
|
| 11507 |
This is intended to be the final release of the MediaWiki 1.31 branch, |
| 11508 |
and as such, 1.31 is now considered End of Life. |
| 11509 |
|
| 11510 |
=== Changes since MediaWiki 1.31.15 === |
| 11511 |
* (T283273) Make postgres IRC channel point to libera.chat. |
| 11512 |
* (T289108) ExtensionProcessor: Remove loaderScripts from |
| 11513 |
extension.json schemas. |
| 11514 |
* (T285515, CVE-2021-41798) SECURITY: XSS vulnerability in |
| 11515 |
Special:Search. |
| 11516 |
* (T290379, CVE-2021-41799) SECURITY: ApiQueryBacklinks can cause a full |
| 11517 |
table scan. |
| 11518 |
* (T284419, CVE-2021-41800) SECURITY: fix PoolCounter protection of |
| 11519 |
Special:Contributions. |
| 11520 |
|
| 11521 |
== MediaWiki 1.31.15 == |
| 11522 |
|
| 11523 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11524 |
|
| 11525 |
=== Changes since MediaWiki 1.31.14 === |
| 11526 |
* (T270988) Fixup issues in SpecialChangeContentModel.php. |
| 11527 |
* (T278026) rdbms: Add DB_PRIMARY to replace DB_MASTER. |
| 11528 |
* (T276945) Define a batch size in maintenance/manageJobs.php. |
| 11529 |
* (T276945) Implement JobQueueDB::getAllAbandonedJobs. |
| 11530 |
* (T281549) WebInstaller: Don't show the announce-l subscribe |
| 11531 |
checkbox temporarily. |
| 11532 |
* (T283247) Freenode -> Libera per wikimedia moving from |
| 11533 |
freenode to libera. |
| 11534 |
* (T280226, CVE-2021-35197) SECURITY: Prevent blocked users from |
| 11535 |
purging pages. |
| 11536 |
|
| 11537 |
== MediaWiki 1.31.14 == |
| 11538 |
|
| 11539 |
This is a maintenance release of the MediaWiki 1.31 branch. |
| 11540 |
|
| 11541 |
=== Changes since MediaWiki 1.31.13 === |
| 11542 |
* Make Title implement IDBAccessObject. |
| 11543 |
|
| 11544 |
== MediaWiki 1.31.13 == |
| 11545 |
|
| 11546 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11547 |
|
| 11548 |
=== Changes since MediaWiki 1.31.12 === |
| 11549 |
* (T115436) resourceloader: CSSMin::getLocalFileReferences now strips |
| 11550 |
anchors. |
| 11551 |
* Updating php-parallel-lint/php-parallel-lint (0.9.2 => 1.0.0). |
| 11552 |
* Updating mediawiki/codesniffer (19.1.0 => 19.4.0). |
| 11553 |
* DefaultSettings.php: Update $wgPingback documentation. |
| 11554 |
* PHPVersionCheck: The PHP Group only supports PHP >= 7.3.0. |
| 11555 |
* (T275261) Escape wikitext in the title in invalid title error messages. |
| 11556 |
* (T277009, CVE-2021-30158) SECURITY: Allow blocked users to access |
| 11557 |
Special:ResetTokens. |
| 11558 |
* pageExist.php: Output trailing newlines. |
| 11559 |
* (T278058, CVE-2021-30157) SECURITY: Escape rcfilters-filter-* messages |
| 11560 |
on ChangesList pages. |
| 11561 |
* (T277414) HTMLFormField: Use non namespaced class name rather than |
| 11562 |
static::class. |
| 11563 |
* (T268230) Switch to new MediaWiki logo by Serhio Magpie. |
| 11564 |
* (T271735) Expand config-pingback-help, link to privacy policy in |
| 11565 |
config-pingback. |
| 11566 |
* Fix documentation of user-global in $wgRateLimits. |
| 11567 |
* BackupDumper: Add -o as shortcode for --output. |
| 11568 |
* (T278014, CVE-2021-30154) SECURITY: Escape mediastatistics-header-* |
| 11569 |
messages on Special:NewFiles. |
| 11570 |
* (T270713, CVE-2021-30152) SECURITY: Allow user to only apply protection |
| 11571 |
they have right to do so via action=protect. |
| 11572 |
* (T272386, CVE-2021-30159) SECURITY: Non-admin deleted enwiki page in |
| 11573 |
fast double move. |
| 11574 |
* (T270988, CVE-2021-30155) SECURITY: ContentModelChange: Check that user |
| 11575 |
can create pages. |
| 11576 |
* (T276843, CVE-2021-20270, CVE-2021-27291) SECURITY: |
| 11577 |
SyntaxHighlight_GeSHi: Various lexers have been disabled due to DoS |
| 11578 |
vectors. |
| 11579 |
|
| 11580 |
== MediaWiki 1.31.12 == |
| 11581 |
|
| 11582 |
This is a maintenance release of the MediaWiki 1.31 branch. |
| 11583 |
|
| 11584 |
=== Changes since MediaWiki 1.31.11 === |
| 11585 |
* Fixed issues relating to User::isRegistered() not existing in 1.31. |
| 11586 |
|
| 11587 |
== MediaWiki 1.31.11 == |
| 11588 |
|
| 11589 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11590 |
|
| 11591 |
=== Changes since MediaWiki 1.31.10 === |
| 11592 |
* Fix undefined $wgRedirectOnLogin. |
| 11593 |
* (T251661, T265313) CentralIdLookup::factoryNonLocal can return null. |
| 11594 |
* (T263592) media: Fix case of FlashPixVersion in |
| 11595 |
FormatMetadata::makeFormattedData(). |
| 11596 |
* (T265223) BaseTemplate: Guard against passing zero arg to array_merge(). |
| 11597 |
* (T266418) composer.json: add requirement for composer-plugin-api ^1.1. |
| 11598 |
* (T260631, T260633), BotPassword::save() now returns a Status object for the |
| 11599 |
result rather than a bool. The length of the bot password grants and |
| 11600 |
restriction fields are now validated, and an error will be thrown if it |
| 11601 |
would be truncated by the database. |
| 11602 |
* (T264536, T233012) SectionProfiler: Do not attempt to use null values as |
| 11603 |
arrays. |
| 11604 |
* (T269178) MemcachedClient: Cast Resource to integer. |
| 11605 |
* (T268917, CVE-2020-35475) SECURITY: Use Xml::element in SpecialUserrights for |
| 11606 |
sanity. |
| 11607 |
* (T268938, CVE-2020-35479) SECURITY: BlockLogFormatter can output raw html. |
| 11608 |
* (T205908, CVE-2020-35477) SECURITY: Unable to change visibility of log entries |
| 11609 |
when MediaWiki:Mainpage uses Special:MyLanguage. |
| 11610 |
* (T120883, CVE-2020-35480) SECURITY: Divergent behavior for contributions and |
| 11611 |
user pages of hidden users and missing users. |
| 11612 |
|
| 11613 |
== MediaWiki 1.31.10 == |
| 11614 |
|
| 11615 |
This is a maintenance release of the MediaWiki 1.31 branch. |
| 11616 |
|
| 11617 |
=== Changes since MediaWiki 1.31.9 === |
| 11618 |
* Fixed issues relating to backporting of changes for T260485. |
| 11619 |
|
| 11620 |
== MediaWiki 1.31.9 == |
| 11621 |
|
| 11622 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11623 |
|
| 11624 |
=== Changes since MediaWiki 1.31.8 === |
| 11625 |
* In the web installer, use secure session cookies. |
| 11626 |
* (T257207) shell: Expand documentation in firejail.profile. |
| 11627 |
* Added $wgForceHTTPS, which makes the HTTP to HTTPS redirect be unconditional |
| 11628 |
and suppresses various hacks needed to support mixed HTTP/HTTPS wikis. We |
| 11629 |
recommend this be set to true on pure HTTPS wikis. |
| 11630 |
* Added $wgCookieSameSite, which allows login cookies to be sent with |
| 11631 |
SameSite=None. This is required for cross-site CentralAuth autologin after |
| 11632 |
Chrome 84. |
| 11633 |
* Added $wgUseSameSiteLegacyCookies, which adds a compatibility hack to |
| 11634 |
SameSite=None cookies for browsers which implemented an incompatible draft |
| 11635 |
version of the specification. |
| 11636 |
* (T191537) Disable WebResponse setters for post-send processing. |
| 11637 |
* (T198525) WebReponse: Use values altered in 'WebResponseSetCookie' hook. |
| 11638 |
* Fix runBatchedQuery.php for no result from select. |
| 11639 |
* (T130906) Add Edge to MediaWiki:Clearyourcache. |
| 11640 |
* Use IPset in MWRestrictions::checkIP. |
| 11641 |
* (T260031) Add application/font-sfnt to MimeMap for ttf files. |
| 11642 |
* shell: Make ->restrict( RESTRICT_NONE ) actually work. |
| 11643 |
* (T183759) Fixes shell edge-cases in Windows. |
| 11644 |
* (T258390) Add CentralIdLookup::factoryNonLocal(). |
| 11645 |
* (T246991) User: Fix pingLimiter() to use makeGlobalKey() for global rate |
| 11646 |
limits. |
| 11647 |
* (T251661, CVE-2020-25827) SECURITY: User::pingLimiter: add user-global rate |
| 11648 |
limit type. |
| 11649 |
* (T246991) User: enforce pingLimiter() expiry time. |
| 11650 |
* (T260232) don't include null page ids in query list for category dumps. |
| 11651 |
* (T251506) Sanitizer: Truncate IDs to a reasonable length. |
| 11652 |
* Explicitly wrap some XML calls in libxml_disable_entity_loader(). |
| 11653 |
* (T263455 T247285) Set EnableJavaScriptTest to true in |
| 11654 |
includes/DevelopmentSettings.php. |
| 11655 |
* (T232568, CVE-2020-25813) SECURITY: Special:UserRights exposes the existence |
| 11656 |
of hidden users. |
| 11657 |
* (T258763, CVE-2020-17367, CVE-2020-17368) SECURITY: Prevent invoking |
| 11658 |
firejail's --output functionality. |
| 11659 |
* (T86738, CVE-2020-25814) SECURITY: mediawiki.jqueryMsg: Sanitize URLs and |
| 11660 |
'style' attribute. |
| 11661 |
* (T115888, CVE-2020-25828) SECURITY: mediawiki.js: Escape HTML in |
| 11662 |
mw.message( ... ).parse(). |
| 11663 |
* (T260485, CVE-2020-25869) SECURITY: ActorMigration: Load user from the correct |
| 11664 |
database. |
| 11665 |
* (T260485, CVE-2020-25869) SECURITY: ensure actor ID from correct wiki is used. |
| 11666 |
|
| 11667 |
== MediaWiki 1.31.8 == |
| 11668 |
|
| 11669 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11670 |
|
| 11671 |
=== Changes since MediaWiki 1.31.7 === |
| 11672 |
* (T199809) Don't invalidate BotPasswords if a password reset email is sent. |
| 11673 |
* (T247017) PasswordReset performance improvements. |
| 11674 |
* (T250568) Work around change in SimpleXMLElement behavior introduced in PHP |
| 11675 |
7.3.17. |
| 11676 |
* Remove some rotten and out of date documentation. |
| 11677 |
* (T252311) Improvements to some older SQLite update patches. |
| 11678 |
* (T240307) Minor fixes to extension.schema.v2.json and |
| 11679 |
extension.schema.v1.json. |
| 11680 |
* (T199474) Set rc_patrolled to 2 for autopatrolled changes in |
| 11681 |
rebuildrecentchanges.php. |
| 11682 |
* (T229461) Update the change_tag table in rebuildrecentchanges.php. |
| 11683 |
* (T206476) Call ob_start() before running tests. |
| 11684 |
* (T234450) Per-user concurrency in SpecialContributions can now be limited by |
| 11685 |
setting $wgPoolCounterConf['SpecialContributions'] appropriately. |
| 11686 |
* (T248947) SECURITY: img_auth.php may leak private extension images into the |
| 11687 |
public cache. |
| 11688 |
|
| 11689 |
== MediaWiki 1.31.7 == |
| 11690 |
|
| 11691 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11692 |
|
| 11693 |
=== Changes since MediaWiki 1.31.6 === |
| 11694 |
* (T193565, T234022) Re-add DB domain sanity checks to LoadBalancer. |
| 11695 |
* Use proper SemVer comparison in CheckComposerLockUpToDate. |
| 11696 |
* (T212738) Add the MW_VERSION constant, global $wgVersion is soft deprecated. |
| 11697 |
* Update comment about PHP versions supported by The PHP Group. |
| 11698 |
* (T247215) Fix output of RecountCategories::doWork(). |
| 11699 |
* Add check for page existence to view.php maintenance script. |
| 11700 |
* (T247580) Disable some broken Selenium tests. |
| 11701 |
* (T236509) SECURITY: Fix HTML escaping in UserGroupMembership::getLink(). |
| 11702 |
* (T246602) SECURITY: jquery.makeCollapsible allows applying event handler to |
| 11703 |
any CSS selector. |
| 11704 |
|
| 11705 |
== MediaWiki 1.31.6 == |
| 11706 |
|
| 11707 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11708 |
|
| 11709 |
=== Changes since MediaWiki 1.31.5 === |
| 11710 |
* (T181658) Do not insert page titles into querycache.qc_value. |
| 11711 |
* (T206013) Suppress errors when reading invalid XML file properties. |
| 11712 |
* (T237931) Remove references to pg_attrdef.adsrc in Postgres code. |
| 11713 |
* Use correct value for 'sslmode' in DatabasePostgres. |
| 11714 |
* (T232866) Fix support for HTTP/2 in MultiHttpClient. |
| 11715 |
* (T227461) Stop calling deprecated Redis delete functions. |
| 11716 |
* (T239561) Mark options as requiring parameters in addSite.php. |
| 11717 |
* (T239734) Replace deprecated lSize with lLen in Redis code. |
| 11718 |
* (T192134) SECURITY: Do not allow user scripts on Special:PasswordReset. |
| 11719 |
* (T239428) ApiEditPage: Test for bad redirect targets. |
| 11720 |
* (T233342) rdbms: Log debug message traces as 'exception.trace' instead of |
| 11721 |
'trace'. |
| 11722 |
* (T226751) media: Log and fail gracefully on invalid EXIF coordinates. |
| 11723 |
* (T212067) Work around PHP bug in parse_url. |
| 11724 |
|
| 11725 |
== MediaWiki 1.31.5 == |
| 11726 |
|
| 11727 |
This is a maintenance release of the MediaWiki 1.31 branch. |
| 11728 |
|
| 11729 |
=== Changes since MediaWiki 1.31.4 === |
| 11730 |
* Fix extra newlines in installer. |
| 11731 |
* Followup T230402, PermissionManager doesn't exist until 1.33, so fix the |
| 11732 |
backported patches to use User::isAllowed() instead. |
| 11733 |
|
| 11734 |
== MediaWiki 1.31.4 == |
| 11735 |
|
| 11736 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11737 |
|
| 11738 |
=== Changes since MediaWiki 1.31.3 === |
| 11739 |
* (T207100) Updated LanguageTr for dotted and dotless I in PHP 7.3. |
| 11740 |
* The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification |
| 11741 |
of headers in private wikis. |
| 11742 |
* (T230402) SECURITY: Add permission check for suppressed account to |
| 11743 |
Special:Redirect. |
| 11744 |
* Add helper for HTTPFileStreamer header syntax. |
| 11745 |
* (T118799) Fix XMP parser errors due to trailing nullchar. |
| 11746 |
* (T233119) Improve documentation for the MinimumPasswordLengthToLogin policy. |
| 11747 |
* (T202183) Give more specific error messages on Special:Redirect. |
| 11748 |
* Cache redirects from Special:Redirect. |
| 11749 |
* (T231386) dispatchUser() should use a 302 http status code. |
| 11750 |
* (T227662) Split down patch-comment-table.sql and patch-actor-table.sql into |
| 11751 |
separate files to help allieviate potential migration problems. |
| 11752 |
* Make SQLite's patch-add-3d.sql a no-op to prevent clobbering other database |
| 11753 |
updates. |
| 11754 |
|
| 11755 |
== MediaWiki 1.31.3 == |
| 11756 |
|
| 11757 |
This is a maintenance release of the MediaWiki 1.31 branch. |
| 11758 |
|
| 11759 |
=== Changes since MediaWiki 1.31.2 === |
| 11760 |
* (T225558) Update installer link to PHP intl. |
| 11761 |
* (T225496) Detect APC for MainCacheType in CLI installer. |
| 11762 |
* (T226766) Remove jetbrains/phpstorm-stubs from composer dev dependencies. |
| 11763 |
* (T202211) Fix SQLite patch-(image|page|template)links-fix-pk.sql column order. |
| 11764 |
|
| 11765 |
== MediaWiki 1.31.2 == |
| 11766 |
|
| 11767 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11768 |
|
| 11769 |
Required PHP version has been increased from 7.0.0 to 7.0.13. |
| 11770 |
|
| 11771 |
=== Changes since MediaWiki 1.31.1 === |
| 11772 |
* (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query |
| 11773 |
all titles when asked for none. |
| 11774 |
* (T205967) Fix syntax error typo in postgres database upgrade file. |
| 11775 |
* (T200254) Add pear/Net_SMTP 1.7.3 to composer dependencies. |
| 11776 |
* (T206765) Load installer i18n when running update.php. |
| 11777 |
* (T109121) Remove deprecated pear/mail_mime-decode from composer suggested |
| 11778 |
libraries. |
| 11779 |
[Also in the bundled composer /vendor directory.] |
| 11780 |
* Various PHP 7.2 and 7.3 compatibility fixes: |
| 11781 |
* (T200595, T206974) Fix PHP 7.3 warnings of using "continue" in some |
| 11782 |
scenarios instead of "break". |
| 11783 |
* (T206976, T206977) Also in the bundled LocalisationUpdate and |
| 11784 |
ParserFunctions extensions. |
| 11785 |
* (T206979) Fix PHP 7.3 warnings of using "compact()" when some variables may |
| 11786 |
not be set. |
| 11787 |
* (T215632) FormatMetadata and UploadStash regexes fixed to be PHP |
| 11788 |
7.3-compatible. |
| 11789 |
* Fix PHP warnings "preg_replace(): [...] invalid range in character class. |
| 11790 |
* Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable. |
| 11791 |
* Suppress "Headers already sent" in PHP 7.2 too. |
| 11792 |
* (T206476) Output only to stderr in unit tests. |
| 11793 |
* (T207112) Add session_write_close() calls to SessionManager tests. |
| 11794 |
* oyejorge/less.php replaced with our fork wikimedia/less.php |
| 11795 |
* (T209756) Updated wikimedia/ip-set from 1.2.0 to 1.3.0. |
| 11796 |
* (T213489) Avoid session double-start in Setup.php. |
| 11797 |
* (T206975) Switch to our fork of less.php. |
| 11798 |
* (T207540) Include IP address in "Login for $1 succeeded" log entry. |
| 11799 |
* (T201781) Database: Allow selectFieldValues() to accept SQL fragments. |
| 11800 |
* (T205765) installer: Don't link to the obsolete "Extension Matrix" page. |
| 11801 |
* (T206013) Update ImportableUploadRevisionImporter for interwiki usernames. |
| 11802 |
* (T207541) Pass an email address, not a MailAddress, to mail(). |
| 11803 |
* (T207603) SECURITY: User JS may no longer be loaded with mime type |
| 11804 |
text/javascript if there is no account associated with the username. |
| 11805 |
* (T112937, T113042) SECURITY: Do not allow loading pages raw with a |
| 11806 |
text/javascript MIME |
| 11807 |
type if non-admins can edit the page. |
| 11808 |
* (T17491) <ins>/<del> elements can be phrasing or flow. |
| 11809 |
* (T200827) RemexCompatMunger: Don't call endTag() in case B/b |
| 11810 |
* (T207088) Upgrade wikimedia/remex-html to 2.0.1. |
| 11811 |
[Also in the bundled composer /vendor directory.] |
| 11812 |
* (T194052) Updated wikimedia/base-convert from 1.0.1 to 2.0.0. |
| 11813 |
[Also in the bundled composer /vendor directory.] |
| 11814 |
* (T199494) Fix notices in maintenance/removeUnusuedAccounts.php. |
| 11815 |
* Require ext-fileinfo in composer.json, per PHPVersionCheck. |
| 11816 |
* (T176390) Bundled LocalisationUpdate extension: Handle exceptions from |
| 11817 |
GitHubFetcher. |
| 11818 |
* (T208255) Completion search should not change the search query. |
| 11819 |
* (T209870) Fix SQL syntax error in MS-SQL initialisation file for new wikis. |
| 11820 |
* (T185049) LogFormatter: Fail softer when trying to link an invalid titles. |
| 11821 |
* (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php |
| 11822 |
if --lang is used with the command-line installer (install.php). |
| 11823 |
* (T211061) ImageListPager: Actor migration for buildQueryConds(). |
| 11824 |
* (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself. |
| 11825 |
* Fix addition of ug_expiry column to user_groups table on MSSQL. |
| 11826 |
* (T204767) Add join conditions to ActiveUsersPager. |
| 11827 |
* (T210621) User: Bypass repeatable-read when creating an actor_id. |
| 11828 |
* (T204531) rdbms: reduce LoadBalancer replication log spam. |
| 11829 |
* (T195525) Fix db error outage page. |
| 11830 |
* (T208871) The hard-coded Google search form on the database error page was |
| 11831 |
removed. |
| 11832 |
* (T176097) Fix flaky MessageBlobStoreTest assertion failures. |
| 11833 |
* (T209423) Update required PHP version to 7.0.13. |
| 11834 |
* (T209885) Prevent populateSearchIndex.php from breaking once actor migration |
| 11835 |
has been started. |
| 11836 |
* (T216968) Return pageid as int in both list=iwbacklinks and |
| 11837 |
list=langbacklinks. |
| 11838 |
* (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL. |
| 11839 |
* (T204423) Backport support for hyphenated DB names in JobQueueGroup. |
| 11840 |
* (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags. |
| 11841 |
* (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when |
| 11842 |
$wgBlockDisablesLogin is true. |
| 11843 |
* (T216029) Chrome redirects to Special:BadTitle after editing a section with |
| 11844 |
a non-Latin name on a page with non-Latin characters in title. |
| 11845 |
* (T219728) Added support for new Japanese era name "Reiwa". |
| 11846 |
* (T25227) SECURITY: action=logout now requires to be posted and have a csrf |
| 11847 |
token. |
| 11848 |
* Updated cssjanus/cssjanus from 1.2.0 to 1.3.0. |
| 11849 |
* (T222385) resourceloader: Use AND instead of OR for upsert conds in |
| 11850 |
saveFileDependencies(). |
| 11851 |
* (T224374) Fix message parameters so that the message that says SQLite is out |
| 11852 |
of date makes sense. |
| 11853 |
* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when |
| 11854 |
reauthenticating. |
| 11855 |
* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if |
| 11856 |
getLoginSecurityLevel() returns non-false. |
| 11857 |
* (T197279) SECURITY: Fix reauth in Special:ChangeEmail. |
| 11858 |
* (T208881) SECURITY: blacklist CSS var(). |
| 11859 |
* (T209794) SECURITY: rate-limit and prevent blocked users from changing email. |
| 11860 |
* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block. |
| 11861 |
* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query. |
| 11862 |
* (T222036, T222038) SECURITY: Add permission check for user is permitted to |
| 11863 |
view the log type. |
| 11864 |
* (T221739) SECURITY: resources: Patch jQuery 3.2.1 for CVE-2019-11358. |
| 11865 |
|
| 11866 |
== MediaWiki 1.31.1 == |
| 11867 |
|
| 11868 |
This is a security and maintenance release of the MediaWiki 1.31 branch. |
| 11869 |
|
| 11870 |
=== Changes since MediaWiki 1.31.0 === |
| 11871 |
* (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides |
| 11872 |
'newbie'. |
| 11873 |
* (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's |
| 11874 |
account lock. |
| 11875 |
* (T199029, CVE-2018-13258) SECURITY: Tarball was missing .htaccess files. |
| 11876 |
* (T197229) Bundle Nuke extension, it was accidentally omitted. |
| 11877 |
* (T193995) Fix undefined patchPath() method call in parser tests. |
| 11878 |
* (T198687) Fix various selectFields methods to use the string 'NULL', not null. |
| 11879 |
* Special:BotPasswords now requires reauthentication. |
| 11880 |
* (T191608, T187638) Add 'logid' parameter to Special:Log. |
| 11881 |
* (T193829) Indicate when a Bot Password needs reset. |
| 11882 |
* (T198037) GitInfo: Don't try shelling out if it's disabled. |
| 11883 |
* (T151415) Log email changes. |
| 11884 |
* (T197206) Fix performance regression when multiple DB used without caching. |
| 11885 |
* (T197030) PHPSessionHandler: Suppress headers warnings in initialize(). |
| 11886 |
* (T182377, T196793) Exif: Guard against uncountable tag values. |
| 11887 |
* (T200861) Fix total breakage of SQLite web upgrade. |
| 11888 |
* (T200864) Fix pingback over-reporting on non-MySQL databases |
| 11889 |
* (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader |
| 11890 |
hooks. |
| 11891 |
|
| 11892 |
== MediaWiki 1.31.0 == |
| 11893 |
|
| 11894 |
=== Changes since MediaWiki 1.31.0-rc.2 === |
| 11895 |
* (T195783) Initialize PSR-4 namespaces at same stage as normal autoloader. |
| 11896 |
* (T196092) Hide MySQL binary/utf-8 charset option in the installer. |
| 11897 |
* (T196185) Don't allow setting $wgDBmysql5 in the installer. |
| 11898 |
* (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported. |
| 11899 |
* (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+ |
| 11900 |
* (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete |
| 11901 |
hook. |
| 11902 |
* (T196672) The mtime of extension.json files is now able to be zero |
| 11903 |
* (T180403) Validate $length in padleft/padright parser functions. |
| 11904 |
* (T143790) Make $wgEmailConfirmToEdit only affect edit actions. |
| 11905 |
|
| 11906 |
=== Changes since MediaWiki 1.31.0-rc.0 === |
| 11907 |
* (T33223) Drop archive.ar_text and ar_flags. |
| 11908 |
* Add default edit rate limit of 90 edits/minute for all users. |
| 11909 |
* (T187645) Use codepoint as tiebreaker when getting first-letters in |
| 11910 |
IcuCollation. |
| 11911 |
* (T191947) Don't shell during the installer if shelling out is disabled. |
| 11912 |
* (T194319) Improve duplicate config setting exception as part of extension |
| 11913 |
registration. |
| 11914 |
* (T195211) Don't require trailing slash in PSR-4 autoloader directory. |
| 11915 |
* (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`. |
| 11916 |
* Do not incorrectly hide namespace input field in the installer. |
| 11917 |
* (T186456) Refactor checks looking for PEAR maik libraries to be clearer. |
| 11918 |
|
| 11919 |
=== Important pre-upgrade notes for 1.31 === |
| 11920 |
* If you're using MySQL, SQLite, or MSSQL, are not using update.php to apply |
| 11921 |
schema changes, and cannot have downtime to run migrateArchiveText.php and |
| 11922 |
apply patch-drop-ar_text.sql manually, you'll have to apply a default value |
| 11923 |
to the ar_text and ar_flags columns of the archive table or make those |
| 11924 |
columns nullable before upgrading to MediaWiki 1.31. |
| 11925 |
maintenance/archives/patch-nullable-ar_text.sql shows how to do this for |
| 11926 |
MySQL. |
| 11927 |
|
| 11928 |
=== Configuration changes in 1.31 === |
| 11929 |
* $wgEnableAPI and $wgEnableWriteAPI are now deprecated and will be removed in |
| 11930 |
a future version. The API is now considered to be stable, secure and |
| 11931 |
essential. |
| 11932 |
* $wgUsejQueryThree was removed, as it is now the default. This was documented |
| 11933 |
as a temporary variable during the migration period, deprecated since 1.29. |
| 11934 |
* $wgLogoHD has been updated to support svg images and uses $wgLogo where |
| 11935 |
possible for fallback images such as png. |
| 11936 |
* (T44246) $wgFilterLogTypes will no longer ignore 'patrol' when user does not |
| 11937 |
have the right to mark things patrolled. |
| 11938 |
* Wikis that contain imported revisions or CentralAuth global blocks should run |
| 11939 |
maintenance/cleanupUsersWithNoId.php. |
| 11940 |
* The configuration settings $wgResourceLoaderMinifierStatementsOnOwnLine and |
| 11941 |
$wgResourceLoaderMinifierMaxLineLength, deprecated since 1.27, were removed. |
| 11942 |
* (T180921) $wgReferrerPolicy now supports having fallbacks for browsers that |
| 11943 |
are not using the latest version of the Referrer Policy specification. |
| 11944 |
* $wgFragmentMode is now set to [ 'legacy', 'html5' ] by default. This is a |
| 11945 |
first step of migration to human-readable section IDs that will later result |
| 11946 |
in 'html5' being the default mode. |
| 11947 |
* CACHE_ACCEL now only supports APC(u) or WinCache. XCache support was removed |
| 11948 |
as upstream is inactive and has no plans to move to PHP 7. |
| 11949 |
* The old CategorizedRecentChanges feature, including its related configuration |
| 11950 |
option $wgAllowCategorizedRecentChanges, has been removed. |
| 11951 |
* (T188472) The 'comma' value for $wgArticleCountMethod is no longer supported |
| 11952 |
for performance reasons, and installations with this setting will now work as |
| 11953 |
if it was configured with 'any'. |
| 11954 |
* (T185753) MediaWiki now defaults to using RemexHtml to tidy up user input, |
| 11955 |
rather than being off by default. If you wish to disable HTML tidying |
| 11956 |
entirely, set $wgTidyConfig to null; if you wish to use the old, deprecated |
| 11957 |
Tidy external binary, both set $wgTidyConfig to null and $wgUseTidy to true. |
| 11958 |
* $wgLogAutopatrol now defaults to false instead of true. |
| 11959 |
* $wgValidateAllHtml was removed and will be ignored. |
| 11960 |
* $wgScriptExtension, deprecated and ignored since 1.25, was removed. See the |
| 11961 |
1.25 release notes for more information. |
| 11962 |
* $wgUseAjax is now marked as deprecated, just like the deprecated AJAX |
| 11963 |
framework that it enables. Some extensions mistakenly used this to check |
| 11964 |
whether any AJAX functionality at all should be enabled, further making this |
| 11965 |
problematic to retain. |
| 11966 |
* $wgDBmysql5 is now deprecated, and will be removed in a future version. It |
| 11967 |
has been marked as experimental ever since it was introduced. |
| 11968 |
|
| 11969 |
=== New features in 1.31 === |
| 11970 |
* (T76554) User sub-pages named ….json are now protected in the same way that |
| 11971 |
….js and ….css pages are, so that configuration options can safely be placed |
| 11972 |
there. |
| 11973 |
* Wikimedia\Rdbms\IDatabase->select() and similar methods now support joins |
| 11974 |
with parentheses for grouping. |
| 11975 |
* As a first pass in standardizing dialog boxes across the MediaWiki product, |
| 11976 |
Html class now provides helper methods for messageBox, successBox, errorBox |
| 11977 |
and warningBox generation. |
| 11978 |
* (T9240) Imports will now record unknown (and, optionally, known) usernames in |
| 11979 |
a format like "iw>Example". |
| 11980 |
* (T20209) Linker (used on history pages, log pages, and so on) will display |
| 11981 |
usernames formed like "iw>Example" as interwiki links, as if by wikitext like |
| 11982 |
[[iw:User:Example|iw>Example]]. |
| 11983 |
* (T111605) The 'ImportHandleUnknownUser' hook allows extensions to auto-create |
| 11984 |
users during an import. |
| 11985 |
* Added a hook, ParserOutputPostCacheTransform, to allow extensions to affect |
| 11986 |
the ParserOutput::getText() post-cache transformations. |
| 11987 |
* Added a hook, UploadForm:getInitialPageText, to allow extensions to alter the |
| 11988 |
initial page text for file uploads. |
| 11989 |
* (T181651) The info page for File pages now displays the file's base-16 SHA1 |
| 11990 |
hash value in the table of basic information. |
| 11991 |
* Style tags with a 'data-mw-deduplicate' attribute will be deduplicated as a |
| 11992 |
ParserOutput::getText() post-cache transformation. This may be disabled by |
| 11993 |
passing 'deduplicateStyles' => false to that method. |
| 11994 |
* The identity of the logged-in or IP "actor" for logged actions is being moved |
| 11995 |
into a new actor table, with the rows in tables such as revision and logging |
| 11996 |
referring to the actor ID instead of storing the user ID and name/IP in |
| 11997 |
every row. |
| 11998 |
* This is currently gated by $wgActorTableSchemaMigrationStage. Most wikis |
| 11999 |
can set this to MIGRATION_NEW and run maintenance/migrateActors.php as |
| 12000 |
soon as any necessary extensions are updated. |
| 12001 |
* Most code accessing rows for logged actions from the database should use |
| 12002 |
the relevant getQueryInfo() methods to get the information needed to build |
| 12003 |
the SQL query. The ActorMigration class may also be used to get feature |
| 12004 |
-flagged information needed to access actor-related fields during the |
| 12005 |
migration period. |
| 12006 |
* Added Wikimedia\Rdbms\IDatabase::cancelAtomic(), to roll back an atomic |
| 12007 |
section without having to roll back the whole transaction. |
| 12008 |
* Wikimedia\Rdbms\IDatabase::doAtomicSection(), non-native ::insertSelect(), |
| 12009 |
and non-MySQL ::replace() and ::upsert() no longer roll back the whole |
| 12010 |
transaction on failure. |
| 12011 |
* (T189785) Added a monthly heartbeat ping to the pingback feature. |
| 12012 |
* The CLI installer (maintenance/install.php) learned to detect and include |
| 12013 |
extensions. Pass --with-extensions to enable that feature. |
| 12014 |
* (T184791) rc_patrolled now has three states: "0" for unpatrolled, |
| 12015 |
"1" for manually patrolled and "2" for autopatrolled actions. |
| 12016 |
* Extensions can now set their type to "editor" if they provide an editor or |
| 12017 |
enhance the editing experience. |
| 12018 |
* Extensions can use a PSR-4 autoloader by setting an "AutoloadNamespaces" |
| 12019 |
property in extension.json. See the documentation at |
| 12020 |
<https://mediawiki.org/wiki/Manual:Extension.json/Schema#AutoloadNamespaces> |
| 12021 |
for more details and an example. |
| 12022 |
* (T19099) Tabs which link to pages that don't exist (like those to uncreated |
| 12023 |
discussion pages) now have a tooltip to indicate state, not just colour. |
| 12024 |
|
| 12025 |
=== External library changes in 1.31 === |
| 12026 |
* pear/mail, pear/mail_mime and pear/mail_mime-decode have been moved from |
| 12027 |
suggested to required. These packages now must be installed via composer |
| 12028 |
and not via PEAR itself. |
| 12029 |
|
| 12030 |
==== Upgraded external libraries ==== |
| 12031 |
* Updated jquery.chosen from v0.9.14 to v1.8.2. |
| 12032 |
* Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency). |
| 12033 |
* Updated nikic/php-parser from 2.1.0 to 3.1.3 (development dependency). |
| 12034 |
* Updated wikimedia/ip-set from 1.1.0 to 1.2.0. |
| 12035 |
* Updated wikimedia/relpath from 2.0.0 to 2.1.1. |
| 12036 |
* Updated wikimedia/running-stat from 1.1.0 to 1.2.0. |
| 12037 |
* Updated wikimedia/wrappedstring from 2.2.0 to 2.3.0. |
| 12038 |
* Updated mediawiki/at-ease from 1.1.0 to 1.2.0. |
| 12039 |
* Updated wikimedia/php-session-serializer from 1.0.4 to 1.0.6. |
| 12040 |
* Updated wikimedia/remex-html from 1.0.2 to 1.0.3. |
| 12041 |
* Updated wikimedia/html-formatter from 1.0.1 to 1.0.2. |
| 12042 |
|
| 12043 |
==== New external libraries ==== |
| 12044 |
* Added wikimedia/object-factory 1.0.0 |
| 12045 |
|
| 12046 |
==== Removed and replaced external libraries ==== |
| 12047 |
* (T17845) The deprecated 'jquery.badge' module was removed. |
| 12048 |
* The deprecated 'jquery.autoEllipsis' module was removed. Use the CSS |
| 12049 |
text-overflow property instead. |
| 12050 |
* The deprecated 'jquery.placeholder' module was removed. |
| 12051 |
* The deprecated 'jquery.appear' module was removed. Use the |
| 12052 |
'mediawiki.viewport' module instead. |
| 12053 |
* mediawiki/at-ease was replaced with wikimedia/at-ease. |
| 12054 |
|
| 12055 |
=== Bug fixes in 1.31 === |
| 12056 |
* (T90902) Non-breaking space in header ID breaks anchor. |
| 12057 |
* (T189375) CSSMin now allows quoted urls in `url()` syntax to start with a |
| 12058 |
space. |
| 12059 |
* (T2087, T10897, T87753, T174639) Whitespace created by category and language |
| 12060 |
links is now stripped rather than leaving blank lines in odd places. |
| 12061 |
* (T3780) Uploads with UTF-8 names now work on PHP7.1+ on Windows servers. |
| 12062 |
* (T182366) UploadBase::checkXMLEncodingMissmatch() now works on PHP 7.1+ |
| 12063 |
|
| 12064 |
=== Action API changes in 1.31 === |
| 12065 |
* (T185058) The 'name' value to tgprop for action=query&list=tags has been |
| 12066 |
removed. It has never made a difference in the output, the name was always |
| 12067 |
returned regardless. |
| 12068 |
* The 'watch' and 'unwatch' parameters for action=move have been removed. They |
| 12069 |
were deprecated and also accidentally nonfunctional since 1.17 in 2010. Use |
| 12070 |
'watchlist' instead. |
| 12071 |
|
| 12072 |
=== Action API internal changes in 1.31 === |
| 12073 |
* ApiBase::getProfileDBTime, deprecated since 1.25, was removed. |
| 12074 |
* ApiBase::getModuleProfileName, deprecated since 1.25, was removed. |
| 12075 |
* ApiBase::getProfileTime, deprecated since 1.25, was removed. |
| 12076 |
|
| 12077 |
=== Languages updated in 1.31 === |
| 12078 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 12079 |
regularly. Below only new and removed languages are listed, as well as |
| 12080 |
changes to languages because of Phabricator reports. |
| 12081 |
|
| 12082 |
* (T180052) Mirandese (mwl) now supports gendered NS_USER/NS_USER_TALK. |
| 12083 |
* (T182305) New language support: Nyungar (nys). |
| 12084 |
* (T186359) New language support: Siberian Tatar [себертатар] (sty). |
| 12085 |
* (T186635) New language support: Guianan Creole (gcr). |
| 12086 |
* (T186647) New language support: Kumyk [къумукъ] (kum). |
| 12087 |
* (T187750) New language support: Spanish formal address (es-formal). |
| 12088 |
* (T187824) New language support: Hungarian formal address (hu-formal). |
| 12089 |
* (T189127) New language support: Gorontalo (gor). |
| 12090 |
|
| 12091 |
=== Breaking changes in 1.31 === |
| 12092 |
* MessageBlobStore::insertMessageBlob(), deprecated in 1.27, was removed. |
| 12093 |
* The OutputPage class constructor now requires a context parameter. |
| 12094 |
Instantiating without context was deprecated in 1.18. |
| 12095 |
* The mw.page JavaScript singleton, deprecated in 1.30, was removed. |
| 12096 |
* Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the |
| 12097 |
related WikiPage::PURGE_* constants, deprecated in 1.29, were removed. |
| 12098 |
* The Article::selectFields(), ::onArticleCreate(), ::onArticleDelete(), and |
| 12099 |
::onArticleEdit() methods, deprecated in 1.24, were removed. |
| 12100 |
* Installer::locateExecutable() and ::locateExecutableInDefaultPaths() were |
| 12101 |
removed. Use ExecutableFinder::findInDefaultPaths() instead. |
| 12102 |
* The deprecated MW_DIFF_VERSION constant was removed. |
| 12103 |
DifferenceEngine::MW_DIFF_VERSION should be used instead. |
| 12104 |
* Due to significant refactoring, method ContribsPager::getUserCond() that had |
| 12105 |
no access restriction has been removed. |
| 12106 |
* The Block class will no longer accept usable-but-missing usernames for |
| 12107 |
'byText' or ->setBlocker(). Callers should either ensure the blocker exists |
| 12108 |
locally or use a new interwiki-format username like "iw>Example". |
| 12109 |
* The following methods and constants from the WatchedItem class, which were |
| 12110 |
deprecated in 1.27, have been removed: |
| 12111 |
* WatchedItem::getTitle() |
| 12112 |
* WatchedItem::fromUserTitle() |
| 12113 |
* WatchedItem::addWatch() |
| 12114 |
* WatchedItem::removeWatch() |
| 12115 |
* WatchedItem::isWatched() |
| 12116 |
* WatchedItem::duplicateEntries() |
| 12117 |
* WatchedItem::IGNORE_USER_RIGHTS |
| 12118 |
* WatchedItem::CHECK_USER_RIGHTS |
| 12119 |
* WatchedItem::DEPRECATED_USAGE_TIMESTAMP |
| 12120 |
* The $statementsOnOwnLine parameter of JavaScriptMinifier::minify was removed. |
| 12121 |
$wgResourceLoaderMinifierStatementsOnOwnLine, the corresponding configuration |
| 12122 |
variable, has been deprecated since 1.27 and was removed as well. |
| 12123 |
* The $maxLineLength parameter of JavaScriptMinifier::minify was removed. |
| 12124 |
$wgResourceLoaderMinifierMaxLineLength, the corresponding configuration |
| 12125 |
variable, has been deprecated since 1.27 and was removed as well. |
| 12126 |
* The HtmlFormatter class, deprecated in 1.27, was removed. The namespaced |
| 12127 |
HtmlFormatter\HtmlFormatter class should be used instead. |
| 12128 |
* The driver 'mysql' for MySQL, deprecated in MediaWiki 1.30, has been removed. |
| 12129 |
The driver has been deprecated since PHP 5.5 and was removed in PHP 7.0. The |
| 12130 |
default driver for MySQL has been 'mysqli' since MediaWiki 1.22. |
| 12131 |
* The following properties of PreparedEdit were deprecated in 1.21 and have |
| 12132 |
been removed: |
| 12133 |
* PreparedEdit->newText |
| 12134 |
* PreparedEdit->oldText |
| 12135 |
* PreparedEdit->pst |
| 12136 |
* ParserOutput objects which are generated using a non-default value for |
| 12137 |
ParserOptions::setWrapOutputClass() can no longer be added to the parser |
| 12138 |
cache. |
| 12139 |
* The following deprecated methods from the OutputPage class have been removed: |
| 12140 |
* OutputPage::addExtensionStyle(); deprecated in 1.27 |
| 12141 |
* OutputPage::getExtStyle(); deprecated in 1.27 |
| 12142 |
* OutputPage::setETag(); deprecated in 1.28 (obsolete no-op) |
| 12143 |
* OutputPage::setSquidMaxage(); deprecated in 1.27 |
| 12144 |
* OutputPage::readOnlyPage(); deprecated in 1.25 |
| 12145 |
* OutputPage::rateLimited(); deprecated in 1.25 |
| 12146 |
* Additionally, the protected OutputPage::$mExtStyles array, only accessed |
| 12147 |
through the above and with no known uses, was removed. |
| 12148 |
* The no-op method Skin::showIPinHeader(), deprecated in 1.27, was removed. |
| 12149 |
* The following variables and methods in EditPage, deprecated in MediaWiki 1.30, |
| 12150 |
were removed: |
| 12151 |
* $isCssJsSubpage — use ::isUserConfigPage() |
| 12152 |
* $isCssSubpage — use ::isUserCssConfigPage() |
| 12153 |
* $isJsSubpage — use ::isUserJsConfigPage() |
| 12154 |
* $isWrongCaseCssJsPage – use ::isWrongCaseUserConfigPage() |
| 12155 |
* ::getSummaryInput() – use ::getSummaryInputWidget() |
| 12156 |
* ::getSummaryInputOOUI() – use ::getSummaryInputWidget() |
| 12157 |
* ::getCheckboxes() – use ::getCheckboxesWidget() or |
| 12158 |
::getCheckboxesDefinition() |
| 12159 |
* ::getCheckboxesOOUI() – use ::getCheckboxesWidget() or |
| 12160 |
::getCheckboxesDefinition() |
| 12161 |
* ResourceLoaderModule::getPosition(), deprecated in 1.29, has been removed. |
| 12162 |
* In User, the cookie-related methods which were wrappers for the functions on |
| 12163 |
the response object, and were deprecated in 1.27, have been removed: |
| 12164 |
* ::setCookie() |
| 12165 |
* ::clearCookie() |
| 12166 |
* ::setExtendedLoginCookie() |
| 12167 |
Note that User::setCookies() remains, and is not deprecated. |
| 12168 |
* Also in User, some auth-related methods which were deprecated in 1.27 have |
| 12169 |
been removed: |
| 12170 |
* ::getEditTokenTimestamp() – use MediaWiki\Session\Token::getTimestamp() |
| 12171 |
* ::getPasswordFactory() – create a PasswordFactory directly |
| 12172 |
* ::passwordChangeInputAttribs() |
| 12173 |
* The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have |
| 12174 |
been removed. |
| 12175 |
* SpecialPageFactory::getList(), deprecated in 1.24, has been removed. You can |
| 12176 |
use ::getNames() instead. |
| 12177 |
* OpenSearch::getOpenSearchTemplate(), deprecated in 1.25, has been removed. You |
| 12178 |
can use ApiOpenSearch::getOpenSearchTemplate() instead. |
| 12179 |
* The global function wfBaseConvert, deprecated in 1.27, has been removed. Use |
| 12180 |
Wikimedia\base_convert() directly. |
| 12181 |
* Calling Database::begin() explicitly during an implicit transaction or when |
| 12182 |
DBO_TRX is set results in an exception. Calling Database::commit() explicitly |
| 12183 |
for an implicit transaction also results in an exception. Previously these |
| 12184 |
were logged as errors. The startAtomic() and endAtomic() methods, or |
| 12185 |
AtomicSectionUpdate should be used instead. |
| 12186 |
* The global function wfOutputHandler() was removed, use the its replacement |
| 12187 |
MediaWiki\OutputHandler::handle() instead. The global function was only |
| 12188 |
sometimes defined. Its replacement is always available via the autoloader. |
| 12189 |
* ChangeTags::listExtensionActivatedTags and ::listExtensionDefinedTags, |
| 12190 |
deprecated in 1.28, have been removed. Use ::listSoftwareActivatedTags() and |
| 12191 |
::listSoftwareDefinedTags() instead. |
| 12192 |
* Title::getTitleInvalidRegex(), deprecated in 1.25, has been removed. You can |
| 12193 |
use MediaWikiTitleCodec::getTitleInvalidRegex() instead. |
| 12194 |
* HTMLForm & VFormHTMLForm::isVForm(), deprecated in 1.25, have been removed. |
| 12195 |
* The ProfileSection class, deprecated in 1.25 and unused, has been removed. |
| 12196 |
* The ResourceLoaderGetLessVars hook, deprecated in 1.30, has been removed. Use |
| 12197 |
ResourceLoaderModule::getLessVars() to expose local variables instead of |
| 12198 |
global ones. |
| 12199 |
* As part of work to modernise user-generated content clean-up, a config option |
| 12200 |
and some methods related to HTML validity were removed without deprecation. |
| 12201 |
The public methods MWTidy::checkErrors() and the path through which it was |
| 12202 |
called, TidyDriverBase::validate(), are removed, as are the testing methods |
| 12203 |
MediaWikiTestCase::assertValidHtmlSnippet() and ::assertValidHtmlDocument(). |
| 12204 |
The $wgValidateAllHtml configuration option is removed and will be ignored. |
| 12205 |
* Execution of external programs using MediaWiki\Shell\Command now applies |
| 12206 |
the RESTRICT_DEFAULT Firejail restriction by default. |
| 12207 |
* The ResourceLoaderModule::getHashMtime() and ::getDefinitionMtime() methods, |
| 12208 |
deprecated in 1.26, were removed. |
| 12209 |
* The deprecated 'mediawiki.widgets.CategorySelector' module alias was removed. |
| 12210 |
Use the 'mediawiki.widgets.CategoryMultiselectWidget' module directly. |
| 12211 |
|
| 12212 |
=== Deprecations in 1.31 === |
| 12213 |
* The Revision class was deprecated in favor of RevisionStore, BlobStore, and |
| 12214 |
RevisionRecord and its subclasses. |
| 12215 |
* The global function wfBCP47 is deprecated in favour of LanguageCode::bcp47. |
| 12216 |
* The global function wfCountDown is now deprecated in favor of |
| 12217 |
Maintenance::countDown. |
| 12218 |
* Several methods for returning lists of fields to select from the database |
| 12219 |
have been deprecated in favor of similar methods that also return the tables |
| 12220 |
to select from and the join conditions for those tables. |
| 12221 |
* Block::selectFields() → Block::getQueryInfo() |
| 12222 |
* RecentChange::selectFields() → RecentChange::getQueryInfo() |
| 12223 |
* ArchivedFile::selectFields() → ArchivedFile::getQueryInfo() |
| 12224 |
* LocalFile::selectFields() → LocalFile::getQueryInfo() |
| 12225 |
* LocalFile::getCacheFields() with a prefix no longer works |
| 12226 |
* LocalFile::getLazyCacheFields() with a prefix no longer works |
| 12227 |
* OldLocalFile::selectFields() → OldLocalFile::getQueryInfo() |
| 12228 |
* RecentChange::selectFields() → RecentChange::getQueryInfo() |
| 12229 |
* Revision::userJoinCond() → Revision::getQueryInfo( [ 'user' ] ) |
| 12230 |
* Revision::selectUserFields() → Revision::getQueryInfo( [ 'user' ] ) |
| 12231 |
* Revision::pageJoinCond() → Revision::getQueryInfo( [ 'page' ] ) |
| 12232 |
* Revision::selectPageFields() → Revision::getQueryInfo( [ 'page' ] ) |
| 12233 |
* Revision::selectTextFields() → Revision::getQueryInfo( [ 'text' ] ) |
| 12234 |
* Revision::selectFields() → Revision::getQueryInfo() |
| 12235 |
* Revision::selectArchiveFields() → Revision::getArchiveQueryInfo() |
| 12236 |
* User::selectFields() → User::getQueryInfo() |
| 12237 |
* WikiPage::selectFields() → WikiPage::getQueryInfo() |
| 12238 |
* Revision::setUserIdAndName() was deprecated. |
| 12239 |
* Access to TitleValue class properties was deprecated, the relevant getters |
| 12240 |
should be used instead. |
| 12241 |
* DifferenceEngine::getDiffBodyCacheKey() is deprecated. Subclasses should |
| 12242 |
override DifferenceEngine::getDiffBodyCacheKeyParams() instead. |
| 12243 |
* Use of Maintenance::error( $err, $die ) to exit script was deprecated. Use |
| 12244 |
Maintenance::fatalError() instead. |
| 12245 |
* Passing a ParserOptions object to OutputPage::parserOptions() is deprecated. |
| 12246 |
* The RevisionInsertComplete hook is now deprecated; use instead the hook |
| 12247 |
RevisionRecordInserted. RevisionInsertComplete is still called, but the second |
| 12248 |
and third parameter will always be null. Hard deprecation is scheduled for |
| 12249 |
1.32. |
| 12250 |
* The following methods that get and set ParserOutput state are deprecated. |
| 12251 |
Callers should use the new stateless $options parameter to |
| 12252 |
ParserOutput::getText() instead. |
| 12253 |
* ParserOptions::getEditSection() |
| 12254 |
* ParserOptions::setEditSection() |
| 12255 |
* ParserOutput::getEditSectionTokens() |
| 12256 |
* ParserOutput::setEditSectionTokens() |
| 12257 |
* ParserOutput::getTOCEnabled() |
| 12258 |
* ParserOutput::setTOCEnabled() |
| 12259 |
* OutputPage::enableSectionEditLinks() |
| 12260 |
* OutputPage::sectionEditLinksEnabled() |
| 12261 |
* The public ParserOutput state fields $mTOCEnabled and $mEditSectionTokens |
| 12262 |
are also deprecated. |
| 12263 |
* License::getLicenses has been deprecated; use License::getLines instead. |
| 12264 |
* QuickTemplate::setRef() was deprecated in favour of QuickTemplate::set(). |
| 12265 |
Setting template variables by reference allowed violating the principle of |
| 12266 |
data being immutable once added to the skin template. In practice, this method |
| 12267 |
was not being used for that. Rather, setRef() existed as memory optimisation |
| 12268 |
for PHP 4. |
| 12269 |
* QuickTemplate::setTranslator() and MediaWikiI18N::set() were deprecated in |
| 12270 |
favour of Skin::msg() parameters. |
| 12271 |
* MediaWikiI18N::translate() was deprecated in favour of Skin::msg() or |
| 12272 |
wfMessage(). |
| 12273 |
* Passing false to ParserOptions::setWrapOutputClass() is deprecated. Use the |
| 12274 |
'unwrap' transform to ParserOutput::getText() instead. |
| 12275 |
* \ObjectFactory (no namespace) is deprecated, the namespaced class |
| 12276 |
\Wikimedia\ObjectFactory from the wikimedia/object-factory library should be |
| 12277 |
used instead. |
| 12278 |
* CommentStore::newKey is deprecated. Instead, get an instance from |
| 12279 |
MediaWikiServices. |
| 12280 |
* The following CommentStore methods have had their signatures changed to |
| 12281 |
introduce a $key parameter, usage of the methods on instances retrieved from |
| 12282 |
CommentStore::newKey will remain unchanged but deprecated: |
| 12283 |
* CommentStore::getFields |
| 12284 |
* CommentStore::getJoin |
| 12285 |
* CommentStore::getComment |
| 12286 |
* CommentStore::getCommentLegacy |
| 12287 |
* CommentStore::insert |
| 12288 |
* CommentStore::insertWithTemplate |
| 12289 |
* The following methods in Title have been renamed, and the old ones are |
| 12290 |
deprecated: |
| 12291 |
* Title::getSkinFromCssJsSubpage – use ::getSkinFromConfigSubpage |
| 12292 |
* Title::isCssOrJsPage – use ::isSiteConfigPage |
| 12293 |
* Title::isCssJsSubpage – use ::isUserConfigPage |
| 12294 |
* Title::isCssSubpage – use ::isUserCssConfigPage |
| 12295 |
* Title::isJsSubpage – use ::isUserJsConfigPage |
| 12296 |
* The following methods related to caching of half-parsed HTML were deprecated: |
| 12297 |
* Parser::serializeHalfParsedText() |
| 12298 |
* Parser::unserializeHalfParsedText() |
| 12299 |
* Parser::isValidHalfParsedText() |
| 12300 |
* StripState::getSubState() |
| 12301 |
* StripState::merge() |
| 12302 |
* The DeferredStringifier class is deprecated, use Message::listParam() instead. |
| 12303 |
* The type string for the parameter $lang of DateFormatter::getInstance is |
| 12304 |
deprecated. |
| 12305 |
* Wikimedia\Rdbms\SavepointPostgres is deprecated. |
| 12306 |
* The DO_MAINTENANCE constant is deprecated. RUN_MAINTENANCE_IF_MAIN should be |
| 12307 |
used instead. |
| 12308 |
* The function wfShellWikiCmd() has been deprecated, use |
| 12309 |
MediaWiki\Shell::makeScriptCommand(). |
| 12310 |
* In the future, the hooks 'PreferencesFormPreSave' and 'PreferencesGetLegend' |
| 12311 |
will be allowed to provide any HTMLForm object rather than PreferencesForm. |
| 12312 |
|
| 12313 |
=== Other changes in 1.31 === |
| 12314 |
* Browser support for Internet Explorer 10 was lowered from Grade A to Grade C. |
| 12315 |
* Browser support for Opera 12 and older was dropped entirely. Opera 15+ |
| 12316 |
continues at Grade A. |
| 12317 |
* Multi-content-revision capability was introduced into the storage layer. See |
| 12318 |
<https://mediawiki.org/wiki/Requests_for_comment/Multi-Content_Revisions>. |
| 12319 |
* The "free" CSS class is now only applied to unbracketed URLs in wikitext. |
| 12320 |
Links written using square brackets will get the class "text" not "free". |
| 12321 |
* RFC 157418: Whitespace is trimmed from wikitext headings, wikitext list items, |
| 12322 |
wikitext table captions, wikitext table headings, wikitext table cells. HTML |
| 12323 |
headings, HTML list items, HTML table captions, HTML table headings, HTML |
| 12324 |
table cells will not have this trimming behavior. |
| 12325 |
|
| 12326 |
== Compatibility == |
| 12327 |
MediaWiki 1.31 requires PHP 7.0.0 or later. Although HHVM 3.18.5 or later is |
| 12328 |
supported, it is generally advised to use PHP 7.0.0 or later for long term |
| 12329 |
support. |
| 12330 |
|
| 12331 |
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used, |
| 12332 |
but support for them is somewhat less mature. There is experimental support for |
| 12333 |
Oracle and Microsoft SQL Server. |
| 12334 |
|
| 12335 |
The supported versions are: |
| 12336 |
|
| 12337 |
* MySQL 5.5.8 or later |
| 12338 |
* PostgreSQL 9.2 or later |
| 12339 |
* SQLite 3.3.7 or later |
| 12340 |
* Oracle 9.0.1 or later |
| 12341 |
* Microsoft SQL Server 2005 (9.00.1399) |
| 12342 |
|
| 12343 |
== Upgrading == |
| 12344 |
1.31 has several database changes since 1.30, and will not work without schema |
| 12345 |
updates. Note that due to changes to some very large tables like the revision |
| 12346 |
table, the schema update may take quite long (minutes on a medium sized site, |
| 12347 |
many hours on a large site). |
| 12348 |
|
| 12349 |
Don't forget to always back up your database before upgrading! |
| 12350 |
|
| 12351 |
See the file UPGRADE for more detailed upgrade instructions, including |
| 12352 |
important information when upgrading from versions prior to 1.11. |
| 12353 |
|
| 12354 |
For notes on 1.30.x and older releases, see HISTORY. |
| 12355 |
|
| 12356 |
== Online documentation == |
| 12357 |
Documentation for both end-users and site administrators is available on |
| 12358 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 12359 |
for pages that explicitly state that their contents are in the public domain): |
| 12360 |
|
| 12361 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 12362 |
|
| 12363 |
== Mailing list == |
| 12364 |
A mailing list is available for MediaWiki user support and discussion: |
| 12365 |
|
| 12366 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 12367 |
|
| 12368 |
A low-traffic announcements-only list is also available: |
| 12369 |
|
| 12370 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 12371 |
|
| 12372 |
It's highly recommended that you sign up for one of these lists if you're |
| 12373 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 12374 |
|
| 12375 |
== IRC help == |
| 12376 |
There's usually someone online in #mediawiki on irc.freenode.net. |
| 12377 |
|
| 12378 |
|
| 12379 |
= MediaWiki 1.30 = |
| 12380 |
|
| 12381 |
== MediaWiki 1.30.2 == |
| 12382 |
|
| 12383 |
This is a security and maintenance release of the MediaWiki 1.30 branch. |
| 12384 |
|
| 12385 |
=== Changes since MediaWiki 1.30.1 === |
| 12386 |
* (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query |
| 12387 |
all titles when asked for none. |
| 12388 |
* (T109121) Remove deprecated pear/mail_mime-decode from composer suggested |
| 12389 |
libraries. |
| 12390 |
* (T207540) Include IP address in "Login for $1 succeeded" log entry. |
| 12391 |
* (T205765) Don't link to the obsolete "Extension Matrix" page in installer. |
| 12392 |
* (T207603) SECURITY: User JS may no longer be loaded with mime type |
| 12393 |
text/javascript if there is no account associated with the username. |
| 12394 |
* (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME |
| 12395 |
type if non-admins can edit the page. |
| 12396 |
* (T207541) Pass email address to mail(). |
| 12397 |
* Fix addition of ug_expiry column to user_groups table on MSSQL. |
| 12398 |
* (T204531) rdbms: reduce LoadBalancer replication log spam. |
| 12399 |
* (T213489) Avoid session double-start in Setup.php. |
| 12400 |
* (T195525) Fix db error outage page. |
| 12401 |
* (T208871) The hard-coded Google search form on the database error page was |
| 12402 |
removed. |
| 12403 |
* (T216968) Return pageid as int in both list=iwbacklinks and |
| 12404 |
list=langbacklinks. |
| 12405 |
* (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when |
| 12406 |
$wgBlockDisablesLogin is true. |
| 12407 |
* (T25227) SECURITY: action=logout now requires to be posted and have a csrf |
| 12408 |
token. |
| 12409 |
* (T222385) resourceloader: Use AND instead of OR for upsert conds in |
| 12410 |
saveFileDependencies(). |
| 12411 |
* (T224374) Fix message parameters so that the message that says SQLite is out |
| 12412 |
of date makes sense. |
| 12413 |
* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when |
| 12414 |
reauthenticating. |
| 12415 |
* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if |
| 12416 |
getLoginSecurityLevel() returns non-false. |
| 12417 |
* (T197279) SECURITY: Fix reauth in Special:ChangeEmail. |
| 12418 |
* (T208881) SECURITY: blacklist CSS var(). |
| 12419 |
* (T209794) SECURITY: rate-limit and prevent blocked users from changing email. |
| 12420 |
* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block. |
| 12421 |
* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query. |
| 12422 |
* (T222036, T222038) SECURITY: Add permission check for user is permitted to |
| 12423 |
view the log type. |
| 12424 |
* (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358. |
| 12425 |
|
| 12426 |
== MediaWiki 1.30.1 == |
| 12427 |
|
| 12428 |
This is a security and maintenance release of the MediaWiki 1.30 branch. |
| 12429 |
|
| 12430 |
=== Changes since MediaWiki 1.30.0 === |
| 12431 |
* (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides |
| 12432 |
'newbie'. |
| 12433 |
* (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's |
| 12434 |
account lock. |
| 12435 |
* (T87572) Make FormatMetadata::flattenArrayReal() work for an associative |
| 12436 |
array. |
| 12437 |
* Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency). |
| 12438 |
* (T189567) the CLI installer (maintenance/install.php) learned to detect and |
| 12439 |
include extensions. Pass --with-extensions to enable that feature. |
| 12440 |
* (T190503) Let built-in web server (maintenance/dev) handle .php requests. |
| 12441 |
* (T167507) selenium: Run Chrome headlessly. |
| 12442 |
* selenium: Pass -no-sandbox to Chrome under Docker. |
| 12443 |
* (T179190) selenium: Move logic for running tests from package.json to |
| 12444 |
selenium.sh |
| 12445 |
* (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds(). |
| 12446 |
* Add default edit rate limit of 90 edits/minute for all users. |
| 12447 |
* (T186565) Fix PHP Notice from `ob_end_flush()` in `FileRepo::streamFile()`. |
| 12448 |
* oojs/oojs-ui updated to remove an unnecessary dependancy. |
| 12449 |
* (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported. |
| 12450 |
* (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete |
| 12451 |
hook. |
| 12452 |
* (T196672) The mtime of extension.json files is now able to be zero |
| 12453 |
* (T180403) Validate $length in padleft/padright parser functions. |
| 12454 |
* (T143790) Make $wgEmailConfirmToEdit only affect edit actions. |
| 12455 |
* (T193995) Fix undefined patchPath() method call in parser tests. |
| 12456 |
* Special:BotPasswords now requires reauthentication. |
| 12457 |
* (T191608, T187638) Add 'logid' parameter to Special:Log. |
| 12458 |
* (T193829) Indicate when a Bot Password needs reset. |
| 12459 |
* (T151415) Log email changes. |
| 12460 |
* (T200861) Fix total breakage of SQLite web upgrade. |
| 12461 |
* (T202550) Unbreak SpecialListusersHeaderForm and SpecialListusersHeader |
| 12462 |
hooks. |
| 12463 |
* (T190539) Explicitly require Postgres 9.1. |
| 12464 |
* (T118420) Unbreak Oracle installer. |
| 12465 |
|
| 12466 |
== MediaWiki 1.30.0 == |
| 12467 |
|
| 12468 |
=== Changes since MediaWiki 1.30.0-rc.0 === |
| 12469 |
* Upgraded Moment.js from v2.15.0 to v2.19.3. |
| 12470 |
* Add ip_changes to postgres/tables.sql. |
| 12471 |
* Skip null shell parameters. |
| 12472 |
* Add wfWaitForSlaves() to maintenance/migrateComments.php. |
| 12473 |
* (T182245) Fix join conditions in ImageListPager. |
| 12474 |
* (T178626) Revert #contentSub and #jump-to-nav margin changes. |
| 12475 |
|
| 12476 |
=== MySQL version requirement in 1.30 === |
| 12477 |
As of 1.30, MediaWiki now requires MySQL 5.5.8 or higher (see Compatibility |
| 12478 |
section). |
| 12479 |
|
| 12480 |
=== Configuration changes in 1.30 === |
| 12481 |
* The "C.UTF-8" locale should be used for $wgShellLocale, if available, to avoid |
| 12482 |
unexpected behavior when code uses locale-sensitive string comparisons. For |
| 12483 |
example, the Scribunto extension considers "bar" < "Foo" in most locales |
| 12484 |
since it ignores case. |
| 12485 |
* $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See |
| 12486 |
documentation of $wgShellLocale for details. |
| 12487 |
* $wgShellLocale is now applied for all requests. wfInitShellLocale() is |
| 12488 |
deprecated and a no-op, as it is no longer needed. |
| 12489 |
* $wgJobClasses may now specify callback functions as an alternative to plain |
| 12490 |
class names. This is intended for extensions that want control over the |
| 12491 |
instantiation of their jobs, to allow for proper dependency injection. |
| 12492 |
* $wgResourceModules may now specify callback functions as an alternative |
| 12493 |
to plain class names, using the 'factory' key in the module description |
| 12494 |
array. This allows dependency injection to be used for ResourceLoader modules. |
| 12495 |
* $wgExceptionHooks has been removed. |
| 12496 |
* (T163562) $wgRangeContributionsCIDRLimit was introduced to control the size |
| 12497 |
of IP ranges that can be queried at Special:Contributions. |
| 12498 |
* (T45547) $wgUsePigLatinVariant added (off by default). |
| 12499 |
* (T152540) MediaWiki now supports a section ID escaping style that allows to |
| 12500 |
display non-Latin characters verbatim on many modern browsers. This is |
| 12501 |
controlled by the new configuration setting, $wgFragmentMode. |
| 12502 |
* $wgExperimentalHtmlIds is now deprecated and will be removed in a future |
| 12503 |
version, use $wgFragmentMode to migrate off it to a modern alternative. |
| 12504 |
* $wgExternalInterwikiFragmentMode was introduced to control how fragments in |
| 12505 |
sinterwikis going outside of current wiki farm are encoded. |
| 12506 |
* (T120333) Soft-deprecated the use of PHP extension 'mysql' in favor of |
| 12507 |
'mysqli'. This PHP extension was deprecated in PHP 5.5 and removed in PHP 7.0. |
| 12508 |
MediaWiki auto-selects the 'mysqli' driver since MediaWiki 1.22, except if |
| 12509 |
explicitly requested through the configuration parameter $wgDBservers. |
| 12510 |
* $wgOOUIEditPage was removed, as it is now the default. This was documented as |
| 12511 |
a temporary variable during the migration period. |
| 12512 |
|
| 12513 |
=== New features in 1.30 === |
| 12514 |
* (T37247) Output from Parser::parse() will now be wrapped in a div with |
| 12515 |
class="mw-parser-output" by default. This may be changed or disabled using |
| 12516 |
ParserOptions::setWrapOutputClass(). |
| 12517 |
* (T163562) Added ability to search for contributions within an IP ranges |
| 12518 |
at Special:Contributions. |
| 12519 |
* Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software- |
| 12520 |
specific tags to be added by users. |
| 12521 |
* Added a 'ParserOptionsRegister' hook to allow extensions to register |
| 12522 |
additional parser options. |
| 12523 |
* (T45547) Included Pig Latin, a language game in English, as a |
| 12524 |
LanguageConverter variant. This allows English-speaking developers |
| 12525 |
to develop and test LanguageConverter more easily. Pig Latin can be |
| 12526 |
enabled by setting $wgUsePigLatinVariant to true. |
| 12527 |
* Added RecentChangesPurgeRows hook to allow extensions to purge data that |
| 12528 |
depends on the recentchanges table. |
| 12529 |
* Added JS config values wgDiffOldId/wgDiffNewId to the output of diff pages. |
| 12530 |
* (T2424) Added direct unwatch links to entries in Special:Watchlist (if the |
| 12531 |
'watchlistunwatchlinks' preference option is enabled). With JavaScript |
| 12532 |
enabled, these links toggle so the user can also re-watch pages that have |
| 12533 |
just been unwatched. |
| 12534 |
* Added $wgParserTestMediaHandlers, where mock media handlers can be passed to |
| 12535 |
MediaHandlerFactory for parser tests. |
| 12536 |
* Edit summaries, block reasons, and other "comments" are now stored in a |
| 12537 |
separate database table. Use the CommentFormatter class to access them. |
| 12538 |
** This is currently gated by $wgCommentTableSchemaMigrationStage. Most wikis |
| 12539 |
can set this to MIGRATION_NEW and run maintenance/migrateComments.php as |
| 12540 |
soon as any necessary extensions are updated. |
| 12541 |
* (T138166) Added ability for users to prohibit other users from sending them |
| 12542 |
emails with Special:Emailuser. Can be enabled by setting |
| 12543 |
$wgEnableUserEmailBlacklist to true. |
| 12544 |
* (T67297) $wgBrowserBlacklist is deprecated, and changing it will have no |
| 12545 |
effect. Instead, users using browsers that do not support Unicode will be |
| 12546 |
unable to edit and should upgrade to a modern browser instead. |
| 12547 |
|
| 12548 |
=== External library changes in 1.30 === |
| 12549 |
|
| 12550 |
==== Upgraded external libraries ==== |
| 12551 |
* Updated justinrainbow/json-schema from v3.0 to v5.2. |
| 12552 |
* Updated mediawiki/mediawiki-codesniffer from v0.7.2 to v0.12.0. |
| 12553 |
* Updated wikimedia/composer-merge-plugin from v1.4.0 to v1.4.1. |
| 12554 |
* Updated wikimedia/relpath from v1.0.3 to v2.0.0. |
| 12555 |
* Updated OOjs from v2.0.0 to v2.1.0. |
| 12556 |
* Updated OOUI from v0.21.1 to v0.23.0. |
| 12557 |
* Updated QUnit from v1.23.1 to v2.4.0. |
| 12558 |
* Updated phpunit/phpunit from v4.8.35 to v4.8.36. |
| 12559 |
* Upgraded Moment.js from v2.15.0 to v2.19.3. |
| 12560 |
|
| 12561 |
==== New external libraries ==== |
| 12562 |
* The class \TestingAccessWrapper has been moved to the external library |
| 12563 |
wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper. |
| 12564 |
* Purtle, a fast, lightweight RDF generator. |
| 12565 |
|
| 12566 |
=== Bug fixes in 1.30 === |
| 12567 |
* (T151633) Ordered list items use now Devanagari digits in Nepalese |
| 12568 |
(thanks to Sfic) |
| 12569 |
|
| 12570 |
=== Action API changes in 1.30 === |
| 12571 |
* (T37247) action=parse output will be wrapped in a div with |
| 12572 |
class="mw-parser-output" by default. This may be changed or disabled using |
| 12573 |
the new 'wrapoutputclass' parameter. |
| 12574 |
* When errorformat is not 'bc', abort reasons from action=login will be |
| 12575 |
formatted as specified by the error formatter parameters. |
| 12576 |
* action=compare can now handle arbitrary text, deleted revisions, and |
| 12577 |
returning users and edit comments. |
| 12578 |
* (T164106) The 'rvdifftotext', 'rvdifftotextpst', 'rvdiffto', |
| 12579 |
'rvexpandtemplates', 'rvgeneratexml', 'rvparse', and 'rvprop=parsetree' |
| 12580 |
parameters to prop=revisions are deprecated, as are the similarly named |
| 12581 |
parameters to prop=deletedrevisions, list=allrevisions, and |
| 12582 |
list=alldeletedrevisions. Use action=compare, action=parse, or |
| 12583 |
action=expandtemplates instead. |
| 12584 |
|
| 12585 |
=== Action API internal changes in 1.30 === |
| 12586 |
* ApiBase::getDescriptionMessage() and the "apihelp-*-description" messages are |
| 12587 |
deprecated. The existing message should be split between "apihelp-*-summary" |
| 12588 |
and "apihelp-*-extended-description". |
| 12589 |
* (T123931) Individual values of multi-valued parameters can now be marked as |
| 12590 |
deprecated. |
| 12591 |
|
| 12592 |
=== Languages updated in 1.30 === |
| 12593 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 12594 |
regularly. Below only new and removed languages are listed, as well as |
| 12595 |
changes to languages because of Phabricator reports. |
| 12596 |
|
| 12597 |
* Added: kbp (Kabɩyɛ / Kabiyè) |
| 12598 |
* Added: skr (Saraiki, سرائیکی) |
| 12599 |
* Added: tay (Tayal / Atayal) |
| 12600 |
* Removed: tokipona (Toki Pona) |
| 12601 |
|
| 12602 |
==== Pig Latin added ==== |
| 12603 |
* (T45547) Added Pig Latin, a made-up English variant (en-x-piglatin), |
| 12604 |
for easier variant development and testing. Disabled by default. It can be |
| 12605 |
enabled by setting $wgUsePigLatinVariant to true. |
| 12606 |
|
| 12607 |
=== Other changes in 1.30 === |
| 12608 |
* The use of an associative array for $wgProxyList, where the IP address is in |
| 12609 |
the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]). |
| 12610 |
Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]). |
| 12611 |
* mw.user.bucket (deprecated in 1.23) was removed. |
| 12612 |
* LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are |
| 12613 |
deprecated. There are no known callers. |
| 12614 |
* File::getStreamHeaders() was deprecated. |
| 12615 |
* MediaHandler::getStreamHeaders() was deprecated. |
| 12616 |
* Title::canTalk() was deprecated. The new Title::canHaveTalkPage() should be |
| 12617 |
used instead. |
| 12618 |
* MWNamespace::canTalk() was deprecated. The new MWNamespace::hasTalkNamespace() |
| 12619 |
should be used instead. |
| 12620 |
* The ExtractThumbParameters hook (deprecated in 1.21) was removed. |
| 12621 |
* The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both |
| 12622 |
deprecated in 1.24) were removed. |
| 12623 |
* wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and |
| 12624 |
BagOStuff::makeGlobalKey() should be used instead. |
| 12625 |
* (T146304) Preprocessor handling of LanguageConverter markup has been improved. |
| 12626 |
As a result of the new uniform handling, '-{' may need to be escaped |
| 12627 |
(for example, as '-<nowiki/>{') where it occurs inside template arguments |
| 12628 |
or wikilinks. |
| 12629 |
* (T163966) Page moves are now counted as edits for the purposes of |
| 12630 |
autopromotion, i.e., they increment the user_editcount field in the database. |
| 12631 |
* Two new hooks, LogEventsListLineEnding and NewPagesLineEnding, were added for |
| 12632 |
manipulating Special:Log and Special:NewPages lines. |
| 12633 |
* The OldChangesListRecentChangesLine, EnhancedChangesListModifyLineData, |
| 12634 |
PageHistoryLineEnding, ContributionsLineEnding and |
| 12635 |
DeletedContributionsLineEnding hooks have an additional parameter, for |
| 12636 |
manipulating HTML data attributes of RC/history lines. |
| 12637 |
EnhancedChangesListModifyBlockLineData can do that via the |
| 12638 |
$data['attribs'] subarray. |
| 12639 |
* (T130632) The OutputPage::enableTOC() method was removed. |
| 12640 |
* WikiPage::getParserOutput() will now throw an exception if passed |
| 12641 |
ParserOptions that would pollute the parser cache. Callers should use |
| 12642 |
WikiPage::makeParserOptions() to create the ParserOptions object and only |
| 12643 |
change options that affect the parser cache key. |
| 12644 |
* Article::viewRedirect() is deprecated. |
| 12645 |
* IP::isValidBlock() was deprecated. Use the equivalent IP::isValidRange(). |
| 12646 |
* DeprecatedGlobal no longer supports passing in a direct value, it requires a |
| 12647 |
callable factory function or a class name. |
| 12648 |
* The $parserMemc global, wfGetParserCacheStorage(), and |
| 12649 |
ParserCache::singleton() are all deprecated. The main ParserCache instance |
| 12650 |
should be obtained from MediaWikiServices instead. Access to the underlying |
| 12651 |
BagOStuff is possible through the new ParserCache::getCacheStorage() method. |
| 12652 |
* .mw-ui-constructive CSS class (deprecated in 1.27) was removed. |
| 12653 |
* Sanitizer::escapeId() was deprecated, use escapeIdForAttribute(), |
| 12654 |
escapeIdForLink() or escapeIdForExternalInterwiki() instead. |
| 12655 |
* Title::escapeFragmentForURL() was deprecated, use one of the aforementioned |
| 12656 |
Sanitizer functions or, if possible, Title::getFragmentForURL(). |
| 12657 |
* Second parameter to Sanitizer::escapeIdReferenceList() ($options) now does |
| 12658 |
nothing and is deprecated. |
| 12659 |
* mw.util.escapeId() was deprecated, use escapeIdForAttribute() or |
| 12660 |
escapeIdForLink(). |
| 12661 |
* MagicWord::replaceMultiple() (deprecated in 1.25) was removed. |
| 12662 |
* WikiImporter now requires the second parameter to be an instance of the |
| 12663 |
Config, class. Prior to that, the Config parameter was optional (a behavior |
| 12664 |
deprecated in 1.25). |
| 12665 |
* Removed 'jquery.mwExtension' module. (deprecated since 1.26) |
| 12666 |
* mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette |
| 12667 |
any more. |
| 12668 |
* CdbReader, CdbWriter, CdbException classes (deprecated in 1.25) were removed. |
| 12669 |
The namespaced classes in the Cdb namespace should be used instead. |
| 12670 |
* IPSet class (deprecated in 1.26) was removed. The namespaced IPSet\IPSet |
| 12671 |
should be used instead. |
| 12672 |
* RunningStat class (deprecated in 1.27) was removed. The namespaced |
| 12673 |
RunningStat\RunningStat should be used instead. |
| 12674 |
* MWMemcached and MemCachedClientforWiki classes (deprecated in 1.27) were |
| 12675 |
removed. |
| 12676 |
The MemcachedClient class should be used instead. |
| 12677 |
* EditPage underwent some refactoring and deprecations: |
| 12678 |
* EditPage::isOouiEnabled() is deprecated and will always return true. |
| 12679 |
* EditPage::getSummaryInput() and ::getSummaryInputOOUI() are deprecated. |
| 12680 |
Please use ::getSummaryInputWidget() instead. |
| 12681 |
* EditPage::getCheckboxes() and ::getCheckboxesOOUI() are deprecated. Please |
| 12682 |
use ::getCheckboxesWidget() instead. |
| 12683 |
* Creating an EditPage instance without calling EditPage::setContextTitle() |
| 12684 |
should be avoided and will be deprecated in a future release. |
| 12685 |
* EditPage::safeUnicodeInput() and ::safeUnicodeOutput() are deprecated and |
| 12686 |
no-ops. |
| 12687 |
* EditPage::$isCssJsSubpage, ::$isCssSubpage, and ::$isJsSubpage are |
| 12688 |
deprecated. The corresponding methods from Title should be used instead. |
| 12689 |
* EditPage::$isWrongCaseCssJsPage is deprecated. There is no replacement. |
| 12690 |
* EditPage::$mArticle and ::$mTitle are deprecated for public usage. The |
| 12691 |
getters ::getArticle() and ::getTitle() should be used instead. |
| 12692 |
* Trying to control or fake EditPage context by overriding $wgUser, |
| 12693 |
$wgRequest, $wgOut, and $wgLang is no longer supported and won't work. The |
| 12694 |
IContextSource returned from EditPage::getContext() must be modified |
| 12695 |
instead. |
| 12696 |
* Parser::getRandomString() (deprecated in 1.26) was removed. |
| 12697 |
* Parser::uniqPrefix() (deprecated in 1.26) was removed. |
| 12698 |
* Parser::extractTagsAndParams() now only accepts three arguments. The fourth, |
| 12699 |
$uniq_prefix was deprecated in 1.26 and has now been removed. |
| 12700 |
* (T172514) The following tables have had their UNIQUE indexes turned into |
| 12701 |
proper PRIMARY KEYs for increased maintainability: categorylinks, imagelinks, |
| 12702 |
iwlinks, langlinks, log_search, module_deps, objectcache, pagelinks, |
| 12703 |
query_cache, site_stats, templatelinks, text, transcache, user_former_groups, |
| 12704 |
user_properties. |
| 12705 |
* IDatabase::nextSequenceValue() is no longer needed by any database backends |
| 12706 |
(formerly it was needed by PostgreSQL and Oracle), and is now deprecated. |
| 12707 |
* (T146591) The lc_lang_key index on the l10n_cache table has been changed into |
| 12708 |
a PRIMARY KEY. |
| 12709 |
* (T157227) bot_password.bp_user, change_tag.ct_log_id, change_tag.ct_rev_id, |
| 12710 |
page_restrictions.pr_user, tag_summary.ts_log_id, tag_summary.ts_rev_id and |
| 12711 |
user_properties.up_user have all been made unsigned on MySQL. |
| 12712 |
* DB_SLAVE is deprecated. DB_REPLICA should be used instead. |
| 12713 |
* wfUsePHP() is deprecated. |
| 12714 |
* wfFixSessionID() was removed. |
| 12715 |
* wfShellExec() and related functions are deprecated, use Shell::command(). This |
| 12716 |
also slightly changes the behavior of how execution time limits are calculated |
| 12717 |
when only some of defaults are overridden per-call. When in doubt, always |
| 12718 |
override both wall clock and CPU time. |
| 12719 |
* (T138166) SpecialEmailUser::getTarget() now requires a second argument, the |
| 12720 |
sending user object. Using the method without the second argument is |
| 12721 |
deprecated. |
| 12722 |
* (T67297) Browsers that don't support Unicode will have their edits rejected. |
| 12723 |
* (T178450) The module 'jquery.badge' is deprecated and will be removed in a |
| 12724 |
future release. For notifying the user of an event, the Notifications ("Echo") |
| 12725 |
system should be used instead. |
| 12726 |
* (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and |
| 12727 |
browser sends non-standard url escaping. |
| 12728 |
* (T165846) SECURITY: BotPassword login attempts weren't throttled. |
| 12729 |
|
| 12730 |
= MediaWiki 1.29 = |
| 12731 |
|
| 12732 |
== MediaWiki 1.29.3 == |
| 12733 |
|
| 12734 |
This is a security and maintenance release of the MediaWiki 1.29 branch. |
| 12735 |
|
| 12736 |
=== Changes since 1.29.2 === |
| 12737 |
* (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides |
| 12738 |
'newbie'. |
| 12739 |
* (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's |
| 12740 |
account lock. |
| 12741 |
* (T180551) Fix LanguageSrTest for language converter |
| 12742 |
* (T180552) Fix language converter parser test with self-close tags |
| 12743 |
* (T180537) Remove $wgAuth usage from wrapOldPasswords.php |
| 12744 |
* (T180485) InputBox: Have inputbox langconvert certain attributes |
| 12745 |
* (T161732, T181547) Upgraded Moment.js from v2.15.0 to v2.19.3. |
| 12746 |
* (T172927) Drop vendor from MW release branch |
| 12747 |
* (T87572) Make FormatMetadata::flattenArrayReal() work for an associative array |
| 12748 |
* Updated composer/spdx-licenses from 1.1.4 to 1.3.0 (development dependency). |
| 12749 |
* (T189567) the CLI installer (maintenance/install.php) learned to detect and |
| 12750 |
include extensions. Pass --with-extensions to enable that feature. |
| 12751 |
* (T182381) Mask deprecated call in WatchedItemUnitTest |
| 12752 |
* (T190503) Let built-in web server (maintenance/dev) handle .php requests. |
| 12753 |
* The karma qunit tests would fail on some configuration due to headers already |
| 12754 |
sent. Check headers_sent() before sending cpPosTime headers |
| 12755 |
* (T167507) selenium: Run Chrome headlessly. |
| 12756 |
* selenium: Pass -no-sandbox to Chrome under Docker |
| 12757 |
* (T191247) Use MediaWiki\SuppressWarnings around trigger_error('') instead @ |
| 12758 |
* (T75174, T161041) Unit test ChangesListSpecialPageTest::testFilterUserExpLevel |
| 12759 |
fails under SQLite. |
| 12760 |
* (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds(). |
| 12761 |
* (T179190) selenium: Move test running logic from package.json to selenium.sh. |
| 12762 |
* (T117839, T193200) PDFHandler: Fix for pdfinfo changes in poppler-utils 0.48. |
| 12763 |
* Add default edit rate limit of 90 edits/minute for all users. |
| 12764 |
* (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported. |
| 12765 |
* (T196672) The mtime of extension.json files is now able to be zero |
| 12766 |
* (T180403) Validate $length in padleft/padright parser functions. |
| 12767 |
* (T143790) Make $wgEmailConfirmToEdit only affect edit actions. |
| 12768 |
* (T194237) Special:BotPasswords now requires reauthentication. |
| 12769 |
* (T191608, T187638) Add 'logid' parameter to Special:Log. |
| 12770 |
* (T176097) resourceloader: Disable a flaky MessageBlobStoreTest case |
| 12771 |
* (T193829) Indicate when a Bot Password needs reset. |
| 12772 |
* (T151415) Log email changes. |
| 12773 |
* (T118420) Unbreak Oracle installer. |
| 12774 |
|
| 12775 |
== MediaWiki 1.29.2 == |
| 12776 |
|
| 12777 |
This is a security and maintenance release of the MediaWiki 1.29 branch. |
| 12778 |
|
| 12779 |
=== Changes since 1.29.1 === |
| 12780 |
* (T166757) Avoid scoped lock errors in Category::refreshCounts() due to |
| 12781 |
nesting. |
| 12782 |
* (T175439) Unbreak Postgres Updater when setting defaults for a column. |
| 12783 |
* (T160298) Remove use of implicitGroupBy() in ActiveUsersPager. |
| 12784 |
* Fixed login button label to accept RawMessage. |
| 12785 |
* Fixed case of SpecialRecentChanges class usage. |
| 12786 |
* (T174255) Declare uploadCount property in importDump.php. |
| 12787 |
* (T163646) Pass a string not an int to mysql_real_escape_string(). |
| 12788 |
* (T180143) Bump justinrainbow/json-schema development dependency to ~5.2. |
| 12789 |
* Updated dev dependancy phpunit/phpunit from v4.8.35 to v4.8.36. |
| 12790 |
* (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and |
| 12791 |
browser sends non-standard url escaping. |
| 12792 |
* (T165846) SECURITY: BotPassword login attempts weren't throttled. |
| 12793 |
* (T128209) SECURITY: Reflected File Download from api.php. |
| 12794 |
* (T134100) SECURITY: Do not reveal if user exists during login failure. |
| 12795 |
* (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS. |
| 12796 |
* (T125163) SECURITY: Make anchor for headlines escape > and <. |
| 12797 |
* (T180237) SECURITY: Protect vendor folder with .htaccess. |
| 12798 |
* (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in |
| 12799 |
update.php. |
| 12800 |
* (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit. |
| 12801 |
* (T119158) SECURITY: Handle -{}- syntax in attributes safely. |
| 12802 |
* (T180488) (T125177) "api.log contains passwords in plaintext" wasn't correctly |
| 12803 |
fixed in all branches in the previous security release. |
| 12804 |
|
| 12805 |
== MediaWiki 1.29.1 == |
| 12806 |
|
| 12807 |
This is a maintenance release of the MediaWiki 1.29 branch. |
| 12808 |
|
| 12809 |
The SpamBlacklist and PdfHandler extensions were missing from the generated |
| 12810 |
packages. |
| 12811 |
|
| 12812 |
=== Changes since 1.29.1 === |
| 12813 |
* (T164999) Define mw.Upload.Dialog.static.name in mediawiki.Upload.Dialog.js. |
| 12814 |
* (T172061) Fix fatal when passing a category to refreshLinks.php. |
| 12815 |
|
| 12816 |
== MediaWiki 1.29.0 == |
| 12817 |
|
| 12818 |
=== Configuration changes in 1.29 === |
| 12819 |
* Default cookie expiration time has been reduced to 30 days. Login cookie |
| 12820 |
expiration time is kept at 180 days. |
| 12821 |
* A new configuration variable has been added: $wgCookieSetOnAutoblock. This |
| 12822 |
determines whether to set a cookie when a user is autoblocked. Doing so means |
| 12823 |
that a blocked user, even after logging out and moving to a new IP address, |
| 12824 |
will still be blocked. |
| 12825 |
* The resetpassword right and associated password reset capture feature has |
| 12826 |
been removed. |
| 12827 |
* The $error parameter to the EmailUser hook should be set to a Status object |
| 12828 |
or boolean false. This should be compatible with at least MediaWiki 1.23 if |
| 12829 |
not earlier. Returning a raw HTML string is now deprecated. |
| 12830 |
* The $message parameter to the ApiCheckCanExecute hook should be set to an |
| 12831 |
ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a |
| 12832 |
code for ApiBase::parseMsg() will no longer work. |
| 12833 |
* ApiBase::$messageMap is no longer public. Code attempting to access it will |
| 12834 |
result in a PHP fatal error. |
| 12835 |
* $wgUserEmailUseReplyTo is now true by default to work around restrictive DMARC |
| 12836 |
policies. |
| 12837 |
* Subpages are now enabled by default in the Template namespace. Set |
| 12838 |
$wgNamespacesWithSubpages[NS_TEMPLATE] to false to keep the old behavior. |
| 12839 |
* $wgRunJobsAsync is now false by default (T142751). This change only affects |
| 12840 |
wikis with $wgJobRunRate > 0. |
| 12841 |
* (T158474) "Unknown user" has been added to $wgReservedUsernames. |
| 12842 |
* (T156983) $wgRateLimitsExcludedIPs now accepts CIDR ranges as well as single |
| 12843 |
IPs. |
| 12844 |
* $wgDummyLanguageCodes is deprecated. Additional language code mappings may be |
| 12845 |
added to $wgExtraLanguageCodes instead. |
| 12846 |
* (T161453) LocalisationCache will no longer use the temporary directory in it's |
| 12847 |
fallback chain when trying to work out where to write the cache. |
| 12848 |
* The user right 'editusercssjs' (deprecated in 1.16) was removed. Use |
| 12849 |
'editusercss' and 'edituserjs' in $wgGroupPermissions and elsewhere instead. |
| 12850 |
|
| 12851 |
=== New features in 1.29 === |
| 12852 |
* (T5233) A cookie can now be set when a user is autoblocked, to track that user |
| 12853 |
if they move to a new IP address. This is disabled by default. |
| 12854 |
* Added ILocalizedException interface to standardize the use of localized |
| 12855 |
exceptions, largely so the API can handle them more sensibly. |
| 12856 |
* Blocks created automatically by MediaWiki, such as for configured proxies or |
| 12857 |
dnsbls, are now indicated as such and use a new i18n message when displayed. |
| 12858 |
* Added new $wgHTTPImportTimeout setting. Sets timeout for |
| 12859 |
downloading the XML dump during a transwiki import in seconds. |
| 12860 |
* Parser limit report is now available in machine-readable format to JavaScript |
| 12861 |
via mw.config.get('wgPageParseReport'). |
| 12862 |
* Added $wgSoftBlockRanges, to allow for automatically blocking anonymous edits |
| 12863 |
from certain IP ranges (e.g. private IPs). |
| 12864 |
* (T59603) Added new magic word {{PAGELANGUAGE}} which returns the language code |
| 12865 |
of the page being parsed. |
| 12866 |
* HTML5 form validation attributes will no longer be suppressed. Originally |
| 12867 |
browsers had poor support for them, but modern browsers handle them fine. |
| 12868 |
This might affect some forms that used them and only worked because the |
| 12869 |
attributes were not actually being set. |
| 12870 |
* Expiry times can now be specified when users are added to user groups. |
| 12871 |
* Completely new user interface for the RecentChanges page, which |
| 12872 |
structures filters into user-friendly groups. This has corresponding |
| 12873 |
changes to how filters are registered by core and extensions. |
| 12874 |
* The edit form now uses pretty OOjs UI buttons, checkboxes and summary input. |
| 12875 |
Because this change can cause problems for extensions and on-wiki |
| 12876 |
scripts depending on the exact HTML, the old version is still available |
| 12877 |
and can be used by setting $wgOOUIEditPage = false; in LocalSettings.php. |
| 12878 |
This will be removed later and OOjs UI will become the only option. |
| 12879 |
To make testing easier, users can also force either mode by adding |
| 12880 |
&ooui=true or &ooui=false to the action=edit URL. |
| 12881 |
|
| 12882 |
=== External library changes in 1.29 === |
| 12883 |
|
| 12884 |
==== Upgraded external libraries ==== |
| 12885 |
* Updated QUnit from v1.22.0 to v1.23.1. |
| 12886 |
* Updated cssjanus from v1.1.2 to v1.2.0. |
| 12887 |
* Updated psr/log from v1.0.0 to v1.0.2. |
| 12888 |
* Update Moment.js from v2.8.4 to v2.15.0. |
| 12889 |
* Updated oyejorge/less.php from v1.7.0.10 to v1.7.0.14. |
| 12890 |
* Updated monolog from v1.18.2 to 1.22.1. |
| 12891 |
* Updated wikimedia/composer-merge-plugin from v1.3.1 to v1.4.0. |
| 12892 |
* Updated OOjs from v1.1.10 to v2.0.0. |
| 12893 |
* Updated jQuery from v1.11.3 to v3.2.1 (including jQuery Migrate v3.0.0). |
| 12894 |
|
| 12895 |
==== New external libraries ==== |
| 12896 |
* Added wikimedia/timestamp v1.0.0. |
| 12897 |
* Added wikimedia/remex-html v1.0.1. |
| 12898 |
|
| 12899 |
==== Removed and replaced external libraries ==== |
| 12900 |
|
| 12901 |
=== Bug fixes in 1.29 === |
| 12902 |
* (T62604) Core parser functions returning a number now format the number |
| 12903 |
according to the page content language, not wiki content language. |
| 12904 |
* (T27187) Search suggestions based on jquery.suggestions will now correctly |
| 12905 |
only highlight prefix matches in the results. |
| 12906 |
* (T157035) "new mw.Uri()" was ignoring options when using default URI. |
| 12907 |
* Special:Allpages can no longer be filtered by redirect in miser mode. |
| 12908 |
* (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is |
| 12909 |
installed. |
| 12910 |
* (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow |
| 12911 |
redirect to interwiki links. |
| 12912 |
* (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when |
| 12913 |
$wgAdvancedSearchHighlighting is true. |
| 12914 |
* (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep |
| 12915 |
their values out of the logs. |
| 12916 |
* (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a |
| 12917 |
CSRF token. |
| 12918 |
* (T156184) SECURITY: Escape content model/format url parameter in message. |
| 12919 |
* (T151735) SECURITY: SVG filter evasion using default attribute values in DTD |
| 12920 |
declaration. |
| 12921 |
* (T161453) SECURITY: LocalisationCache will no longer use the temporary |
| 12922 |
directory in it's fallback chain when trying to work out where to write the |
| 12923 |
cache. |
| 12924 |
* (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file |
| 12925 |
inclusion syntax's link parameter. |
| 12926 |
* (T108138) SECURITY: Sysops can undelete pages, although the page is protected |
| 12927 |
against it. |
| 12928 |
|
| 12929 |
=== Action API changes in 1.29 === |
| 12930 |
* Submitting sensitive authentication request parameters to action=login, |
| 12931 |
action=clientlogin, action=createaccount, action=linkaccount, and |
| 12932 |
action=changeauthenticationdata in the query string is now an error. They |
| 12933 |
should be submitted in the POST body instead. |
| 12934 |
* The capture option for action=resetpassword has been removed |
| 12935 |
* action=clearhasmsg now requires a POST. |
| 12936 |
* (T47843) API errors and warnings may be requested in non-English languages |
| 12937 |
using the new 'errorformat', 'errorlang', and 'errorsuselocal' parameters. |
| 12938 |
* API error codes may have changed. Most notably, errors from modules using |
| 12939 |
parameter prefixes (e.g. all query submodules) will no longer be prefixed. |
| 12940 |
* ApiPageSet-using modules will report the 'invalidreason' using the specified |
| 12941 |
'errorformat'. |
| 12942 |
* action=emailuser may return a "Warnings" status, and now returns 'warnings' |
| 12943 |
and 'errors' subelements (as applicable) instead of 'message'. |
| 12944 |
* action=imagerotate returns an 'errors' subelement rather than 'errormessage'. |
| 12945 |
* action=move now reports errors when moving the talk page as an array under |
| 12946 |
key 'talkmove-errors', rather than using 'talkmove-error-code' and |
| 12947 |
'talkmove-error-info'. The format for subpage move errors has also changed. |
| 12948 |
* action=revisiondelete no longer includes a "rendered" property on warnings |
| 12949 |
and errors for each item. Use errorformat=wikitext if you're wanting parsed |
| 12950 |
output. |
| 12951 |
* action=rollback no longer returns a "messageHtml" property. Use |
| 12952 |
errorformat=html if you're wanting HTML formatting of error messages. |
| 12953 |
* action=upload now reports optional stash failures as an array under key |
| 12954 |
'stasherrors' rather than a 'stashfailed' text string. |
| 12955 |
* action=watch reports 'errors' and 'warnings' instead of a single 'error', and |
| 12956 |
no longer returns a 'message' on success. |
| 12957 |
* Added action=validatepassword to validate passwords for the account creation |
| 12958 |
and password change forms. |
| 12959 |
* action=purge now requires a POST. |
| 12960 |
* There is a new `languagevariants` siprop for action=query&meta=siteinfo, |
| 12961 |
which returns a list of languages with active LanguageConverter instances. |
| 12962 |
* action=query&query=allpages will no longer filter redirects using a database |
| 12963 |
query in miser mode. This may result in less results being returned than were |
| 12964 |
requested. |
| 12965 |
|
| 12966 |
=== Action API internal changes in 1.29 === |
| 12967 |
* New methods were added to ApiBase to handle errors and warnings using i18n |
| 12968 |
keys. Methods for using hard-coded English messages were deprecated: |
| 12969 |
* ApiBase::dieUsage() was deprecated |
| 12970 |
* ApiBase::dieUsageMsg() was deprecated |
| 12971 |
* ApiBase::dieUsageMsgOrDebug() was deprecated |
| 12972 |
* ApiBase::getErrorFromStatus() was deprecated |
| 12973 |
* ApiBase::parseMsg() was deprecated |
| 12974 |
* ApiBase::setWarning() was deprecated |
| 12975 |
* ApiBase::$messageMap is no longer public. Code attempting to access it will |
| 12976 |
result in a PHP fatal error. |
| 12977 |
* The $message parameter to the ApiCheckCanExecute hook should be set to an |
| 12978 |
ApiMessage. This is compatible with MediaWiki 1.27 and later. Returning a |
| 12979 |
code for ApiBase::parseMsg() will no longer work. |
| 12980 |
* UsageException is deprecated in favor of ApiUsageException. For the time |
| 12981 |
being ApiUsageException is a subclass of UsageException to allow things that |
| 12982 |
catch only UsageException to still function properly. |
| 12983 |
* If, for some strange reason, code was using an ApiErrorFormatter instead of |
| 12984 |
ApiErrorFormatter_BackCompat, note that the result format has changed and |
| 12985 |
various methods now take a module path rather than a module name. |
| 12986 |
* ApiMessageTrait::getApiCode() now strips 'apierror-' and 'apiwarn-' prefixes |
| 12987 |
from the message key, and maps some message keys for backwards compatibility. |
| 12988 |
* API parameters may now be marked as "sensitive" to keep their values out of |
| 12989 |
the logs. |
| 12990 |
|
| 12991 |
=== Languages updated in 1.29 === |
| 12992 |
|
| 12993 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 12994 |
regularly. Below only new and removed languages are listed, as well as |
| 12995 |
changes to languages because of Phabricator reports. |
| 12996 |
|
| 12997 |
* Based as always on linguistic studies on intelligibility and language |
| 12998 |
knowledge by geography, language fallbacks have been expanded. When a |
| 12999 |
translation is missing in the user's preferred interface language, the |
| 13000 |
corresponding translation for the fallback language will be used instead. |
| 13001 |
English will only be used as last resort when there are no translations. |
| 13002 |
Some configurations (such as date formats and gender namespaces) have also |
| 13003 |
been updated when using the fallback language's configuration was inadequate. |
| 13004 |
The new or reinstated language fallbacks are (after cs ↔ sk in 1.28): |
| 13005 |
ca ↔ oc; hsb ↔ dsb; io → eo; mdf → ru; pnt → el; roa-tara → it; rup → ro; |
| 13006 |
sh → bs, sr-el, hr. |
| 13007 |
* (T137376) New language support: Atikamekw (atj). |
| 13008 |
* (T163600) New language support: Dinka (din). |
| 13009 |
* (T155957) Talk Namespaces for Javanese language (jv) have been updated. |
| 13010 |
|
| 13011 |
==== No fallback for Ukrainian ==== |
| 13012 |
* (T39314) The fallback from Ukrainian to Russian was removed. The Ukrainian |
| 13013 |
language will now use the default fallback language: English. When a |
| 13014 |
translation to Ukrainian is not available, an English string will be shown. |
| 13015 |
|
| 13016 |
=== Other changes in 1.29 === |
| 13017 |
* Database::getSearchEngine() (deprecated in 1.28) was removed. Use |
| 13018 |
SearchEngineFactory::getSearchEngineClass() instead. |
| 13019 |
* $wgSessionsInMemcached (deprecated in 1.20) was removed. No replacement is |
| 13020 |
required as all sessions are stored in Object Cache now. |
| 13021 |
* MWHttpRequest::execute() should be considered to return a StatusValue; the |
| 13022 |
Status return type is deprecated. |
| 13023 |
* User::edits() (deprecated in 1.21) was removed. |
| 13024 |
* Xml::escapeJsString() (deprecated in 1.21) was removed. |
| 13025 |
* Article::getText() and Article::prepareTextForEdit() (deprecated in 1.21) |
| 13026 |
were removed. |
| 13027 |
* Article::getAutosummary() and WikiPage::getAutosummary() (deprecated in 1.21) |
| 13028 |
were removed. |
| 13029 |
* Hook ArticleViewCustom (deprecated in 1.21) was removed. Use |
| 13030 |
ArticleContentViewCustom instead. |
| 13031 |
* Hooks EditPageGetDiffText and ShowRawCssJs (deprecated in 1.21) were removed. |
| 13032 |
* Class RevisiondeleteAction (deprecated in 1.25) was removed. |
| 13033 |
* WikiPage::prepareTextForEdit() (deprecated in 1.21) was removed. |
| 13034 |
* WikiPage::getText() (deprecated in 1.21) was removed. |
| 13035 |
* Article::fetchContent() (deprecated in 1.21) was removed. |
| 13036 |
* User::getPassword() (deprecated in 1.27) was removed. |
| 13037 |
* User::getTemporaryPassword() (deprecated in 1.27) was removed. |
| 13038 |
* User::isPasswordReminderThrottled() (deprecated in 1.27) was removed. |
| 13039 |
* Class FSRepo (deprecated in 1.19) was removed. |
| 13040 |
* WebRequest::checkSessionCookie() (deprecated in 1.27) was removed. Use |
| 13041 |
\MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId() |
| 13042 |
instead. |
| 13043 |
* Class ImageGallery (deprecated in 1.22) was removed. |
| 13044 |
Use ImageGalleryBase::factory instead. |
| 13045 |
* Title::moveNoAuth() (deprecated in 1.25) was removed. Use MovePage class |
| 13046 |
instead. |
| 13047 |
* Hook UnknownAction (deprecated in 1.19) was actually deprecated (it will now |
| 13048 |
emit warnings). Create a subclass of Action and add it to $wgActions instead. |
| 13049 |
* WikiRevision::getText() (deprecated since 1.21) is no longer marked |
| 13050 |
deprecated. |
| 13051 |
* Linker::getInterwikiLinkAttributes() (deprecated since 1.25) was removed. |
| 13052 |
* Linker::getInternalLinkAttributes() (deprecated since 1.25) was removed. |
| 13053 |
* Linker::getInternalLinkAttributesObj() (deprecated since 1.25) was removed. |
| 13054 |
* Linker::getLinkAttributesInternal() (deprecated since 1.25) was removed. |
| 13055 |
* RedisConnectionPool::handleException (deprecated since 1.23) was removed. |
| 13056 |
* The static properties mw.Api.errors and mw.Api.warnings, containing incomplete |
| 13057 |
and outdated lists of errors/warnings returned by the API, are now deprecated. |
| 13058 |
* wiki.phtml entry point was removed. Refer to index.php instead. If you want |
| 13059 |
"wiki.phtml" URLs to continue to work, set up redirects. In Apache, this can |
| 13060 |
be done by enabling mod_rewrite and adding the following rules to your |
| 13061 |
configuration: |
| 13062 |
|
| 13063 |
RewriteEngine On |
| 13064 |
RewriteBase / |
| 13065 |
RewriteRule ^/w/wiki\.phtml$ /w/index.php [R=301,L] |
| 13066 |
* Hook ArticleAfterFetchContent (deprecated in 1.21) was removed. |
| 13067 |
Use ArticleAfterFetchContentObject instead. |
| 13068 |
* Hook ArticleInsertComplete (deprecated in 1.21) was removed. |
| 13069 |
Use PageContentInsertComplete instead. |
| 13070 |
* Hook ArticleSave (deprecated in 1.21) was removed. |
| 13071 |
Use PageContentSave instead. |
| 13072 |
* Hook ArticleSaveComplete (deprecated in 1.21) was removed. |
| 13073 |
Use PageContentSaveComplete instead. |
| 13074 |
* Hook EditFilterMerged (deprecated in 1.21) was removed. |
| 13075 |
Use EditFilterMergedContent instead. |
| 13076 |
* Hook EditPageGetPreviewText (deprecated in 1.21) was removed. |
| 13077 |
Use EditPageGetPreviewContent instead. |
| 13078 |
* Hook TitleIsCssOrJsPage (deprecated in 1.21) was removed. |
| 13079 |
Use ContentHandlerDefaultModelFor instead. |
| 13080 |
* Hook TitleIsWikitextPage (deprecated in 1.21) was removed. |
| 13081 |
Use ContentHandlerDefaultModelFor instead. |
| 13082 |
* Article::getContent() (deprecated in 1.21) was removed. |
| 13083 |
* Revision::getText() (deprecated in 1.21) was removed. |
| 13084 |
* Article::doEdit() and WikiPage::doEdit() (deprecated in 1.21) were removed. |
| 13085 |
* Parser::replaceUnusualEscapes() (deprecated in 1.24) was removed. |
| 13086 |
* Article::doEditContent() was marked as deprecated, to be removed in 1.30 |
| 13087 |
or later. |
| 13088 |
* ContentHandler::runLegacyHooks() was removed. |
| 13089 |
* refreshLinks.php now can be limited to a particular category with |
| 13090 |
--category=... or a tracking category with --tracking-category=... |
| 13091 |
* User-like objects that are passed to SpecialUserRights and its subclasses are |
| 13092 |
now required to have a getGroupMemberships() method. See UserRightsProxy for |
| 13093 |
an example. |
| 13094 |
* User::$mGroups (instance variable) was marked private. Use User::getGroups() |
| 13095 |
instead. |
| 13096 |
* User::getGroupName(), User::getGroupMember(), User:getGroupPage(), |
| 13097 |
User::makeGroupLinkHTML(), and User::makeGroupLinkWiki() were deprecated. |
| 13098 |
Use equivalent methods on the UserGroupMembership class. |
| 13099 |
* Maintenance scripts and tests that call User::addGroup() must now ensure that |
| 13100 |
User objects have been added to the database prior to calling addGroup(). |
| 13101 |
* Protected function UsersPager::getGroups() was removed, and protected function |
| 13102 |
UsersPager::buildGroupLink() was changed from a static to an instance method. |
| 13103 |
* The third parameter ($cache) to the UsersPagerDoBatchLookups hook was changed; |
| 13104 |
see docs/hooks.txt. |
| 13105 |
* User::crypt() (deprecated in 1.24) was removed. |
| 13106 |
* User::comparePasswords() (deprecated in 1.24) was removed. |
| 13107 |
* ArchivedFile::getUserText() (deprecated in 1.23) was removed. |
| 13108 |
* HTMLFileCache::newFromTitle() (deprecated in 1.24) was removed. |
| 13109 |
* BREAKING CHANGE: Internal signature changes to ChangesListSpecialPage |
| 13110 |
and subclasses. It should only break if you call buildMainQueryConds |
| 13111 |
(changed to buildQuery with new signature) or doMainQuery (new |
| 13112 |
signature). Subclasses are likely to call at least doMainQuery |
| 13113 |
(possibly both), but other classes might too, because they were |
| 13114 |
public. |
| 13115 |
Also, some related hooks were deprecated, but this is not yet a |
| 13116 |
breaking change. |
| 13117 |
* Removed 'jquery.arrowSteps' module. (deprecated since 1.28) |
| 13118 |
* The 'jquery.autoEllipsis' ResourceLoader module is now deprecated. |
| 13119 |
* WikiRevision::$fileIsTemp was deprecated. |
| 13120 |
* WikiRevision::$importer was deprecated. |
| 13121 |
* WikiRevision::$user was deprecated. |
| 13122 |
* Article::getLastPurgeTimestamp(), WikiPage::getLastPurgeTimestamp(), and the |
| 13123 |
WikiPage::PURGE_* constants are deprecated, and the functions will always |
| 13124 |
return false. They were a hack for an issue that has since been fixed. |
| 13125 |
* Hook 'EditPageBeforeEditChecks' is now deprecated. Instead use the new hook |
| 13126 |
'EditPageGetCheckboxesDefinition', or 'EditPage::showStandardInputs:options' |
| 13127 |
if you don't actually care about checkboxes and just want to add some HTML |
| 13128 |
to the page. |
| 13129 |
* Selflinks are now rendered as href-less <a> tags with the class mw-selflink |
| 13130 |
rather than <strong> tags. The old class name, "selflink", was deprecated |
| 13131 |
and will be removed in a future release. (T160480) |
| 13132 |
* (T156184) $wgRawHtml will no longer apply to internationalization messages. |
| 13133 |
* Browser support for non-ES5 JavaScript browsers, including Android 2, |
| 13134 |
Opera <12.10, and Internet Explorer 9, was lowered from Grade A to Grade C. |
| 13135 |
* Removed wikibits global methods deprecated since MediaWiki 1.17 (T122755): |
| 13136 |
is_gecko, is_chrome_mac, is_chrome, webkit_version, is_safari_win, is_safari, |
| 13137 |
webkit_match, is_ff2, ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, |
| 13138 |
opera7_bugs, opera6_bugs, is_opera_95, is_opera_preseven, is_opera, |
| 13139 |
ie6_bugs, clientPC, changeText, killEvt, addHandler, hookEvent, |
| 13140 |
addClickHandler, removeHandler, getElementsByClassName, getInnerText, |
| 13141 |
setupCheckboxShiftClick, addCheckboxClickHandlers, mwEditButtons, |
| 13142 |
mwCustomEditButtons, injectSpinner, removeSpinner, escapeQuotes, |
| 13143 |
escapeQuotesHTML, jsMsg, addPortletLink, appendCSS, tooltipAccessKeyPrefix, |
| 13144 |
tooltipAccessKeyRegexp, updateTooltipAccessKeys. |
| 13145 |
* The ID of the <li> element containing the login link has changed from |
| 13146 |
'pt-login' to 'pt-login-private' in private wikis. |
| 13147 |
* The old, neglected "bulletin board style toolbar" in the edit form is now |
| 13148 |
deprecated (T30856). This old code dates from 2006, and was replaced in the |
| 13149 |
MediaWiki release tarball and in Wikimedia production by the WikiEditor |
| 13150 |
extension in 2010. It is only shown to users if no other editor was |
| 13151 |
installed, and leads to confusion. |
| 13152 |
* (T92459) Loading ResourceLoader modules containing JavaScript through |
| 13153 |
addModuleStyles() is deprecated and will log a warning server-side. |
| 13154 |
|
| 13155 |
= MediaWiki 1.28 = |
| 13156 |
|
| 13157 |
== MediaWiki 1.28.3 == |
| 13158 |
|
| 13159 |
This is a security and maintenance release of the MediaWiki 1.28 branch. |
| 13160 |
|
| 13161 |
=== Changes since 1.28.2 == |
| 13162 |
* (T168856) Allow SVGs created by Dia to be uploaded. |
| 13163 |
* (T157545) Add missing doUpdates() call to refreshLinks.php. |
| 13164 |
* (T165714) (T100085) Better handling of jobs execution in post-connection |
| 13165 |
shutdown. |
| 13166 |
* (T154425) (T154438) (T157679) Use AutoCommitUpdate instead of |
| 13167 |
Database->onTransactionIdle. |
| 13168 |
* (T154425) Make DeferredUpdates detect LBFactory transaction rounds. |
| 13169 |
* (T149454) Restore erroneously removed realTableName call from |
| 13170 |
DatabasePostgres. |
| 13171 |
* (T167798) Fix phrase search and highlighting for phrase queries. |
| 13172 |
* (T151136) Provide credits information to callbacks in extension registration. |
| 13173 |
* (T160462) Allow namespaces defined in extension.json to be overwritten |
| 13174 |
locally. |
| 13175 |
* (T168337) Fix ErrorPageError to work from non-UI contexts. |
| 13176 |
* (T143788) Backports for PHP 7.0 and 7.1 support. |
| 13177 |
* (T175439) Unbreak Postgres Updater when setting defaults for a column. |
| 13178 |
* (T160298) Remove use of implicitGroupBy() in ActiveUsersPager. |
| 13179 |
* (T174255) Declare uploadCount property in importDump.php. |
| 13180 |
* (T180231) SECURITY: Updated dev dependancy phpunit/phpunit from v4.8.24 to |
| 13181 |
v4.8.36. |
| 13182 |
* (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and |
| 13183 |
browser sends non-standard url escaping. |
| 13184 |
* (T165846) SECURITY: BotPassword login attempts weren't throttled. |
| 13185 |
* (T128209) SECURITY: Reflected File Download from api.php. |
| 13186 |
* (T134100) SECURITY: Do not reveal if user exists during login failure. |
| 13187 |
* (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS. |
| 13188 |
* (T125163) SECURITY: Make anchor for headlines escape > and <. |
| 13189 |
* (T180237) SECURITY: Protect vendor folder with .htaccess. |
| 13190 |
* (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in |
| 13191 |
update.php. |
| 13192 |
* (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit. |
| 13193 |
* (T119158) SECURITY: Handle -{}- syntax in attributes safely. |
| 13194 |
|
| 13195 |
== MediaWiki 1.28.2 == |
| 13196 |
|
| 13197 |
Due to a packaging error, the wrong version of the SyntaxHighlight extension was |
| 13198 |
included in the tarball version of MediaWiki 1.28.1. The version included had a |
| 13199 |
serious security issue in it (T158689). There was also some minor code fixes in |
| 13200 |
MediaWiki itself since 1.28.1, but none of them were security relevant. |
| 13201 |
|
| 13202 |
== MediaWiki 1.28.1 == |
| 13203 |
|
| 13204 |
This is a security and maintenance release of the MediaWiki 1.28 branch. |
| 13205 |
|
| 13206 |
=== Changes since 1.28.0 === |
| 13207 |
|
| 13208 |
* $wgRunJobsAsync is now false by default (T142751). This change only affects |
| 13209 |
wikis with $wgJobRunRate > 0. |
| 13210 |
* Fix fatal from "WaitConditionLoop" not being found, experienced when a wiki |
| 13211 |
has more than one database server setup. |
| 13212 |
* (T152717) Better escaping for PHP mail() command, |
| 13213 |
* (T154670) A missing method causing the MySQL installer to fatal in rare |
| 13214 |
circumstances was restored. |
| 13215 |
* (T154672) Un-deprecate ArticleAfterFetchContentObject hook. |
| 13216 |
* (T158766) Avoid SQL error on MSSQL when using selectRowCount(). |
| 13217 |
* (T145635) Fix too long index error when installing with MSSQL. |
| 13218 |
* (T156184) $wgRawHtml will no longer apply to internationalization messages. |
| 13219 |
* (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is |
| 13220 |
installed. |
| 13221 |
* (T154872) Fix incorrect ar_usertext_timestamp index names in new 1.28 |
| 13222 |
installs. |
| 13223 |
* (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow |
| 13224 |
redirect to interwiki links. |
| 13225 |
* (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when |
| 13226 |
$wgAdvancedSearchHighlighting is true. |
| 13227 |
* (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep |
| 13228 |
their values out of the logs. |
| 13229 |
* (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a |
| 13230 |
CSRF token. |
| 13231 |
* (T156184) SECURITY: Escape content model/format url parameter in message. |
| 13232 |
* (T151735) SECURITY: SVG filter evasion using default attribute values in DTD |
| 13233 |
declaration. |
| 13234 |
* (T161453) SECURITY: LocalisationCache will no longer use the temporary |
| 13235 |
directory in it's fallback chain when trying to work out where to write the |
| 13236 |
cache. |
| 13237 |
* (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file |
| 13238 |
inclusion syntax's link parameter. |
| 13239 |
* (T108138) SECURITY: Sysops can undelete pages, although the page is protected |
| 13240 |
against it. |
| 13241 |
|
| 13242 |
== MediaWiki 1.28 == |
| 13243 |
|
| 13244 |
=== Changes since 1.28.0-rc1 === |
| 13245 |
* (T148957) Replace wgShowExceptionDetails with wgShowDBErrorBacktrace on db |
| 13246 |
errors. |
| 13247 |
* (T148956) Only apply wgDBschema to postgres/mssql. |
| 13248 |
* (T145991) Introduce separate log action for deleting pages on move. |
| 13249 |
* (T141474) (T110464) Bypass login page if no user input is required. |
| 13250 |
|
| 13251 |
=== Changes since 1.28.0-rc0 === |
| 13252 |
* (T142210) The changes to move the parser "NewPP limit report" from a HTML |
| 13253 |
comment to a machine-readable JavaScript config option 'wgPageParseReport' |
| 13254 |
have been undone. They caused the human-readable limit report to be shown |
| 13255 |
incompletely or not at all. ParserOutput::setLimitReportData() and |
| 13256 |
getLimitReportData() behave as they did in MediaWiki 1.27 again. |
| 13257 |
* (T149510) Value of {{DISPLAYTITLE:}} parser function will not be used for |
| 13258 |
the text of subheadings on a category page when creating it. This wasn't |
| 13259 |
working correctly. |
| 13260 |
* (T106793) MediaWiki will no longer try to perform a HTTP redirect to the |
| 13261 |
canonical pretty URL when a non-pretty URL is used. It resulted in redirect |
| 13262 |
loops in some clients and in some server configurations. This undoes a change |
| 13263 |
made in MediaWiki 1.26. |
| 13264 |
* (T149759) manifest_version: 2 was removed. |
| 13265 |
|
| 13266 |
=== Configuration changes in 1.28 === |
| 13267 |
* $wgSend404Code now affects status code of action=history if the page is not |
| 13268 |
there. |
| 13269 |
* BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests |
| 13270 |
made by MediaWiki via a proxy. Relying on the http_proxy environment |
| 13271 |
variable is no longer supported. |
| 13272 |
* The load.php entry point now enforces the existing policy of not allowing |
| 13273 |
access to session data, which includes the session user and the session |
| 13274 |
user's language. If such access is attempted, an exception will be thrown. |
| 13275 |
* The number of internal PBKDF2 iterations used to derive the session secret |
| 13276 |
is configurable via $wgSessionPbkdf2Iterations. |
| 13277 |
* Upload dialog's file upload log comment can now be configured separately for |
| 13278 |
local and foreign uploads. |
| 13279 |
* $wgForeignUploadTargets now defaults to `[ 'local' ]`, where `'local'` |
| 13280 |
signifies local uploads. A value of `[]` (empty array) now means that |
| 13281 |
no upload targets are allowed, effectively disabling the upload dialog. |
| 13282 |
* The deprecated $wgEditEncoding variable has been removed; it was only used |
| 13283 |
for Esperanto language character conversion. You are now recommended to use |
| 13284 |
input methods provided by the UniversalLanguageSelector extension. |
| 13285 |
* When $wgPingback is true, MediaWiki will periodically ping |
| 13286 |
https://www.mediawiki.org/beacon with basic information about the local |
| 13287 |
MediaWiki installation. This data includes, for example, the type of system, |
| 13288 |
PHP version, and chosen database backend. This behavior is off by default. |
| 13289 |
* When $wgEditSubmitButtonLabelPublish is true, MediaWiki will label the button |
| 13290 |
to store-to-database-and-show-to-others as "Publish page"/"Publish changes"; |
| 13291 |
if false, the default, they will be "Save page"/"Save changes". |
| 13292 |
* The 'editcontentmodel' permission is now granted to all logged-in users |
| 13293 |
('user'). |
| 13294 |
instead of just administrators ('sysop'). Documentation for this feature is |
| 13295 |
available at <https://www.mediawiki.org/wiki/Help:ChangeContentModel>. |
| 13296 |
* $wgRevisionCacheExpiry is now set to one week by default instead of being |
| 13297 |
disabled. |
| 13298 |
* Magic links are now disabled by default, and can be re-enabled by modifying |
| 13299 |
the value of $wgEnableMagicLinks. Their usage is discouraged, but if they are |
| 13300 |
manually enabled, a tracking category will be added to help identify usage and |
| 13301 |
make it easier to migrate away from. If you depend upon magic link |
| 13302 |
functionality, it is requested that you comment on |
| 13303 |
<https://www.mediawiki.org/wiki/Requests_for_comment/Future_of_magic_links> |
| 13304 |
and explain your use case(s). |
| 13305 |
* New config variable $wgCSPFalsePositiveUrls to control what URLs to ignore |
| 13306 |
in upcoming Content-Security-Policy feature's reporting. |
| 13307 |
|
| 13308 |
=== New features in 1.28 === |
| 13309 |
* User::isBot() method for checking if an account is a bot role account. |
| 13310 |
* Added a new 'slideshow' mode for galleries. |
| 13311 |
* Added a new hook, 'UserIsBot', to aid in determining if a user is a bot. |
| 13312 |
* Added a new hook, 'ApiMakeParserOptions', to allow extensions to better |
| 13313 |
interact with API parsing. |
| 13314 |
* Added a new hook, 'UploadVerifyUpload', which can be used to reject a file |
| 13315 |
upload. Unlike 'UploadVerifyFile' it provides information about upload comment |
| 13316 |
and the file description page, but does not run for uploads to stash. |
| 13317 |
* (T141604) Extensions can now provide a better error message when their |
| 13318 |
maintenance scripts are run without the extension being installed. |
| 13319 |
* (T8948) Numeric sorting in categories is now supported by setting |
| 13320 |
$wgCategoryCollation to 'uca-default-u-kn' or 'uca-<langcode>-u-kn'. If you |
| 13321 |
can't use UCA collations, a 'numeric' collation is also available. If |
| 13322 |
migrating from another collation, you will need to run the updateCollation.php |
| 13323 |
maintenance script. |
| 13324 |
* Two new codes have been added to #time parser function: "xit" for days in |
| 13325 |
current month, and "xiz" for days passed in the year, both in Iranian |
| 13326 |
calendar. |
| 13327 |
* mw.Api has a new option, useUS, to use U+001F (Unit Separator) when |
| 13328 |
appropriate for sending multi-valued parameters. This defaults to true when |
| 13329 |
the mw.Api instance seems to be for the local wiki. |
| 13330 |
* After a client performs an action which alters a database that has replica |
| 13331 |
databases, MediaWiki will wait for the replica databases to synchronize with |
| 13332 |
the master database while it renders the HTML output. However, if the output |
| 13333 |
is a redirect to another wiki on the wiki farm with a different domain, |
| 13334 |
MediaWiki will instead alter the redirect URL to include a ?cpPosTime |
| 13335 |
parameter that triggers the database synchronization when the URL is followed |
| 13336 |
by the client. The same-domain case uses a new cpPosTime cookie. |
| 13337 |
* Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and |
| 13338 |
'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and |
| 13339 |
'show' parameters to existing API query modules. |
| 13340 |
|
| 13341 |
=== External library changes in 1.28 === |
| 13342 |
|
| 13343 |
==== Upgraded external libraries ==== |
| 13344 |
* Updated es5-shim from v4.1.5 to v4.5.8 |
| 13345 |
* Updated composer/semver from v1.4.1 to v1.4.2 |
| 13346 |
* Updated wikimedia/php-session-serializer from v1.0.3 to v1.0.4 |
| 13347 |
|
| 13348 |
==== New external libraries ==== |
| 13349 |
* Added wikimedia/scoped-callback v1.0.0 |
| 13350 |
* Added wikimedia/wait-condition-loop v1.0.1 |
| 13351 |
|
| 13352 |
=== Bug fixes in 1.28 === |
| 13353 |
* (T146496) action=history pages should return 404 HTTP error code if the page |
| 13354 |
does not exist |
| 13355 |
* (T137264) SECURITY: XSS in unclosed internal links |
| 13356 |
* (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks |
| 13357 |
* (T133147) SECURITY: Require login to preview user CSS pages |
| 13358 |
* (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is |
| 13359 |
the top file |
| 13360 |
* (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in |
| 13361 |
permissions |
| 13362 |
* (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true |
| 13363 |
* (T139670) Move 'UserGetRights' call before application of |
| 13364 |
Session::getAllowedUserRights() |
| 13365 |
|
| 13366 |
=== Action API changes in 1.28 === |
| 13367 |
* Added 'maxarticlesize' property to action=query&meta=siteinfo which contains |
| 13368 |
the value of $wgMaxArticleSize. |
| 13369 |
* Property 'modulemessages' from action=parse&prop=modules was removed |
| 13370 |
(deprecated since 1.26). |
| 13371 |
* The following response properties from action=login, deprecated in 1.27, are |
| 13372 |
now removed: lgtoken, cookieprefix, sessionid. Clients should handle cookies |
| 13373 |
to properly manage session state. |
| 13374 |
* Submitting the lgtoken and lgpassword parameters in the query string to |
| 13375 |
action=login is now deprecated and outputs a warning. They should be submitted |
| 13376 |
in the POST body instead. |
| 13377 |
* Submitting sensitive authentication request parameters to action=clientlogin, |
| 13378 |
action=createaccount, action=linkaccount, and action=changeauthenticationdata |
| 13379 |
in the query string is now deprecated and outputs a warning. They should be |
| 13380 |
submitted in the POST body instead. |
| 13381 |
* (T141960) Multi-valued parameters may now be separated using U+001F |
| 13382 |
(Unit Separator) instead of the pipe character. This will be useful if some of |
| 13383 |
the multiple values need to contain pipes, e.g. for action=options. |
| 13384 |
* The API will now warn if input is not NFC-normalized Unicode or if it |
| 13385 |
contains invalid characters. |
| 13386 |
* The 'normalized' list output by action=query and other modules that use |
| 13387 |
ApiPageSet may contain entries where the 'from' value is percent-encoded as |
| 13388 |
the raw value cannot be represented in a valid API response. These are |
| 13389 |
indicated by a 'fromencoded' boolean alongside the existing 'from' parameter. |
| 13390 |
* (T28680) action=paraminfo can now return info about all submodules of a |
| 13391 |
module without listing them all explicitly. |
| 13392 |
* (T146770) It is now possible to assert that the current user is a specific |
| 13393 |
named user, using the 'assertuser' parameter. |
| 13394 |
* (T141963) Added a 'known' property when missing-but-known titles (e.g. from |
| 13395 |
the 'TitleIsAlwaysKnown' hook) are output in various modules. |
| 13396 |
|
| 13397 |
=== Action API internal changes in 1.28 === |
| 13398 |
* Added a new hook, 'ApiMakeParserOptions', to allow extensions to better |
| 13399 |
interact with ApiParse and ApiExpandTemplates. |
| 13400 |
* (T139565) SECURITY: API: Generate head items in the context of the given title |
| 13401 |
* (T115333) SECURITY: Check read permission when loading page content in |
| 13402 |
ApiParse |
| 13403 |
* ApiBase::getResultData() was removed (deprecated since 1.25) |
| 13404 |
* ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25) |
| 13405 |
* ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25) |
| 13406 |
* ApiBase::makeHelpMsg() was removed (deprecated since 1.25) |
| 13407 |
* ApiFormatBase::formatHTML() was removed (deprecated since 1.25) |
| 13408 |
* ApiFormatBase::getNeedsRawData() was removed (deprecated since 1.25) |
| 13409 |
* ApiFormatBase::getWantsHelp() was removed (deprecated since 1.25) |
| 13410 |
* ApiFormatBase::setBufferResult() was removed (deprecated since 1.25) |
| 13411 |
* ApiFormatBase::setHelp() was removed (deprecated since 1.25) |
| 13412 |
* ApiFormatBase::setUnescapeAmps() was removed (deprecated since 1.25) |
| 13413 |
* ApiMain::makeHelpMsgHeader() was removed (deprecated since 1.25) |
| 13414 |
* ApiMain::reallyMakeHelpMsg() was removed (deprecated since 1.25) |
| 13415 |
* ApiMain::setHelp() was removed (deprecated since 1.25) |
| 13416 |
* ApiResult::beginContinuation() was removed (deprecated since 1.25) |
| 13417 |
* ApiResult::cleanUpUTF8() was removed (deprecated since 1.25) |
| 13418 |
* ApiResult::convertStatusToArray() was removed (deprecated since 1.25) |
| 13419 |
* ApiResult::disableSizeCheck() was removed (deprecated since 1.24) |
| 13420 |
* ApiResult::enableSizeCheck() was removed (deprecated since 1.24) |
| 13421 |
* ApiResult::endContinuation() was removed (deprecated since 1.25) |
| 13422 |
* ApiResult::getData() was removed (deprecated since 1.25) |
| 13423 |
* ApiResult::getIsRawMode() was removed (deprecated since 1.25) |
| 13424 |
* ApiResult::setContent() was removed (deprecated since 1.25) |
| 13425 |
* ApiResult::setContinueParam() was removed (deprecated since 1.25) |
| 13426 |
* ApiResult::setElement() was removed (deprecated since 1.25) |
| 13427 |
* ApiResult::setGeneratorContinueParam() was removed (deprecated since 1.25) |
| 13428 |
* ApiResult::setIndexedTagName_internal() was removed (deprecated since 1.25) |
| 13429 |
* ApiResult::setIndexedTagName_recursive() was removed (deprecated since 1.25) |
| 13430 |
* ApiResult::setMainForContinuation() was removed (deprecated since 1.25) |
| 13431 |
* ApiResult::setParsedLimit() was removed (deprecated since 1.25) |
| 13432 |
* ApiResult::setRawMode() was removed (deprecated since 1.25) |
| 13433 |
* ApiResult::size() was removed (deprecated since 1.25) |
| 13434 |
* Added new hooks, 'ApiQueryBaseBeforeQuery', 'ApiQueryBaseAfterQuery', and |
| 13435 |
'ApiQueryBaseProcessRow', to make it easier for extensions to add 'prop' and |
| 13436 |
'show' parameters to existing API query modules. A query module can enable |
| 13437 |
these hooks by passing an array for $hookData to ApiQueryBase::select() and |
| 13438 |
by calling ApiQueryBase->processRow() before adding a row's data to the |
| 13439 |
result. |
| 13440 |
|
| 13441 |
=== Languages updated in 1.28 === |
| 13442 |
|
| 13443 |
MediaWiki supports over 375 languages. Many localisations are updated |
| 13444 |
regularly. Below only new and removed languages are listed, as well as |
| 13445 |
changes to languages because of Phabricator reports. |
| 13446 |
|
| 13447 |
* (T137411) ban (Balinese), thanks to translators Adi Mayndra, Andru, |
| 13448 |
BASAbali, M. Adiputra, Naval Scene, Nemo bis, NoiX180, and 아라. |
| 13449 |
* (T135867) shn (Shan), thanks to translators Khun Sar, Piangpha, |
| 13450 |
Saiddzone Saimawnkham, Saosukham, and Sengwan. |
| 13451 |
* Czech (cs) and Slovak (sk) set as reciprocal fallbacks. |
| 13452 |
* (T146744) Livvi-Karelian (olo) namespace messages created thanks to translator |
| 13453 |
Ilja.mos. |
| 13454 |
|
| 13455 |
=== Other changes in 1.28 === |
| 13456 |
* (T128697) Improved handling of large diffs. |
| 13457 |
* [BREAKING CHANGE] $wgExtendedLoginCookies has been removed. You can |
| 13458 |
use or update a custom session provider if needed. |
| 13459 |
* Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent. |
| 13460 |
* The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead. |
| 13461 |
* SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25). |
| 13462 |
* The 'UserLoginComplete' hook has a new parameter to differentiate between |
| 13463 |
actual login and visiting the login page while already logged in. |
| 13464 |
* ResourceLoader::makeLoaderURL() was removed (deprecated since 1.24). |
| 13465 |
* $.fn.liveAndTestAtStart was removed (deprecated since 1.24). |
| 13466 |
* mw.util.tooltipAccessKeyPrefix was removed (deprecated since 1.24). |
| 13467 |
* mw.util.tooltipAccessKeyRegexp was removed (deprecated since 1.24). |
| 13468 |
* Linker::link() and Linker::linkKnown() were deprecated; please instead use |
| 13469 |
MediaWiki\Linker\LinkRenderer. In addition, the LinkBegin and LinkEnd hooks |
| 13470 |
were replaced by HtmlPageLinkRendererBegin and HtmlPageLinkRendererEnd |
| 13471 |
respectively. See docs/hooks.txt for the specific changes needed for those |
| 13472 |
hooks. |
| 13473 |
* Linker::formatSize() was deprecated. Use Language::formatSize() directly. |
| 13474 |
* Aliases for Linker methods, deprecated since 1.21, were removed from Skin: |
| 13475 |
* Skin::commentBlock() (use Linker::commentBlock() instead) |
| 13476 |
* Skin::generateRollback() (use Linker::generateRollback() instead) |
| 13477 |
* Skin::link() (use MediaWiki\Linker\LinkRenderer instead) |
| 13478 |
* Skin::linkKnown() (use MediaWiki\Linker\LinkRenderer instead) |
| 13479 |
* Skin::userLink() (use Linker::userLink() instead) |
| 13480 |
* Skin::userToolLinks() (use Linker::userToolLinks() instead) |
| 13481 |
* Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is |
| 13482 |
disabled. |
| 13483 |
* DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21). |
| 13484 |
* UploadBase::stashFileGetKey() and UploadBase::stashSession() were deprecated. |
| 13485 |
Use ...->stashFile()->getFileKey() instead. |
| 13486 |
* "Public domain" was removed as a wiki license option from the installer, in |
| 13487 |
favour of CC-0. |
| 13488 |
* AuthenticationRequest::$required is now changed from REQUIRED to |
| 13489 |
PRIMARY_REQUIRED on requests needed by primary providers even if all primaries |
| 13490 |
need them. |
| 13491 |
Primary providers are discouraged from returning multiple REQUIRED requests. |
| 13492 |
* OOjs UI PHP widgets constructed with the `'infusable' => true` config option |
| 13493 |
will no longer be automatically infused. You should call `OO.ui.infuse()` |
| 13494 |
on them yourself from your JavaScript code. |
| 13495 |
* parserTests.php has moved to tests/parser/parserTests.php |
| 13496 |
* The command line options specific to parser tests have been removed from |
| 13497 |
phpunit.php: --regex and --keep-uploads. Instead of --regex, use --filter. |
| 13498 |
Instead of --keep-uploads, use the same option to parserTests.php, but you |
| 13499 |
must specify a directory with --upload-dir. |
| 13500 |
* The 'jquery.arrowSteps' ResourceLoader module is now deprecated. |
| 13501 |
* IP::isConfiguredProxy() and IP::isTrustedProxy() were removed. Callers should |
| 13502 |
migrate to using the same functions on a ProxyLookup instance, obtainable from |
| 13503 |
MediaWikiServices. |
| 13504 |
* The ArticleAfterFetchContent, ArticleInsertComplete, ArticleSave, |
| 13505 |
ArticleSaveComplete, ArticleViewCustom, EditFilterMerged, EditPageGetDiffText, |
| 13506 |
EditPageGetPreviewText and ShowRawCssJs hooks will now emit deprecation |
| 13507 |
warnings if used. |
| 13508 |
* (T68404) CSS3 attr() function with url type is no longer allowed |
| 13509 |
in inline styles. |
| 13510 |
* Database::getSearchEngine() is deprecated, use |
| 13511 |
SearchEngineFactory::getSearchEngineClass instead. |
| 13512 |
|
| 13513 |
== Compatibility == |
| 13514 |
|
| 13515 |
MediaWiki 1.28 requires PHP 5.5.9 or later. There is experimental support for |
| 13516 |
HHVM 3.6.5 or later. |
| 13517 |
|
| 13518 |
MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but |
| 13519 |
support for them is somewhat less mature. There is experimental support for |
| 13520 |
Oracle and Microsoft SQL Server. |
| 13521 |
|
| 13522 |
The supported versions are: |
| 13523 |
|
| 13524 |
* MySQL 5.0.3 or later |
| 13525 |
* PostgreSQL 8.3 or later |
| 13526 |
* SQLite 3.3.7 or later |
| 13527 |
* Oracle 9.0.1 or later |
| 13528 |
* Microsoft SQL Server 2005 (9.00.1399) |
| 13529 |
|
| 13530 |
== Upgrading == |
| 13531 |
|
| 13532 |
1.28 has several database changes since 1.27, and will not work without schema |
| 13533 |
updates. Note that due to changes to some very large tables like the revision |
| 13534 |
table, the schema update may take quite long (minutes on a medium sized site, |
| 13535 |
many hours on a large site). |
| 13536 |
|
| 13537 |
If upgrading from before 1.11, and you are using a wiki as a commons |
| 13538 |
repository, make sure that it is updated as well. Otherwise, errors may arise |
| 13539 |
due to database schema changes. |
| 13540 |
|
| 13541 |
If upgrading from before 1.7, you may want to run refreshLinks.php to ensure |
| 13542 |
new database fields are filled with data. |
| 13543 |
|
| 13544 |
If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to |
| 13545 |
1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed |
| 13546 |
with MediaWiki 1.21. |
| 13547 |
|
| 13548 |
Don't forget to always back up your database before upgrading! |
| 13549 |
|
| 13550 |
See the file UPGRADE for more detailed upgrade instructions. |
| 13551 |
|
| 13552 |
For notes on 1.27.x and older releases, see HISTORY. |
| 13553 |
|
| 13554 |
== Online documentation == |
| 13555 |
|
| 13556 |
Documentation for both end-users and site administrators is available on |
| 13557 |
MediaWiki.org, and is covered under the GNU Free Documentation License (except |
| 13558 |
for pages that explicitly state that their contents are in the public domain): |
| 13559 |
|
| 13560 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation |
| 13561 |
|
| 13562 |
== Mailing list == |
| 13563 |
|
| 13564 |
A mailing list is available for MediaWiki user support and discussion: |
| 13565 |
|
| 13566 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 13567 |
|
| 13568 |
A low-traffic announcements-only list is also available: |
| 13569 |
|
| 13570 |
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 13571 |
|
| 13572 |
It's highly recommended that you sign up for one of these lists if you're |
| 13573 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 13574 |
|
| 13575 |
== IRC help == |
| 13576 |
|
| 13577 |
There's usually someone online in #mediawiki on irc.freenode.net. |
| 13578 |
|
| 13579 |
= MediaWiki 1.27 = |
| 13580 |
|
| 13581 |
== MediaWiki 1.27.7 == |
| 13582 |
|
| 13583 |
This is a maintenance release of the MediaWiki 1.27 branch. |
| 13584 |
|
| 13585 |
=== Changes since MediaWiki 1.27.6 === |
| 13586 |
* Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php. |
| 13587 |
* Remove broken tests from ApiBlockTest.php. |
| 13588 |
|
| 13589 |
== MediaWiki 1.27.6 == |
| 13590 |
|
| 13591 |
This is a security and maintenance release of the MediaWiki 1.27 branch. |
| 13592 |
|
| 13593 |
=== Changes since MediaWiki 1.27.5 === |
| 13594 |
* (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query |
| 13595 |
all titles when asked for none. |
| 13596 |
* (T109121) Remove deprecated pear/mail_mime-decode from composer suggested |
| 13597 |
libraries. |
| 13598 |
* (T207241) Augment precision of updatelist time. |
| 13599 |
* (T207540) Include IP address in "Login for $1 succeeded" log entry. |
| 13600 |
* (T205765) Don't link to the obsolete "Extension Matrix" page in installer. |
| 13601 |
* (T207603) SECURITY: User JS may no longer be loaded with mime type |
| 13602 |
text/javascript if there is no account associated with the username. |
| 13603 |
* (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME |
| 13604 |
type if non-admins can edit the page. |
| 13605 |
* (T207541) Pass email address to mail(). |
| 13606 |
* (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself. |
| 13607 |
* (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1. |
| 13608 |
* (T208871) The hard-coded Google search form on the database error page was |
| 13609 |
removed. |
| 13610 |
* (T216968) Return pageid as int in both list=iwbacklinks and |
| 13611 |
list=langbacklinks. |
| 13612 |
* (T218608) Fix an issue that prevents Extension:OAuth working when |
| 13613 |
$wgBlockDisablesLogin is true. |
| 13614 |
* (T219728) Added support for new Japanese era name "Reiwa". |
| 13615 |
* (T25227) SECURITY: action=logout now requires to be posted and have a csrf |
| 13616 |
token. |
| 13617 |
* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when |
| 13618 |
reauthenticating. |
| 13619 |
* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if |
| 13620 |
getLoginSecurityLevel() returns non-false. |
| 13621 |
* (T197279) SECURITY: Fix reauth in Special:ChangeEmail. |
| 13622 |
* (T208881) SECURITY: blacklist CSS var(). |
| 13623 |
* (T209794) SECURITY: rate-limit and prevent blocked users from changing email. |
| 13624 |
* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block. |
| 13625 |
* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query. |
| 13626 |
* (T222036, T222038) SECURITY: Add permission check for user is permitted to |
| 13627 |
view the log type. |
| 13628 |
* (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358. |
| 13629 |
|
| 13630 |
== MediaWiki 1.27.5 == |
| 13631 |
|
| 13632 |
This is a security and maintenance release of the MediaWiki 1.27 branch. |
| 13633 |
|
| 13634 |
=== Changes since 1.27.4 === |
| 13635 |
* (T169545, CVE-2018-0503) SECURITY: $wgRateLimits entry for 'user' overrides |
| 13636 |
'newbie'. |
| 13637 |
* (T194605, CVE-2018-0505) SECURITY: BotPasswords can bypass CentralAuth's |
| 13638 |
account lock. |
| 13639 |
* Upgraded Moment.js from v2.8.4 to v2.19.3. |
| 13640 |
* (T160298) Fixed Special:ActiveUsers due to bad backport. |
| 13641 |
* (T87572) Make FormatMetadata::flattenArrayReal() work for an associative |
| 13642 |
array. |
| 13643 |
* Updated list of SPDX licenses for extensions. |
| 13644 |
* (T189567) the CLI installer (maintenance/install.php) learned to detect and |
| 13645 |
include extensions. Pass --with-extensions to enable that feature. |
| 13646 |
* (T192584) Stop incorrectly passing USE INDEX to RecentChange::newFromConds(). |
| 13647 |
* Add default edit rate limit of 90 edits/minute for all users. |
| 13648 |
* (T196125) php-memcached 3.0 (provided with PHP 7.0) is now supported. |
| 13649 |
* (T196672) The mtime of extension.json files is now able to be zero. |
| 13650 |
* (T118683) Fix exception from &$user deref on HHVM in the TitleMoveComplete |
| 13651 |
hook. |
| 13652 |
* (T180403) Validate $length in padleft/padright parser functions. |
| 13653 |
* (T143790) Make $wgEmailConfirmToEdit only affect edit actions. |
| 13654 |
* Special:BotPasswords now requires reauthentication. |
| 13655 |
* (T191608, T187638) Add 'logid' parameter to Special:Log. |
| 13656 |
* (T193829) Indicate when a Bot Password needs reset. |
| 13657 |
* (T151415) Log email changes. |
| 13658 |
* (T118420) Unbreak Oracle installer. |
| 13659 |
|
| 13660 |
== MediaWiki 1.27.4 == |
| 13661 |
This is a security and maintenance release of the MediaWiki 1.27 branch. |
| 13662 |
|
| 13663 |
=== Changes since 1.27.3 === |
| 13664 |
* (T100085) Better handling of jobs execution in post-connection shutdown. |
| 13665 |
* (T141604) Support conditionally registered namespaces. |
| 13666 |
* (T167798) Fix highlighting for phrase queries and phrase search. |
| 13667 |
* (T151136) Provide credits information to callbacks. |
| 13668 |
* (T160462) Allow namespaces defined in extension.json to be overwritten |
| 13669 |
locally. |
| 13670 |
* (T168856) Allow SVGs created by Dia to be uploaded. |
| 13671 |
* (T144705) (T148662) Password reset link is no longer shown when no reset |
| 13672 |
options are available. |
| 13673 |
* (T143788) (T174262) Various backports for PHP 7.0 and 7.1 support. |
| 13674 |
* (T66795) $wgUserEmailUseReplyTo is now true by default to work around |
| 13675 |
restrictive DMARC policies. |
| 13676 |
* DB_REPLICA constant added from REL1_28+ to ease backports to extensions and |
| 13677 |
core. |
| 13678 |
* (T175439) Unbreak Postgres Updater when setting defaults for a column. |
| 13679 |
* (T160298) Remove use of implicitGroupBy() in ActiveUsersPager. |
| 13680 |
* (T142304) Allow putting the app ID in the password for bot passwords. |
| 13681 |
* Updated dev dependancy phpunit/phpunit from v4.8.24 to v4.8.36. |
| 13682 |
* (T178451) SECURITY: Potential XSS when $wgShowExceptionDetails = false and |
| 13683 |
browser sends non-standard url escaping. |
| 13684 |
* (T165846) SECURITY: BotPassword login attempts weren't throttled. |
| 13685 |
* (T128209) SECURITY: Reflected File Download from api.php. |
| 13686 |
* (T134100) SECURITY: Do not reveal if user exists during login failure. |
| 13687 |
* (T176247) SECURITY: Ensure Message::rawParams can't lead to XSS. |
| 13688 |
* (T125163) SECURITY: Make anchor for headlines escape > and <. |
| 13689 |
* (T180237) SECURITY: Protect vendor folder with .htaccess. |
| 13690 |
* (T180231) SECURITY: Remove PHPUnit file with known RCE if exists in |
| 13691 |
update.php. |
| 13692 |
* (T124404) SECURITY: XSS in langconverter when regex hits pcre.backtrack_limit. |
| 13693 |
* (T119158) SECURITY: Handle -{}- syntax in attributes safely. |
| 13694 |
|
| 13695 |
== MediaWiki 1.27.3 == |
| 13696 |
Due to a packaging error, the wrong version of the SyntaxHighlight extension was |
| 13697 |
included in the tarball version of MediaWiki 1.27.2. The version included had a |
| 13698 |
serious security issue in it (T158689). There was also some minor code fixes in |
| 13699 |
MediaWiki itself since 1.27.2, but none of them were security relevant. |
| 13700 |
|
| 13701 |
=== Changes since 1.27.2 === |
| 13702 |
* (T145664) Fix broken wincache merge() implementation |
| 13703 |
* (T163434) Add wikimedia/testing-access-wrapper for forwards compatibility |
| 13704 |
* (T153505) Fix php warnings on php 7.1 due to use of &$this |
| 13705 |
|
| 13706 |
== MediaWiki 1.27.2 == |
| 13707 |
This is a security and maintenance release of the MediaWiki 1.27 branch. |
| 13708 |
|
| 13709 |
ApiCreateAccount was removed in 1.27.0. It was incorrectly still marked as |
| 13710 |
deprecated (rather than already removed) in the RELEASE-NOTES at the point |
| 13711 |
1.27.0 was released. |
| 13712 |
|
| 13713 |
=== Changes since 1.27.1 === |
| 13714 |
|
| 13715 |
* (T68404) CSS3 attr() function with url type argument is no longer allowed |
| 13716 |
in inline styles. |
| 13717 |
* $wgRunJobsAsync is now false by default (T142751). This change only affects |
| 13718 |
wikis with $wgJobRunRate > 0. |
| 13719 |
* (T152717) Better escaping for PHP mail() command |
| 13720 |
* Submitting the lgtoken and lgpassword parameters in the query string to |
| 13721 |
action=login is now deprecated and outputs a warning. They should be submitted |
| 13722 |
in the POST body instead. |
| 13723 |
* Submitting sensitive authentication request parameters to action=clientlogin, |
| 13724 |
action=createaccount, action=linkaccount, and action=changeauthenticationdata |
| 13725 |
in the query string is now deprecated and outputs a warning. They should be |
| 13726 |
submitted in the POST body instead. |
| 13727 |
* (T158766) Avoid SQL error on MSSQL when using selectRowCount() |
| 13728 |
* (T145635) Fix too long index error when installing with MSSQL. |
| 13729 |
* (T156184) $wgRawHtml will no longer apply to internationalization messages. |
| 13730 |
* (T160519) CACHE_ANYTHING will not be CACHE_ACCEL if no accelerator is |
| 13731 |
installed. |
| 13732 |
* (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow |
| 13733 |
redirect to interwiki links. |
| 13734 |
* (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when |
| 13735 |
$wgAdvancedSearchHighlighting is true. |
| 13736 |
* (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep |
| 13737 |
their values out of the logs. |
| 13738 |
* (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a |
| 13739 |
CSRF token. |
| 13740 |
* (T156184) SECURITY: Escape content model/format url parameter in message. |
| 13741 |
* (T151735) SECURITY: SVG filter evasion using default attribute values in DTD |
| 13742 |
declaration. |
| 13743 |
* (T161453) SECURITY: LocalisationCache will no longer use the temporary |
| 13744 |
directory in it's fallback chain when trying to work out where to write the |
| 13745 |
cache. |
| 13746 |
* (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file |
| 13747 |
inclusion syntax's link parameter. |
| 13748 |
* (T108138) SECURITY: Sysops can undelete pages, although the page is protected |
| 13749 |
against it. |
| 13750 |
|
| 13751 |
== MediaWiki 1.27.1 == |
| 13752 |
|
| 13753 |
This is a maintenance release of the MediaWiki 1.27 branch. |
| 13754 |
|
| 13755 |
=== Changes since 1.27.0 === |
| 13756 |
* BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests |
| 13757 |
made by MediaWiki via a proxy. Relying on the http_proxy environment |
| 13758 |
variable is no longer supported. |
| 13759 |
* (T139565) SECURITY: API: Generate head items in the context of the given title |
| 13760 |
* (T137264) SECURITY: XSS in unclosed internal links |
| 13761 |
* (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks |
| 13762 |
* (T133147) SECURITY: Require login to preview user CSS pages |
| 13763 |
* (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is |
| 13764 |
the top file |
| 13765 |
* (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in |
| 13766 |
permissions |
| 13767 |
* (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true |
| 13768 |
* (T115333) SECURITY: Check read permission when loading page content in |
| 13769 |
ApiParse |
| 13770 |
* (T57548) Remove support for $wgWellFormedXml = false, all output is now well |
| 13771 |
formed |
| 13772 |
* (T139670) Move 'UserGetRights' call before application of |
| 13773 |
Session::getAllowedUserRights() |
| 13774 |
|
| 13775 |
== MediaWiki 1.27.0 == |
| 13776 |
|
| 13777 |
=== PHP version requirement in 1.27 === |
| 13778 |
As of 1.27, MediaWiki now requires PHP 5.5.9 or higher (see Compatibility |
| 13779 |
section). Additionally, the following PHP extensions are required: |
| 13780 |
* ctype |
| 13781 |
* iconv |
| 13782 |
* json |
| 13783 |
* mbstring (new requirement in 1.27) |
| 13784 |
* xml |
| 13785 |
The following PHP extensions are strongly recommended: |
| 13786 |
* openssl |
| 13787 |
|
| 13788 |
=== Configuration changes in 1.27 === |
| 13789 |
* $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed, |
| 13790 |
now always enabled. If you use RDFa on your wiki, you now have to explicitly |
| 13791 |
set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'. |
| 13792 |
* $wgUseLinkNamespaceDBFields was removed. |
| 13793 |
* Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and |
| 13794 |
$wgResourceLoaderMinifierMaxLineLength, because there was little value in |
| 13795 |
making the behavior configurable. The default values (`false` for the former, |
| 13796 |
1000 for the latter) are now hard-coded. |
| 13797 |
* $wgDebugDumpSqlLength was removed (deprecated in 1.24). |
| 13798 |
* $wgDebugDBTransactions was removed (deprecated in 1.20). |
| 13799 |
* $wgUseXVO has been removed, as it provides functionality only used by |
| 13800 |
custom Wikimedia patches against Squid 2.x that probably noone uses in |
| 13801 |
production anymore. There is now $wgUseKeyHeader that provides similar |
| 13802 |
functionality but instead of the MediaWiki-specific X-Vary-Options header, |
| 13803 |
uses the draft Key header standard. |
| 13804 |
* $wgScriptExtension (and support for '.php5' entry points) was removed. See the |
| 13805 |
deprecation notice in the release notes for version 1.25 for advice on how to |
| 13806 |
preserve support for '.php5' entry points via URL rewriting. |
| 13807 |
* Password handling via the User object has been deprecated and partially |
| 13808 |
removed, pending the future introduction of AuthManager. In particular: |
| 13809 |
** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and |
| 13810 |
getPasswordExpired() have been removed. They were unused outside of core. |
| 13811 |
** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are |
| 13812 |
now private and will be removed in the future. |
| 13813 |
** The getPassword() and getTemporaryPassword() methods now throw |
| 13814 |
BadMethodCallException and will be removed in the future. |
| 13815 |
** The ability to pass 'password' and 'newpassword' to createNew() has been |
| 13816 |
removed. The only users of it seem to have been using it to set invalid |
| 13817 |
passwords, and so shouldn't be greatly affected. |
| 13818 |
** setPassword(), setInternalPassword(), and setNewpassword() have been |
| 13819 |
deprecated, pending the introduction of AuthManager. |
| 13820 |
** User::randomPassword() is deprecated in favor of a new method |
| 13821 |
PasswordFactory::generateRandomPasswordString() |
| 13822 |
** User::getPasswordFactory() is deprecated, callers should just create a |
| 13823 |
PasswordFactory themselves. |
| 13824 |
** A new constructor, User::newSystemUser(), has been added to simplify the |
| 13825 |
creation of passwordless "system" users for logged actions. |
| 13826 |
* $wgMaxSquidPurgeTitles was removed. |
| 13827 |
* $wgAjaxWatch was removed. This is now enabled by default. |
| 13828 |
* $wgUseInstantCommons now hotlinks Commons images by default instead of |
| 13829 |
downloading originals and thumbnailing them locally. This allows wikis to save |
| 13830 |
on CPU and bandwidth while reducing time to first byte for pages, even without |
| 13831 |
a thumbnail handler. See $wgForeignFileRepos documentation for tweaks. |
| 13832 |
* (T27397) WebP is enabled by default as an uploadable filetype. |
| 13833 |
* (T48998) $wgArticlePath must now be either a full url, or start with a "/". |
| 13834 |
* $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead. |
| 13835 |
* Deprecated API formats dbg, txt, and yaml have been removed. |
| 13836 |
* CLDRPluralRule* classes have been replaced with |
| 13837 |
wikimedia/cldr-plural-rule-parser. |
| 13838 |
* Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort, |
| 13839 |
$wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID, |
| 13840 |
$wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20). |
| 13841 |
* For proper operation of LocalIdLookup with shared user tables, ensure that |
| 13842 |
$wgSharedDB and $wgSharedTables are properly set even on the "central" wiki |
| 13843 |
that all others are sharing from and that $wgLocalDatabases is set to the |
| 13844 |
full list of sharing wikis on all those wikis. |
| 13845 |
* Massive overhaul to session handling: |
| 13846 |
** $wgSessionsInObjectCache is no longer supported and must be true, due to |
| 13847 |
MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer |
| 13848 |
used. |
| 13849 |
** ObjectCacheSessionHandler is removed, replaced with |
| 13850 |
MediaWiki\Session\PhpSessionHandler. |
| 13851 |
** PHP session handling in general ($_SESSION, session_id(), and so on) is |
| 13852 |
deprecated. Use MediaWiki\Session\SessionManager instead. A new config |
| 13853 |
variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to |
| 13854 |
issue a deprecation warning or to cause most PHP session handling to throw |
| 13855 |
exceptions. |
| 13856 |
** Deprecated UserSetCookies hook. Session-handling extensions should generally |
| 13857 |
be creating a custom subclass of CookieSessionProvider. Other extensions |
| 13858 |
messing with cookies can no longer count on user data being saved in cookies |
| 13859 |
versus other methods. |
| 13860 |
** Deprecated UserLoadFromSession hook, extensions should create a |
| 13861 |
MediaWiki\Session\SessionProvider. |
| 13862 |
** The User cannot be loaded from session until after Setup.php completes. |
| 13863 |
Attempts to do so will be ignored and the User will remain unloaded. |
| 13864 |
** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses |
| 13865 |
the MediaWiki\Session\Token class. |
| 13866 |
* MediaWiki will now auto-create users as necessary, removing the need for |
| 13867 |
extensions to do so. An 'autocreateaccount' right is added to allow |
| 13868 |
auto-creation when 'createaccount' is not granted to all users. |
| 13869 |
* Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated. |
| 13870 |
* Most cookie-handling methods in User are deprecated. |
| 13871 |
* $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an |
| 13872 |
experimental feature that has never worked. |
| 13873 |
* Login and createaccount tokens now vary by timestamp. |
| 13874 |
* LoginForm::getLoginToken() and LoginForm::getCreateaccountToken() |
| 13875 |
return a MediaWiki\Session\Token, and tokens must be checked using that |
| 13876 |
class's methods. |
| 13877 |
* $wgEnotifUseJobQ was removed and the job queue is always used. |
| 13878 |
* The functionality of the ApiSandbox extension has been merged into core. The |
| 13879 |
extension should no longer be used. |
| 13880 |
* $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26). |
| 13881 |
Extensions, skins, gadgets and scripts that use the mediawiki.util module must |
| 13882 |
express a dependency on it. |
| 13883 |
* $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false. |
| 13884 |
Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits |
| 13885 |
module should express a dependency on it. |
| 13886 |
* Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use |
| 13887 |
$wgFooterIcons['copyright']['copyright'] instead. |
| 13888 |
* If the openssl and mcrypt PHP extensions are both unavailable, secure |
| 13889 |
session storage (used for login) will raise an exception. This exception may |
| 13890 |
be bypassed by setting $wgSessionInsecureSecrets = true. |
| 13891 |
* Massive overhaul to authentication: |
| 13892 |
** AuthPlugin and AuthPluginUser are deprecated. |
| 13893 |
** LoginForm and associated templates are deprecated. Extensions which called |
| 13894 |
static LoginForm methods should be converted into authentication providers. |
| 13895 |
** The following hooks are deprecated: |
| 13896 |
*** AbortAutoAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead) |
| 13897 |
*** AbortLogin (create a MediaWiki\Auth\PreAuthenticationProvider instead) |
| 13898 |
*** AbortNewAccount (create a MediaWiki\Auth\PreAuthenticationProvider instead) |
| 13899 |
*** AddNewAccount (use LocalUserCreated instead) |
| 13900 |
*** AuthPluginSetup (create a MediaWiki\Auth\PrimaryAuthenticationProvider |
| 13901 |
instead) |
| 13902 |
*** ChangePasswordForm (use AuthChangeFormFields instead, or security levels) |
| 13903 |
*** LoginUserMigrated (create a MediaWiki\Auth\PreAuthenticationProvider |
| 13904 |
instead) |
| 13905 |
*** UserCreateForm (create a MediaWiki\Auth\AuthenticationProvider of some type |
| 13906 |
instead) |
| 13907 |
*** UserLoginForm (create a MediaWiki\Auth\AuthenticationProvider of some type |
| 13908 |
instead) |
| 13909 |
** The following hooks are removed: |
| 13910 |
*** AbortChangePassword |
| 13911 |
*** LoginPasswordResetMessage |
| 13912 |
*** PrefsPasswordAudit |
| 13913 |
** The UserLoginComplete hook will no longer be called for all logins, only for |
| 13914 |
those via the web UI. Use UserLoggedIn if you need to do something on all |
| 13915 |
logins. |
| 13916 |
** $wgRequirePasswordforEmailChange is removed. |
| 13917 |
|
| 13918 |
=== New features in 1.27 === |
| 13919 |
* $wgDataCenterUpdateStickTTL was also added. This decides how long a user |
| 13920 |
sticks to the primary DC (via cookies) after they make changes to the site. |
| 13921 |
* Added a new hook, 'UserMailerTransformContent', to transform the contents |
| 13922 |
of an email. This is similar to the EmailUser hook but applies to all mail |
| 13923 |
sent via UserMailer. |
| 13924 |
* Added a new hook, 'UserMailerTransformMessage', to transform the contents |
| 13925 |
of an emai after MIME encoding. |
| 13926 |
* Added a new hook, 'UserMailerSplitTo', to control which users have to be |
| 13927 |
emailed separately (ie. there is a single address in the To: field) so |
| 13928 |
user-specific changes to the email can be applied safely. |
| 13929 |
* $wgCdnMaxageLagged was added, which limits the CDN cache TTL |
| 13930 |
when any load balancer uses a DB that is lagged beyond the 'max lag' |
| 13931 |
setting in the relevant section of $wgLBFactoryConf. |
| 13932 |
* User::newSystemUser() may be used to simplify the creation of passwordless |
| 13933 |
"system" users for logged actions from scripts and extensions. |
| 13934 |
* Extensions can now return detailed error information via the API when |
| 13935 |
preventing user actions using 'getUserPermissionsErrors' and similar hooks |
| 13936 |
by using ApiMessage instances instead of strings for the $result value. |
| 13937 |
* $wgAPIMaxLagThreshold was added to limit bot changes when databases lag |
| 13938 |
becomes too high. |
| 13939 |
* Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex) |
| 13940 |
and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create |
| 13941 |
cross-browser-compatible FlexBox rules. Users will still need to add fallback |
| 13942 |
float rules or the like for compatibility with IE9- separately. |
| 13943 |
* Added MWTimestamp::getTimezoneString() which returns the localized timezone |
| 13944 |
string, if available. To localize this string, see the comments of |
| 13945 |
$wgLocaltimezone in includes/DefaultSettings.php. |
| 13946 |
* Added CentralIdLookup, a service that allows extensions needing a concept of |
| 13947 |
"central" users to get that without having to know about specific central |
| 13948 |
authentication extensions. |
| 13949 |
* $wgMaxUserDBWriteDuration added to limit huge user-generated transactions. |
| 13950 |
Regular web request transactions that takes longer than this are aborted. |
| 13951 |
* Added a new hook, 'TitleMoveCompleting', which runs before a page move is |
| 13952 |
committed. |
| 13953 |
* $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs |
| 13954 |
from CDN to mitigate DB replication lag and WAN cache purge lag. |
| 13955 |
* (T49162) Installer will default to setting CACHE_ACCEL as the main cache type |
| 13956 |
if it is available. |
| 13957 |
* It is now possible to patrol file uploads (both for new files and new versions |
| 13958 |
of existing files). Special:NewFiles has gained an option to filter by patrol |
| 13959 |
status. This functionality can be disabled using $wgUseFilePatrol. |
| 13960 |
* MediaWiki\Session infrastructure allows for easier use of session mechanisms |
| 13961 |
other than the usual cookies. |
| 13962 |
** SessionMetadata and SessionCheckInfo hooks allow for setting and checking |
| 13963 |
custom session metadata. |
| 13964 |
* Added MWGrants and associated configuration settings $wgGrantPermissions and |
| 13965 |
$wgGrantPermissionGroups to hold configuration for authentication features |
| 13966 |
such as OAuth that want to allow restricting the user rights a user may make |
| 13967 |
use of. |
| 13968 |
** If you're already using the OAuth extension, these new variables are |
| 13969 |
identical to (and will replace) $wgMWOAuthGrantPermissions and |
| 13970 |
$wgMWOAuthGrantPermissionGroups. |
| 13971 |
* Added MWRestrictions as a class to check restrictions on a WebRequest, e.g. |
| 13972 |
to assert that the request comes from a particular IP range. |
| 13973 |
* Added bot passwords, a rights-restricted login mechanism for API-using bots. |
| 13974 |
* Whitelisted the following HTML attributes for all elements in wikitext: |
| 13975 |
aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns. |
| 13976 |
* Removed "presentation" restriction on the HTML role attribute in wikitext. |
| 13977 |
All values are now allowed for the role attribute. |
| 13978 |
* $wgContentHandlers now also supports callbacks to create an instance of the |
| 13979 |
appropriate ContentHandler subclass. |
| 13980 |
* Added $wgAuthenticationTokenVersion, which if non-null prevents the |
| 13981 |
user_token database field from being exposed in cookies. Setting this would |
| 13982 |
be a good idea, but will log out all current sessions. |
| 13983 |
* $wgEventRelayerConfig was added, for managing PubSub event relay |
| 13984 |
configuration, specifically for reliable CDN url purges. |
| 13985 |
* Requests have unique IDs, equal to the UNIQUE_ID environment variable (when |
| 13986 |
MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly- |
| 13987 |
generated 24-character string. This request ID is used to annotate log records |
| 13988 |
and error messages. It is available client-side via |
| 13989 |
mw.config.get( 'wgRequestId' ). |
| 13990 |
The request ID supplants exception IDs. Accordingly, |
| 13991 |
MWExceptionHandler::getLogId() is deprecated. |
| 13992 |
* (T33313) Add a preference for watching uploads by default, also applies |
| 13993 |
to API-based upload tools. |
| 13994 |
* $wgJpegPixelFormat was added to override chroma subsampling for JPEG image |
| 13995 |
thumbnails created via ImageMagick. Defaults to 'yuv420', providing bandwidth |
| 13996 |
savings versus the previous behavior on many files. |
| 13997 |
* MediaWiki\Auth infrastructure (called "AuthManager") allows for more flexible |
| 13998 |
configuration of multiple authentication pieces that was possible with |
| 13999 |
AuthPlugin. For example, it's now easy to plug in second-factor |
| 14000 |
authentication, or add additional checks to the login process, or to support |
| 14001 |
multiple login methods at once, or to support non-password-based login |
| 14002 |
methods. |
| 14003 |
** Providers are configured via the global setting $wgAuthManagerConfig. |
| 14004 |
** A global, $wgDisableAuthManager, is temporarily available to disable |
| 14005 |
AuthManager until extensions are ready to support it. |
| 14006 |
** New hook, AuthChangeFormFields, to adjust the form fields on |
| 14007 |
AuthManager-related special pages. |
| 14008 |
** New hook, AuthManagerLoginAuthenticateAudit, for additional logging of |
| 14009 |
AuthManager-related authentication requests. |
| 14010 |
** New hook, ChangeAuthenticationDataAudit, for additional logging of |
| 14011 |
AuthManager-related authentication data changes. |
| 14012 |
** New hook, SecuritySensitiveOperationStatus, to work with the new mechanism |
| 14013 |
for requiring a recent login before taking security-sensitive operations |
| 14014 |
like changing a password. |
| 14015 |
** Two new globals, $wgChangeCredentialsBlacklist and |
| 14016 |
$wgRemoveCredentialsBlacklist can be used to prevent the web UI and the API |
| 14017 |
changing certain authentication data. |
| 14018 |
* The file upload dialog (available if you install WikiEditor or VisualEditor) |
| 14019 |
can now be configured using $wgUploadDialog. |
| 14020 |
|
| 14021 |
=== External library changes in 1.27 === |
| 14022 |
|
| 14023 |
==== Upgraded external libraries ==== |
| 14024 |
* Updated oojs/oojs-ui from v0.12.12 to v0.13.3. |
| 14025 |
* Updated composer/semver from v1.0.0 to v1.2.0. |
| 14026 |
* Updated liuggio/statsd-php-client to 1.0.18. |
| 14027 |
* Updated QUnit from v1.18.0 to v1.22.0. |
| 14028 |
|
| 14029 |
==== New external libraries ==== |
| 14030 |
* Added wikimedia/base-convert v1.0.1. |
| 14031 |
* Added wikimedia/cldr-plural-rule-parser v1.0.0. |
| 14032 |
* Added wikimedia/relpath v1.0.3. |
| 14033 |
* Added wikimedia/running-stat v1.1.0. |
| 14034 |
* Added wikimedia/php-session-serializer v1.0.3. |
| 14035 |
|
| 14036 |
==== Removed and replaced external libraries ==== |
| 14037 |
|
| 14038 |
=== Bug fixes in 1.27 === |
| 14039 |
* Special:Upload will now display correct maximum allowed file size when running |
| 14040 |
under HHVM (T116347). |
| 14041 |
* (T54077) The APIEditBeforeSave hook will once again give only the content of |
| 14042 |
the section being edited, rather than the whole revision. This reverts the |
| 14043 |
change made in MediaWiki 1.22. |
| 14044 |
|
| 14045 |
=== Action API changes in 1.27 === |
| 14046 |
* Added list=allrevisions. |
| 14047 |
* generator=recentchanges now has the option to generate revids. |
| 14048 |
* ApiPageSet::setRedirectMergePolicy() was added. This allows generator |
| 14049 |
modules to define how generator data for a redirect source gets merged |
| 14050 |
into the redirect destination. |
| 14051 |
* prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of |
| 14052 |
"was-deleted" warning. |
| 14053 |
* Added difftotextpst to query=revisions which preforms a pre-save transform on |
| 14054 |
the text before diffing it. |
| 14055 |
* Deprecated formats dbg, txt, and yaml have been removed. |
| 14056 |
* (T47988) The protect log event details now use new-style formatting. |
| 14057 |
* The following response properties from action=login are deprecated, and may |
| 14058 |
be removed in the future: lgtoken, cookieprefix, sessionid. Clients should |
| 14059 |
handle cookies to properly manage session state. |
| 14060 |
* action=login transparently allows login using bot passwords. Clients should |
| 14061 |
merely need to change the username and password used after setting up a bot |
| 14062 |
password. |
| 14063 |
* action=upload no longer understands statuskey, asyncdownload or leavemessage. |
| 14064 |
* Several changes when $wgDisableAuthManager is false: |
| 14065 |
** action=login is deprecated for uses other than bot passwords. |
| 14066 |
** list=users can now indicate if a missing username is creatable. |
| 14067 |
** action=createaccount is changed in a non-backwards-compatible manner. |
| 14068 |
** Added action=query&meta=authmanagerinfo. |
| 14069 |
** Added action=clientlogin to be used to log into the main account instead of |
| 14070 |
action=login. |
| 14071 |
** Added action=linkaccount. |
| 14072 |
** Added action=unlinkaccount. |
| 14073 |
** Added action=changeauthenticationdata. |
| 14074 |
** Added action=removeauthenticationdata. |
| 14075 |
** Added action=resetpassword. |
| 14076 |
|
| 14077 |
=== Action API internal changes in 1.27 === |
| 14078 |
* ApiQueryORM removed. |
| 14079 |
* The following classes have been removed: |
| 14080 |
** ApiFormatDbg |
| 14081 |
** ApiFormatTxt |
| 14082 |
** ApiFormatYaml |
| 14083 |
* ApiBase::addTokenProperties() was removed (deprecated since 1.24). |
| 14084 |
* ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24). |
| 14085 |
* ApiBase::getFinalResultProperties() was removed (deprecated since 1.24). |
| 14086 |
* ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated |
| 14087 |
since 1.24). |
| 14088 |
* ApiBase::getPossibleErrors() was removed (deprecated since 1.24). |
| 14089 |
* ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated |
| 14090 |
since 1.24). |
| 14091 |
* ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated |
| 14092 |
since 1.24). |
| 14093 |
* ApiBase::getResultProperties() was removed (deprecated since 1.24). |
| 14094 |
* ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24). |
| 14095 |
* ApiBase::parseErrors() was removed (deprecated since 1.24). |
| 14096 |
* ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and |
| 14097 |
ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24). |
| 14098 |
* ApiQueryBase::checkRowCount() was removed (deprecated since 1.24). |
| 14099 |
* ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25). |
| 14100 |
* ApiQuery::getGenerators() was removed (deprecated since 1.21). |
| 14101 |
* ApiQuery::getModules() was removed (deprecated since 1.21). |
| 14102 |
* ApiQuery::getModuleType() was removed (deprecated since 1.21). |
| 14103 |
* ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24). |
| 14104 |
* ApiMain::getModules() was removed (deprecated since 1.21). |
| 14105 |
* ApiBase::getVersion() was removed (deprecated since 1.21). |
| 14106 |
* ApiMain::getShowVersions() was removed (deprecated in 1.21). |
| 14107 |
* ApiMain::addModule() was removed (deprecated in 1.21). |
| 14108 |
* ApiMain::addFormat() was removed (deprecated in 1.21). |
| 14109 |
* ApiMain::getFormats() was removed (deprecated in 1.21). |
| 14110 |
* ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21). |
| 14111 |
* ApiCreateAccount was removed. |
| 14112 |
|
| 14113 |
=== Languages updated in 1.27 === |
| 14114 |
|
| 14115 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 14116 |
regularly. Below only new and removed languages are listed, as well as |
| 14117 |
changes to languages because of Phabricator reports. |
| 14118 |
|
| 14119 |
* (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale. |
| 14120 |
* (T116020) Aliases of magic words in MessagesXx.php are sorted by usage. |
| 14121 |
|
| 14122 |
=== Other changes in 1.27 === |
| 14123 |
* Added dependency injection (DI) infrastructure, see docs/injection.txt for |
| 14124 |
details. |
| 14125 |
It is planned to incrementally move MediaWiki code towards using DI, using the |
| 14126 |
service locator (SL) pattern as a stepping stone. |
| 14127 |
* ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class. |
| 14128 |
* WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now |
| 14129 |
ignore the 2nd and 3rd arguments (formerly $id and $commit). |
| 14130 |
* Removed "loaderScripts" option from ResourceLoaderFileModule class. |
| 14131 |
* Removed ORM-like wrapper added in 1.20. |
| 14132 |
* LinkCache::getGoodLinks and LinkCache::getBadLinks were removed |
| 14133 |
(deprecated in 1.26). |
| 14134 |
* WikiPage::doQuickEdit() was removed (deprecated since 1.21). |
| 14135 |
* Removed SiteObject and SiteArray classes (deprecated in 1.21). |
| 14136 |
* MessageBlobStore::getInstance() was removed (deprecated since 1.25). |
| 14137 |
* (T84937) Free external links ("autolinked" urls) will now be terminated |
| 14138 |
by and HTML entity encodings of  , <, and >. |
| 14139 |
* (T36948) The default file revert message's timestamp is now in |
| 14140 |
$wgLocaltimezone, instead of UTC. |
| 14141 |
* The default name of the 'suppress' group page has been changed from |
| 14142 |
'Project:Oversight' to 'Project:Suppress'. |
| 14143 |
* DatabaseBase::resultObject() is now protected (use outside Database classes |
| 14144 |
not necessary since 1.11). |
| 14145 |
* Calling ResourceLoaderFileModule::readStyleFiles() without a |
| 14146 |
ResourceLoaderContext instance is deprecated. |
| 14147 |
* ResourceLoader::getLessCompiler() now takes an optional parameter of |
| 14148 |
additional LESS variables to set for the compiler. |
| 14149 |
* wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly |
| 14150 |
instead. |
| 14151 |
* Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php |
| 14152 |
were removed. The underlying data is sent to StatsD (see $wgStatsdServer). |
| 14153 |
* Removed msg_resource_links database table and associated code. |
| 14154 |
* Removed msg_resource database table and associated code. |
| 14155 |
* Skin::getNamespaceNotice() was removed. |
| 14156 |
* wfIsConfiguredProxy() was removed (deprecated since 1.24). |
| 14157 |
* wfDebugTimer() was removed (deprecated since 1.25). |
| 14158 |
* wfIsTrustedProxy() was removed (deprecated since 1.24). |
| 14159 |
* wfGetIP() was removed (deprecated since 1.19). |
| 14160 |
* MWHookException was removed. |
| 14161 |
* OutputPage::appendSubtitle() was removed (deprecated since 1.19). |
| 14162 |
* OutputPage::loginToUse() was removed (deprecated since 1.19). |
| 14163 |
* Article::loadContent() was removed (deprecated since 1.19). |
| 14164 |
* User::editToken() was removed (deprecated since 1.19). |
| 14165 |
* Removed --force-normal option of dumpBackup.php, as it no longer served |
| 14166 |
any useful purpose since 1.22. |
| 14167 |
* The functions processOption() and processArgs() on the BackupDumper and |
| 14168 |
TextPassDumper classes have been removed. |
| 14169 |
* The maintenance/backupTextPass.inc file was deleted. You should include |
| 14170 |
maintenance/dumpTextPass.php instead. |
| 14171 |
* WikiPage::getUsedTemplates() was removed (deprecated since 1.19). |
| 14172 |
* wfEmptyMsg() was removed (deprecated since 1.18). |
| 14173 |
* OutputPage::permissionRequired() was removed (deprecated since 1.18). |
| 14174 |
* OutputPage::blockedPage() was removed (deprecated since 1.18). |
| 14175 |
* User::getSkin() was removed (deprecated since 1.18). |
| 14176 |
* OutputPage::includeJQuery() was removed (deprecated since 1.17). |
| 14177 |
* WikiPage::updateRestrictions() was removed (deprecated since 1.19). |
| 14178 |
* WikiPage::testPreSaveTransform() was removed (deprecated since 1.19). |
| 14179 |
* LogPage::logName() was removed (deprecated since 1.19). |
| 14180 |
* LogPage::logHeader() was removed (deprecated since 1.19). |
| 14181 |
* wfCheckLimits() was removed (deprecated since 1.24). |
| 14182 |
* Linker::makeKnownLinkObj() was removed (deprecated since 1.16). |
| 14183 |
* Linker::makeLinkObj() was removed (deprecated since 1.16). |
| 14184 |
* wfMsgForContentNoTrans() was removed (deprecated since 1.18). |
| 14185 |
* ChangesList::usePatrol was removed (deprecated since 1.22). |
| 14186 |
* wfMsgNoTrans() was removed (deprecated since 1.18). |
| 14187 |
* Linker::makeImageLink2 was removed (deprecated since 1.20). |
| 14188 |
* Title::userIsWatching() was removed (deprecated since 1.20). |
| 14189 |
* Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT() |
| 14190 |
database function directly instead. |
| 14191 |
* wfMsg() was removed (deprecated since 1.18). |
| 14192 |
* wfMsgForContent() was removed (deprecated since 1.18). |
| 14193 |
* wfMsgReal() was removed (deprecated since 1.18). |
| 14194 |
* wfMsgGetKey() was removed (deprecated since 1.18). |
| 14195 |
* wfMsgHtml() was removed (deprecated since 1.18). |
| 14196 |
* wfMsgWikiHtml() was removed (deprecated since 1.18). |
| 14197 |
* wfMsgExt() was removed (deprecated since 1.18). |
| 14198 |
* Language::armourMath() was removed (deprecated since 1.22). |
| 14199 |
* LanguageConverter::armourMath() was removed (deprecated since 1.22). |
| 14200 |
* FakeConverter::armourMath() was removed (deprecated since 1.22). |
| 14201 |
* The unused jquery.validate ResourceLoader module was removed. |
| 14202 |
* FileRepo::getRootUrl() was removed (deprecated since 1.20). |
| 14203 |
* User::generateToken() was removed (deprecated since 1.20). |
| 14204 |
* WikiPage::getRawText() was removed (deprecated since 1.21). |
| 14205 |
* ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25). |
| 14206 |
* ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25). |
| 14207 |
* ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25). |
| 14208 |
* Gallery images with multiple caption pipes no longer concatenate them all |
| 14209 |
together but instead pick the final one, similar to image syntax. |
| 14210 |
* XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed |
| 14211 |
rather than consume everything until the end of the page. |
| 14212 |
* New maintenance script resetUserEmail.php allows sysadmins to reset user |
| 14213 |
emails in case a user forgot password/account was stolen. |
| 14214 |
* wfCheckEntropy() was removed (deprecated in 1.27). |
| 14215 |
* Browser support for Internet Explorer 8 lowered from Grade A to Grade C. |
| 14216 |
* ContentHandler::supportsCategories method added. Default is true. |
| 14217 |
CategoryMembershipChangeJob updates are skipped for content that |
| 14218 |
does not support categories. |
| 14219 |
* wikidiff difference engine is no longer supported, anyone still using it are |
| 14220 |
encouraged to upgrade to wikidiff2 which is actively maintained and has better |
| 14221 |
package availability. |
| 14222 |
* Database logic was removed from WatchedItem and a WatchedItemStore was |
| 14223 |
created: |
| 14224 |
** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were |
| 14225 |
deprecated. User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were |
| 14226 |
introduced. |
| 14227 |
** WatchedItem::fromUserTitle was deprecated in favour of the constructor. |
| 14228 |
** WatchedItem::resetNotificationTimestamp was deprecated. |
| 14229 |
** WatchedItem::batchAddWatch was deprecated. |
| 14230 |
** WatchedItem::addWatch was deprecated. |
| 14231 |
** WatchedItem::removeWatch was deprecated. |
| 14232 |
** WatchedItem::isWatched was deprecated. |
| 14233 |
** WatchedItem::duplicateEntries was deprecated. |
| 14234 |
** EmailNotification::updateWatchlistTimestamp was deprecated. |
| 14235 |
** User::getWatchedItem was removed. |
| 14236 |
* Unit tests don't work with external PHPUnit anymore, Composer is now the only |
| 14237 |
supported way. Run `composer install` to install it and other dev dependencies |
| 14238 |
to run unit tests. |
| 14239 |
* wl_id field added to the watchlist table. |
| 14240 |
* Revision::getRawText() was removed (deprecated since 1.21). |
| 14241 |
* WikiPage::replaceSection() was removed (deprecated since 1.21). |
| 14242 |
* Article::replaceSection() was removed (deprecated since 1.21). |
| 14243 |
* Language::getLangObj() was removed (deprecated since 1.24). |
| 14244 |
* Language::getLanguageName() was removed (deprecated since 1.20). |
| 14245 |
* Language::getLanguageNames() was removed (deprecated since 1.20). |
| 14246 |
* Language::getTranslatedLanguageNames() was removed (deprecated since 1.20). |
| 14247 |
* Language::specialPage() was removed (deprecated since 1.24). |
| 14248 |
* MediaWikiTestCase::assertException() was removed (deprecated since 1.22). |
| 14249 |
* OutputPage::getHeadItems() was removed (deprecated since 1.24). |
| 14250 |
* OutputPage::getScript() was removed (deprecated since 1.24). |
| 14251 |
* OutputPage::out() was removed (deprecated since 1.22). |
| 14252 |
* OutputPage::setAllowedModules() was removed (deprecated since 1.24). |
| 14253 |
* UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21). |
| 14254 |
* MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21). |
| 14255 |
* Title::newFromRedirect() was removed (deprecated since 1.21). |
| 14256 |
* Skin::commonPrintStylesheet() was removed (deprecated since 1.22). |
| 14257 |
* Skin::getCommonStylePath() was removed (deprecated since 1.24). |
| 14258 |
* Skin::newFromKey() was removed (deprecated since 1.24). |
| 14259 |
* Skin::getUsableSkins() was removed (deprecated since 1.23). |
| 14260 |
* LoadBalancer::pickRandom() was removed (deprecated in 1.21). |
| 14261 |
* Article::getUndoText() and WikiPage::getUndoText were removed (deprecated |
| 14262 |
since 1.21). |
| 14263 |
* DifferenceEngine::setText() was removed (deprecated in 1.21). |
| 14264 |
* Title::newFromRedirectArray() was removed (deprecated in 1.21). |
| 14265 |
* UserMailer::send() no longer accepts $replyto as the 5th argument and |
| 14266 |
$contentType as the 6th. These must be passed in the options array now. |
| 14267 |
* Title::newFromRedirectRecurse() was removed (deprecated in 1.21). |
| 14268 |
* Skin::accesskey was removed (deprecated since 1.21). |
| 14269 |
* Skin::blockLink was removed (deprecated since 1.21). |
| 14270 |
* Skin::buildRollbackLink was removed (deprecated since 1.21). |
| 14271 |
* Skin::emailLink was removed (deprecated since 1.21). |
| 14272 |
* Skin::formatComment was removed (deprecated since 1.21). |
| 14273 |
* Skin::formatHiddenCategories was removed (deprecated since 1.21). |
| 14274 |
* Skin::formatLinksInComment was removed (deprecated since 1.21). |
| 14275 |
* Skin::formatRevisionSize was removed (deprecated since 1.21). |
| 14276 |
* Skin::formatSize was removed (deprecated since 1.21). |
| 14277 |
* Skin::formatTemplates was removed (deprecated since 1.21). |
| 14278 |
* Skin::generateTOC was removed (deprecated since 1.21). |
| 14279 |
* Skin::getInternalLinkAttributes was removed (deprecated since 1.21). |
| 14280 |
* Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21). |
| 14281 |
* Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21). |
| 14282 |
* Skin::getInvalidTitleDescription was removed (deprecated since 1.21). |
| 14283 |
* Skin::getLinkColour was removed (deprecated since 1.21). |
| 14284 |
* Skin::getRevDeleteLink was removed (deprecated since 1.21). |
| 14285 |
* Skin::getRollbackEditCount was removed (deprecated since 1.21). |
| 14286 |
* Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21). |
| 14287 |
* Skin::makeCommentLink was removed (deprecated since 1.21). |
| 14288 |
* Skin::makeExternalImage was removed (deprecated since 1.21). |
| 14289 |
* Skin::makeExternalLink was removed (deprecated since 1.21). |
| 14290 |
* Skin::makeHeadline was removed (deprecated since 1.21). |
| 14291 |
* Skin::makeImageLink was removed (deprecated since 1.21). |
| 14292 |
* Skin::makeMediaLinkFile was removed (deprecated since 1.21). |
| 14293 |
* Skin::makeMediaLinkObj was removed (deprecated since 1.21). |
| 14294 |
* Skin::makeSelfLinkObj was removed (deprecated since 1.21). |
| 14295 |
* Skin::makeThumbLink2 was removed (deprecated since 1.21). |
| 14296 |
* Skin::makeThumbLinkObj was removed (deprecated since 1.21). |
| 14297 |
* Skin::normaliseSpecialPage was removed (deprecated since 1.21). |
| 14298 |
* Skin::normalizeSubpageLink was removed (deprecated since 1.21). |
| 14299 |
* Skin::processResponsiveImages was removed (deprecated since 1.21). |
| 14300 |
* Skin::revComment was removed (deprecated since 1.21). |
| 14301 |
* Skin::revDeleteLink was removed (deprecated since 1.21). |
| 14302 |
* Skin::revDeleteLinkDisabled was removed (deprecated since 1.21). |
| 14303 |
* Skin::revUserLink was removed (deprecated since 1.21). |
| 14304 |
* Skin::revUserTools was removed (deprecated since 1.21). |
| 14305 |
* Skin::specialLink was removed (deprecated since 1.21). |
| 14306 |
* Skin::splitTrail was removed (deprecated since 1.21). |
| 14307 |
* Skin::titleAttrib was removed (deprecated since 1.21). |
| 14308 |
* Skin::tocIndent was removed (deprecated since 1.21). |
| 14309 |
* Skin::tocLine was removed (deprecated since 1.21). |
| 14310 |
* Skin::tocLineEnd was removed (deprecated since 1.21). |
| 14311 |
* Skin::tocList was removed (deprecated since 1.21). |
| 14312 |
* Skin::tocUnindent was removed (deprecated since 1.21). |
| 14313 |
* Skin::tooltip was removed (deprecated since 1.21). |
| 14314 |
* Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21). |
| 14315 |
* Skin::userTalkLink was removed (deprecated since 1.21). |
| 14316 |
* Skin::userToolLinksRedContribs was removed (deprecated since 1.21). |
| 14317 |
* wikidiff3 is now the default and only PHP diff engine. It provides improved |
| 14318 |
diff performance on complex changes. $wgExternalDiffEngine = 'wikidiff3' |
| 14319 |
therefore makes no difference now. Users are still recommended to use |
| 14320 |
wikidiff2 if possible, though. |
| 14321 |
* User::addNewUserLogEntry() was deprecated. |
| 14322 |
* User::addNewUserLogEntryAutoCreate() was deprecated. |
| 14323 |
* User::isPasswordReminderThrottled() was deprecated. |
| 14324 |
* Bot-oriented parameters to Special:UserLogin (wpCookieCheck, |
| 14325 |
wpSkipCookieCheck) were removed. |
| 14326 |
* Installer can now be customized without patching MediaWiki code, see |
| 14327 |
mw-config/overrides/README for details. |
| 14328 |
|
| 14329 |
=== Compatibility === |
| 14330 |
|
| 14331 |
MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for |
| 14332 |
HHVM 3.6.5 or later. |
| 14333 |
|
| 14334 |
MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but |
| 14335 |
support for them is somewhat less mature. There is experimental support for |
| 14336 |
Oracle and Microsoft SQL Server. |
| 14337 |
|
| 14338 |
The supported versions are: |
| 14339 |
|
| 14340 |
* MySQL 5.0.3 or later |
| 14341 |
* PostgreSQL 8.3 or later |
| 14342 |
* SQLite 3.3.7 or later |
| 14343 |
* Oracle 9.0.1 or later |
| 14344 |
* Microsoft SQL Server 2005 (9.00.1399) |
| 14345 |
|
| 14346 |
=== Upgrading === |
| 14347 |
|
| 14348 |
1.27 has several database changes since 1.26, and will not work without schema |
| 14349 |
updates. Note that due to changes to some very large tables like the revision |
| 14350 |
table, the schema update may take quite long (minutes on a medium sized site, |
| 14351 |
many hours on a large site). |
| 14352 |
|
| 14353 |
If upgrading from before 1.11, and you are using a wiki as a commons |
| 14354 |
repository, make sure that it is updated as well. Otherwise, errors may arise |
| 14355 |
due to database schema changes. |
| 14356 |
|
| 14357 |
If upgrading from before 1.7, you may want to run refreshLinks.php to ensure |
| 14358 |
new database fields are filled with data. |
| 14359 |
|
| 14360 |
If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to |
| 14361 |
1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed |
| 14362 |
with MediaWiki 1.21. |
| 14363 |
|
| 14364 |
Don't forget to always back up your database before upgrading! |
| 14365 |
|
| 14366 |
See the file UPGRADE for more detailed upgrade instructions. |
| 14367 |
|
| 14368 |
For notes on 1.26.x and older releases, see HISTORY. |
| 14369 |
|
| 14370 |
|
| 14371 |
= MediaWiki 1.26 = |
| 14372 |
|
| 14373 |
== MediaWiki 1.26.4 == |
| 14374 |
|
| 14375 |
This is a maintenance release of the MediaWiki 1.26 branch. |
| 14376 |
|
| 14377 |
=== Changes since 1.26.3 === |
| 14378 |
* BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests |
| 14379 |
made by MediaWiki via a proxy. Relying on the http_proxy environment |
| 14380 |
variable is no longer supported. |
| 14381 |
* (T124163) Fixed fatal error in DifferenceEngine under HHVM. |
| 14382 |
* (T139565) SECURITY: API: Generate head items in the context of the given title |
| 14383 |
* (T137264) SECURITY: XSS in unclosed internal links |
| 14384 |
* (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks |
| 14385 |
* (T133147) SECURITY: Require login to preview user CSS pages |
| 14386 |
* (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is |
| 14387 |
the top file |
| 14388 |
* (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in |
| 14389 |
permissions |
| 14390 |
* (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true |
| 14391 |
* (T115333) SECURITY: Check read permission when loading page content in |
| 14392 |
ApiParse |
| 14393 |
* Remove support for $wgWellFormedXml = false, all output is now well formed |
| 14394 |
|
| 14395 |
== MediaWiki 1.26.3 == |
| 14396 |
|
| 14397 |
This is a maintenance release of the MediaWiki 1.26 branch. |
| 14398 |
|
| 14399 |
=== Changes since 1.26.2 === |
| 14400 |
* (T116266) Fixed undefined property notices in DairikiDiff under HHVM. |
| 14401 |
* (T123166) Fix fatal error when importing pages to titles which cannot be |
| 14402 |
created, such as invalid titles or titles the user is not allowed to edit. |
| 14403 |
* (T122056) Old tokens are remaining valid within a new session |
| 14404 |
* (T127114) Login throttle can be tricked using non-canonicalized usernames |
| 14405 |
* (T123653) Cross-domain policy regexp is too narrow |
| 14406 |
* (T123071) Incorrectly identifying http link in a's href attributes, due to |
| 14407 |
m modifier in regex |
| 14408 |
* (T129506) MediaWiki:Gadget-popups.js isn't renderable |
| 14409 |
* (T125283) Users occasionally logged in as different users after |
| 14410 |
SessionManager deployment |
| 14411 |
* (T103239) Patrol allows click catching and patrolling of any page |
| 14412 |
* (T122807) [tracking] Check php crypto primatives |
| 14413 |
* (T98313) Graphs can leak tokens, leading to CSRF |
| 14414 |
* (T130947) Diff generation should use PoolCounter |
| 14415 |
* (T133507) Careless use of $wgExternalLinkTarget is insecure |
| 14416 |
* (T132874) API action=move is not rate limited |
| 14417 |
* (T110143) strip markers can be used to get around html attribute escaping in |
| 14418 |
(many?) parser tags |
| 14419 |
* (T116030) Increase pbkdf2 parameter strengths |
| 14420 |
* (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded |
| 14421 |
* (T126685) Globally throttle password attempts |
| 14422 |
|
| 14423 |
== MediaWiki 1.26.2 == |
| 14424 |
|
| 14425 |
This is a maintenance release of the MediaWiki 1.26 branch. |
| 14426 |
|
| 14427 |
=== Changes since 1.26.1 === |
| 14428 |
* (T121892) Fix fatal error on some Special pages, introduced in 1.26.1. |
| 14429 |
|
| 14430 |
== MediaWiki 1.26.1 == |
| 14431 |
|
| 14432 |
This is a maintenance release of the MediaWiki 1.26 branch. |
| 14433 |
|
| 14434 |
=== Changes since 1.26.0 === |
| 14435 |
* (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths |
| 14436 |
that do not begin with a slash. This enabled trivial XSS attacks. |
| 14437 |
Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are |
| 14438 |
"/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an |
| 14439 |
error. |
| 14440 |
* (T119309) SECURITY: Use hash_compare() for edit token comparison |
| 14441 |
* (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting |
| 14442 |
with '@' as file uploads |
| 14443 |
* (T115522) SECURITY: Passwords generated by User::randomPassword() can no |
| 14444 |
longer be shorter than $wgMinimalPasswordLength |
| 14445 |
* (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could |
| 14446 |
result in improper blocks being issued |
| 14447 |
* (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions |
| 14448 |
and related pages no longer use HTTP redirects and are now redirected by |
| 14449 |
MediaWiki |
| 14450 |
* Fixed ConfigException in ExpandTemplates due to AlwaysUseTidy. |
| 14451 |
* Fixed stray literal \n in Special:Search. |
| 14452 |
* Fix issue that breaks HHVM Repo Authorative mode. |
| 14453 |
* (T120267) Work around APCu memory corruption bug |
| 14454 |
|
| 14455 |
== MediaWiki 1.26.0 == |
| 14456 |
|
| 14457 |
=== Configuration changes in 1.26 === |
| 14458 |
* $wgPasswordResetRoutes['email'] = true by default. |
| 14459 |
* $wgEnableParserCache was deprecated, set $wgParserCacheType to CACHE_NONE |
| 14460 |
instead if you want to disable the parser cache. |
| 14461 |
* New-style continuation is now the default for API action=continue. Clients may |
| 14462 |
use the 'rawcontinue' parameter to receive raw query-continue data, but the |
| 14463 |
new style is encouraged as it's harder to implement incorrectly. |
| 14464 |
* Deprecated API formats dump and wddx have been completely removed. |
| 14465 |
* (T7645) The "Signature" button on the edit toolbar is now hidden by default |
| 14466 |
in non-talk namespaces. A new configuration variable, |
| 14467 |
$wgExtraSignatureNamespaces, controls in which subject (non-talk) namespaces |
| 14468 |
the "Signature" button on the edit toolbar will be displayed. |
| 14469 |
* $wgResourceLoaderUseESI was deprecated and removed. This was an experimental |
| 14470 |
feature that was never enabled by default. |
| 14471 |
* $wgResourceLoaderExperimentalAsyncLoading was deprecated and removed. |
| 14472 |
This experimental feature was never enabled by default and is obsolete as of |
| 14473 |
MediaWiki 1.26, in where ResourceLoader became fully asynchronous. |
| 14474 |
* $wgMasterWaitTimeout was removed (deprecated in 1.24). |
| 14475 |
* Fields in ParserOptions are now private. Use the accessors instead. |
| 14476 |
* Custom LESS functions (defined via $wgResourceLoaderLESSFunctions or |
| 14477 |
in extension.json) have been removed, after being deprecated in 1.24. |
| 14478 |
* $wgAlwaysUseTidy has been removed. |
| 14479 |
* ResetSessionID hook has been removed. Nothing seems to use it. |
| 14480 |
* Certain AuthPlugin methods are deprecated in favor of new hooks: |
| 14481 |
** AuthPlugin::initUser() is replaced by LocalUserCreated. |
| 14482 |
** AuthPlugin::updateUser() is replaced by UserLoggedIn. |
| 14483 |
** AuthPlugin::updateExternalDB() is replaced by the existing UserSaveSettings. |
| 14484 |
** AuthPlugin::updateExternalDBGroups() is replaced by UserGroupsChanged. |
| 14485 |
** AuthPluginUser::isHidden() is replaced by UserIsHidden. |
| 14486 |
** AuthPluginUser::isLocked() is replaced by UserIsLocked. |
| 14487 |
* The UserRights hook is deprecated in favor of the new UserGroupsChanged hook. |
| 14488 |
* AuthPlugin::initUser() and AuthPlugin::updateUser() should no longer replace |
| 14489 |
the passed User object. |
| 14490 |
* $wgBlockAllowsUTEdit is now set to true by default. This allows |
| 14491 |
blocked users to edit their talk pages unless explicitly disabled |
| 14492 |
when they are being blocked. |
| 14493 |
|
| 14494 |
=== New features in 1.26 === |
| 14495 |
* (T51506) Now action=info gives estimates of actual watchers for a page. |
| 14496 |
See $wgRCMaxAge, $wgWatchersMaxAge and $wgUnwatchedPageSecret |
| 14497 |
to learn how to configure if needed. |
| 14498 |
* Change tags can now be hidden in the interface by disabling the associated |
| 14499 |
"tag-<id>" interface message. |
| 14500 |
* ':' (colon) is now invalid in usernames for new accounts. Existing accounts |
| 14501 |
are not affected. |
| 14502 |
* Added a new hook, 'LogException', to log exceptions in nonstandard ways. |
| 14503 |
* Revive the 'SpecialSearchResultsAppend' hook which occurs after the list of |
| 14504 |
search results are rendered. The initial use case is to append a "give us |
| 14505 |
feedback" link beneath the search results. |
| 14506 |
* Added a new hook, 'RejectParserCacheValue', which allows extensions to |
| 14507 |
reject an otherwise-successful parser cache lookup. The intent is to allow |
| 14508 |
extensions to manage the eviction of archaic HTML output from the cache. |
| 14509 |
* (T68699) The expiration of the UserID and Token login cookies |
| 14510 |
($wgExtendedLoginCookieExpiration) can be configured independently of the |
| 14511 |
expiration of all other cookies ($wgCookieExpiration). |
| 14512 |
* (T50519) Support for generating JPEG/PNG thumbnails from WebP images added |
| 14513 |
if ImageMagick is used as image scaler ($wgUseImageMagick = true). Uploading |
| 14514 |
of WebP images still disabled by default. Add $wgFileExtensions[] = |
| 14515 |
'webp'; to LocalSettings.php to enable uploading of WebP images. |
| 14516 |
* Added new hooks 'EnhancedChangesListModifyLineData' & |
| 14517 |
'EnhancedChangesListModifyBlockLineData', to modify the data used to build |
| 14518 |
lines in enhanced recentchanges and watchlist. |
| 14519 |
* Caches that need purging ability now use the WANObjectCache interface. |
| 14520 |
This corresponds to a new $wgMainWANCache setting, which defaults to using |
| 14521 |
the $wgMainCacheType settings. |
| 14522 |
* Callers needing fast light-weight data stores use $wgMainStash to select |
| 14523 |
the store type from $wgObjectCaches. The default is the local database. |
| 14524 |
* Interface message overrides in the MediaWiki namespace will now be cached in |
| 14525 |
memcached and APC (if available), rather than memcached and local files. |
| 14526 |
* Added a new hook, 'RandomPageQuery', to allow modification of the query used |
| 14527 |
by Special:Random to select random pages. |
| 14528 |
* $wgTransactionalTimeLimit was added, which controls the request time limit |
| 14529 |
for potentially slow POST requests that need to be as atomic as possible. |
| 14530 |
* ResourceLoader now loads all scripts asynchronously. The top-queue and |
| 14531 |
startup modules are no longer synchronously loaded. |
| 14532 |
* 'mediawiki.ui.button' styles are no longer unconditionally loaded on every |
| 14533 |
page. During the deprecation period, the styles will only be loaded on pages |
| 14534 |
which contain 'mw-ui-button' in their HTML. Starting in 1.28, the styles will |
| 14535 |
only be loaded if explicitly required. |
| 14536 |
* If search returns zero results and current search engine has a "did you mean" |
| 14537 |
suggestion, results for suggestion will be shown. Can be disabled by setting |
| 14538 |
$wgSearchRunSuggestedQuery to false. |
| 14539 |
* Added several JavaScript libraries for uploading files to MediaWiki |
| 14540 |
from the client-side. See documentation for mw.Upload and its |
| 14541 |
subclasses for more information. |
| 14542 |
* Added OOUI dialogs and layout for file upload interfaces. See |
| 14543 |
documentation for mw.Upload.Dialog, mw.Upload.BookletLayout and its |
| 14544 |
subclasses for more information. |
| 14545 |
|
| 14546 |
=== extension.json changes in 1.26 === |
| 14547 |
* (T99344) The extension.json schema is now versioned. All extensions |
| 14548 |
and skins should set a "manifest_version" property corresponding to |
| 14549 |
the schema version they were written for. The only supported version |
| 14550 |
currently is "1". |
| 14551 |
* (T102523) The error message if a non-array attribute is set was improved. |
| 14552 |
* (T107646) Configuration settings can now specify how they should be merged, |
| 14553 |
which is necessary for arrays using integer keys. |
| 14554 |
* (T110389) Adding namespaces through extension.json now actually works |
| 14555 |
* $wgNamespaceProtection can now be set in extension.json. |
| 14556 |
* $wgCapitalLinkOverrides can now be set in extension.json. |
| 14557 |
* (T97186) Extensions using a custom prefix for their configuration settings |
| 14558 |
can now set a "_prefix" key to override the default of "wg". |
| 14559 |
* (T99084) Extensions can now specify what MediaWiki core versions they |
| 14560 |
depend upon. |
| 14561 |
* (T105236) The extension.json schema now validates custom classes in |
| 14562 |
the "ResourceModules" property properly. |
| 14563 |
|
| 14564 |
=== External library changes in 1.26 === |
| 14565 |
==== Upgraded external libraries ==== |
| 14566 |
* Updated es5-shim from v4.0.0 to v4.1.5. |
| 14567 |
* Updated json2 from revision 2014-02-04 to 2015-05-03. |
| 14568 |
* Updated Sinon.JS from 1.10.3 to 1.15.4. |
| 14569 |
* Updated jQuery Client from v1.0.0 to v2.0.0. |
| 14570 |
* Updated QUnit from v1.17.1 to v1.18.0. |
| 14571 |
* Updated liuggio/statsd-php-client from v1.0.12 to v1.0.16. |
| 14572 |
* Updated oojs/oojs-ui from v0.11.3 to v0.12.12. |
| 14573 |
* Updated wikimedia/cdb from v1.0.1 to v1.3.0. |
| 14574 |
* Updated wikimedia/utfnormal from v1.0.2 to v1.0.3. |
| 14575 |
* Updated wikimedia/composer-merge-plugin from v1.0.0 to v1.3.0. |
| 14576 |
* Updated zordius/lightncandy from v0.18 to v0.21. |
| 14577 |
|
| 14578 |
==== New external libraries ==== |
| 14579 |
* Added composer/semver v1.0.0. |
| 14580 |
* Added mediawiki/at-ease v1.1.0. |
| 14581 |
* Added wikimedia/assert v0.2.2. |
| 14582 |
* Added wikimedia/ip-set v1.0.1. |
| 14583 |
* Added wikimedia/wrappedstring v2.0.0. |
| 14584 |
|
| 14585 |
==== Removed and replaced external libraries ==== |
| 14586 |
* Replaced leafo/lessphp v0.5.0 with oyejorge/less.php v1.7.0.9. |
| 14587 |
|
| 14588 |
=== Bug fixes in 1.26 === |
| 14589 |
* (T53283) load.php sometimes sends 304 response without full headers |
| 14590 |
* (T65198) Talk page tabs now have a "rel=discussion" attribute |
| 14591 |
* (T98841) {{msgnw:}} now preserves comments even when subst: is not used. |
| 14592 |
* (T104142) $wgEmergencyContact and $wgPasswordSender now use their default |
| 14593 |
value if set to an empty string. |
| 14594 |
|
| 14595 |
=== Action API changes in 1.26 === |
| 14596 |
* New-style continuation is now the default for action=continue. Clients may |
| 14597 |
use the 'rawcontinue' parameter to receive raw query-continue data, but the |
| 14598 |
new style is encouraged as it's harder to implement incorrectly. |
| 14599 |
* Deprecated API formats dump and wddx have been completely removed. |
| 14600 |
* API action=query&list=tags: The displayname can now be boolean false if the |
| 14601 |
tag is meant to be hidden from user interfaces. |
| 14602 |
* action=import no longer allows both the namespace= and rootpage= parameters |
| 14603 |
to be set. If they are both set, the value of rootpage= will be ignored. |
| 14604 |
* prop=revision output in enum mode is now sorted by timestamp rather than |
| 14605 |
revision ID. This usually won't make any difference. |
| 14606 |
* (T102645) Namespace list from meta=siteinfo&siprop=namespaces is now an array |
| 14607 |
with formatversion=2. |
| 14608 |
* Various other output from meta=siteinfo will now always be arrays instead of |
| 14609 |
sometimes being numerically-indexed objects with formatversion=2. |
| 14610 |
* When errors about users being blocked are returned, they now include |
| 14611 |
information about the relevant block. |
| 14612 |
* (T99926) list=random has higher limits, in line with other API modules. |
| 14613 |
* list=random's rnredirect parameter is deprecated in favor of a new |
| 14614 |
rnfilterredir parameter that also allows for listing both redirects and |
| 14615 |
non-redirects. |
| 14616 |
* list=random now supports continuation. |
| 14617 |
* API responses to GET requests may now include ETag and Last-Modified headers, |
| 14618 |
and will honor corresponding If-None-Match and If-Modified-Since on such |
| 14619 |
requests. |
| 14620 |
|
| 14621 |
=== Action API internal changes in 1.26 === |
| 14622 |
* New metadata item ApiResult::META_KVP_MERGE to allow for merging the KVP key |
| 14623 |
into the value when the value is an assoc. |
| 14624 |
* API action modules may now provide values for the RFC 7232 ETag and |
| 14625 |
Last-Modified headers. The API will check these against If-None-Match and |
| 14626 |
If-Modified-Since request headers on GET requests and avoid executing the |
| 14627 |
module when appropriate. |
| 14628 |
|
| 14629 |
=== Languages updated in 1.26 === |
| 14630 |
|
| 14631 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 14632 |
regularly. Below only new and removed languages are listed, as well as |
| 14633 |
changes to languages because of Phabricator reports. |
| 14634 |
|
| 14635 |
* Languages added: |
| 14636 |
** ase (American sign language), thanks to translator Icemandeaf |
| 14637 |
** dty (डोटेली/Doteli), thanks to translators जनक राज भट्ट, बिप्लब आनन्द, |
| 14638 |
मेश सिंह बोहरा, and राम प्रसाद जोशी |
| 14639 |
** luz (لئری دوٙمینی / Southern Luri) |
| 14640 |
** olo (Livvinкarjala / Livvi-Karelian), thanks to translators Denö, Hiloin |
| 14641 |
Natoi, Ilja.mos, and Mashoi7 |
| 14642 |
|
| 14643 |
=== Other changes in 1.26 === |
| 14644 |
* ChangeTags::tagDescription() will return false if the interface message |
| 14645 |
for the tag is disabled. |
| 14646 |
* Added PageHistoryPager::doBatchLookups hook. |
| 14647 |
* Added $wikiId parameter to FormatAutocomments hook. |
| 14648 |
* Added ParserCacheSaveComplete to ParserCache |
| 14649 |
* supportsDirectEditing and supportsDirectApiEditing methods added to |
| 14650 |
ContentHandler, to provide a way for ApiEditPage and EditPage to check |
| 14651 |
if direct editing of content is allowed. These methods return false, |
| 14652 |
by default for the ContentHandler base class and true for TextContentHandler |
| 14653 |
and it's derivative classes (everything in core). For Content types that |
| 14654 |
do not support direct editing, an alternative mechanism should be provided |
| 14655 |
for editing, such as action overrides or specific api modules. |
| 14656 |
* mediaWiki.confirmCloseWindow now returns an object of functions, instead of |
| 14657 |
one function. The callback can't be called directly any more. The callback |
| 14658 |
function is replaced with confirmCloseWindow.release(). |
| 14659 |
* BREAKING CHANGE: Added an optional ResouceLoaderContext parameter to |
| 14660 |
ResourceLoaderModule::getDependencies(). Extension classes that override that |
| 14661 |
method should be updated. If they aren't updated, PHP Strict standards |
| 14662 |
warnings will appear when E_STRICT error reporting is enabled. Note: in the |
| 14663 |
near future, this parameter will probably become non-optional. |
| 14664 |
* Removed maintenance script deleteImageMemcached.php. |
| 14665 |
* MWFunction::newObj() was removed (deprecated in 1.25). |
| 14666 |
ObjectFactory::getObjectFromSpec() should be used instead. |
| 14667 |
* The parser will no longer randomize the string it uses to mark the place of |
| 14668 |
items that were stripped during parsing. It will use a fixed string instead. |
| 14669 |
This causes the parser to re-use the regular expressions it uses to search |
| 14670 |
and replace markers rather than generate novel expressions on each parse. |
| 14671 |
Re-using regular expressions will improve performance on HHVM and the |
| 14672 |
forthcoming PHP 7. The interfaces changes accompanying this change are: |
| 14673 |
- Parser::getRandomString() and Parser::uniqPrefix() have been deprecated. |
| 14674 |
- The $uniq_prefix argument for Parser::extractTagsAndParams() and the |
| 14675 |
$prefix argument for StripState::_construct() are deprecated and their |
| 14676 |
value is ignored. |
| 14677 |
* wfSuppressWarnings() and wfRestoreWarnings() were split into a separate |
| 14678 |
library, mediawiki/at-ease, and are now deprecated. Callers should use |
| 14679 |
MediaWiki\suppressWarnings() and MediaWiki\restoreWarnings() directly. |
| 14680 |
* The Block class constructor now takes an associative array of parameters |
| 14681 |
instead of many optional positional arguments. Calling the constructor the old |
| 14682 |
way will issue a deprecation warning. |
| 14683 |
* The jquery.mwExtension module was deprecated. |
| 14684 |
* $wgSpecialPageGroups was removed (deprecated in 1.21). |
| 14685 |
* SpecialPageFactory::setGroup was removed (deprecated in 1.21). |
| 14686 |
* SpecialPageFactory::getGroup was removed (deprecated in 1.21). |
| 14687 |
* DatabaseBase::ignoreErrors() is now protected. |
| 14688 |
* BREAKING CHANGE: mediawiki.legacy.ajax has been removed, following |
| 14689 |
a lengthy deprecation period. |
| 14690 |
* The ScopedPHPTimeout class was removed. |
| 14691 |
* Removed maintenance script fixSlaveDesync.php. |
| 14692 |
* Watchlist tokens, SpecialResetTokens, and User::getTokenFromOption() |
| 14693 |
are deprecated. Applications using those can work via the OAuth |
| 14694 |
extension instead. New tokens types should not be added. |
| 14695 |
* DatabaseBase::errorCount() was removed (unused). |
| 14696 |
* $wgDeferredUpdateList was removed. |
| 14697 |
* DeferredUpdates::addHTMLCacheUpdate() was removed. |
| 14698 |
|
| 14699 |
= MediaWiki 1.25 = |
| 14700 |
|
| 14701 |
== MediaWiki 1.25.6 == |
| 14702 |
|
| 14703 |
This is a maintenance release of the MediaWiki 1.25 branch. |
| 14704 |
|
| 14705 |
=== Changes since 1.25.5 === |
| 14706 |
* (T123166) Fix fatal error when importing pages to titles which cannot be |
| 14707 |
created, such as invalid titles or titles the user is not allowed to edit. |
| 14708 |
* (T122056) Old tokens are remaining valid within a new session |
| 14709 |
* (T127114) Login throttle can be tricked using non-canonicalized usernames |
| 14710 |
* (T123653) Cross-domain policy regexp is too narrow |
| 14711 |
* (T123071) Incorrectly identifying http link in a's href attributes, due to |
| 14712 |
m modifier in regex |
| 14713 |
* (T129506) MediaWiki:Gadget-popups.js isn't renderable |
| 14714 |
* (T125283) Users occasionally logged in as different users after |
| 14715 |
SessionManager deployment |
| 14716 |
* (T103239) Patrol allows click catching and patrolling of any page |
| 14717 |
* (T122807) [tracking] Check php crypto primatives |
| 14718 |
* (T98313) Graphs can leak tokens, leading to CSRF |
| 14719 |
* (T130947) Diff generation should use PoolCounter |
| 14720 |
* (T133507) Careless use of $wgExternalLinkTarget is insecure |
| 14721 |
* (T132874) API action=move is not rate limited |
| 14722 |
* (T110143) strip markers can be used to get around html attribute escaping in |
| 14723 |
(many?) parser tags |
| 14724 |
* (T116030) Increase pbkdf2 parameter strengths |
| 14725 |
* (T127420) Pbkdf2Password does not check if hash_pbkdf2() succeeded |
| 14726 |
* (T126685) Globally throttle password attempts |
| 14727 |
|
| 14728 |
== MediaWiki 1.25.5 == |
| 14729 |
|
| 14730 |
This is a maintenance release of the MediaWiki 1.25 branch. |
| 14731 |
|
| 14732 |
=== Changes since 1.25.4 === |
| 14733 |
* (T121892) Fix fatal error on some Special pages, introduced in 1.25.4. |
| 14734 |
|
| 14735 |
== MediaWiki 1.25.4 == |
| 14736 |
|
| 14737 |
This is a security and maintenance release of the MediaWiki 1.25 branch. |
| 14738 |
|
| 14739 |
=== Changes since 1.25.3 === |
| 14740 |
* (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths |
| 14741 |
that do not begin with a slash. This enabled trivial XSS attacks. |
| 14742 |
Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are |
| 14743 |
"/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an |
| 14744 |
error. |
| 14745 |
* (T119309) SECURITY: Use hash_compare() for edit token comparison |
| 14746 |
* (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting |
| 14747 |
with '@' as file uploads |
| 14748 |
* (T115522) SECURITY: Passwords generated by User::randomPassword() can no |
| 14749 |
longer be shorter than $wgMinimalPasswordLength |
| 14750 |
* (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could |
| 14751 |
result in improper blocks being issued |
| 14752 |
* (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions |
| 14753 |
and related pages no longer use HTTP redirects and are now redirected by |
| 14754 |
MediaWiki |
| 14755 |
* (T103237) $wgUseGzip had no effect when using file cache. |
| 14756 |
* (T114606) mw.notify was not correctly fixed to the page if |
| 14757 |
initialized while not at the top of the page. |
| 14758 |
* Fix issue that breaks HHVM Repo Authorative mode. |
| 14759 |
|
| 14760 |
== MediaWiki 1.25.3 == |
| 14761 |
|
| 14762 |
This is a security and maintenance release of the MediaWiki 1.25 branch. |
| 14763 |
|
| 14764 |
=== Changes since 1.25.2 === |
| 14765 |
|
| 14766 |
* (T98975) Fix having multiple callbacks for a single hook. |
| 14767 |
* (T107632) maintenance/refreshLinks.php did not always remove all links |
| 14768 |
pointing to nonexistent pages. |
| 14769 |
* (T104142) $wgEmergencyContact and $wgPasswordSender now use their default |
| 14770 |
value if set to an empty string. |
| 14771 |
* (T62174) Provide fallbacks for use of mb_convert_encoding() in |
| 14772 |
HtmlFormatter. It was causing an error when accessing the api help page |
| 14773 |
if the mbstring PHP extension was not installed. |
| 14774 |
* (T105896) Confirmation emails would sometimes contain invalid codes. |
| 14775 |
* (T105597) Fixed edit stash inclusion queries. |
| 14776 |
* (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload |
| 14777 |
* (T91203, T91205) SECURITY: API: Improve validation in chunked uploading |
| 14778 |
* (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the |
| 14779 |
first |
| 14780 |
* (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails |
| 14781 |
|
| 14782 |
== MediaWiki 1.25.2 == |
| 14783 |
|
| 14784 |
This is a security and maintenance release of the MediaWiki 1.25 branch. |
| 14785 |
|
| 14786 |
=== Changes since 1.25.1 === |
| 14787 |
|
| 14788 |
* (T94116) SECURITY: Compare API watchlist token in constant time |
| 14789 |
* (T97391) SECURITY: Escape error message strings in thumb.php |
| 14790 |
* (T106893) SECURITY: Don't leak autoblocked IP addresses on |
| 14791 |
Special:DeletedContributions |
| 14792 |
* (T102562) Fix InstantCommons parameters to handle the new HTTPS-only |
| 14793 |
policy of Wikimedia Commons. |
| 14794 |
* (T100767) Setting a configuration setting for skin or extension to |
| 14795 |
false in LocalSettings.php was not working. |
| 14796 |
* (T100635) API action=opensearch json output no longer breaks when |
| 14797 |
$wgDebugToolbar is enabled. |
| 14798 |
* (T102522) Using an extension.json or skin.json file which has |
| 14799 |
a "manifest_version" property for 1.26 compatability will no longer |
| 14800 |
trigger warnings. |
| 14801 |
* (T86156) Running updateSearchIndex.php will not throw an error as |
| 14802 |
page_restrictions has been added to the locked table list. |
| 14803 |
* Special:Version would throw notices if using SVN due to an incorrectly |
| 14804 |
named variable. Add an additional check that an index is defined. |
| 14805 |
|
| 14806 |
== MediaWiki 1.25.1 == |
| 14807 |
|
| 14808 |
This is a bug fix release of the MediaWiki 1.25 branch. |
| 14809 |
|
| 14810 |
=== Changes since 1.25 === |
| 14811 |
* (T100351) Fix syntax errors in extension.json of ConfirmEdit extension |
| 14812 |
|
| 14813 |
== MediaWiki 1.25.0 == |
| 14814 |
|
| 14815 |
=== Configuration changes in 1.25 === |
| 14816 |
* $wgPageShowWatchingUsers was removed. |
| 14817 |
* $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts. |
| 14818 |
* $wgAntiLockFlags was removed. |
| 14819 |
* $wgJavaScriptTestConfig was removed. |
| 14820 |
* Edit tokens returned from User::getEditToken may change on every call. Token |
| 14821 |
validity must be checked by passing the user-supplied token to |
| 14822 |
User::matchEditToken rather than by testing for equality with a |
| 14823 |
newly-generated token. |
| 14824 |
* (T74951) The UserGetLanguageObject hook may be passed any IContextSource |
| 14825 |
for its $context parameter. Formerly it was documented as receiving a |
| 14826 |
RequestContext specifically. |
| 14827 |
* Profiling was restructured and $wgProfiler now requires an 'output' parameter. |
| 14828 |
See StartProfiler.sample for details. |
| 14829 |
* $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that |
| 14830 |
might be a flash policy directive configurable. |
| 14831 |
* ApiOpenSearch now supports XML output. The OpenSearchXml extension should no |
| 14832 |
longer be used. If extracts and page images are desired, the TextExtracts and |
| 14833 |
PageImages extensions are required. |
| 14834 |
* $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates. |
| 14835 |
* Edits are now prepared via AJAX as users type edit summaries. This behavior |
| 14836 |
can be disabled via $wgAjaxEditStash. |
| 14837 |
* (T46740) The temporary option $wgIncludejQueryMigrate was removed, along |
| 14838 |
with the jQuery Migrate library, as indicated when this option was provided in |
| 14839 |
MediaWiki 1.24. |
| 14840 |
* ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any |
| 14841 |
StartProfiler.php config is updated to reflect this. Xhprof is available |
| 14842 |
for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler. |
| 14843 |
* Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary |
| 14844 |
rather than 'rsvg'. |
| 14845 |
* Default value of $wgSVGConverters['ImageMagick'] now uses transparent |
| 14846 |
background with white fallback color, rather than just white background. |
| 14847 |
* MediaWikiBagOStuff class removed, make sure any object cache config |
| 14848 |
uses SqlBagOStuff instead. |
| 14849 |
* The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis |
| 14850 |
job queues. This means that mediawiki/services/jobrunner service has to |
| 14851 |
be installed and running for any such queues to work. |
| 14852 |
* $wgAutopromoteOnce no longer supports the 'view' event. For keeping some |
| 14853 |
compatibility, any 'view' event triggers will still trigger on 'edit'. |
| 14854 |
* $wgExtensionDirectory was added for when your extensions directory is |
| 14855 |
somewhere other than $IP/extensions (as $wgStyleDirectory does with the skins |
| 14856 |
directory). |
| 14857 |
|
| 14858 |
=== New features in 1.25 === |
| 14859 |
* (T64861) Updated plural rules to CLDR 26. Includes incompatible changes |
| 14860 |
for plural forms in Russian, Prussian, Tagalog, Manx and several languages |
| 14861 |
that fall back to Russian. |
| 14862 |
* (T60139) ResourceLoaderFileModule now supports language fallback |
| 14863 |
for 'languageScripts'. |
| 14864 |
* Added a new hook, "ContentAlterParserOutput", to allow extensions to modify |
| 14865 |
the parser output for a content object before links update. |
| 14866 |
* (T37785) Enhanced recent changes and extended watchlist are now default. |
| 14867 |
Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes |
| 14868 |
and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions |
| 14869 |
* (T69341) SVG images will no longer be base64-encoded when being embedded |
| 14870 |
in CSS. This results in slight size increase before gzip compression (due to |
| 14871 |
percent-encoding), but up to 20% decrease after it. |
| 14872 |
* Update jStorage to v0.4.12. |
| 14873 |
* MediaWiki now natively supports page status indicators: icons (or short text |
| 14874 |
snippets) usually displayed in the top-right corner of the page. They have |
| 14875 |
been in use on Wikipedia for a long time, implemented using templates and CSS |
| 14876 |
absolute positioning. |
| 14877 |
- Basic wikitext syntax: |
| 14878 |
<indicator name="foo">[[File:Foo.svg|20px]]</indicator> |
| 14879 |
- Usage instructions: |
| 14880 |
https://www.mediawiki.org/wiki/Help:Page_status_indicators |
| 14881 |
- Adjusting custom skins to support indicators: |
| 14882 |
https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators |
| 14883 |
* Edit tokens may now be time-limited: passing a maximum age to |
| 14884 |
User::matchEditToken will reject any older tokens. |
| 14885 |
* The debug logging internals have been overhauled, and are now using the |
| 14886 |
PSR-3 interfaces. |
| 14887 |
* Update CSSJanus to v1.1.1. |
| 14888 |
* Update lessphp to v0.5.0. |
| 14889 |
* Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts |
| 14890 |
and images for ApiOpenSearch output. The semantics are identical to the |
| 14891 |
"OpenSearchXml" hook provided by the OpenSearchXml extension. |
| 14892 |
* PrefixSearchBackend hook now has an $offset parameter. Combined with $limit, |
| 14893 |
this allows for pagination of prefix results. Extensions using this hook |
| 14894 |
should implement supporting behavior. Not doing so can result in undefined |
| 14895 |
behavior from API clients trying to continue through prefix results. |
| 14896 |
* Update jQuery from v1.11.1 to v1.11.3. |
| 14897 |
* External libraries installed via composer will now be displayed |
| 14898 |
on Special:Version in their own section. Extensions or skins that are |
| 14899 |
installed via composer will not be shown in this section as it is assumed |
| 14900 |
they will add the proper credits to the skins or extensions section. They |
| 14901 |
can also be accessed through the API via the new siprop=libraries to |
| 14902 |
ApiQuerySiteinfo. |
| 14903 |
* Update QUnit from v1.14.0 to v1.16.0. |
| 14904 |
* Update Moment.js from v2.8.3 to v2.8.4. |
| 14905 |
* Special:Tags now allows for manipulating the list of user-modifiable change |
| 14906 |
tags. |
| 14907 |
* Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete', |
| 14908 |
and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change |
| 14909 |
tags. |
| 14910 |
* Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and |
| 14911 |
"active" formerly conflated by the 'ListDefinedTags' hook. |
| 14912 |
* Added TemplateParser class that provides a server-side interface to cachable |
| 14913 |
dynamically-compiled Mustache templates (currently uses lightncandy library). |
| 14914 |
* Clickable anchors for each section heading in the content are now generated |
| 14915 |
and appear in the gutter on hovering over the heading. |
| 14916 |
* Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink' |
| 14917 |
hooks to allow extensions to override how links to pages are rendered within |
| 14918 |
NS_CATEGORY |
| 14919 |
* (T19665) Special:WantedPages only lists page which having at least one red |
| 14920 |
link pointing to it. |
| 14921 |
* New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be |
| 14922 |
used for conditional registration of API modules. |
| 14923 |
* New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the |
| 14924 |
links of a group of changes in EnhancedChangesList. |
| 14925 |
* A full interface for StatsD metric reporting has been added to the context |
| 14926 |
interface, reachable via IContextSource::getStats(). |
| 14927 |
* Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a |
| 14928 |
proper, published library, which is now tagged as v1.0.0. |
| 14929 |
* A new message (defaulting to blank), 'editnotice-notext', can be shown to |
| 14930 |
users when they are editing if no edit notices apply to the page being edited. |
| 14931 |
* (T94536) You can now make the sitenotice appear to logged-in users only by |
| 14932 |
editing MediaWiki:Anonnotice and replacing its content with "". Setting it to |
| 14933 |
"-" (default) will continue disable it and fallback to MediaWiki:Sitenotice. |
| 14934 |
* Modifying the tagging of a revision or log entry is now available via |
| 14935 |
Special:EditTags, generally accessed via the revision-deletion-like interface |
| 14936 |
on history pages and Special:Log is likely to be more useful. |
| 14937 |
* Added 'applychangetags' and 'changetags' user rights. |
| 14938 |
* (T35235) LogFormatter subclasses are now responsible for formatting the |
| 14939 |
parameters for API log event output. Extensions should implement the new |
| 14940 |
getParametersForApi() method in their log formatters. |
| 14941 |
|
| 14942 |
==== External libraries ==== |
| 14943 |
* MediaWiki now requires certain external libraries to be installed. In the past |
| 14944 |
these were bundled inside the Git repository of MediaWiki core, but now they |
| 14945 |
need to be installed separately. For users using the tarball, this will be |
| 14946 |
taken care of and no action will be required. Users using Git will either need |
| 14947 |
to use composer to fetch dependencies or use the mediawiki/vendor repository |
| 14948 |
which includes all dependencies for MediaWiki core and ones used in Wikimedia |
| 14949 |
deployment. Detailed instructions can be found at: |
| 14950 |
https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries |
| 14951 |
* The following libraries are now required: |
| 14952 |
** psr/log |
| 14953 |
This library provides the interfaces set by the PSR-3 standard |
| 14954 |
(http://www.php-fig.org/psr/psr-3/) which are used by MediaWiki internally |
| 14955 |
via the MediaWiki\Logger\LoggerFactory class. |
| 14956 |
See the structured logging RfC |
| 14957 |
<https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging> |
| 14958 |
for more background information. |
| 14959 |
** cssjanus/cssjanus |
| 14960 |
This library was formerly bundled with MediaWiki core and has been removed. |
| 14961 |
It automatically flips CSS for RTL support. |
| 14962 |
** leafo/lessphp |
| 14963 |
This library was formerly bundled with MediaWiki core and has been removed. |
| 14964 |
It compiles LESS files into CSS. |
| 14965 |
** wikimedia/cdb |
| 14966 |
This library was formerly a part of MediaWiki core, and has been moved into a |
| 14967 |
separate library. It provides CDB functions which are used in the Interwiki |
| 14968 |
and Localization caches. More information about the library can be found at |
| 14969 |
https://www.mediawiki.org/wiki/CDB. |
| 14970 |
** liuggio/statsd-php-client |
| 14971 |
This library provides a StatsD client API for logging application metrics to |
| 14972 |
a remote server. |
| 14973 |
|
| 14974 |
=== Bug fixes in 1.25 === |
| 14975 |
* (T73003) No additional code will be generated to try to load CSS-embedded |
| 14976 |
SVG images in Internet Explorer 6 and 7, as they don't support them anyway. |
| 14977 |
* (T69021) On Special:BookSources, corrected validation of ISBNs (both |
| 14978 |
10- and 13-digit forms) containing "X". |
| 14979 |
* Page moving was refactored into a MovePage class. As part of that: |
| 14980 |
** The AbortMove hook was removed. |
| 14981 |
** MovePageIsValidMove is for extensions to specify whether a page |
| 14982 |
cannot be moved for technical reasons, and should not be overridden. |
| 14983 |
** MovePageCheckPermissions is for checking whether the given user is |
| 14984 |
allowed to make the move. |
| 14985 |
** Title::moveNoAuth() was deprecated. Use the MovePage class instead. |
| 14986 |
** Title::moveTo() was deprecated. Use the MovePage class instead. |
| 14987 |
** Title::isValidMoveOperation() broken down into MovePage::isValidMove() |
| 14988 |
and MovePage::checkPermissions(). |
| 14989 |
* (T18530) Multiple autocomments are now formatted in an edit summary. |
| 14990 |
* (T70361) Autocomments containing "/*" are parsed correctly. |
| 14991 |
* The Special:WhatLinksHere page linked from 'Number of redirects to this page' |
| 14992 |
on action=info about a file page does not list file links anymore. |
| 14993 |
* (T78637) Search bar is not autofocused unless it is empty so that proper |
| 14994 |
scrolling using arrow keys is possible. |
| 14995 |
* (T50853) Database::makeList() modified to handle 'NULL' separately when |
| 14996 |
building IN clause |
| 14997 |
* (T85192) Captcha position modified in Usercreate template. As a result: |
| 14998 |
** extrafields parameter added to Usercreate.php to insert additional data |
| 14999 |
** 'extend' method added to QuickTemplate to append additional values to any |
| 15000 |
field of data array |
| 15001 |
* (T86974) Several Title methods now load from the database when necessary |
| 15002 |
(instead of returning incorrect results) even when the page ID is known. |
| 15003 |
* (T74070) Duplicate search for archived files on file upload now omits the |
| 15004 |
extension. |
| 15005 |
This requires the fa_sha1 field being populated. |
| 15006 |
* Removed rel="archives" from the "View history" link, as it did not pass |
| 15007 |
HTML validation. |
| 15008 |
* $wgUseTidy is now set when parserTests are run with the tidy option to match |
| 15009 |
output on wiki. |
| 15010 |
* (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed |
| 15011 |
to it. |
| 15012 |
* (T72109) mediawiki.language should respect $wgTranslateNumerals in |
| 15013 |
convertNumber(). |
| 15014 |
|
| 15015 |
=== Action API changes in 1.25 === |
| 15016 |
* (T67403) XML tag highlighting is now only performed for formats |
| 15017 |
"xmlfm" and "wddxfm". |
| 15018 |
* action=paraminfo supports generalized submodules (modules=query+value), |
| 15019 |
querymodules and formatmodules are deprecated |
| 15020 |
* action=paraminfo no longer outputs descriptions and other help text by |
| 15021 |
default. If needed, it may be requested using the new 'helpformat' parameter. |
| 15022 |
* action=help has been completely rewritten, and outputs help in HTML |
| 15023 |
rather than plain text. |
| 15024 |
* Hitting api.php without specifying an action now displays only the help for |
| 15025 |
the main module, with links to submodule help. |
| 15026 |
* API help is no longer displayed on errors. |
| 15027 |
* 'uselang' is now a recognized API parameter; "uselang=user" may be used to |
| 15028 |
explicitly select the language from the current user's preferences, and |
| 15029 |
"uselang=content" may be used to select the wiki's content language. |
| 15030 |
* Default output format for the API is now jsonfm. |
| 15031 |
* Simplified continuation will return a "batchcomplete" property in the result |
| 15032 |
when a batch of pages is complete. |
| 15033 |
* Pretty-printed HTML output now has nicer formatting and (if available) |
| 15034 |
better syntax highlighting. |
| 15035 |
* Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and |
| 15036 |
list=alldeletedrevisions. |
| 15037 |
* prop=revisions will gracefully continue when given too many revids or titles, |
| 15038 |
rather than just ignoring the extras. |
| 15039 |
* prop=revisions will no longer die if rvcontentformat doesn't match a |
| 15040 |
revision's content model; it will instead warn and omit the content. |
| 15041 |
* If the user has the 'deletedhistory' right, action=query's revids parameter |
| 15042 |
will now recognize deleted revids. |
| 15043 |
* prop=revisions may be used as a generator, generating revids. |
| 15044 |
* (T68776) format=json results will no longer be corrupted when |
| 15045 |
$wgMangleFlashPolicy is in effect. format=php results will cleanly return an |
| 15046 |
error instead of returning invalid serialized data. |
| 15047 |
* Generators may now return data for the generated pages when used with |
| 15048 |
action=query. |
| 15049 |
* Query page data for generator=search and generator=prefixsearch will now |
| 15050 |
include an "index" field, which may be used by the client for sorting the |
| 15051 |
search results. |
| 15052 |
* ApiOpenSearch now supports XML output. |
| 15053 |
* ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3 |
| 15054 |
in JSON format. |
| 15055 |
* (T76051) list=tags will now continue correctly. |
| 15056 |
* (T76052) list=tags can now indicate whether a tag is defined. |
| 15057 |
* (T75522) list=prefixsearch now supports continuation |
| 15058 |
* (T78737) action=expandtemplates can now return page properties. |
| 15059 |
* (T78690) list=allimages now accepts multiple pipe-separated values |
| 15060 |
for the 'aimime' parameter. |
| 15061 |
* prop=info with inprop=protections will now return applicable protection types |
| 15062 |
with the 'restrictiontypes' key. |
| 15063 |
* (T85417) When resolving redirects, ApiPageSet will now add the targets of |
| 15064 |
interwiki redirects to the list of interwiki titles. |
| 15065 |
* (T85417) When outputting the list of redirect titles, a 'tointerwiki' |
| 15066 |
property (like the existing 'tofragment' property) will be set. |
| 15067 |
* Added action=managetags to allow for managing the list of |
| 15068 |
user-modifiable change tags. Actually modifying the tagging of a revision or |
| 15069 |
log entry is not implemented yet. |
| 15070 |
* list=tags has additional properties to indicate 'active' status and tag |
| 15071 |
sources. |
| 15072 |
* siprop=libraries was added to ApiQuerySiteinfo to list installed external |
| 15073 |
libraries. |
| 15074 |
* (T88010) Added action=checktoken, to test a CSRF token's validity. |
| 15075 |
* (T88010) Added intestactions to prop=info, to allow querying of |
| 15076 |
Title::userCan() via the API. |
| 15077 |
* Default type param for query list=watchlist and list=recentchanges has |
| 15078 |
been changed from all types (e.g. including 'external') to 'edit|new|log'. |
| 15079 |
* Added formatversion to format=json. Still "experimental" as further changes |
| 15080 |
to the output formatting might still be made. |
| 15081 |
* (T73020) Log event details are now always under a 'params' subkey for |
| 15082 |
list=logevents, and a 'logparams' subkey for list=watchlist and |
| 15083 |
list=recentchanges. |
| 15084 |
* Log event details are changing formatting: |
| 15085 |
* block events now report flags as an array rather than as a comma-separated |
| 15086 |
list. |
| 15087 |
* patrol events now report the 'auto' flag as a boolean (absent/empty string |
| 15088 |
for BC formats) rather than as an integer. |
| 15089 |
* rights events now report the old and new group lists as arrays rather than |
| 15090 |
as comma-separated lists. |
| 15091 |
* merge events use new-style formatting. |
| 15092 |
* delete/event and delete/revision events use new-style formatting. |
| 15093 |
* The root node and various other nodes will now always be an object in formats |
| 15094 |
such as json that distinguish between arrays and objects. |
| 15095 |
* Except for action=opensearch where the spec requires an array. |
| 15096 |
|
| 15097 |
=== Action API internal changes in 1.25 === |
| 15098 |
* ApiHelp has been rewritten to support i18n and paginated HTML output. |
| 15099 |
Most existing modules should continue working without changes, but should do |
| 15100 |
the following: |
| 15101 |
* Add an i18n message "apihelp-{$moduleName}-description" to replace |
| 15102 |
getDescription(). |
| 15103 |
* Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter |
| 15104 |
to replace getParamDescription(). If necessary, the settings array returned |
| 15105 |
by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the |
| 15106 |
message. |
| 15107 |
* Implement getExamplesMessages() to replace getExamples(). |
| 15108 |
* Modules with submodules (like action=query) must have their submodules |
| 15109 |
override ApiBase::getParent() to return the correct parent object. |
| 15110 |
* The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated, |
| 15111 |
and will have no effect for modules using i18n messages. Use |
| 15112 |
'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead. |
| 15113 |
* Api formatters will no longer be asked to display the help screen on errors. |
| 15114 |
* ApiMain::getCredits() was removed. The credits are available in the |
| 15115 |
'api-credits' i18n message. |
| 15116 |
* ApiFormatBase has been changed to support i18n and syntax highlighting via |
| 15117 |
extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting |
| 15118 |
has been removed. |
| 15119 |
* ApiFormatBase now always buffers. Output is done when |
| 15120 |
ApiFormatBase::closePrinter is called. |
| 15121 |
* Much of the logic in ApiQueryRevisions has been split into |
| 15122 |
ApiQueryRevisionsBase. |
| 15123 |
* The 'revids' parameter supplied by ApiPageSet will now count deleted |
| 15124 |
revisions as "good" if the user has the 'deletedhistory' right. New methods |
| 15125 |
ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are |
| 15126 |
provided to access just the live or just the deleted revids. |
| 15127 |
* Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData() |
| 15128 |
to allow generators to include data in the action=query result. |
| 15129 |
* New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be |
| 15130 |
used for conditional registration of API modules. |
| 15131 |
* Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if |
| 15132 |
the current request was sent with the 'callback' parameter (or any future |
| 15133 |
method that breaks the same-origin policy). |
| 15134 |
* Profiling methods in ApiBase are deprecated and no longer need to be called. |
| 15135 |
* ApiResult was greatly overhauled. See inline documentation for details. |
| 15136 |
* ApiResult will automatically convert objects to strings or arrays (depending |
| 15137 |
on whether a __toString() method exists on the object), and will refuse to |
| 15138 |
add unsupported value types. |
| 15139 |
* An informal interface, ApiSerializable, exists to override the default |
| 15140 |
object conversion. |
| 15141 |
* ApiResult/ApiFormatBase "raw mode" is deprecated. |
| 15142 |
* ApiFormatXml now assumes defaults and so on instead of throwing errors when |
| 15143 |
metadata isn't set. |
| 15144 |
* (T35235) LogFormatter subclasses are now responsible for formatting log event |
| 15145 |
parameters for the API. |
| 15146 |
* Many modules have changed result data formats. While this shouldn't affect |
| 15147 |
clients not using the experimental formatversion=2, code using |
| 15148 |
ApiResult::getResultData() without the transformations for backwards |
| 15149 |
compatibility may need updating, as will code that wasn't following the old |
| 15150 |
conventions for API boolean output. |
| 15151 |
* The following methods have been deprecated and may be removed in a future |
| 15152 |
release: |
| 15153 |
* ApiBase::getDescription |
| 15154 |
* ApiBase::getParamDescription |
| 15155 |
* ApiBase::getExamples |
| 15156 |
* ApiBase::makeHelpMsg |
| 15157 |
* ApiBase::makeHelpArrayToString |
| 15158 |
* ApiBase::makeHelpMsgParameters |
| 15159 |
* ApiBase::getModuleProfileName |
| 15160 |
* ApiBase::profileIn |
| 15161 |
* ApiBase::profileOut |
| 15162 |
* ApiBase::safeProfileOut |
| 15163 |
* ApiBase::getProfileTime |
| 15164 |
* ApiBase::profileDBIn |
| 15165 |
* ApiBase::profileDBOut |
| 15166 |
* ApiBase::getProfileDBTime |
| 15167 |
* ApiBase::getResultData |
| 15168 |
* ApiFormatBase::setUnescapeAmps |
| 15169 |
* ApiFormatBase::getWantsHelp |
| 15170 |
* ApiFormatBase::setHelp |
| 15171 |
* ApiFormatBase::formatHTML |
| 15172 |
* ApiFormatBase::setBufferResult |
| 15173 |
* ApiFormatBase::getDescription |
| 15174 |
* ApiFormatBase::getNeedsRawData |
| 15175 |
* ApiMain::setHelp |
| 15176 |
* ApiMain::reallyMakeHelpMsg |
| 15177 |
* ApiMain::makeHelpMsgHeader |
| 15178 |
* ApiResult::setRawMode |
| 15179 |
* ApiResult::getIsRawMode |
| 15180 |
* ApiResult::getData |
| 15181 |
* ApiResult::setElement |
| 15182 |
* ApiResult::setContent |
| 15183 |
* ApiResult::setIndexedTagName_recursive |
| 15184 |
* ApiResult::setIndexedTagName_internal |
| 15185 |
* ApiResult::setParsedLimit |
| 15186 |
* ApiResult::beginContinuation |
| 15187 |
* ApiResult::setContinueParam |
| 15188 |
* ApiResult::setGeneratorContinueParam |
| 15189 |
* ApiResult::endContinuation |
| 15190 |
* ApiResult::size |
| 15191 |
* ApiResult::convertStatusToArray |
| 15192 |
* ApiQueryImageInfo::getPropertyDescriptions |
| 15193 |
* ApiQueryLogEvents::addLogParams |
| 15194 |
* The following classes have been deprecated and may be removed in a future |
| 15195 |
release: |
| 15196 |
* ApiQueryDeletedrevs |
| 15197 |
|
| 15198 |
=== Languages updated in 1.25 === |
| 15199 |
|
| 15200 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 15201 |
regularly. Below only new and removed languages are listed, as well as |
| 15202 |
changes to languages because of Bugzilla reports. |
| 15203 |
|
| 15204 |
* Languages added: |
| 15205 |
** awa (अवधी / Awadhi), thanks to translator 1AnuraagPandey; |
| 15206 |
** bgn (بلوچی رخشانی / Western Balochi), thanks to translators |
| 15207 |
Baloch Afghanistan, Ibrahim khashrowdi and Rachitrali; |
| 15208 |
** ses (Koyraboro Senni), thanks to translator Songhay. |
| 15209 |
* (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's |
| 15210 |
interface language to kk where unexpected. |
| 15211 |
* The Chinese conversion table was substantially updated to fix a lot of |
| 15212 |
bugs and ensure better reading experience for different variants. |
| 15213 |
|
| 15214 |
=== Other changes in 1.25 === |
| 15215 |
* (T45591) Links to MediaWiki.org translatable help were added to indicators, |
| 15216 |
mostly in special pages. Local custom target titles can be placed in the |
| 15217 |
relevant '(namespace-X|action name|special page name)-helppage' system |
| 15218 |
message. Extensions can use the addHelpLink() function to do the same. |
| 15219 |
* The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been |
| 15220 |
removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for |
| 15221 |
migration guide for creators and users of custom skins that relied on it. |
| 15222 |
* Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only |
| 15223 |
available on Special:Upload. |
| 15224 |
* (T58257) Set site logo from mediawiki.skinning.interface module instead of |
| 15225 |
inline styles in the HTML. |
| 15226 |
* Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20) |
| 15227 |
* Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20) |
| 15228 |
* Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20) |
| 15229 |
* Removed Preferences::trySetUserEmail(). (deprecated since 1.20) |
| 15230 |
* Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since |
| 15231 |
1.20) |
| 15232 |
* Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated |
| 15233 |
since 1.20) |
| 15234 |
* Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated |
| 15235 |
since 1.20) |
| 15236 |
* Removed 'jquery.json' module. (deprecated since 1.24) |
| 15237 |
Use the 'json' module and global JSON object instead. |
| 15238 |
* Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited(). |
| 15239 |
Also, the former will now throw an MWException if called with one or more |
| 15240 |
arguments. |
| 15241 |
* Removed hitcounters and associated code. |
| 15242 |
* The "temp" zone of the upload respository is now considered private. If it |
| 15243 |
already exists (such as under the images/ directory), please make sure that |
| 15244 |
the directory is not web readable (e.g. via a .htaccess file). |
| 15245 |
* BREAKING CHANGE: In the XML dump format used by Special:Export and |
| 15246 |
dumpBackup.php, the <model> and <format> tags now apprear before the <text> |
| 15247 |
tag, instead of after the <text> and <sha1> tags. |
| 15248 |
The new schema version is 0.10, the new schema URI is: |
| 15249 |
https://www.mediawiki.org/xml/export-0.10.xsd |
| 15250 |
* MWFunction::call() and MWFunction::callArray() were removed, having being |
| 15251 |
deprecated in 1.22. |
| 15252 |
* Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj, |
| 15253 |
and getInternalLinkAttributes methods in Linker, and removed |
| 15254 |
getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18. |
| 15255 |
* Removed Sites class, which was deprecated in 1.21 and replaced by |
| 15256 |
SiteSQLStore. |
| 15257 |
* Added wgRelevantArticleId to the client-side config, for use on special pages. |
| 15258 |
* Deprecated the TitleIsCssOrJsPage hook. Superseded by the |
| 15259 |
ContentHandlerDefaultModelFor hook since MediaWiki 1.21. |
| 15260 |
* Deprecated the TitleIsWikitextPage hook. Superseded by the |
| 15261 |
ContentHandlerDefaultModelFor hook since MediaWiki 1.21. |
| 15262 |
* Changed parsing of variables in schema (.sql) files: |
| 15263 |
** The substituted values are no longer parsed. (Formerly, several passes |
| 15264 |
were made for each variable, so depending on the order in which variables |
| 15265 |
were defined, variables might have been found inside encoded values. This |
| 15266 |
is no longer the case.) |
| 15267 |
** Variables are no longer string encoded when the /*$var*/ syntax is used. |
| 15268 |
If string encoding is necessary, use the '{$var}' syntax instead. |
| 15269 |
** Variable names must only consist of one or more of the characters |
| 15270 |
"A-Za-z0-9_". |
| 15271 |
** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A |
| 15272 |
does not exist yet variable B does, the latter may not be replaced. |
| 15273 |
However, this difference is unlikely to arise in practice. |
| 15274 |
* (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word |
| 15275 |
characters on both sides. |
| 15276 |
* The FormatAutocomments hook will now receive $pre and $post as booleans, |
| 15277 |
rather than as strings that must be prepended or appended to $comment. |
| 15278 |
* (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain |
| 15279 |
newlines; but they can contain and other non-newline whitespace. |
| 15280 |
* The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit |
| 15281 |
toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you |
| 15282 |
relied on this behavior, update your scripts' dependencies. |
| 15283 |
* HTMLForm's 'vform' display style has been separated to a subclass. Therefore: |
| 15284 |
* HTMLForm::isVForm() is now deprecated. |
| 15285 |
* You can no longer do this: |
| 15286 |
$form = new HTMLForm( … ); |
| 15287 |
$form->setDisplayFormat( 'vform' ); // throws exception |
| 15288 |
Instead, do this: |
| 15289 |
$form = HTMLForm::factory( 'vform', … ); |
| 15290 |
* Deprecated Revision methods getRawUser(), getRawUserText() and |
| 15291 |
getRawComment(). |
| 15292 |
* BREAKING CHANGE: mediawiki.user.generateRandomSessionId: |
| 15293 |
The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F |
| 15294 |
* (T87504) Avoid serving SVG background-images in CSS for Opera 12, which |
| 15295 |
renders them incorrectly when combined with border-radius or background-size. |
| 15296 |
* Removed maintenance script dumpSisterSites.php. |
| 15297 |
* DatabaseBase class constructors must be called using the array argument style. |
| 15298 |
Ideally, DatabaseBase:factory() should be used instead in most cases. |
| 15299 |
* Deprecated ParserOutput::addSecondaryDataUpdate and |
| 15300 |
ParserOutput::getSecondaryDataUpdates. |
| 15301 |
This is a hard deprecation, with getSecondaryDataUpdates returning an empty |
| 15302 |
array and addSecondaryDataUpdate throwing an exception. These functions will |
| 15303 |
be removed in 1.26, since they interfere with caching of ParserOutput objects. |
| 15304 |
* Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject |
| 15305 |
custom updates. |
| 15306 |
* Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to |
| 15307 |
perform updates when a page is re-rendered. |
| 15308 |
* EditPage::attemptSave has been modified not to call handleStatus itself and |
| 15309 |
instead just returns the Status object. Extension calling it should be aware |
| 15310 |
of this. |
| 15311 |
* Removed class DBObject. (unused since 1.10) |
| 15312 |
* wfDiff() is deprecated. |
| 15313 |
* The -m (maximum replication lag) option of refreshLinks.php was removed. |
| 15314 |
It had no effect since MediaWiki 1.18 and should be removed from any cron |
| 15315 |
jobs or similar scripts you may have set up. |
| 15316 |
* (T85864) The following messages no longer support raw html: redirectto, |
| 15317 |
thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others, |
| 15318 |
retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode, |
| 15319 |
protect-summary-cascade |
| 15320 |
* All BloomCache related code has been removed. This was largely experimental. |
| 15321 |
* $wgResourceModuleSkinStyles no longer supports per-module local or remote |
| 15322 |
paths. They can only be set for the entire skin. |
| 15323 |
* Removed global function swap(). (deprecated since 1.24) |
| 15324 |
* Deprecated the ".php5" file extension entry points and the $wgScriptExtension |
| 15325 |
configuration variable. Refer to the ".php" files instead. If you want |
| 15326 |
".php5" URLs to continue to work, set up redirects. In Apache, this can be |
| 15327 |
done by enabling mod_rewrite and adding the following rules to your |
| 15328 |
configuration: |
| 15329 |
|
| 15330 |
RewriteEngine On |
| 15331 |
RewriteBase / |
| 15332 |
RewriteRule ^(.*)\.php5 $1.php [R=301,L] |
| 15333 |
|
| 15334 |
* The global importScriptURI and importStylesheetURI functions, as well as the |
| 15335 |
loadedScripts object, from wikibits.js (deprecated since 1.17) now emit |
| 15336 |
warnings through mw.log.warn when accessed. |
| 15337 |
|
| 15338 |
= MediaWiki 1.24 = |
| 15339 |
|
| 15340 |
== MediaWiki 1.24.6 == |
| 15341 |
|
| 15342 |
This is a maintenance release of the MediaWiki 1.24 branch. |
| 15343 |
|
| 15344 |
=== Changes since 1.24.5 === |
| 15345 |
* (T121892) Fix fatal error on some Special pages, introduced in 1.24.5. |
| 15346 |
|
| 15347 |
== MediaWiki 1.24.5 == |
| 15348 |
|
| 15349 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 15350 |
|
| 15351 |
=== Changes since 1.24.4 === |
| 15352 |
* (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths |
| 15353 |
that do not begin with a slash. This enabled trivial XSS attacks. |
| 15354 |
Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are |
| 15355 |
"/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an |
| 15356 |
error. |
| 15357 |
* (T119309) SECURITY: Use hash_compare() for edit token comparison |
| 15358 |
* (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting |
| 15359 |
with '@' as file uploads |
| 15360 |
* (T115522) SECURITY: Passwords generated by User::randomPassword() can no |
| 15361 |
longer be shorter than $wgMinimalPasswordLength |
| 15362 |
* (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could |
| 15363 |
result in improper blocks being issued |
| 15364 |
* (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions |
| 15365 |
and related pages no longer use HTTP redirects and are now redirected by |
| 15366 |
MediaWiki |
| 15367 |
* (T103237) $wgUseGzip had no effect when using file cache. |
| 15368 |
|
| 15369 |
== MediaWiki 1.24.4 == |
| 15370 |
|
| 15371 |
This is a security and maintenance release of the MediaWiki 1.24 branch. |
| 15372 |
|
| 15373 |
=== Changes since 1.24.3 === |
| 15374 |
|
| 15375 |
* (T91653) Minimal PSR-3 debug logger to support backports from 1.25+. |
| 15376 |
* (T68650) Fix indexing of moved pages with PostgreSQL. Requires running |
| 15377 |
update.php to fix. |
| 15378 |
* (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload |
| 15379 |
* (T91203, T91205) SECURITY: API: Improve validation in chunked uploading |
| 15380 |
* (T95589) SECURITY: RevDel: Check all revisions for suppression, not just the |
| 15381 |
first |
| 15382 |
* (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails |
| 15383 |
|
| 15384 |
== MediaWiki 1.24.3 == |
| 15385 |
|
| 15386 |
This is a security and maintenance release of the MediaWiki 1.24 branch. |
| 15387 |
|
| 15388 |
=== Changes since 1.24.2 === |
| 15389 |
|
| 15390 |
* (T94116) SECURITY: Compare API watchlist token in constant time |
| 15391 |
* (T97391) SECURITY: Escape error message strings in thumb.php |
| 15392 |
* (T106893) SECURITY: Don't leak autoblocked IP addresses on |
| 15393 |
Special:DeletedContributions |
| 15394 |
* Update jQuery from v1.11.2 to v1.11.3. |
| 15395 |
* (T102562) Fix InstantCommons parameters to handle the new HTTPS-only |
| 15396 |
policy of Wikimedia Commons. |
| 15397 |
|
| 15398 |
== MediaWiki 1.24.2 == |
| 15399 |
|
| 15400 |
This is a security and maintenance release of the MediaWiki 1.24 branch. |
| 15401 |
|
| 15402 |
=== Changes since 1.24.1 === |
| 15403 |
|
| 15404 |
* (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities, |
| 15405 |
to prevent various DoS attacks. |
| 15406 |
* (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce |
| 15407 |
likelihood of DoS. |
| 15408 |
* (T88310) SECURITY: Always expand xml entities when checking SVG's. |
| 15409 |
* (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS. |
| 15410 |
* (T85855) SECURITY: Don't execute another user's CSS or JS on preview. |
| 15411 |
* (T64685) SECURITY: Allow setting maximal password length to prevent DoS when |
| 15412 |
using PBKDF2. |
| 15413 |
* (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to |
| 15414 |
prevent XSS and protect viewer's privacy. |
| 15415 |
* Fix case of SpecialAllPages/SpecialAllMessages in SpecialPageFactory to fix |
| 15416 |
loading these special pages when $wgAutoloadAttemptLowercase is false. |
| 15417 |
* (bug T70087) Fix Special:ActiveUsers page for installations using |
| 15418 |
PostgreSQL. |
| 15419 |
* (bug T76254) Fix deleting of pages with PostgreSQL. Requires a schema change |
| 15420 |
and running update.php to fix. |
| 15421 |
|
| 15422 |
== MediaWiki 1.24.1 == |
| 15423 |
|
| 15424 |
This is a security and maintenance release of the MediaWiki 1.24 branch. |
| 15425 |
|
| 15426 |
=== Changes since 1.24.0 === |
| 15427 |
|
| 15428 |
* (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which |
| 15429 |
could lead to xss. Permission to edit MediaWiki namespace is required to |
| 15430 |
exploit this. |
| 15431 |
* (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in |
| 15432 |
$wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as |
| 15433 |
part of its name. |
| 15434 |
* (bug T74222) The original patch for T74222 was reverted as unnecessary. |
| 15435 |
* Fixed a couple of entries in RELEASE-NOTES-1.24. |
| 15436 |
* (bug T76168) OutputPage: Add accessors for some protected properties. |
| 15437 |
* (bug T74834) Make 1.24 branch directly installable under PostgreSQL. |
| 15438 |
|
| 15439 |
== MediaWiki 1.24.0 == |
| 15440 |
|
| 15441 |
=== Configuration changes in 1.24 === |
| 15442 |
* MediaWiki will no longer run if register_globals is enabled. It has been |
| 15443 |
deprecated for 5 years now, and was removed in PHP 5.4. For more information |
| 15444 |
about why, see <https://www.mediawiki.org/wiki/register_globals>. |
| 15445 |
* MediaWiki now requires PHP's iconv extension. openSUSE users may need to |
| 15446 |
install the php5-iconv package. Users of other systems may need to add |
| 15447 |
extension=iconv.so to php.ini or recompile PHP without --without-iconv. |
| 15448 |
* MediaWiki will no longer function if magic quotes are enabled. It has |
| 15449 |
been deprecated for 5 years now, and was removed in PHP 5.4. |
| 15450 |
* The server's canonical hostname is available as $wgServerName, which is |
| 15451 |
exposed in both mw.config and ApiQuerySiteinfo. |
| 15452 |
* Introduced $wgPagePropsHaveSortkey as a backwards-compatibility switch, |
| 15453 |
for using the old schema of the page_props table, in case the respective |
| 15454 |
schema update was not applied. |
| 15455 |
* $wgSearchEverythingOnlyLoggedIn was removed as the 'searcheverything' |
| 15456 |
user option was removed. Use $wgNamespacesToBeSearchedDefault instead or |
| 15457 |
if you used to have $wgDefaultUserOptions['searcheverything'] = 1. |
| 15458 |
* $wgMasterWaitTimeout has been deprecated. |
| 15459 |
* $wgDBClusterTimeout has been removed. |
| 15460 |
* $wgProxyKey has been removed. It is no longer used by MediaWiki core. |
| 15461 |
Ensure $wgSecretKey is set in LocalSettings.php. |
| 15462 |
* $wgExtraInterlanguageLinkPrefixes is a new configuration variable that |
| 15463 |
contains an array of interwiki prefixes that should be treated as language |
| 15464 |
prefixes (i.e. turned into interlanguage links when $wgInterwikiMagic is set |
| 15465 |
to true). |
| 15466 |
* $wgParserTestRemote has been removed. |
| 15467 |
* $wgCountTotalSearchHits has been removed. If you're concerned about efficiency |
| 15468 |
of search, you should use something like CirrusSearch instead of built in |
| 15469 |
search. |
| 15470 |
* Users in the 'sysop' group have access to Special:MergeHistory by default. |
| 15471 |
* $wgFileStore was removed after having been deprecated in 1.17. Alternative |
| 15472 |
configurations are $wgDeletedDirectory and $wgHashedUploadDirectory. |
| 15473 |
* The deprecated $wgUseCommaCount variable has been removed. |
| 15474 |
* $wgEnableSorbs and $wgSorbsUrl have been removed. |
| 15475 |
* The UserCryptPassword and UserComparePassword hooks are no longer called. |
| 15476 |
Any extensions using them must be updated to use the Password Hashing API. |
| 15477 |
* $wgCompiledFiles has been removed. |
| 15478 |
* $wgSortSpecialPages was removed, the listing on Special:SpecialPages is |
| 15479 |
now always sorted. |
| 15480 |
* $wgSpecialPages may now use callback functions as an alternative to plain |
| 15481 |
class names. This allows more control over constructor parameters. |
| 15482 |
* $wgHTCPMulticastAddress, $wgHTCPMulticastRouting and $wgHTCPPort were removed. |
| 15483 |
* $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort |
| 15484 |
and $wgRC2UDPPrefix have been removed. |
| 15485 |
* The default password type for MediaWiki has been changed from MD5 to PBKDF2. |
| 15486 |
Password hashes will automatically be updated as users log in. If necessary, |
| 15487 |
the old MD5 hashing can be restored by changing $wgPasswordDefault to 'B'. |
| 15488 |
In addition, there is a maintenance script wrapOldPassword.php that can wrap |
| 15489 |
all passwords in PBKDF2 (or the hashing algorithm of your choice) if you don't |
| 15490 |
want to wait for your users to log in. |
| 15491 |
* $wgImportSources can now either be a regular array, or an associative map |
| 15492 |
specifying subprojects on the interwiki map of the target wiki, or a mix of |
| 15493 |
the two. Existing configurations will still work. |
| 15494 |
* Users must be able to edit through a page's protection to be able to delete |
| 15495 |
it. |
| 15496 |
* The default thumb size ($wgDefaultUserOptions['thumbsize']) is now 300px, up |
| 15497 |
from 180px. If you have altered the number of entries in $wgThumbLimits for |
| 15498 |
your wiki, you may need to adjust your default user settings to compensate for |
| 15499 |
the index change. |
| 15500 |
* $wgDeferredUpdateList is now deprecated, you should use |
| 15501 |
DeferredUpdates::addUpdate() instead. |
| 15502 |
* $wgCanonicalLanguageLinks has been removed. Per Google recommendations, we |
| 15503 |
will not send a rel=canonical pointing to a variant-neutral page, however |
| 15504 |
we will send rel=alternate. |
| 15505 |
* $wgResourceLoaderLESSFunctions has been deprecated and will be removed in the |
| 15506 |
future. |
| 15507 |
* $wgGoToEdit has been removed. Use the SpecialSearchNogomatch hook for similar |
| 15508 |
functionality. |
| 15509 |
|
| 15510 |
=== New features in 1.24 === |
| 15511 |
* Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to |
| 15512 |
manipulate the list of pages and/or preload lots of data at once. |
| 15513 |
* Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the |
| 15514 |
link to the title to be changed. |
| 15515 |
* Added a new hook, "WhatLinksHereProps", to allow extensions to annotate |
| 15516 |
WhatLinksHere entries. |
| 15517 |
* Added a new hook, "ContentGetParserOutput", to customize parser output for |
| 15518 |
a given content object. |
| 15519 |
* Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead. |
| 15520 |
* HTMLForm's HTMLTextField now supports the 'url' type. |
| 15521 |
* HTMLForm fields may now be dynamically hidden based on the values of other |
| 15522 |
fields in the form. |
| 15523 |
* HTMLForm now supports multiple copies of an input field or set of input |
| 15524 |
fields, e.g. the form may request "one or more usernames" without having to |
| 15525 |
have the user enter delimited list of names into a text field. |
| 15526 |
* Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of |
| 15527 |
the sidebar just before its display. |
| 15528 |
* (bug 49156) Added the mediawiki.cookie ResourceLoader module, which wraps |
| 15529 |
jquery.cookie so that getting/setting a cookie is syntactically and |
| 15530 |
functionally similar to using the WebRequest::getCookie() and |
| 15531 |
WebResponse::setcookie() methods. |
| 15532 |
* (bug 44740) jQuery upgraded from 1.8.3 to 1.11.1. A new configuration option, |
| 15533 |
$wgIncludejQueryMigrate, also loads the jQuery Migrate hack to let extensions |
| 15534 |
and gadgets use the long-deprecated functions that were removed in jQuery 1.9. |
| 15535 |
This option is turned off by default, and will be removed in MediaWiki 1.25. |
| 15536 |
* (bug 47076) jQuery UI upgraded from 1.8.24 to 1.9.2. |
| 15537 |
* Changes to content typography (fonts, etc.). See |
| 15538 |
https://www.mediawiki.org/wiki/Typography_refresh for further information. |
| 15539 |
* WikitextContent will now render redirects with the expected "redirect" |
| 15540 |
header, rather than as an ordered list. Code calling Article::viewRedirect |
| 15541 |
can probably be changed to no longer special-case redirects. |
| 15542 |
* Header font set to a serif font stack. See |
| 15543 |
https://www.mediawiki.org/wiki/Typography_refresh for further information. |
| 15544 |
* (bug 65567) Added a new hook, "BeforeHttpsRedirect", to allow cancellation of |
| 15545 |
the HTTP to HTTPS redirect due to forceHTTPS cookie, userRequires, etc. This |
| 15546 |
is only for page views, since this hook doesn't affect UserLogin, OAuth, |
| 15547 |
CentralAuth, etc. ATTENTION: This hook is likely to be removed soon due to |
| 15548 |
overall design of the system. |
| 15549 |
* (bug 17367) It is now possible to add pages to your watchlist from |
| 15550 |
Special:UnwatchedPages without reloading the special page. |
| 15551 |
* New methods setVolatile and isVolatile are added to PPFrame, so that |
| 15552 |
extensions such as Cite.php can mark that their output is volatile and |
| 15553 |
shouldn't be cached. |
| 15554 |
* (bug 52817) Advanced search options are now saved on the search page itself, |
| 15555 |
rather than in a dedicated pane in the preferences panel. |
| 15556 |
* (bug 44591) The dropdown actions menu (little triangle next to page tabs) in |
| 15557 |
the Vector skin has gained a label that should make it more discoverable. |
| 15558 |
* MWCryptHKDF added for fast, cryptographically secure random number generation |
| 15559 |
that won't deplete openssl's entropy pool. |
| 15560 |
* ResourceLoader: File modules can now provide a skip function that uses an |
| 15561 |
inline feature test to bypass loading of the module. |
| 15562 |
* (bug 20210) Special pages may now provide autocompletion of their subpage |
| 15563 |
names in search suggestions. Right now the only useful implementation is in |
| 15564 |
Special:Log, but more are to come. |
| 15565 |
* Special:MostLinkedTemplates is no longer limited to transclusions from the |
| 15566 |
Template namespace. |
| 15567 |
* Skins can now use 'remoteSkinPath' when defining ResourceLoader modules. |
| 15568 |
This works the same as 'remoteExtPath' but is relative to the skins/ folder |
| 15569 |
instead of the extensions/ folder. |
| 15570 |
* Added the json2.js polyfill for the ES5 JSON.stringify and JSON.parse methods. |
| 15571 |
Exposed as module "json" with a skip function to optimise loading. |
| 15572 |
* Extensions and skins may now use 'namemsg' in $wgExtensionCredits in addition |
| 15573 |
to 'name', to allow for the name to be localizable. 'name' should still be |
| 15574 |
specified for backwards-compatibility and to define the path Special:Version |
| 15575 |
uses to find extension license information. |
| 15576 |
* Browser tests are now included to verify basic wiki functionality in developer |
| 15577 |
environments. For details on running tests, see |
| 15578 |
tests/browser/README.mediawiki. |
| 15579 |
* Upgrade jStorage to v0.4.10. |
| 15580 |
* {{!}} is now a magic word that produces the | character. This removes the need |
| 15581 |
for Template:! for purposes such as passing pipes inside of parameters. |
| 15582 |
* (bug 20790) The block log snippet on Special:Contributions and while |
| 15583 |
editing user and user talk pages now works for IP range blocks. |
| 15584 |
* (bug 9360) Added ability to change the page language for MediaWiki pages using |
| 15585 |
Special:PageLanguage. All pages are set to wiki language by default. |
| 15586 |
The feature needs to be enabled with $wgPageLanguageUseDB=true and |
| 15587 |
permission needs to be set for 'pagelang'. |
| 15588 |
* Upgrade Moment.js to v2.8.3. |
| 15589 |
* (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography. |
| 15590 |
* Upgrade Sinon.JS to 1.10.3. |
| 15591 |
* Added the es5-shim polyfill for older or non-compliant javascript engines. |
| 15592 |
* Upgrade jQuery Cookie to v1.3.1. |
| 15593 |
* (bug 20476) Add a "viewsuppressed" user right to be able to view |
| 15594 |
suppressed content but not suppress it ("suppressrevision" right). |
| 15595 |
* (bug 66440) The MediaWiki web installer will now allow you to choose the skins |
| 15596 |
to enable (from the ones included in download tarball) and decide which one |
| 15597 |
should be the default. |
| 15598 |
* (bug 68085, 68802) Links like [[localInterwikiPrefix:languageCode:pageTitle]], |
| 15599 |
where localInterwikiPrefix is a member of the $wgLocalInterwikis array, will |
| 15600 |
no longer be displayed in the sidebar when $wgInterwikiMagic is true. In a |
| 15601 |
similar way, links like [[localInterwikiPrefix:File:Image.png]] and |
| 15602 |
[[localInterwikiPrefix:Category:Hello]] will now render as regular links, and |
| 15603 |
will not include the file or add the page to the category. |
| 15604 |
* New special page, MyLanguage, to redirect users to subpages with localised |
| 15605 |
versions of a page. (Integrated from Extension:Translate) |
| 15606 |
* MediaWiki now supports multiple password types, including bcrypt and PBKDF2. |
| 15607 |
The default type can be changed with $wgPasswordDefault and the type |
| 15608 |
configurations can be changed with $wgPasswordConfig. |
| 15609 |
* Skins can now define custom styles for default ResourceLoader modules using |
| 15610 |
the $wgResourceModuleSkinStyles global. See the Vector skin for examples. |
| 15611 |
* (bug 4488) There is now a preference to watch pages where the user has |
| 15612 |
rollbacked an edit by default. |
| 15613 |
* (bug 15484) Users will now be redirected to the login page when they need to |
| 15614 |
log in, rather than being shown a page asking them to log in and having to |
| 15615 |
click another link to actually get to the login page. |
| 15616 |
* A JsonContent and JsonContentHandler were added for extensions to extend. |
| 15617 |
* (bug 35045) Redirects to sections will now update the URL in browser's address |
| 15618 |
bar using the HTML5 History API. When [[Dog]] redirects to [[Animals#Dog]], |
| 15619 |
the user will now see "Animals#Dog" in their browser instead of "Dog#Dog". |
| 15620 |
* API token handling has been rewritten. Any API module using tokens will need |
| 15621 |
to be updated. See the entry below under "Action API internal changes". |
| 15622 |
* Added HTMLAutoCompleteSelectField. |
| 15623 |
* Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to |
| 15624 |
link existence cache before the page is rendered. |
| 15625 |
* Config::set() was moved to its own interface, MutableConfig. |
| 15626 |
GlobalVarConfig::set() is now deprecated, does not implement MutableConfig. |
| 15627 |
* A MutableConfig named HashConfig was added, that stores an array of |
| 15628 |
configuration settings. |
| 15629 |
* (bug 69418) A MultiConfig implementation was added that supports fallback |
| 15630 |
to multiple Config instances. |
| 15631 |
* Update CSSJanus to v1.1.0. |
| 15632 |
* Added FormatJson::parse() returning status with result or localized error |
| 15633 |
message |
| 15634 |
* Added DeletedContribsPager::reallyDoQuery hook allowing extensions to data to |
| 15635 |
Special:DeletedContributions |
| 15636 |
* Added DeletedContributionsLineEnding hook allowing extensions to format |
| 15637 |
Special:DeletedContributions lines |
| 15638 |
* (T69525) You can now make MediaWiki speed up its thumbnail rendering by using |
| 15639 |
intermediary thumbnails. $wgThumbnailBuckets must be set to a list of target |
| 15640 |
thumbnail widths; when a new thumbnail needs to be rendered, MediaWiki will |
| 15641 |
find the smallest bucket smaller than the original but larger than the target |
| 15642 |
width + $wgThumbnailMinimumBucketDistance, and it will scale that thumbnail, |
| 15643 |
rather than the original, down to the target size at greater speed in return |
| 15644 |
for minor loss of fidelity. |
| 15645 |
|
| 15646 |
=== Bug fixes in 1.24 === |
| 15647 |
* (bug 50572) MediaWiki:Blockip should support gender |
| 15648 |
* (bug 49116) Footer copyright notice is now always displayed in user language |
| 15649 |
rather than content language (same as copyright notice for editing interface). |
| 15650 |
* (bug 62258) A bug was fixed in File::getUnscaledThumb when a height |
| 15651 |
restriction was present in the parameters. Images with both the "frame" |
| 15652 |
option and a size specification set will now always ignore the provided |
| 15653 |
size and display an unscaled image, as the documentation has always |
| 15654 |
claimed it would. |
| 15655 |
* (bug 39035) Improved Vector skin performance by removing collapsibleNav, |
| 15656 |
which used to collapse some sidebar elements by default. |
| 15657 |
This removes -list id suffixes like p-lang-list: instead of using things like |
| 15658 |
#p-lang-list, you can do #p-lang .body ul. |
| 15659 |
* (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer |
| 15660 |
follow redirects to their target pages. |
| 15661 |
* Parser now dies early if called recursively, instead of producing subtle bugs. |
| 15662 |
* (bug 14323) Redirect pages, when viewed with redirect=no, no longer hide the |
| 15663 |
remaining page content. |
| 15664 |
* (bug 52587) Maintenance script deleteBatch.php no longer follows redirects |
| 15665 |
in the file namespace and delete the file on the target page. It will still |
| 15666 |
however delete the redirect page. |
| 15667 |
* (bug 22683) {{msgnw:}} and other uses of PPFrame::RECOVER_ORIG will correctly |
| 15668 |
recover the original code of extension tags. |
| 15669 |
* (bug 65757) MSSQL: Update script drops unnamed constraints to be prepared |
| 15670 |
for future updates. Because it's doing so heuristically, it may fail or drop |
| 15671 |
wrong constraints. |
| 15672 |
* (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes. |
| 15673 |
* $wgRunJobsAsync now works with private wikis (e.g. read requires login). |
| 15674 |
* (bugs 57238, 65206) Blank pages can now be directly created. |
| 15675 |
* (bug 69789) Title::getContentModel() now loads from the database when |
| 15676 |
necessary instead of incorrectly returning the default content model. |
| 15677 |
* (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP. |
| 15678 |
* (bug 57909) URLs in the externallinks table will no longer have certain |
| 15679 |
characters decoded in the query string. |
| 15680 |
* (bug 67368) LESS mixins like .background-image() correctly flip image |
| 15681 |
references for RTL stylesheets now. |
| 15682 |
|
| 15683 |
=== Action API changes in 1.24 === |
| 15684 |
* action=parse API now supports prop=modules, which provides the list of |
| 15685 |
ResourceLoader modules that should be used to enhance the parsed content. |
| 15686 |
* action=query&meta=siteinfo&siprop=interwikimap returns a new "protorel" |
| 15687 |
field which is true if protocol-relative urls can be used to access |
| 15688 |
a particular interwiki map entry. |
| 15689 |
* list=logevents now provides logpage, which is the page ID from the |
| 15690 |
logging table, if ids are requested and the user has the permissions. |
| 15691 |
* action=edit now requires that appendtext, prependtext, or section=new be used |
| 15692 |
when using the 'redirect' parameter, to prevent clients accidentally |
| 15693 |
overwriting the target page with the content of the redirect. |
| 15694 |
* list=logevents will now return an error if both letitle and leprefix are |
| 15695 |
specified. |
| 15696 |
* list=logevents has a new parameter, lenamespace, to allow filtering by |
| 15697 |
namespace. |
| 15698 |
* action=expandtemplates has a new parameter, prop, and a new output format. |
| 15699 |
The old format is still used if prop isn't provided, but this is deprecated. |
| 15700 |
* meta=userinfo can now return the count of unread pages on the watchlist. |
| 15701 |
* list=watchlist can now filter by unread status. |
| 15702 |
* The deprecated action=parse&prop=languageshtml has been removed. |
| 15703 |
* (bug 48071) action=setnotificationtimestamp no longer throws PHP or database |
| 15704 |
errors when no pages are given. |
| 15705 |
* (bug 60734) Actions that use ApiPageSet (e.g. purge, watch, |
| 15706 |
setnotificationtimestamp) will now include continuation information when |
| 15707 |
using a generator. |
| 15708 |
* Removed 'props' and 'errors' from action=paraminfo, as they have extremely |
| 15709 |
limited use and are generally inaccurate, unmaintained, and impossible to |
| 15710 |
properly maintain. |
| 15711 |
* Formats dbg, dump, txt, wddx, and yaml are now deprecated. |
| 15712 |
* action=paraminfo now indicates when a parameter is specifying a submodule. |
| 15713 |
* The iwurl parameter to prop=iwlinks is deprecated in favor of iwprop=url, for |
| 15714 |
parallelism with prop=langlinks. |
| 15715 |
* All tokens should be fetched from action=query&meta=tokens; all other methods |
| 15716 |
of fetching tokens are deprecated. The value needed for meta=tokens's 'type' |
| 15717 |
parameter for each module is documented in the action=help output and is |
| 15718 |
returned from action=paraminfo. |
| 15719 |
* New action ClearHasMsg that can be used to clear HasMsg flag. |
| 15720 |
* The cmstartsortkey and cmendsortkey parameters to list=categorymembers are |
| 15721 |
deprecated in favor of cmstarthexsortkey and cmendhexsortkey. |
| 15722 |
* (bug 63326) Add blockedtimestamp field to output of blockinfo property for |
| 15723 |
the list=allusers and list=users modules. |
| 15724 |
* prop=imageinfo no longer requires iiurlwidth to be set when using iiurlparam. |
| 15725 |
* Added prop=linkshere, prop=fileusage, and prop=transcludedin, which are |
| 15726 |
roughly equivalent to list=backlinks, list=imageusage, and list=embeddedin |
| 15727 |
but can work on a list of titles (including titles from a generator). |
| 15728 |
* prop=redirects can now filter returned redirects by namespace. |
| 15729 |
|
| 15730 |
=== Action API internal changes in 1.24 === |
| 15731 |
* Methods for handling continuation are added to ApiResult, so actions other |
| 15732 |
than query that use generators can easily support continuation. |
| 15733 |
* $wgAPIModules (and the related $wgAPIFormatModules, $wgAPIMetaModules, |
| 15734 |
$wgAPIPropModules, and $wgAPIListModules settings) now allow API modules |
| 15735 |
to be specified using a "module spec" array instead of a plain class name. |
| 15736 |
A "module spec" is an associative array containing at least the 'class' key |
| 15737 |
for the module's class, and optionally a 'factory' key for the factory |
| 15738 |
function to use for the module. This is intended for extensions that want |
| 15739 |
control over the instantiation of their API modules, to allow for proper |
| 15740 |
dependency injection. |
| 15741 |
* A new param type 'submodule' is available. Parameters of this type will take |
| 15742 |
the list of valid values from the module's ApiModuleManager for the group |
| 15743 |
corresponding to the parameter name. |
| 15744 |
* The 'APIGetPossibleErrors' and 'APIGetResultProperties' hooks are no longer |
| 15745 |
used. |
| 15746 |
* API token handling has been rewritten. Any API module using tokens will need |
| 15747 |
to be updated: |
| 15748 |
* ApiBase::needsToken now returns a token type instead of boolean true when a |
| 15749 |
token is needed. Returning true will throw an exception. See documentation |
| 15750 |
of that method for details. |
| 15751 |
* Information for the 'token' parameter is automatically set by ApiBase |
| 15752 |
getFinalParams and getFinalParamDescription. |
| 15753 |
* ApiBase::getTokenSalt has been removed. |
| 15754 |
* The hooks APIQueryInfoTokens, APIQueryRevisionsTokens, |
| 15755 |
APIQueryRecentChangesTokens, APIQueryUsersTokens, and |
| 15756 |
ApiTokensGetTokenTypes are deprecated, but are still called to support |
| 15757 |
backwards-compatible token access. |
| 15758 |
* ApiBase::validateLimit and ApiBase::validateTimestamp are now protected. |
| 15759 |
* ApiQueryRedirects was removed; prop=redirects is now implemented by |
| 15760 |
ApiQueryBacklinksProp along with the newly-added prop modules. |
| 15761 |
* The following methods have been deprecated and may be removed in a future |
| 15762 |
release: |
| 15763 |
* ApiBase::getResultProperties |
| 15764 |
* ApiBase::getFinalResultProperties |
| 15765 |
* ApiBase::addTokenProperties |
| 15766 |
* ApiBase::getRequireOnlyOneParameterErrorMessages |
| 15767 |
* ApiBase::getRequireMaxOneParameterErrorMessages |
| 15768 |
* ApiBase::getRequireAtLeastOneParameterErrorMessages |
| 15769 |
* ApiBase::getTitleOrPageIdErrorMessage |
| 15770 |
* ApiBase::getPossibleErrors |
| 15771 |
* ApiBase::getFinalPossibleErrors |
| 15772 |
* ApiBase::parseErrors |
| 15773 |
* ApiQuery::setGeneratorContinue |
| 15774 |
* ApiQueryBase::checkRowCount |
| 15775 |
* ApiQueryBase::titleToKey |
| 15776 |
* ApiQueryBase::keyToTitle |
| 15777 |
* ApiQueryBase::keyPartToTitle |
| 15778 |
* ApiQueryInfo::getTokenFunctions |
| 15779 |
* ApiQueryInfo::resetTokenCache |
| 15780 |
* ApiQueryInfo::getEditToken |
| 15781 |
* ApiQueryInfo::getDeleteToken |
| 15782 |
* ApiQueryInfo::getProtectToken |
| 15783 |
* ApiQueryInfo::getMoveToken |
| 15784 |
* ApiQueryInfo::getBlockToken |
| 15785 |
* ApiQueryInfo::getUnblockToken |
| 15786 |
* ApiQueryInfo::getEmailToken |
| 15787 |
* ApiQueryInfo::getImportToken |
| 15788 |
* ApiQueryInfo::getWatchToken |
| 15789 |
* ApiQueryInfo::getOptionsToken |
| 15790 |
* ApiQueryRecentChanges::getTokenFunctions |
| 15791 |
* ApiQueryRecentChanges::getPatrolToken |
| 15792 |
* ApiQueryRevisions::getTokenFunctions |
| 15793 |
* ApiQueryRevisions::getRollbackToken |
| 15794 |
* ApiQueryUsers::getTokenFunctions |
| 15795 |
* ApiQueryUsers::getUserrightsToken |
| 15796 |
* The following classes have been deprecated and may be removed in a future |
| 15797 |
release: |
| 15798 |
* ApiFormatDbg |
| 15799 |
* ApiFormatDump |
| 15800 |
* ApiFormatTxt |
| 15801 |
* ApiFormatWddx |
| 15802 |
* ApiFormatYaml |
| 15803 |
* ApiTokens |
| 15804 |
* The following class constants have been deprecated and may be removed in a |
| 15805 |
future release: |
| 15806 |
* ApiBase::PROP_ROOT |
| 15807 |
* ApiBase::PROP_LIST |
| 15808 |
* ApiBase::PROP_TYPE |
| 15809 |
* ApiBase::PROP_NULLABLE |
| 15810 |
|
| 15811 |
=== Languages updated in 1.24 === |
| 15812 |
|
| 15813 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 15814 |
regularly. Below only new and removed languages are listed, as well as |
| 15815 |
changes to languages because of Bugzilla reports. |
| 15816 |
|
| 15817 |
=== Other changes in 1.24 === |
| 15818 |
* The deprecated jquery.delayedBind ResourceLoader module was removed. |
| 15819 |
* The deprecated function mw.util.toggleToc was removed. |
| 15820 |
* The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend |
| 15821 |
were removed as they were unused. |
| 15822 |
* (bug 65477) User::pingLimiter() now has an additional profile point varying |
| 15823 |
by action being used. |
| 15824 |
* mediawiki.util.$content no longer supports old versions of the Vector, |
| 15825 |
Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body" |
| 15826 |
and/or "mw-body-primary" class name in their html. |
| 15827 |
* Added pp_sortkey column to page_props table, so pages can be efficiently |
| 15828 |
queried and sorted by property value (bug 58032). |
| 15829 |
See $wgPagePropsHaveSortkey if you want to postpone the schema change. |
| 15830 |
* BREAKING CHANGE: All four built-in MediaWiki skins (Vector, MonoBook, Modern |
| 15831 |
and Cologne Blue) were moved out of MediaWiki core to their own respective |
| 15832 |
repositories. They will be installed with the release tarball, but you must |
| 15833 |
install them separately if installing MediaWiki from source code. A warning |
| 15834 |
message displayed until you do it should guide you through the process. See |
| 15835 |
also <https://www.mediawiki.org/wiki/Manual:Skin_configuration>. |
| 15836 |
* BREAKING CHANGE: Skins built for MediaWiki 1.15 and earlier that do not use |
| 15837 |
the "headelement" template key are no longer supported. Setting |
| 15838 |
$useHeadElement = false; is no longer supported and will not cause old keys |
| 15839 |
like "headlinks", "skinnameclass", etc. to be defined. |
| 15840 |
* BREAKING CHANGE: The files commonElements.css, commonContent.css and |
| 15841 |
commonInterface.css (in skins/common/) have been removed. Skins may no longer |
| 15842 |
rely on their presence and include them in their style modules. ResourceLoader |
| 15843 |
modules introduced in MediaWiki 1.23 should be loaded instead: |
| 15844 |
- skins/common/commonElements.css → 'mediawiki.skinning.elements' module |
| 15845 |
- skins/common/commonContent.css → 'mediawiki.skinning.content' module |
| 15846 |
- skins/common/commonInterface.css → 'mediawiki.skinning.interface' module |
| 15847 |
* The deprecated 'SpecialVersionExtensionTypes' hook was removed. |
| 15848 |
* (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages. |
| 15849 |
* SpecialPage no longer supports the syntax for invoking wfSpecial*() functions. |
| 15850 |
Special pages should subclass SpecialPage and implement the execute() method. |
| 15851 |
* (bug 63755) The deprecated constants RC_MOVE and RC_MOVE_OVER_REDIRECT were |
| 15852 |
removed. |
| 15853 |
* Special:MostLinkedTemplates has been renamed to Special:MostTranscludedPages. |
| 15854 |
* The skin autodiscovery mechanism has been deprecated and will be removed in |
| 15855 |
MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery |
| 15856 |
for migration guide for creators and users of custom skins that relied on it. |
| 15857 |
* ResourceLoaderFileModule#getAllStyleFiles now returns all style files and all |
| 15858 |
skin style files used by the module. |
| 15859 |
* Removed getLang() from IContextSource and subclasses. (deprecated since 1.19) |
| 15860 |
* Removed setLang() from subclasses of IContextSource. (deprecated since 1.19) |
| 15861 |
* Removed WebRequest::escapeAppendQuery(). (deprecated since 1.20) |
| 15862 |
* Removed info(), purge(), revert() and rollback() from the Article class; they |
| 15863 |
have since become subclasses of the Action class. (deprecated since 1.19) |
| 15864 |
* SearchEngineReplacePrefixesComplete hook was removed. |
| 15865 |
* The "jquery.json" module has been deprecated. Use the "json" module instead. |
| 15866 |
* Removed HTMLForm::addJS(). (deprecated since 1.18) |
| 15867 |
* Removed LogEventsList::showHeader(). (deprecated since 1.19) |
| 15868 |
* Removed ImageGalleryBase::useSkin(). (deprecated since 1.18) |
| 15869 |
* Removed DatabaseMysqlBase::getLagFromProcesslist(). (deprecated since 1.19) |
| 15870 |
* Removed LoadBalancer::closeConnecton(). (deprecated since 1.18) |
| 15871 |
* Removed ApiBase::createContext(). (deprecated since 1.19) |
| 15872 |
* BREAKING CHANGE: The undocumented Special{$this->getName()}BeforeFormDisplay |
| 15873 |
set of hooks has been removed and replaced by a single new hook |
| 15874 |
SpecialPageBeforeFormDisplay. |
| 15875 |
* (bug 65781) Removed block warning on included {{Special:Contributions}} |
| 15876 |
* Removed Skin::makeGlobalVariablesScript(). (deprecated since 1.19) |
| 15877 |
* Removed MWNamespace::isMain(). (deprecated since 1.19) |
| 15878 |
* Removed Preferences::loadOldSearchNs(). (deprecated since 1.19) |
| 15879 |
* Removed OutputPage::getStatusMessage(). (deprecated since 1.18) |
| 15880 |
* Removed OutputPage::isUserJsAllowed(). (deprecated since 1.18) |
| 15881 |
* Removed Title::updateTitleProtection(). (deprecated since 1.19) |
| 15882 |
* Removed ParserOptions::setSkin(). (deprecated since 1.19) |
| 15883 |
* Removed Title::escapeCanonicalURL(). (deprecated since 1.19) |
| 15884 |
* Removed Title::escapeLocalURL(). (deprecated since 1.19) |
| 15885 |
* Removed Title::escapeFullURL(). (deprecated since 1.19) |
| 15886 |
* Removed User::isValidEmailAddr(). (deprecated since 1.18) |
| 15887 |
* Removed Title::getEscapedText(). (deprecated since 1.19) |
| 15888 |
* Removed Language::getFallbackLanguageCode(). (deprecated since 1.19) |
| 15889 |
* Removed WikiPage::isBigDeletion(). (deprecated since 1.19) |
| 15890 |
* Removed MWInit class which contained functions related to a now discontinued |
| 15891 |
PHP compiler called hphpc. (deprecated since 1.22) |
| 15892 |
* ApiResult::enableSizeCheck() and disableSizeCheck() are now obsolete. |
| 15893 |
* Removed ResourceLoaderGetStartupModules hook. (deprecated since 1.23) |
| 15894 |
* Removed getFormFields(), onSubmit() and onSuccess() from FormlessAction, as |
| 15895 |
these were meant specifically for FormAction instead. |
| 15896 |
* Removed Action::execute(). |
| 15897 |
* Removed AjaxAddScript which has been obsolete since ResourceLoader and |
| 15898 |
is unused by any modern extension. |
| 15899 |
* Removed maintenance/nextJobDB.php; no longer in use. |
| 15900 |
* Removed global function wfViewPrevNext(). (deprecated since 1.19) |
| 15901 |
* Removed global function xmlsafe() from Export.php. (moved to OAIRepo |
| 15902 |
extension) |
| 15903 |
* Removed Title::userCanRead(). (deprecated since 1.19) |
| 15904 |
* Removed maintenance script importTextFile.php. Use edit.php script instead. |
| 15905 |
* A _from_namespace field has been added to the templatelinks, pagelinks, |
| 15906 |
and filelinks tables. Run update.php to apply this change to the schema. |
| 15907 |
* Removed File::sha1Base36(). (deprecated since 1.19) |
| 15908 |
* Removed File::getPropsFromPath(). (deprecated since 1.19) |
| 15909 |
* Removed functions blockedPage(), noCreatePermission(), readOnlyPage() and |
| 15910 |
userNotLoggedInPage() from EditPage.php. (deprecated since 1.19) |
| 15911 |
* Removed functions getContent(), getPreloadedText(), mergeChangesInto() and |
| 15912 |
setPreloadedText() from EditPage.php. (deprecated since 1.21) |
| 15913 |
* Removed global functions wfArrayLookup(), wfArrayMerge(), |
| 15914 |
wfDebugDieBacktrace() and wfTime(). (deprecated since 1.22) |
| 15915 |
* Browser support for Internet Explorer 6 and 7 lowered from Grade A to Grade C, |
| 15916 |
meaning that JavaScript is no longer executed in these browser versions. |
| 15917 |
* Browser support for Opera 11 lowered from Grade A to Grade C. |
| 15918 |
* Removed IEFixes module which existed purely to provide support for MSIE |
| 15919 |
versions below 7 (conditionally loaded only for those browsers). |
| 15920 |
* Deprecated SpecialPageFactory::getList() in favor of |
| 15921 |
SpecialPageFactory::getNames() |
| 15922 |
* Action::checkCanExecute() no longer has a return value. |
| 15923 |
* Removed cleanupForIRC(), loadFromCurRow(), newFromCurRow(), notifyRC2UDP() |
| 15924 |
and sendToUDP() from RecentChange.php. (deprecated since 1.22) |
| 15925 |
* Removed EnhancedChangesList::arrow(), sideArrow(), downArrow(), spacerArrow(). |
| 15926 |
* Removed Xml::namespaceSelector(). (deprecated since 1.19) |
| 15927 |
* Removed WikiPage::estimateRevisionCount(). (deprecated since 1.19) |
| 15928 |
* MYSQL: Enum item added to "major MIME type" columns. |
| 15929 |
Running update.php on MySQL < v5.1 may result in heavy processing. |
| 15930 |
* RSS and Atom feeds generated by MediaWiki no longer include a fallback |
| 15931 |
stylesheet. It was ignored by most browsers these days anyway. |
| 15932 |
* SpecialSearchNoResults hook has been removed. SpecialSearchResults is now |
| 15933 |
called unconditionally. |
| 15934 |
* TablePager::getBody() is now 'final' and can't be overridden in subclasses. |
| 15935 |
* TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput(). |
| 15936 |
* Added $outputPage parameter to the SkinTemplateGetLanguageLink hook. |
| 15937 |
* log_page for move log entries store the original page ID, rather than that |
| 15938 |
of the new redirect page. This is not retroactive. |
| 15939 |
* LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to |
| 15940 |
use this store class. |
| 15941 |
* Html::infoBox() no longer accepts paths relative to skins/common/images/. |
| 15942 |
* Deprecated defunct Skin::getCommonStylePath(). |
| 15943 |
* Some extensions had their ResourceLoader modules depend on the "mediawiki" |
| 15944 |
and "jquery" modules. In the past, this behavior was undefined, now it will |
| 15945 |
throw an error. |
| 15946 |
* Removed BagOStuff::replace(). (deprecated since 1.23) |
| 15947 |
* In Linker.php, link(), linkText() and makeBrokenImageLinkObj() now display |
| 15948 |
warnings if their first parameter is not a Title object. Also makeImageLink() |
| 15949 |
now requires a Parser as its first parameter. |
| 15950 |
* (bug 67368) LESS functions embed() and embeddable(), added in MediaWiki 1.23 |
| 15951 |
and broken by design, have been removed. Use appropriate LESS mixins instead. |
| 15952 |
* Removed cssjanus.py from maintenance directory as it was unused. |
| 15953 |
* Removed maintenance/purgeOldText.inc and the PurgeRedundantText() function |
| 15954 |
it contained (superseded by Maintenance::purgeRedundantText() in 1.16). |
| 15955 |
The purgeOldText.php maintenance script has been retained. |
| 15956 |
* PHPUnit tests can be found by directory discovery, by adding the directory |
| 15957 |
path from your UnitTestsList callback. Older versions of MediaWiki core will |
| 15958 |
barf at this usage. |
| 15959 |
|
| 15960 |
==== Renamed classes ==== |
| 15961 |
* CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression |
| 15962 |
* CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment |
| 15963 |
* CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator |
| 15964 |
* CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange |
| 15965 |
* CSSJanus_Tokenizer to CSSJanusTokenizer |
| 15966 |
* MediaWiki_I18N to MediaWikiI18N |
| 15967 |
* Parser_DiffTest to ParserDiffTest |
| 15968 |
* RevDel_ArchiveItem to RevDelArchiveItem |
| 15969 |
* RevDel_ArchiveList to RevDelArchiveList |
| 15970 |
* RevDel_ArchivedFileItem to RevDelArchivedFileItem |
| 15971 |
* RevDel_ArchivedFileList to RevDelArchivedFileList |
| 15972 |
* RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem |
| 15973 |
* RevDel_FileItem to RevDelFileItem |
| 15974 |
* RevDel_FileList to RevDelFileList |
| 15975 |
* RevDel_Item to RevDelItem |
| 15976 |
* RevDel_List to RevDelList |
| 15977 |
* RevDel_LogItem to RevDelLogItem |
| 15978 |
* RevDel_LogList to RevDelLogList |
| 15979 |
* RevDel_RevisionItem to RevDelRevisionItem |
| 15980 |
* RevDel_RevisionList to RevDelRevisionList |
| 15981 |
* WebInstaller_Complete to WebInstallerComplete |
| 15982 |
* WebInstaller_Copying to WebInstallerCopying |
| 15983 |
* WebInstaller_DBConnect to WebInstallerDBConnect |
| 15984 |
* WebInstaller_DBSettings to WebInstallerDBSettings |
| 15985 |
* WebInstaller_Document to WebInstallerDocument |
| 15986 |
* WebInstaller_ExistingWiki to WebInstallerExistingWiki |
| 15987 |
* WebInstaller_Install to WebInstallerInstall |
| 15988 |
* WebInstaller_Language to WebInstallerLanguage |
| 15989 |
* WebInstaller_Name to WebInstallerName |
| 15990 |
* WebInstaller_Options to WebInstallerOptions |
| 15991 |
* WebInstaller_Readme to WebInstallerReadme |
| 15992 |
* WebInstaller_ReleaseNotes to WebInstallerReleaseNotes |
| 15993 |
* WebInstaller_Restart to WebInstallerRestart |
| 15994 |
* WebInstaller_Upgrade to WebInstallerUpgrade |
| 15995 |
* WebInstaller_UpgradeDoc to WebInstallerUpgradeDoc |
| 15996 |
* WebInstaller_Welcome to WebInstallerWelcome |
| 15997 |
|
| 15998 |
==== Removed classes ==== |
| 15999 |
* IPBlockForm - Use SpecialBlock directly |
| 16000 |
* WatchlistEditor - Use SpecialEditWatchlist directly |
| 16001 |
* FormatExif - Use FormatMetadata directly |
| 16002 |
* RevertFileAction - Use RevertAction directly |
| 16003 |
* HistoryPage - Use HistoryAction directly |
| 16004 |
* RawPage - Use RawAction directly |
| 16005 |
* StubContLang - Use Language::factory() instead |
| 16006 |
* XMLReader2 - Use XMLReader directly |
| 16007 |
* ResourceLoaderLESSFunctions - No longer in use, not intended for public usage |
| 16008 |
|
| 16009 |
==== Removed files ==== |
| 16010 |
The skins/common/ directory, previously containing some assets intended to be |
| 16011 |
used by skins and a number of legacy styles and scripts, has been removed. Its |
| 16012 |
contents have been deleted or relocated into the resources/ directory. Full list |
| 16013 |
of files that are no longer available follows. |
| 16014 |
|
| 16015 |
* skins/common/ajax.js |
| 16016 |
* skins/common/commonContent.css |
| 16017 |
* skins/common/commonElements.css |
| 16018 |
* skins/common/commonInterface.css |
| 16019 |
* skins/common/commonPrint.css |
| 16020 |
* skins/common/config-cc.css |
| 16021 |
* skins/common/config.css |
| 16022 |
* skins/common/config.js |
| 16023 |
* skins/common/feed.css |
| 16024 |
* skins/common/IEFixes.js |
| 16025 |
* skins/common/oldshared.css |
| 16026 |
* skins/common/protect.js |
| 16027 |
* skins/common/shared.css |
| 16028 |
* skins/common/upload.js |
| 16029 |
* skins/common/wikibits.js |
| 16030 |
* skins/common/images/add.png |
| 16031 |
* skins/common/images/ajax-loader.gif |
| 16032 |
* skins/common/images/arrow_disabled_first_25.png |
| 16033 |
* skins/common/images/arrow_disabled_last_25.png |
| 16034 |
* skins/common/images/arrow_disabled_left_25.png |
| 16035 |
* skins/common/images/arrow_disabled_right_25.png |
| 16036 |
* skins/common/images/arrow_first_25.png |
| 16037 |
* skins/common/images/arrow_last_25.png |
| 16038 |
* skins/common/images/arrow_left_25.png |
| 16039 |
* skins/common/images/arrow_right_25.png |
| 16040 |
* skins/common/images/Arr_.png |
| 16041 |
* skins/common/images/Arr_d.png |
| 16042 |
* skins/common/images/Arr_l.png |
| 16043 |
* skins/common/images/Arr_r.png |
| 16044 |
* skins/common/images/Arr_u.png |
| 16045 |
* skins/common/images/bullet.gif |
| 16046 |
* skins/common/images/button_bold.png |
| 16047 |
* skins/common/images/button_extlink.png |
| 16048 |
* skins/common/images/button_headline.png |
| 16049 |
* skins/common/images/button_hr.png |
| 16050 |
* skins/common/images/button_image.png |
| 16051 |
* skins/common/images/button_italic.png |
| 16052 |
* skins/common/images/button_link.png |
| 16053 |
* skins/common/images/button_media.png |
| 16054 |
* skins/common/images/button_nowiki.png |
| 16055 |
* skins/common/images/button_sig.png |
| 16056 |
* skins/common/images/button_template.png |
| 16057 |
* skins/common/images/cc-0.png |
| 16058 |
* skins/common/images/cc-by-nc-sa.png |
| 16059 |
* skins/common/images/cc-by-sa.png |
| 16060 |
* skins/common/images/cc-by.png |
| 16061 |
* skins/common/images/Checker-16x16.png |
| 16062 |
* skins/common/images/closewindow.png |
| 16063 |
* skins/common/images/closewindow19x19.png |
| 16064 |
* skins/common/images/critical-32.png |
| 16065 |
* skins/common/images/diffunderline.gif |
| 16066 |
* skins/common/images/download-32.png |
| 16067 |
* skins/common/images/feed-icon.png |
| 16068 |
* skins/common/images/feed-icon.svg |
| 16069 |
* skins/common/images/gnu-fdl.png |
| 16070 |
* skins/common/images/help-question-hover.gif |
| 16071 |
* skins/common/images/help-question.gif |
| 16072 |
* skins/common/images/info-32.png |
| 16073 |
* skins/common/images/link_icon.gif |
| 16074 |
* skins/common/images/magnify-clip-rtl.png |
| 16075 |
* skins/common/images/magnify-clip.png |
| 16076 |
* skins/common/images/mediawiki.png |
| 16077 |
* skins/common/images/nextredirectltr.png |
| 16078 |
* skins/common/images/nextredirectrtl.png |
| 16079 |
* skins/common/images/poweredby_mediawiki_88x31.png |
| 16080 |
* skins/common/images/public-domain.png |
| 16081 |
* skins/common/images/question-small.png |
| 16082 |
* skins/common/images/question.svg |
| 16083 |
* skins/common/images/redirectltr.png |
| 16084 |
* skins/common/images/redirectrtl.png |
| 16085 |
* skins/common/images/remove.png |
| 16086 |
* skins/common/images/spinner.gif |
| 16087 |
* skins/common/images/tick-32.png |
| 16088 |
* skins/common/images/tipsy-arrow.gif |
| 16089 |
* skins/common/images/tooltip_icon.png |
| 16090 |
* skins/common/images/warning-32.png |
| 16091 |
* skins/common/images/wiki.png |
| 16092 |
* skins/common/images/Zoom_sans.gif |
| 16093 |
* skins/common/images/ar/button_bold.png |
| 16094 |
* skins/common/images/ar/button_headline.png |
| 16095 |
* skins/common/images/ar/button_italic.png |
| 16096 |
* skins/common/images/ar/button_link.png |
| 16097 |
* skins/common/images/ar/button_nowiki.png |
| 16098 |
* skins/common/images/be-tarask/button_bold.png |
| 16099 |
* skins/common/images/be-tarask/button_italic.png |
| 16100 |
* skins/common/images/be-tarask/button_link.png |
| 16101 |
* skins/common/images/cyrl/button_bold.png |
| 16102 |
* skins/common/images/cyrl/button_italic.png |
| 16103 |
* skins/common/images/cyrl/button_link.png |
| 16104 |
* skins/common/images/de/button_bold.png |
| 16105 |
* skins/common/images/de/button_italic.png |
| 16106 |
* skins/common/images/fa/button_bold.png |
| 16107 |
* skins/common/images/fa/button_headline.png |
| 16108 |
* skins/common/images/fa/button_italic.png |
| 16109 |
* skins/common/images/fa/button_link.png |
| 16110 |
* skins/common/images/fa/button_nowiki.png |
| 16111 |
* skins/common/images/icons/fileicon-c.png |
| 16112 |
* skins/common/images/icons/fileicon-cpp.png |
| 16113 |
* skins/common/images/icons/fileicon-deb.png |
| 16114 |
* skins/common/images/icons/fileicon-djvu.png |
| 16115 |
* skins/common/images/icons/fileicon-djvu.xcf |
| 16116 |
* skins/common/images/icons/fileicon-dvi.png |
| 16117 |
* skins/common/images/icons/fileicon-exe.png |
| 16118 |
* skins/common/images/icons/fileicon-h.png |
| 16119 |
* skins/common/images/icons/fileicon-html.png |
| 16120 |
* skins/common/images/icons/fileicon-iso.png |
| 16121 |
* skins/common/images/icons/fileicon-java.png |
| 16122 |
* skins/common/images/icons/fileicon-mid.png |
| 16123 |
* skins/common/images/icons/fileicon-mov.png |
| 16124 |
* skins/common/images/icons/fileicon-o.png |
| 16125 |
* skins/common/images/icons/fileicon-ogg.png |
| 16126 |
* skins/common/images/icons/fileicon-ogg.xcf |
| 16127 |
* skins/common/images/icons/fileicon-pdf.png |
| 16128 |
* skins/common/images/icons/fileicon-ps.png |
| 16129 |
* skins/common/images/icons/fileicon-psd.png |
| 16130 |
* skins/common/images/icons/fileicon-rm.png |
| 16131 |
* skins/common/images/icons/fileicon-rpm.png |
| 16132 |
* skins/common/images/icons/fileicon-svg.png |
| 16133 |
* skins/common/images/icons/fileicon-tar.png |
| 16134 |
* skins/common/images/icons/fileicon-tex.png |
| 16135 |
* skins/common/images/icons/fileicon-ttf.png |
| 16136 |
* skins/common/images/icons/fileicon-txt.png |
| 16137 |
* skins/common/images/icons/fileicon.png |
| 16138 |
* skins/common/images/ksh/button_S_italic.png |
| 16139 |
|
| 16140 |
= MediaWiki 1.23 = |
| 16141 |
|
| 16142 |
== MediaWiki 1.23.17 == |
| 16143 |
|
| 16144 |
=== Changes since 1.23.16 === <!--T:69--> |
| 16145 |
* Fix syntax errors introduced in 1.23.16 when running PHP 5.3. |
| 16146 |
|
| 16147 |
== MediaWiki 1.23.16 == |
| 16148 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16149 |
|
| 16150 |
=== Changes since 1.23.15 === |
| 16151 |
* (T68404) CSS3 attr() function with url type is no longer allowed |
| 16152 |
in inline styles. |
| 16153 |
* (T156184) $wgRawHtml will no longer apply to internationalization messages. |
| 16154 |
* Submitting the lgtoken and lgpassword parameters in the query string to |
| 16155 |
action=login is now deprecated and outputs a warning. They should be submitted |
| 16156 |
in the POST body instead. |
| 16157 |
* (T109140) (T122209) SECURITY: Special:UserLogin and Special:Search allow |
| 16158 |
redirect to interwiki links. |
| 16159 |
* (T144845) SECURITY: XSS in SearchHighlighter::highlightText() when |
| 16160 |
$wgAdvancedSearchHighlighting is true. |
| 16161 |
* (T125177) SECURITY: API parameters may now be marked as "sensitive" to keep |
| 16162 |
their values out of the logs. |
| 16163 |
* (T150044) SECURITY: "Mark all pages visited" on the watchlist now requires a |
| 16164 |
CSRF token. |
| 16165 |
* (T156184) SECURITY: Escape content model/format url parameter in message. |
| 16166 |
* (T151735) SECURITY: SVG filter evasion using default attribute values in DTD |
| 16167 |
declaration. |
| 16168 |
* (T48143) SECURITY: Spam blacklist ineffective on encoded URLs inside file |
| 16169 |
inclusion syntax's link parameter. |
| 16170 |
* (T108138) SECURITY: Sysops can undelete pages, although the page is protected |
| 16171 |
against it. |
| 16172 |
|
| 16173 |
== MediaWiki 1.23.15 == |
| 16174 |
|
| 16175 |
This is a maintenance release of the MediaWiki 1.23 branch. |
| 16176 |
|
| 16177 |
=== Changes since 1.23.14 === |
| 16178 |
* BREAKING CHANGE: $wgHTTPProxy is now *required* for all external requests |
| 16179 |
made by MediaWiki via a proxy. Relying on the http_proxy environment |
| 16180 |
variable is no longer supported. |
| 16181 |
* (T139565) SECURITY: API: Generate head items in the context of the given title |
| 16182 |
* (T137264) SECURITY: XSS in unclosed internal links |
| 16183 |
* (T133147) SECURITY: Escape '<' and ']]>' in inline <style> blocks |
| 16184 |
* (T133147) SECURITY: Require login to preview user CSS pages |
| 16185 |
* (T132926) SECURITY: Do not allow undeleting a revision deleted file if it is |
| 16186 |
the top file |
| 16187 |
* (T129738) SECURITY: Make $wgBlockDisablesLogin also restrict logged in |
| 16188 |
permissions |
| 16189 |
* (T129738) SECURITY: Make blocks log users out if $wgBlockDisablesLogin is true |
| 16190 |
* (T115333) SECURITY: Check read permission when loading page content in |
| 16191 |
ApiParse |
| 16192 |
* Remove support for $wgWellFormedXml = false, all output is now well formed |
| 16193 |
|
| 16194 |
== MediaWiki 1.23.13 == |
| 16195 |
|
| 16196 |
This is a maintenance release of the MediaWiki 1.23 branch. |
| 16197 |
|
| 16198 |
=== Changes since 1.23.12 === |
| 16199 |
* (T121892) Fix fatal errors on some Special pages, introduced in 1.23.12. |
| 16200 |
|
| 16201 |
== MediaWiki 1.23.12 == |
| 16202 |
|
| 16203 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16204 |
|
| 16205 |
=== Changes since 1.23.11 === |
| 16206 |
* (T117899) SECURITY: $wgArticlePath can no longer be set to relative paths |
| 16207 |
that do not begin with a slash. This enabled trivial XSS attacks. |
| 16208 |
Configuration values such as "http://my.wiki.com/wiki/$1" are fine, as are |
| 16209 |
"/wiki/$1". A value such as "$1" or "wiki/$1" is not and will now throw an |
| 16210 |
error. |
| 16211 |
* (T119309) SECURITY: Use hash_compare() for edit token comparison |
| 16212 |
* (T118032) SECURITY: Don't allow cURL to interpret POST parameters starting |
| 16213 |
with '@' as file uploads |
| 16214 |
* (T115522) SECURITY: Passwords generated by User::randomPassword() can no |
| 16215 |
longer be shorter than $wgMinimalPasswordLength |
| 16216 |
* (T97897) SECURITY: Improve IP parsing and trimming. Previous behavior could |
| 16217 |
result in improper blocks being issued |
| 16218 |
* (T109724) SECURITY: Special:MyPage, Special:MyTalk, Special:MyContributions |
| 16219 |
and related pages no longer use HTTP redirects and are now redirected by |
| 16220 |
MediaWiki |
| 16221 |
|
| 16222 |
== MediaWiki 1.23.11 == |
| 16223 |
|
| 16224 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16225 |
|
| 16226 |
=== Changes since 1.23.10 === |
| 16227 |
|
| 16228 |
* (T91850) SECURITY: Add throttle check in ApiUpload and SpecialUpload |
| 16229 |
* (T91203, T91205) SECURITY: API: Improve validation in chunked uploading |
| 16230 |
* (T108616) SECURITY: Avoid exposure of local path in PNG thumbnails |
| 16231 |
|
| 16232 |
== MediaWiki 1.23.10 == |
| 16233 |
|
| 16234 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16235 |
|
| 16236 |
=== Changes since 1.23.9 === |
| 16237 |
|
| 16238 |
* (T94116) SECURITY: Compare API watchlist token in constant time |
| 16239 |
* (T97391) SECURITY: Escape error message strings in thumb.php |
| 16240 |
* (T106893) SECURITY: Don't leak autoblocked IP addresses on |
| 16241 |
Special:DeletedContributions |
| 16242 |
* (bug 67644) Make AutoLoaderTest handle namespaces |
| 16243 |
* (T91653) Minimal PSR-3 debug logger to support backports from 1.25+. |
| 16244 |
* (T102562) Fix InstantCommons parameters to handle the new HTTPS-only |
| 16245 |
policy of Wikimedia Commons. |
| 16246 |
|
| 16247 |
== MediaWiki 1.23.9 == |
| 16248 |
|
| 16249 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16250 |
|
| 16251 |
=== Changes since 1.23.8 === |
| 16252 |
|
| 16253 |
* (T85848, T71210) SECURITY: Don't parse XMP blocks that contain XML entities, |
| 16254 |
to prevent various DoS attacks. |
| 16255 |
* (T85848) SECURITY: Don't allow directly calling Xml::isWellFormed, to reduce |
| 16256 |
likelihood of DoS. |
| 16257 |
* (T88310) SECURITY: Always expand xml entities when checking SVG's. |
| 16258 |
* (T73394) SECURITY: Escape > in Html::expandAttributes to prevent XSS. |
| 16259 |
* (T85855) SECURITY: Don't execute another user's CSS or JS on preview. |
| 16260 |
* (T85349, T85850, T86711) SECURITY: Multiple issues fixed in SVG filtering to |
| 16261 |
prevent XSS and protect viewer's privacy. |
| 16262 |
* (bug T68650) Fix indexing of moved pages with PostgreSQL. Requires running |
| 16263 |
update.php to fix. |
| 16264 |
* (bug T70087) Fix Special:ActiveUsers page for installations using |
| 16265 |
PostgreSQL. |
| 16266 |
|
| 16267 |
== MediaWiki 1.23.8 == |
| 16268 |
|
| 16269 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16270 |
|
| 16271 |
=== Changes since 1.23.7 === |
| 16272 |
|
| 16273 |
* (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which |
| 16274 |
could lead to xss. Permission to edit MediaWiki namespace is required to |
| 16275 |
exploit this. |
| 16276 |
* (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in |
| 16277 |
$wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as |
| 16278 |
part of its name. |
| 16279 |
* (bug T74222) The original patch for T74222 was reverted as unnecessary. |
| 16280 |
|
| 16281 |
== MediaWiki 1.23.7 == |
| 16282 |
|
| 16283 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16284 |
|
| 16285 |
=== Changes since 1.23.6 === |
| 16286 |
|
| 16287 |
* (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code |
| 16288 |
into API clients that used format=php to process pages that underwent flash |
| 16289 |
policy mangling. This was fixed along with improving how the mangling was done |
| 16290 |
for format=json, and allowing sites to disable the mangling using |
| 16291 |
$wgMangleFlashPolicy. |
| 16292 |
* (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update |
| 16293 |
the content model for a page could allow an unprivileged attacker to edit |
| 16294 |
another user's common.js under certain circumstances. The user right |
| 16295 |
"editcontentmodel" was added, and is needed to change a revision's content |
| 16296 |
model. |
| 16297 |
* (bug 71111) SECURITY: User PleaseStand reported that on wikis that allow raw |
| 16298 |
HTML, it is not safe to preview wikitext coming from an untrusted source such |
| 16299 |
as a cross-site request. Thus add an edit token to the form, and when raw HTML |
| 16300 |
is allowed, ensure the token is provided before showing the preview. This |
| 16301 |
check is not performed on wikis that both allow raw HTML and anonymous |
| 16302 |
editing, since there are easier ways to exploit that scenario. |
| 16303 |
* (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with |
| 16304 |
DELETED_ACTION. NOTICE: this may be reverted in a future release pending a |
| 16305 |
public RFC about the desired functionality. This issue was reported by user |
| 16306 |
Bawolff. |
| 16307 |
* (bug 71621) Make allowing site-wide styles on restricted special pages a |
| 16308 |
config option. |
| 16309 |
* (bug 42723) Added updated version history from 1.19.2 to 1.22.13 |
| 16310 |
* $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that |
| 16311 |
might be a flash policy directive configurable. |
| 16312 |
|
| 16313 |
== MediaWiki 1.23.6 == |
| 16314 |
|
| 16315 |
This is a maintenance release of the MediaWiki 1.23 branch. |
| 16316 |
|
| 16317 |
=== Changes since 1.23.5 === |
| 16318 |
* (Bug 72274) Job queue not running (HTTP 411) due to missing |
| 16319 |
Content-Length: header |
| 16320 |
* (Bug 67440) Allow classes to be registered properly from installer |
| 16321 |
|
| 16322 |
== MediaWiki 1.23.5 == |
| 16323 |
|
| 16324 |
This is a security release of the MediaWiki 1.23 branch. |
| 16325 |
|
| 16326 |
=== Changes since 1.23.4 === |
| 16327 |
* (bug 70672) SECURITY: OutputPage: Remove separation of css and js module |
| 16328 |
allowance. |
| 16329 |
|
| 16330 |
== MediaWiki 1.23.4 == |
| 16331 |
|
| 16332 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16333 |
|
| 16334 |
=== Changes since 1.23.3 === |
| 16335 |
|
| 16336 |
* (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style> |
| 16337 |
elements; normalize style elements and attributes before filtering; add |
| 16338 |
checks for attributes that contain css; add unit tests for html5sec and |
| 16339 |
reported bugs. |
| 16340 |
* (bug 65998) Make MySQLi work with non-standard socket. |
| 16341 |
* (bug 66986) GlobalVarConfig shouldn't throw exceptions for null-valued config |
| 16342 |
settings. |
| 16343 |
|
| 16344 |
== MediaWiki 1.23.3 == |
| 16345 |
|
| 16346 |
This is a maintenance release of the MediaWiki 1.23 branch. |
| 16347 |
|
| 16348 |
=== Changes since 1.23.2 === |
| 16349 |
|
| 16350 |
* (bug 68501) Correctly handle incorrect namespace in cleanupTitles.php. |
| 16351 |
* (bug 64970) Fix support for blobs on DatabaseOracle::update. |
| 16352 |
* (bug 66574) Display MediaWiki:Loginprompt on the login page. |
| 16353 |
* (bug 67870) wfShellExec() cuts off stdout at multiples of 8192 bytes. |
| 16354 |
* (bug 60629) Handle invalid language code gracefully in |
| 16355 |
Language::fetchLanguageNames. |
| 16356 |
* (bug 62017) Restore the number of rows shown on Special:Watchlist. |
| 16357 |
* Check for boolean false result from database query in SqlBagOStuff. |
| 16358 |
|
| 16359 |
== MediaWiki 1.23.2 == |
| 16360 |
|
| 16361 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16362 |
|
| 16363 |
=== Changes since 1.23.1 === |
| 16364 |
|
| 16365 |
* (bug 68187) SECURITY: Prepend jsonp callback with comment. |
| 16366 |
* (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used |
| 16367 |
for loading a new page in Javascript,instead of relying on the URL in the link |
| 16368 |
that has been clicked. |
| 16369 |
* (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and |
| 16370 |
ParserOutput. |
| 16371 |
* (bug 68313) Preferences: Turn stubthreshold back into a combo box. |
| 16372 |
* (bug 65214) Fix initSiteStats.php maintenance script. |
| 16373 |
* (bug 67594) Special:ActiveUsers: Fix to work with PostgreSQL. |
| 16374 |
|
| 16375 |
== MediaWiki 1.23.1 == |
| 16376 |
|
| 16377 |
This is a security and maintenance release of the MediaWiki 1.23 branch. |
| 16378 |
|
| 16379 |
=== Changes since 1.23.0 === |
| 16380 |
|
| 16381 |
* (bug 65839) SECURITY: Prevent external resources in SVG files. |
| 16382 |
* (bug 67025) Special:Watchlist: Don't try to render empty row. |
| 16383 |
* (bug 66922) Don't allow some E_NOTICE messages to end up in the |
| 16384 |
LocalSettings.php. |
| 16385 |
* (bug 66467) FileBackend: Avoid using popen() when "parallelize" is disabled. |
| 16386 |
* (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects |
| 16387 |
like only extracting the tail of the file partially or not at all. |
| 16388 |
* (bug 66182) Removed -x flag on some php files. |
| 16389 |
|
| 16390 |
== MediaWiki 1.23.0 == |
| 16391 |
|
| 16392 |
=== Configuration changes in 1.23 === |
| 16393 |
* (bug 13250) Restored method for clearing a watchlist in web UI |
| 16394 |
so that users with large watchlists don't have to perform |
| 16395 |
contortions to clear them. |
| 16396 |
* When $wgJobRunRate is higher than zero, jobs are now executed via an |
| 16397 |
asynchronous HTTP request to a MediaWiki entry point. This may require |
| 16398 |
increasing the number of server worker threads. $wgRunJobsAsync has been |
| 16399 |
added to disable this feature if needed, falling back to executing the job |
| 16400 |
on the same process but making the execution synchronously. |
| 16401 |
* $wgDebugLogGroups values may be set to an associative array with a |
| 16402 |
'destination' key specifying the log destination. The array may also contain |
| 16403 |
a 'sample' key with a positive integer value N indicating that the log group |
| 16404 |
should be sampled by dispatching one in every N messages on average. The |
| 16405 |
sampling is random. |
| 16406 |
* In addition to the current exception log format, MediaWiki now serializes |
| 16407 |
exception metadata to JSON and logs it to the 'exception-json' log group. |
| 16408 |
This makes MediaWiki easier to integrate with log aggregation and analysis |
| 16409 |
tools. |
| 16410 |
* $wgSquidServersNoPurge now supports the use of Classless Inter-Domain |
| 16411 |
Routing (CIDR) notation to specify contiguous blocks of IPv4 and/or IPv6 |
| 16412 |
addresses that should be trusted to provide X-Forwarded-For headers. |
| 16413 |
* Preferences 'watchcreations', 'watchdefault', 'enotifwatchlistpages' ("Add |
| 16414 |
pages I create and files I upload to my watchlist", "Add pages and files I |
| 16415 |
edit to my watchlist", "Email me when a page or file on my watchlist is |
| 16416 |
changed") are now enabled by default. In addition new user accounts' personal |
| 16417 |
and talk pages are now watched by them by default. |
| 16418 |
* $wgLBFactoryConf: Class names have had underscores removed. The configuration |
| 16419 |
should be updated if LBFactory_Simple or LBFactory_Multi is configured. |
| 16420 |
* $wgPasswordSenderName has been removed and is no longer functional. To set a |
| 16421 |
custom mailer name, the system message 'emailsender' should be modified |
| 16422 |
(default: "{{SITENAME}}"). |
| 16423 |
* (bug 63269) Email notifications were not correctly handling the |
| 16424 |
[[MediaWiki:Helppage]] message being set to a full URL (the default). |
| 16425 |
If you customized [[MediaWiki:Enotif body]] (the text of email notifications), |
| 16426 |
you'll need to edit it locally to include the URL via the new variable |
| 16427 |
$HELPPAGE instead of the parser functions fullurl and canonicalurl; otherwise |
| 16428 |
you don't have to do anything. |
| 16429 |
* $wgDBAhandler was removed as the only class using it was also removed |
| 16430 |
* The 'max threads' setting was removed from $wgDBservers. |
| 16431 |
* Support for AdminSettings.php has been completely removed. All configuration |
| 16432 |
belongs in LocalSettings.php. |
| 16433 |
* $wgSkipSkin, which has been replaceable by $wgSkipSkins since 2005 (r9249), is |
| 16434 |
now formally deprecated. |
| 16435 |
* Removed deprecated $wgDisabledActions as it is hardly used anywhere. |
| 16436 |
* $wgRateLimitLog has been deprecated and replaced by |
| 16437 |
$wgDebugLogGroup['ratelimit']. |
| 16438 |
* $wgLocalInterwikis is an array containing multiple local interwiki prefixes |
| 16439 |
(interwiki prefixes that point back to the current wiki). This effectively |
| 16440 |
allows more than one value of $wgLocalInterwiki to be specified and |
| 16441 |
understood by the parser. The value of $wgLocalInterwiki is automatically |
| 16442 |
prepended to the start of this array. |
| 16443 |
* $wgQueryPages has been removed. Query Pages should be added to by using the |
| 16444 |
wgQueryPages hook. |
| 16445 |
* $wgHttpOnlyBlacklist has been removed. |
| 16446 |
* $wgLicenseTerms has been removed as it was unused. |
| 16447 |
* $wgProfileOnly is now deprecated; set the log file in |
| 16448 |
$wgDebugLogGroups['profileoutput'] to replace it. |
| 16449 |
* $wgMaxBacklinksInvalidate was removed; use $wgJobBackoffThrottling instead |
| 16450 |
* Deprecated ResourceLoaderGetStartupModules hook. |
| 16451 |
|
| 16452 |
=== New features in 1.23 === |
| 16453 |
* ResourceLoader can utilize the Web Storage API to cache modules client-side. |
| 16454 |
Compared to the browser cache, caching in Web Storage allows ResourceLoader |
| 16455 |
to be more granular about evicting stale modules from the cache while |
| 16456 |
retaining the ability to retrieve multiple modules in a single HTTP request. |
| 16457 |
This capability can be enabled by setting $wgResourceLoaderStorageEnabled to |
| 16458 |
true. This feature is currently considered experimental and should only be |
| 16459 |
enabled with care. |
| 16460 |
* (bug 6092) Add expensive parser functions {{REVISIONID:}}, {{REVISIONUSER:}} |
| 16461 |
and {{REVISIONTIMESTAMP:}} (with friends). |
| 16462 |
* Add "wgRelevantUserName" to mw.config containing the current |
| 16463 |
Skin::getRelevantUser value. |
| 16464 |
* (bug 56033) Add content model to the page information. |
| 16465 |
* Added Article::MissingArticleConditions hook to give extensions a chance to |
| 16466 |
hide their (unrelated) log entries. |
| 16467 |
* Added LonelyPagesQuery hook to let extensions modify the query used to |
| 16468 |
generate Special:LonelyPages. |
| 16469 |
* Added $wgOpenSearchDefaultLimit defining the default number of entries to show |
| 16470 |
on action=opensearch API call. |
| 16471 |
* For namespaces with $wgNamespaceProtection (including the MediaWiki |
| 16472 |
namespace), the "protect" tab will be shown only if there are restriction |
| 16473 |
levels available that would restrict editing beyond what |
| 16474 |
$wgNamespaceProtection already applies. The protection form will offer only |
| 16475 |
those protection levels. |
| 16476 |
* Added $wgAPIFormatModules, allowing extensions to add additional output |
| 16477 |
formatting modules for the API. |
| 16478 |
* (bug 47812) The MediaWiki:Group-user.{css,js} pages can now be used to add |
| 16479 |
custom CSS or JavaScript enabled only for registered users. |
| 16480 |
* (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist |
| 16481 |
now include a legend describing the symbols used in lists of changes. |
| 16482 |
* Improved the accessibility of the tabs in Special:Preferences. |
| 16483 |
* Added ApiBeforeMain hook, roughly equivalent to the BeforeInitialize hook: |
| 16484 |
it's called after everything is set up but before any major processing |
| 16485 |
happens. |
| 16486 |
* The jquery.client module now performs a component-wise version comparison in |
| 16487 |
its #test method when strings are used in the browser map: version '1.10' is |
| 16488 |
now correctly considered larger than '1.2'. Using numbers in the version map |
| 16489 |
is not affected. |
| 16490 |
* All API modules now support an assert parameter, which can either be |
| 16491 |
'user' or 'bot'. The API will throw an error if the user is not logged |
| 16492 |
in (user) or does not have the 'bot' userright (bot). Based off of the |
| 16493 |
AssertEdit extension by Steve Sanbeg. |
| 16494 |
* [[Special:Diff]] was added, allowing users to create internal links to |
| 16495 |
revision comparison pages using syntax such as [[Special:Diff/12345]], |
| 16496 |
[[Special:Diff/12345/prev]] or [[Special:Diff/12345/98765]]. |
| 16497 |
* New user accounts' personal and talk pages are now watched by them by default. |
| 16498 |
* Added SkinTemplateGetLanguageLink hook to allow changing the html of language |
| 16499 |
links. |
| 16500 |
* Added MessageCache::get hook as a new way to customize messages across |
| 16501 |
multiple sites. |
| 16502 |
* Added jquery.throttle-debounce ResourceLoader module to limit the number of |
| 16503 |
callbacks for frequently occurring events. |
| 16504 |
* Special:ProtectedPages shows now a table. The timestamp, the reason and |
| 16505 |
the protecting user are also shown. |
| 16506 |
* Added experimental support for using Microsoft SQL Server as the database |
| 16507 |
backend. |
| 16508 |
** Added new Microsoft SQL Server-specific configuration variable |
| 16509 |
$wgDBWindowsAuthentication, which makes the web server authenticate against |
| 16510 |
the database server using Integrated Windows Authentication instead of |
| 16511 |
$wgDBuser/$wgDBpassword. |
| 16512 |
* HTMLForm 'select', 'selectandother', 'selectorother', 'multiselect', and |
| 16513 |
'radio' fields can now use message keys as labels via the 'options-messages' |
| 16514 |
parameter, which overrides the 'options' parameter. |
| 16515 |
* Admins can expire users passwords manually, or on a schedule using the |
| 16516 |
$wgPasswordExpirationDays configuration setting. |
| 16517 |
* Add new hook SendWatchlistEmailNotification, this will be used to determine |
| 16518 |
whether to send a watchlist email notification. |
| 16519 |
* (bug 42026) Special:Contributions now includes an option to filter page |
| 16520 |
creations, similar to the topOnly option. |
| 16521 |
* Add mediawiki.ui.button styling to all pages so wiki content can use styled |
| 16522 |
buttons. |
| 16523 |
* Special:UserLogin/signup now does AJAX checks for invalid and taken usernames, |
| 16524 |
displaying the error live. |
| 16525 |
* Added BaseTemplateAfterPortlet hook to allow injecting html after portlets in |
| 16526 |
skins. |
| 16527 |
* Support has been added for a JSON based localisation file format. The |
| 16528 |
installer has been updated to use it. |
| 16529 |
* Changes to content typography (colors, line-height etc.). See |
| 16530 |
https://www.mediawiki.org/wiki/Typography_refresh for further information. |
| 16531 |
* The Vector skin's visual treatment of external links has been simplified to a |
| 16532 |
single icon (from nine). This should not affect local rules unless they were |
| 16533 |
re-using these icons, which have now been deleted. |
| 16534 |
* ResourceLoader: mw.loader.using() now implements a Promise interface. |
| 16535 |
* Add new hook ChangesListInitRows accessed via |
| 16536 |
ChangesList::initChangesListRows. |
| 16537 |
If called by the ChangesList consumer this gives extensions a chance to batch |
| 16538 |
process the result set prior to rendering. |
| 16539 |
* A PoolCounterRedis class was added which can be make use of in |
| 16540 |
$wgPoolCounterConf. This requires at least one Redis 2.6+ server. |
| 16541 |
* $wgProfileToDatabase was removed. Set $wgProfiler to ProfilerSimpleDB |
| 16542 |
in StartProfiler.php instead of using this. |
| 16543 |
* (bug 63444) Made it possible to change the indent string (default: 4 spaces) |
| 16544 |
used by FormatJson::encode(). |
| 16545 |
|
| 16546 |
=== Bug fixes in 1.23 === |
| 16547 |
* (bug 41759) The "updated since last visit" markers (on history pages, recent |
| 16548 |
changes and watchlist) and the talk page message indicator are now correctly |
| 16549 |
updated when the user is viewing old revisions of pages, instead of always |
| 16550 |
acting as if the latest revision was being viewed. |
| 16551 |
* (bug 56443) Special:ConfirmEmail no longer shows a "Mail a confirmation code" |
| 16552 |
when the email address is already confirmed. Also, consistently use |
| 16553 |
"confirmed", rather than "authenticated", when messaging whether or not the |
| 16554 |
user has confirmed an email address. |
| 16555 |
* (bug 19415) action=render no longer shows section edit links. This affects |
| 16556 |
behavior of several other features where (bogus) section edit links will |
| 16557 |
disappear, such as file description pages loaded via $wgUseInstantCommons or |
| 16558 |
pages transcluded cross-wiki via $wgEnableScaryTranscluding. |
| 16559 |
* (bug 56912) Show correct link color on cached result of Special:DeadendPages. |
| 16560 |
* Classes TitleListDependency and TitleDependency have been removed, as they |
| 16561 |
have been found unused in core and extensions for a long time. |
| 16562 |
* (bug 57098) SpecialPasswordReset now obeys returnto parameter |
| 16563 |
* (bug 37812) ResourceLoader will notice when a module's definition changes and |
| 16564 |
recompile it accordingly. |
| 16565 |
* (bug 57201) SpecialRecentChangesFilters hook is now executed for feeds. |
| 16566 |
* (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages |
| 16567 |
to appear blank or with missing text. |
| 16568 |
* (bug 56931) Updated the plural rules to CLDR 24. They are in new format |
| 16569 |
which is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as |
| 16570 |
the JavaScript evaluator were updated to support the new format. Plural rules |
| 16571 |
for some languages have changed, most notably Russian. Affected software |
| 16572 |
messages have been updated and marked for review at translatewiki.net. |
| 16573 |
* (bug 23542) imagelinks now stores both the redirect and target (as |
| 16574 |
templatelinks does). |
| 16575 |
* (bug 58167) The web installer no longer throws an exception when PHP is |
| 16576 |
compiled without support for MySQL yet with support for another DBMS. |
| 16577 |
* (bug 56199) Raw option of parser functions must now match complete word, |
| 16578 |
to take effect. |
| 16579 |
* (bug 60543) Special:PrefixIndex forgot stripprefix=1 for "Next page" link |
| 16580 |
* (bug 29762) Undoing an already-undone edit will now display an appropriate |
| 16581 |
message instead of leading the user to make a null edit. |
| 16582 |
* (bug 52659) mediawiki.notification: Notification area remained visible when |
| 16583 |
empty and thus was stealing pointer events from links on the page. |
| 16584 |
* (bug 26811) When a DBUnexpectedError occurs, DB server hostnames are now |
| 16585 |
hidden unless $wgShowExceptionDetails is true, and $wgShowDBErrorBacktrace |
| 16586 |
no longer applies in such cases. |
| 16587 |
* (bug 60960) Avoid doing file_exist() checks on data: URIs, as they cause |
| 16588 |
warnings to be printed on Windows due to large path length. |
| 16589 |
* (bug 48084) Fixed a bug in the installer that could cause $wgLogo to hold |
| 16590 |
the wrong path to the placeholder logo (skins/common/images/wiki.png). |
| 16591 |
* (bug 64289) jquery.textSelection: Don't throw errors on empty collections. |
| 16592 |
|
| 16593 |
=== Web API changes in 1.23 === |
| 16594 |
* (bug 54884) action=parse&prop=categories now indicates hidden and missing |
| 16595 |
categories. |
| 16596 |
* action=query&meta=filerepoinfo now returns additional information for each |
| 16597 |
repo. |
| 16598 |
* action=parse&prop=languageshtml was deprecated in 1.18 and will be removed in |
| 16599 |
MediaWiki 1.24. |
| 16600 |
* action=parse now has disabletoc flag to disable table of contents in output. |
| 16601 |
* (bug 25702) list=allcategories, list=allimages, list=alllinks, list=allpages, |
| 16602 |
list=deletedrevs and list=filearchive did not handle case-sensitivity |
| 16603 |
properly for all parameters. |
| 16604 |
* ApiQueryBase::titlePartToKey allows an extra parameter that indicates the |
| 16605 |
namespace in order to properly capitalize the title part. |
| 16606 |
* (bug 57874) action=feedcontributions no longer has one item more than limit. |
| 16607 |
* All API modules now support an assert parameter. See the new features section |
| 16608 |
for more details. |
| 16609 |
* Added prop=contributors to fetch the list of contributors to the page. |
| 16610 |
* The following API modules will now return entries where fields have been |
| 16611 |
revision-deleted: list=deletedrevs, list=filearchive, list=recentchanges, |
| 16612 |
list=watchlist. "hidden" indicators will be included, in the same style as is |
| 16613 |
already done for prop=revisions. |
| 16614 |
* The following API modules will now return the content of revision-deleted |
| 16615 |
fields, in addition to the "hidden" indicators, if the querying user has the |
| 16616 |
necessary rights: list=logevents, list=usercontribs, prop=imageinfo, |
| 16617 |
prop=revisions. |
| 16618 |
* The above modules, where applicable, will now return entries filtered by |
| 16619 |
revision-deleted fields if the querying user has the necessary rights. For |
| 16620 |
example, prop=revisions with rvuser or rvexcludeuser will no longer skip |
| 16621 |
revisions where the user was revision-deleted if the current user has the |
| 16622 |
deletedhistory right. |
| 16623 |
* The 'hideuser' right, used when blocking, is no longer necessary or |
| 16624 |
sufficient for seeing contributions with revision-deleted in |
| 16625 |
list=usercontribs. |
| 16626 |
* list=watchlist now uses the querying user's rights rather than the wlowner's |
| 16627 |
rights when checking whether wlprop=patrol is allowed. |
| 16628 |
* (bug 32151) ApiWatch now has pageset capabilities (titles/pageids/generators). |
| 16629 |
Title parameter is now deprecated. |
| 16630 |
* (bug 23005) Added action=revisiondelete. |
| 16631 |
* Added siprop=restrictions to API action=query&meta=siteinfo for querying |
| 16632 |
possible page restriction (protection) levels and types. |
| 16633 |
* Added prop 'limitreportdata' and 'limitreporthtml' to action=parse. |
| 16634 |
* (bug 58627) Provide language names on action=parse&prop=langlinks. |
| 16635 |
* Deprecated llurl= in favour of llprop=url for action=query&prop=langlinks. |
| 16636 |
* Added llprop=langname and llprop=autonym for action=query&prop=langlinks. |
| 16637 |
* prop=redirects is added, to return redirects to the pages in the query. |
| 16638 |
* list=allredirects is added, to list all redirects pointing to a namespace. |
| 16639 |
* (bug 42026) Added ucshow={new,!new,top,!top} to list=usercontribs. |
| 16640 |
Also added newonly to action=feedcontributions. |
| 16641 |
* (bug 42026) Deprecated uctoponly in favor of ucshow=top. |
| 16642 |
* list=search no longer has a "srredirects" parameter. Redirects are now |
| 16643 |
included in all searches. |
| 16644 |
* Added list=prefixsearch that works like action=opensearch but can be used as |
| 16645 |
a generator. |
| 16646 |
* (bug 24782) Various modules will now use unique continuation parameters. |
| 16647 |
* (bug 63249) Cache RecentChanges Atom feed in varnish for 15 seconds. |
| 16648 |
|
| 16649 |
=== Languages updated in 1.23 === |
| 16650 |
|
| 16651 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 16652 |
regularly. Below only new and removed languages are listed, as well as |
| 16653 |
changes to languages because of Bugzilla reports. |
| 16654 |
|
| 16655 |
* Support was added for Algerian Spoken Arabic (arq). |
| 16656 |
* Support was added for Riograndenser Hunsrückisch (hrx). |
| 16657 |
* Support was added for Northern Luri (lrc). |
| 16658 |
|
| 16659 |
=== Other changes in 1.23 === |
| 16660 |
* The rc_type field in the recentchanges table has been superseded by a new |
| 16661 |
rc_source field. The rc_source field is a string representation of the |
| 16662 |
change type where rc_type was a numeric constant. This field is not yet |
| 16663 |
queried but will be in a future release. |
| 16664 |
** Utilize update.php to create and populate this new field. On larger wikis |
| 16665 |
which do not wish to update recentchanges table in one large update please |
| 16666 |
review the SQL and comments in maintenance/archives/patch-rc_source.sql. |
| 16667 |
** The rc_type field of recentchanges will be deprecated in a future release. |
| 16668 |
* The global variable $wgArticle has been removed after a lengthy deprecation. |
| 16669 |
* The global functions addButton and insertTags (for mw.toolbar.addButton and |
| 16670 |
mw.toolbar.insertTags) now emits mw.log.warn when accessed. |
| 16671 |
* The ExpandTemplates extension has been moved into MediaWiki core. |
| 16672 |
* (bug 52812) Removed "Disable search suggestions" from Preference. |
| 16673 |
* (bug 52809) Removed "Disable browser page caching" from Preference. |
| 16674 |
* Three new modules intended for use by custom skins were added: |
| 16675 |
'mediawiki.skinning.elements', 'mediawiki.skinning.content', and |
| 16676 |
'mediawiki.skinning.interface', representing three levels of standard |
| 16677 |
MediaWiki styling. Previously skin creators wishing to use them had to refer |
| 16678 |
to the file names of appropriate files directly, which is now discouraged. |
| 16679 |
* The modules 'skins.vector' and 'skins.monobook' have been renamed to |
| 16680 |
'skins.vector.styles' and 'skins.monobook.styles', respectively, |
| 16681 |
and their definition was changed not to include the common*.css files; |
| 16682 |
the two skins now load the 'mediawiki.skinning.interface' module instead. |
| 16683 |
* A page_links_updated field has been added to the page table. |
| 16684 |
* SpecialPage::getTitle has been deprecated in favor of |
| 16685 |
SpecialPage::getPageTitle. |
| 16686 |
* BREAKING CHANGE: Two potentially backwards-incompatible changes have been made |
| 16687 |
to the 'SpecialWatchlistQuery' hook's last parameter (array $values) to make |
| 16688 |
the hook more consistent with the 'SpecialRecentChangesQuery' one: |
| 16689 |
** Several array keys have been renamed: hideMinor → hideminor, |
| 16690 |
hideBots → hidebots, hideAnons → hideanons, hideLiu → hideliu, |
| 16691 |
hidePatrolled → hidepatrolled, hideOwn → hidemyself. |
| 16692 |
** The parameter value is now a FormOptions object, not a plain array (array |
| 16693 |
access operators should continue to work, as it implements the ArrayAccess |
| 16694 |
interface). |
| 16695 |
* Option to mark hooks as deprecated has been added. |
| 16696 |
* (bug 52811) Preference "Enable section editing via [edit] links" was removed. |
| 16697 |
* (bug 52813) Preference "Show table of contents (for pages with more than |
| 16698 |
3 headings)" was removed. |
| 16699 |
* (bug 52810) Preference "Justify paragraphs" was removed. |
| 16700 |
* OutputPage::showErrorPage raises a notice if arguments are incoherent. |
| 16701 |
* Thumbnails that keep failing to render in thumb.php will be rate-limited |
| 16702 |
against further render attempts for 1 hour. $wgAttemptFailureEpoch can be |
| 16703 |
altered to reset all rate-limited thumbnails at once. |
| 16704 |
* (bug 56572) Builds of the OOjs and OOjs UI libraries are now available. |
| 16705 |
* mw.loader.go and mw.loader.version have been removed. |
| 16706 |
* (bug 52815) Preference "Enable simplified search bar (Vector skin only)" |
| 16707 |
was removed. |
| 16708 |
* A user_password_expires column has been added to the user table. The User |
| 16709 |
object expects this column to exist. Use update.php to create this new field. |
| 16710 |
* The jquery.delayedBind ResourceLoader module was deprecated in favor of the |
| 16711 |
jquery.throttle-debounce module. It will be removed in MediaWiki 1.24. |
| 16712 |
* mw.user.bucket has been deprecated. |
| 16713 |
* On Special:PrefixIndex, a table#mw-prefixindex-list-table was changed to |
| 16714 |
table.mw-prefixindex-list-table to avoid duplicate ids when the special page |
| 16715 |
is transcluded. |
| 16716 |
* (bug 62198) window.$j has been deprecated. |
| 16717 |
* Preference "Disable link title conversion" was removed. |
| 16718 |
* SpecialRecentChanges no longer includes any functionality for generating feeds |
| 16719 |
- it has been factored out to ApiFeedRecentChanges. Old URLs redirect to new |
| 16720 |
ones. |
| 16721 |
* RecentChange::mExtra['lang'] is no longer set and should no longer be used. |
| 16722 |
Extensions should read from other configuration variables, including |
| 16723 |
$wgLocalInterwikis, to identify the current wiki. |
| 16724 |
* Sections in the parser test framework have been renamed and the old |
| 16725 |
section names are deprecated. Please use "!!wikitext" and "!!html" |
| 16726 |
(or "!!html/php") instead of "!!input" and "!!result". This allows |
| 16727 |
us to extend parser tests to accommodate additional input/output |
| 16728 |
pairs, such as "!!html/parsoid" (for the output of the Parsoid |
| 16729 |
parser, where it differs from the PHP parser). |
| 16730 |
* Special:Search no longer has an "include redirects" option on the advanced |
| 16731 |
tab. Redirects are now included in all searches. |
| 16732 |
* mediawiki.api.category's getCategories() 'async' parameter was deprecated. |
| 16733 |
* The locations of resources have been split between upstream libraries, now in |
| 16734 |
resources/lib/, local libaries in resources/src/, and local forks of upstream |
| 16735 |
libraries, also in resources/src/. |
| 16736 |
* BREAKING CHANGE: The automatically-generated function closure with which |
| 16737 |
ResourceLoader wraps all modules' JavaScript code now binds the identifier |
| 16738 |
names 'jQuery' and '$' to the jQuery object of the version of jQuery that is |
| 16739 |
bundled with MediaWiki. If you bind these names to other objects in global |
| 16740 |
scope (like Zepto.js or document.querySelectorAll, for example) you will need |
| 16741 |
to use different names to or re-bind them at the top of each |
| 16742 |
ResourceLoader-loaded module. |
| 16743 |
* (bug 52342) Preference "Remember my login" was removed. |
| 16744 |
* The skin autodiscovery mechanism has been deprecated and will be removed in |
| 16745 |
MediaWiki 1.25. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery |
| 16746 |
for migration guide for creators and users of custom skins that relied on it. |
| 16747 |
|
| 16748 |
==== Removed classes ==== |
| 16749 |
* FakeMemCachedClient (deprecated in 1.18) |
| 16750 |
* RdfMetaData (unused) |
| 16751 |
* TitleDependency (unused) |
| 16752 |
* TitleListDependency (unused) |
| 16753 |
* WikiError (deprecated in 1.17) |
| 16754 |
* WikiXmlError (deprecated in 1.17) |
| 16755 |
* WikiErrorMsg (deprecated in 1.17) |
| 16756 |
|
| 16757 |
==== Renamed classes ==== |
| 16758 |
* CdbReader_DBA to CdbReaderDBA |
| 16759 |
* CdbReader_PHP to CdbReaderPHP |
| 16760 |
* CdbWriter_DBA to CdbWriterDBA |
| 16761 |
* CdbWriter_PHP to CdbWriterPHP |
| 16762 |
* DiffOp_Add to DiffOpAdd |
| 16763 |
* DiffOp_Change to DiffOpChange |
| 16764 |
* DiffOp_Copy to DiffOpCopy |
| 16765 |
* DiffOp_Delete to DiffOpDelete |
| 16766 |
* HWLDF_WordAccumulator to HWLDFWordAccumulator |
| 16767 |
* LBFactory_Fake to LBFactoryFake |
| 16768 |
* LBFactory_Multi to LBFactoryMulti |
| 16769 |
* LBFactory_Simple to LBFactorySimple |
| 16770 |
* LBFactory_Single to LBFactorySingle |
| 16771 |
* LCStore_Accel to LCStoreAccel |
| 16772 |
* LCStore_CDB to LCStoreCDB |
| 16773 |
* LCStore_DB to LCStoreDB |
| 16774 |
* LCStore_Null to LCStoreNull |
| 16775 |
* LoadBalancer_Single to LoadBalancerSingle |
| 16776 |
* LoadMonitor_MySQL to LoadMonitorMySQL |
| 16777 |
* LoadMonitor_Null to LoadMonitorNull |
| 16778 |
* LocalisationCache_BulkLoad to LocalisationCacheBulkLoad |
| 16779 |
* csvStatsOutput to CsvStatsOutput |
| 16780 |
* extensionLanguages to ExtensionLanguages |
| 16781 |
* languages to Languages |
| 16782 |
* statsOutput to StatsOutput |
| 16783 |
* textStatsOutput to TextStatsOutput |
| 16784 |
* wikiStatsOutput to WikiStatsOutput |
| 16785 |
|
| 16786 |
==== Removed methods ==== |
| 16787 |
* ApiBase::getValidNamespaces() (deprecated in 1.17) |
| 16788 |
* ApiMain::setCachePrivate() (deprecated in 1.17) |
| 16789 |
* ApiMain::setVaryCookie (deprecated in 1.17) |
| 16790 |
* Article::doRedirect() (deprecated in 1.18) |
| 16791 |
* Article::doUnwatch() (deprecated in 1.18) |
| 16792 |
* Article::doWatch() (deprecated in 1.18) |
| 16793 |
* Article::forUpdate() (deprecated in 1.18) |
| 16794 |
* Article::markpatrolled() (deprecated in 1.18) |
| 16795 |
* Article::unwatch() (deprecated in 1.18) |
| 16796 |
* Article::watch() (deprecated in 1.18) |
| 16797 |
* Block::clear() (deprecated in 1.18) |
| 16798 |
* Block::decodeExpiry() (deprecated in 1.18) |
| 16799 |
* Block::encodeExpiry() (deprecated in 1.18) |
| 16800 |
* Block::forUpdate() (deprecated in 1.18) |
| 16801 |
* Block::infinity() (deprecated in 1.18) |
| 16802 |
* Block::load() (deprecated in 1.18) |
| 16803 |
* Block::newFromDB() (deprecated in 1.18) |
| 16804 |
* Block::normaliseRange() (deprecated in 1.18) |
| 16805 |
* Block::parseExpiryInput() (deprecated in 1.18) |
| 16806 |
* CategoryViewer::addSubcategory() (deprecated in 1.17) |
| 16807 |
* EditPage::spamPage() (deprecated since 1.17) |
| 16808 |
* Exif::getFormattedData() (deprecated in 1.18) |
| 16809 |
* Exif::makeFormattedData() (deprecated in 1.18) |
| 16810 |
* in_string (deprecated in 1.21) |
| 16811 |
* Language::convertLinkToAllVariants() (deprecated in 1.17) |
| 16812 |
* LanguageConverter::convertLinkToAllVariants() (deprecated in 1.17) |
| 16813 |
* Linker::makeBrokenLink() (deprecated in 1.16) |
| 16814 |
* Linker::makeBrokenLinkObj() (deprecated in 1.16) |
| 16815 |
* Linker::makeColouredLinkObj() (deprecated in 1.16) |
| 16816 |
* Linker::makeSizeLinkObj() (deprecated in 1.17) |
| 16817 |
* MediaWiki::articleFromTitle() (deprecated in 1.18) |
| 16818 |
* ParserOptions::getkin() (deprecated 1.18) |
| 16819 |
* ProfilerSimple::getCpuTime (deprecated in 1.20) |
| 16820 |
* Revision::revText() (deprecated in 1.17) |
| 16821 |
* SkinTemplate::jstext() (deprecated in 1.21) |
| 16822 |
* SpecialPage::__call() (deprecated in 1.17) |
| 16823 |
* SpecialPage::executePath() (deprecated in 1.18) |
| 16824 |
* SpecialPage::exists() (deprecated in 1.18) |
| 16825 |
* SpecialPage::file() (deprecated in 1.18) |
| 16826 |
* SpecialPage::func() (deprecated in 1.18) |
| 16827 |
* SpecialPage::getGroup() (deprecated in 1.18) |
| 16828 |
* SpecialPage::getPage() (deprecated in 1.18) |
| 16829 |
* SpecialPage::getPageByAlias() (deprecated in 1.18) |
| 16830 |
* SpecialPage::getLocalNameFor() (deprecated in 1.18) |
| 16831 |
* SpecialPage::getRegularPages() (deprecated in 1.18) |
| 16832 |
* SpecialPage::getRestrictedPages() (deprecated in 1.18) |
| 16833 |
* SpecialPage::getTitleForAlias() (deprecated in 1.18) |
| 16834 |
* SpecialPage::getUsablePages() (deprecated in 1.18) |
| 16835 |
* SpecialPage::includable() (deprecated in 1.18) |
| 16836 |
* SpecialPage::init() |
| 16837 |
* SpecialPage::initAliasList() (deprecated in 1.18) |
| 16838 |
* SpecialPage::initList() (deprecated in 1.18) |
| 16839 |
* SpecialPage::name() (deprecated in 1.18) |
| 16840 |
* SpecialPage::removePage() (deprecated in 1.18) |
| 16841 |
* SpecialPage::resolveAlias() (deprecated in 1.18) |
| 16842 |
* SpecialPage::resolveAliasWithSubpage() (deprecated in 1.18) |
| 16843 |
* SpecialPage::restriction() (deprecated in 1.18) |
| 16844 |
* SpecialPage::setGroup() (deprecated in 1.18) |
| 16845 |
* SpecialRecentChanges::feedSetup() |
| 16846 |
* SpecialRevisionDelete::extractBitField() (deprecated in 1.22) |
| 16847 |
* User::getPageRenderingHash() (deprecated in 1.17) |
| 16848 |
* WebRequest::getFileSize() (deprecated in 1.17) |
| 16849 |
* WebRequest::isPathInfoBad() (deprecated in 1.17) |
| 16850 |
* wfGenerateToken (deprecated in 1.20) |
| 16851 |
* wfStreamFile (deprecated in 1.19) |
| 16852 |
* wfUILang (deprecated in 1.18) |
| 16853 |
* WikiPage::createUpdates() (deprecated in 1.18) |
| 16854 |
* WikiPage::quickEdit() (deprecated in 1.18) |
| 16855 |
* WikiPage::useParserCache() (deprecated in 1.18) |
| 16856 |
* WikiPage::viewUpdates() (deprecated in 1.18) |
| 16857 |
|
| 16858 |
==== Removed globals ==== |
| 16859 |
* $wgBetterDirectionality (deprecated in 1.18) |
| 16860 |
|
| 16861 |
= MediaWiki 1.22 = |
| 16862 |
|
| 16863 |
== MediaWiki 1.22.15 == |
| 16864 |
|
| 16865 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 16866 |
|
| 16867 |
=== Changes since 1.22.14 === |
| 16868 |
|
| 16869 |
* (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which |
| 16870 |
could lead to xss. Permission to edit MediaWiki namespace is required to |
| 16871 |
exploit this. |
| 16872 |
* (bug T77028) [SECURITY] Malicious site can bypass CORS restrictions in |
| 16873 |
$wgCrossSiteAJAXdomains in API calls if it only included an allowed domain as |
| 16874 |
part of its name. |
| 16875 |
* (bug T74222) The original patch for T74222 was reverted as unnecessary. |
| 16876 |
|
| 16877 |
== MediaWiki 1.22.14 == |
| 16878 |
|
| 16879 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 16880 |
|
| 16881 |
=== Changes since 1.22.13 === |
| 16882 |
|
| 16883 |
* (bugs 66776, 71478) SECURITY: User PleaseStand reported a way to inject code |
| 16884 |
into API clients that used format=php to process pages that underwent flash |
| 16885 |
policy mangling. This was fixed along with improving how the mangling was done |
| 16886 |
for format=json, and allowing sites to disable the mangling using |
| 16887 |
$wgMangleFlashPolicy. |
| 16888 |
* (bug 70901) SECURITY: User Jackmcbarn reported that the ability to update |
| 16889 |
the content model for a page could allow an unprivileged attacker to edit |
| 16890 |
another user's common.js under certain circumstances. The user right |
| 16891 |
"editcontentmodel" was added, and is needed to change a revision's content |
| 16892 |
model. |
| 16893 |
* (bug 72222) SECURITY: Do not show log action when the entry is revdeleted with |
| 16894 |
DELETED_ACTION. NOTICE: this may be reverted in a future release pending a |
| 16895 |
public RFC about the desired functionality. This issue was reported by user |
| 16896 |
Bawolff. |
| 16897 |
* (bug 71621) Make allowing site-wide styles on restricted special pages a |
| 16898 |
config option. |
| 16899 |
* $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that |
| 16900 |
might be a flash policy directive configurable. |
| 16901 |
|
| 16902 |
== MediaWiki 1.22.13 == |
| 16903 |
This is a maintenance release of the MediaWiki 1.22 branch. |
| 16904 |
|
| 16905 |
=== Changes since 1.22.12 === |
| 16906 |
* (bug 67440) Allow classes to be registered properly from installer |
| 16907 |
|
| 16908 |
== MediaWiki 1.22.12 == |
| 16909 |
This is a security release of the MediaWiki 1.22 branch. |
| 16910 |
|
| 16911 |
=== Changes since 1.22.11 === |
| 16912 |
* (bug 70672) SECURITY: OutputPage: Remove separation of css and js module |
| 16913 |
allowance. |
| 16914 |
|
| 16915 |
== MediaWiki 1.22.11 == |
| 16916 |
This is a security release of the MediaWiki 1.22 branch. |
| 16917 |
|
| 16918 |
=== Changes since 1.22.10 === |
| 16919 |
* (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style> |
| 16920 |
elements; normalize style elements and attributes before filtering; add checks |
| 16921 |
for attributes that contain css; add unit tests for html5sec and reported |
| 16922 |
bugs. |
| 16923 |
|
| 16924 |
== MediaWiki 1.22.10 == |
| 16925 |
This is a maintenance release of the MediaWiki 1.22 branch. |
| 16926 |
|
| 16927 |
=== Changes since 1.22.9 === |
| 16928 |
* (bug 64970) Fix support for blobs on DatabaseOracle::update |
| 16929 |
* (bug 60719) In MediaWiki 1.22, the job queue execution on each page request |
| 16930 |
was changed (Gerrit change 59797) so, instead of executing the job inside the |
| 16931 |
same PHP process that's rendering the page, a new PHP cli command is spawned |
| 16932 |
to execute runJobs.php in the background. It will only work if $wgPhpCli is |
| 16933 |
set to an actual path or safe mode is off, otherwise, the old method will be |
| 16934 |
used. See |
| 16935 |
https://www.mediawiki.org/wiki/Manual:Job_queue#Changes_in_MediaWiki_1.22 |
| 16936 |
for more information. This change was in earlier releases of 1.22 but was not |
| 16937 |
noted here until now. |
| 16938 |
|
| 16939 |
== MediaWiki 1.22.9 == |
| 16940 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 16941 |
|
| 16942 |
=== Changes since 1.22.8 === |
| 16943 |
* (bug 68187) SECURITY: Prepend jsonp callback with comment. |
| 16944 |
* (bug 66608) SECURITY: Fix for XSS issue in bug 66608: Generate the URL used |
| 16945 |
for loading a new page in Javascript,instead of relying on the URL in the |
| 16946 |
link that has been clicked. |
| 16947 |
* (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and |
| 16948 |
ParserOutput. |
| 16949 |
* (bug 59147) The img_metadata field was not being decoded from bytea into text. |
| 16950 |
|
| 16951 |
== MediaWiki 1.22.8 == |
| 16952 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 16953 |
|
| 16954 |
=== Changes since 1.22.7 === |
| 16955 |
* (bug 65839) SECURITY: Prevent external resources in SVG files. |
| 16956 |
* (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like |
| 16957 |
only extracting the tail of the file partially or not at all. |
| 16958 |
|
| 16959 |
== MediaWiki 1.22.7 == |
| 16960 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 16961 |
|
| 16962 |
=== Changes since 1.22.6 === |
| 16963 |
* (bug 65501) SECURITY: Don't parse usernames as wikitext on |
| 16964 |
Special:PasswordReset. |
| 16965 |
* (bug 36356) Add space between two feed links. |
| 16966 |
* (bug 63269) Email notifications were not correctly handling the |
| 16967 |
MediaWiki:Helppage message being set to a full URL. This is a regression from |
| 16968 |
the 1.22.5 point release, which made the default value for it a URL. If you |
| 16969 |
customized MediaWiki:Enotif body (the text of email notifications), you'll |
| 16970 |
need to edit it locally to include the URL via the new variable $HELPPAGE |
| 16971 |
instead of the parser functions fullurl and canonicalurl; otherwise you don't |
| 16972 |
have to do anything. |
| 16973 |
* Add missing uploadstash.us_props for PostgreSQL. |
| 16974 |
* (bug 56047) Fixed stream wrapper in PhpHttpRequest. |
| 16975 |
|
| 16976 |
== MediaWiki 1.22.6 == |
| 16977 |
This is a security release of the MediaWiki 1.22 branch. |
| 16978 |
|
| 16979 |
=== Changes since 1.22.5 === |
| 16980 |
* (bug 63251) SECURITY: Escape sortKey in pageInfo. |
| 16981 |
|
| 16982 |
== MediaWiki 1.22.5 == |
| 16983 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 16984 |
|
| 16985 |
=== Changes since 1.22.4 === |
| 16986 |
* (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword. |
| 16987 |
* (bug 62467) Set a title for the context during import on the cli. |
| 16988 |
* Fix custom local MediaWiki:Helppage values. |
| 16989 |
* mediawiki.js: Fix documentation breakage. |
| 16990 |
* (bug 58153) Make MySQLi work with non standard port. |
| 16991 |
* (bug 53887) Reintroduced a link to help pages in the default sidebar, that any |
| 16992 |
sysop can customize by editing MediaWiki:Sidebar locally. The link now points |
| 16993 |
to a mediawiki.org page which is guaranteed to exist. Nothing needs to be done |
| 16994 |
on your end, but remember to adjust MediaWiki:Sidebar for the needs of your |
| 16995 |
wikis. Everyone can help with the shared documentation by translating: |
| 16996 |
https://www.mediawiki.org/wiki/Special:Translate/agg-Help_pages . |
| 16997 |
* (bug 53888) Corrected a regression in 1.22 which introduced red links on the |
| 16998 |
login page. If you previously installed 1.22.x and have created a local page |
| 16999 |
to make the red link blue, write its title as in MediaWiki:helplogin-url if |
| 17000 |
you didn't already. Otherwise, you don't need to do anything, but you can |
| 17001 |
translate the help page at <https://www.mediawiki.org/wiki/Help:Logging_in>. |
| 17002 |
|
| 17003 |
== MediaWiki 1.22.4 == |
| 17004 |
This is a maintenance release of the MediaWiki 1.22 branch. |
| 17005 |
|
| 17006 |
=== Changes since 1.22.3 === |
| 17007 |
* Use the correct branch of the extensions' git repositories. |
| 17008 |
|
| 17009 |
== MediaWiki 1.22.3 == |
| 17010 |
This is a security and bugfix release of the MediaWiki 1.22 branch. |
| 17011 |
|
| 17012 |
=== Changes since 1.22.2 === |
| 17013 |
* (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted |
| 17014 |
namespaces. Also disallow iframe elements. * User will get an error including |
| 17015 |
the namespace name if they use a non- whitelisted namespace. |
| 17016 |
* (bug 61346) SECURITY: Make token comparison use constant time. It seems like |
| 17017 |
our token comparison would be vulnerable to timing attacks. This will take |
| 17018 |
constant time. |
| 17019 |
* (bug 61362) SECURITY: API: Don't find links in the middle of api.php links. |
| 17020 |
* (bug 53710) Add sequence support for upsert in DatabaseOracle in the same way |
| 17021 |
as in selectInsert |
| 17022 |
* (bug 60231, bug 58719) Various fixes to job running code in Wiki.php: Make it |
| 17023 |
async on Windows. Fixed possible "invalid filename" errors on Windows. |
| 17024 |
Redirect output to dev/null to avoid hanging PHP. |
| 17025 |
* (bug 60083) Correct sequence name for fresh Postgres installation. Spotted by |
| 17026 |
gebhkla |
| 17027 |
* (bug 60531) Avoid variable naming conflicts in |
| 17028 |
DatabasePostgres::selectSQLText. Spotted by gebhkla |
| 17029 |
* (bug 60094) Fix rebuildall.php fatal error with PostgreSQL. |
| 17030 |
* (bug 43817) Add error handling if descriptionmsg isn't defined for extension. |
| 17031 |
* (bug 60543) Special:PrefixIndex omits stripprefix=1 for "Next page" link. |
| 17032 |
|
| 17033 |
== MediaWiki 1.22.2 == |
| 17034 |
This is a security and bugfix release of the MediaWiki 1.22 branch. |
| 17035 |
|
| 17036 |
=== Changes since 1.22.1 === |
| 17037 |
* (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media |
| 17038 |
formats |
| 17039 |
* (bug 58253) Check for very old PCRE versions in installer and updater |
| 17040 |
* (bug 60054) Make WikiPage::$mPreparedEdit public |
| 17041 |
|
| 17042 |
== MediaWiki 1.22.1 == |
| 17043 |
This is a security and maintenance release of the MediaWiki 1.22 branch. |
| 17044 |
|
| 17045 |
=== Changes since 1.22.0 === |
| 17046 |
* (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads |
| 17047 |
* (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks |
| 17048 |
* (bug 58472) SECURITY: Disallow -o-link in styles |
| 17049 |
* (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads |
| 17050 |
* (bug 58699) SECURITY: Fix RevDel log entry information leaks |
| 17051 |
* (bug 58178) Restore compatibility with curl < 7.16.2. |
| 17052 |
* (bug 56931) Updated the plural rules to CLDR 24. They are in new format which |
| 17053 |
is detailed in UTS 35 Rev 33. The PHP parser and evaluator as well as the |
| 17054 |
JavaScript evaluator were updated to support the new format. Plural rules for |
| 17055 |
some languages have changed, most notably Russian. Affected software messages |
| 17056 |
have been updated and marked for review at translatewiki.net. This change is |
| 17057 |
backported from the development branch of MediaWiki 1.23. |
| 17058 |
* (bug 58434) The broken installer for database backend Oracle was fixed. |
| 17059 |
* (bug 58167) The web installer no longer throws an exception when PHP is |
| 17060 |
compiled without support for MySQL yet with support for another DBMS. |
| 17061 |
* (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to |
| 17062 |
appear blank or with missing text. |
| 17063 |
* (bug 47055) Changed FOR UPDATE handling in Postgresql |
| 17064 |
* (bug 57026) Avoid extra parsing in prepareContentForEdit() |
| 17065 |
|
| 17066 |
== MediaWiki 1.22.0 == |
| 17067 |
|
| 17068 |
=== Configuration changes in 1.22 === |
| 17069 |
* $wgRedirectScript was removed. It was unused. |
| 17070 |
* Removed $wgLocalMessageCacheSerialized, it is now always true. |
| 17071 |
* $wgVectorUseIconWatch is now enabled by default. |
| 17072 |
* $wgCascadingRestrictionLevels was added. |
| 17073 |
* ftps, ssh, sftp, xmpp, sip, sips, tel, sms, bitcoin, magnet, urn, and geo |
| 17074 |
have been whitelisted inside of $wgUrlProtocols. |
| 17075 |
* $wgDocType and $wgDTD have been removed and are no longer used for the |
| 17076 |
DOCTYPE. |
| 17077 |
* $wgHtml5 is no longer used by core. Setting it to false will no longer disable |
| 17078 |
HTML5. It is still set to true for extension compatibility but doing so in |
| 17079 |
extensions is deprecated. |
| 17080 |
* $wgXhtmlDefaultNamespace is no longer used by core. Setting it will no longer |
| 17081 |
change the xmlns used by MediaWiki. Reliance on this variable by extensions |
| 17082 |
is deprecated. |
| 17083 |
* $wgHandheldStyle was removed. |
| 17084 |
* $wgHandheldForIPhone was removed. |
| 17085 |
* $wgJsMimeType is no longer used by core. Most usage has been removed since |
| 17086 |
HTML output is now exclusively HTML5. |
| 17087 |
* $wgDBOracleDRCP added. True enables persistent connection with DRCP on Oracle. |
| 17088 |
* $wgLogAutopatrol added to allow disabling logging of autopatrol edits in the |
| 17089 |
logging table. |
| 17090 |
Default for $wgLogAutopatrol is true. |
| 17091 |
* The 'edit' right no longer allows for editing a user's own CSS and JS. |
| 17092 |
* New rights 'editmyusercss', 'editmyuserjs', 'viewmywatchlist', |
| 17093 |
'editmywatchlist', 'viewmyprivateinfo', 'editmyprivateinfo', and |
| 17094 |
'editmyoptions' restrict actions that were formerly allowed by default. They |
| 17095 |
have been added to the default for $wgGroupPermissions['*']. |
| 17096 |
* The 'editprotected' right no longer allows bypassing of all page protection |
| 17097 |
restrictions. Any group using it for this purpose will now need to have all |
| 17098 |
the individual rights listed in $wgRestrictionTypes for the same effect. |
| 17099 |
* The 'protect' and 'autoconfirmed' rights are no longer used for the default |
| 17100 |
page protection levels. The rights 'editprotected' and 'editsemiprotected' |
| 17101 |
are now used for this purpose instead. |
| 17102 |
* (bug 40866) wgOldChangeTagsIndex removed. |
| 17103 |
* $wgNoFollowDomainExceptions now only matches entire domains. For example, |
| 17104 |
an entry for 'bar.com' will still match 'foo.bar.com' but not 'foobar.com'. |
| 17105 |
* $wgCopyUploadTimeout and $wgCopyUploadAsyncTimeout added to change the timeout |
| 17106 |
times for fetching the file during upload by url. |
| 17107 |
* New key added to $wgGalleryOptions - $wgGalleryOptions['mode'] to set |
| 17108 |
default gallery mode. |
| 17109 |
* New hook 'GalleryGetModes' to allow extensions to make new gallery modes. |
| 17110 |
* The checkbox for staying in HTTPS displayed on the login form when |
| 17111 |
$wgSecureLogin is enabled has been removed. Instead, whether the user stays in |
| 17112 |
HTTPS will be determined |
| 17113 |
based on the user's preferences, and whether they came from HTTPS or not. |
| 17114 |
* $wgRC2UDPAddress, $wgRC2UDPInterwikiPrefix, $wgRC2UDPOmitBots, $wgRC2UDPPort, |
| 17115 |
and $wgRC2UDPPrefix configuration options have been deprecated in favor of a |
| 17116 |
$wgRCFeeds configuration array. $wgRCFeeds makes both the format and |
| 17117 |
destination of recent change notifications customizable, and allows for |
| 17118 |
multiple destinations to be specified. |
| 17119 |
* (bug 53862) portal-url, currentevents-url and helppage have been removed from |
| 17120 |
the default Sidebar. |
| 17121 |
* The 'vector-simplesearch' preference is now enabled by default. Previously |
| 17122 |
it was only enabled if the Vector extension was installed. |
| 17123 |
* The precise format of metric datagrams produced by the UDP profiler and stats |
| 17124 |
counter may now be specified as $wgUDPProfilerFormatString and |
| 17125 |
$wgStatsFormatString, respectively. |
| 17126 |
* (bug 54597) $wgBlockOpenProxies, $wgProxyPorts, $wgProxyScriptPath, and |
| 17127 |
$wgProxyMemcExpiry have been removed, along with the open proxy scanner |
| 17128 |
script they were added for. |
| 17129 |
* Default value of $wgMaxShellMemory has been tripled (it's now 300 MB). |
| 17130 |
|
| 17131 |
=== New features in 1.22 === |
| 17132 |
* You can now install extensions using Composer. |
| 17133 |
See https://www.mediawiki.org/wiki/Composer |
| 17134 |
* (bug 44525) mediawiki.jqueryMsg can now parse (whitelisted) HTML elements and |
| 17135 |
attributes. |
| 17136 |
* (bug 33454) Language::sprintfDate now has a timezone parameter, and supports |
| 17137 |
the "eIOPTZ" formatting characters. |
| 17138 |
* EditWarning: A warning is shown when an editor leaves the edit form without |
| 17139 |
saving (enabled by default, users can opt-out via the 'useeditwarning' |
| 17140 |
preference). This feature was moved from the Vector extension, and is now part |
| 17141 |
of core for all skins. Take care when upgrading that you don't use an older |
| 17142 |
version of the Vector extension as this feature may conflict. |
| 17143 |
* New 'mediawiki.ui' CSS module providing mw-ui-* styles for buttons and a |
| 17144 |
compact vertical form layout. |
| 17145 |
* HTMLForm supports a new display format 'vform' which applies this compact |
| 17146 |
vertical |
| 17147 |
layout and button styling. Special:PasswordReset uses this format. |
| 17148 |
* New versions of login (Special:UserLogin) and create account |
| 17149 |
(Special:UserLogin/signup) forms using the "vform" compact vertical form |
| 17150 |
layout. These forms use new messages that assume a "Help logging in" link, see |
| 17151 |
https://www.mediawiki.org/wiki/Manual:Page_customizations; |
| 17152 |
https://www.mediawiki.org/wiki/Account_creation_user_experience/Strings lists |
| 17153 |
the message key changes. |
| 17154 |
* (bug 23343) Implemented ability to apply IP blocks to the contents of |
| 17155 |
X-Forwarded-For headers by adding a new configuration variable |
| 17156 |
$wgApplyIpBlocksToXff (disabled by default). |
| 17157 |
* The new hook 'APIGetPossibleErrors' to modify the list of possible errors was |
| 17158 |
added. |
| 17159 |
* (bug 25592) LogEventsList::showLogExtract() will now ignore various |
| 17160 |
Pager-related WebRequest parameters by default, as this is overwhelmingly |
| 17161 |
likely to be what was intended by users of the method. If any caller wishes |
| 17162 |
to use these parameters, the new param 'useRequestParams' may be set to true. |
| 17163 |
* mw.util.addPortletLink: Tooltip is no longer required to be plain (without |
| 17164 |
an accesskey in it already). As such it now rountrips. Creating a link with a |
| 17165 |
message as tooltip, grabbing the title attribute and using it to create |
| 17166 |
another portlet will work as expected. |
| 17167 |
* (bug 6747) {{ROOTPAGENAME}} introduced, contains the name of the topmost |
| 17168 |
page without namespace. |
| 17169 |
* BREAKING CHANGE: (bug 41729) Display editsection links next to headings. Also |
| 17170 |
change their class name from .editsection to .mw-editsection and place them at |
| 17171 |
the end of the heading element instead of the beginning. Client-side code and |
| 17172 |
screen-scrapers will have to be adjusted to handle both cases (old HTML will |
| 17173 |
still be visible on cached page renders until they are purged); extensions |
| 17174 |
using the DoEditSectionLink or EditSectionLink hooks might need adjustments as |
| 17175 |
well. |
| 17176 |
* (bug 45535) introduced the new 'LanguageLinks' hook for manipulating the |
| 17177 |
language links associated with a page before display. |
| 17178 |
* Chosen (http://harvesthq.github.io/chosen/) was added as module |
| 17179 |
'jquery.chosen' |
| 17180 |
* HTMLForm will turn multiselect checkboxes into a Chosen interface when setting |
| 17181 |
cssclass 'mw-chosen' |
| 17182 |
* rebuildLocalisationCache learned --lang option. Let you rebuild l10n caches |
| 17183 |
of the specified languages instead of all of them. |
| 17184 |
* New GetNewMessagesAlert hook allowing extensions to disable or modify the new |
| 17185 |
messages alert |
| 17186 |
* New wgUserNewMsgRevisionId JS global for logged in users. This will be null |
| 17187 |
if the user has no new talk page messages. Otherwise it will be set to the |
| 17188 |
revision ID of the oldest new talk page message. This will allow gadgets and |
| 17189 |
extensions to create their own new message alerts on the client side. |
| 17190 |
* mediawiki.log: Added log.warn wrapper (uses console.warn and console.trace). |
| 17191 |
* mediawiki.log: Implemented log.deprecate. This method defines a property and |
| 17192 |
uses ES5 getter/setter to emit a warning when they are used. |
| 17193 |
* $wgCascadingRestrictionLevels was added, allowing one to specify restriction |
| 17194 |
levels which can be cascading (previously 'sysop' was hard-coded as the only |
| 17195 |
one). |
| 17196 |
* XHTML5 support has been improved. If you set |
| 17197 |
$wgMimeType = 'application/xhtml+xml' MediaWiki will try outputting markup |
| 17198 |
according to XHTML5 rules. |
| 17199 |
* Altered hook 'ProtectionForm::save', adding the reason page protection is |
| 17200 |
changed as third parameter. |
| 17201 |
* New hook 'TitleSquidURLs' for manipulating the list of URLs to be purged from |
| 17202 |
HTTP caches when a page is changed. |
| 17203 |
* Changed the patrolling system to always show the link for patrolling in case |
| 17204 |
the current revision is patrollable. This also removed the usage of the rcid |
| 17205 |
URI parameters. |
| 17206 |
* Oracle DB backend now supports Database Resident Connection Pooling (DRCP). |
| 17207 |
Can be enabled by setting $wgDBOracleDRCP=true. |
| 17208 |
Requires Oracle DB 11gR1 or above, enabled DRCP inside the DB itself and a |
| 17209 |
propper connect string. |
| 17210 |
More about DRCP can be found at: |
| 17211 |
https://oracle-base.com/articles/11g/database-resident-connection-pool-11gr1 |
| 17212 |
* Add a new parameter $patrolFooterShown to hook ArticleViewFooter so the hook |
| 17213 |
handlers can take further action based on the status of the patrol footer |
| 17214 |
* A new hook TitleQuickPermissions was added to allow overriding of quick |
| 17215 |
permissions in the Title class. |
| 17216 |
* LinkCache singleton can now be altered or cleared, letting one to specify |
| 17217 |
another instance that does not rely on a database backend. |
| 17218 |
* MediaWiki's PHPUnit tests can now use PHPUnit installed using composer --dev. |
| 17219 |
* (bug 43689) The lists of templates used on the page and hidden categories it |
| 17220 |
is a member of, shown below the edit form, are now collapsible (and collapsed |
| 17221 |
by default). |
| 17222 |
* Parser profiling data, formerly only available in the "NewPP limit report" |
| 17223 |
HTML comment, is now also displayed at the bottom of page previews. |
| 17224 |
* Added ParserLimitReportPrepare and ParserLimitReportFormat hooks, deprecated |
| 17225 |
ParserLimitReport hook. |
| 17226 |
* New user rights have been added to increase granularity in rights management |
| 17227 |
for extensions such as OAuth: |
| 17228 |
** editmyusercss controls whether a user may edit their own CSS subpages. |
| 17229 |
** editmyuserjs controls whether a user may edit their own JS subpages. |
| 17230 |
** viewmywatchlist controls whether a user may view their watchlist. |
| 17231 |
** editmywatchlist controls whether a user may edit their watchlist. |
| 17232 |
** viewmyprivateinfo controls whether a user may access their private |
| 17233 |
information (e.g. registered email address, real name). |
| 17234 |
** editmyprivateinfo controls whether a user may change their private |
| 17235 |
information. |
| 17236 |
** editmyoptions controls whether a user may change their preferences. |
| 17237 |
* Add new hook AbortTalkPageEmailNotification, this will be used to determine |
| 17238 |
whether to send the regular talk page email notification |
| 17239 |
* Action classes registered in $wgActions are now also supported in the form of |
| 17240 |
a callback (which returns an instance of Action) instead of providing the name |
| 17241 |
of a subclass of Action. |
| 17242 |
* (bug 46513) Vector: Add the collapsibleTabs script from the Vector extension. |
| 17243 |
* Added $wgRecentChangesFlags for defining new flags for RecentChanges and |
| 17244 |
watchlists. |
| 17245 |
* (bug 40518) mw.toolbar: Implemented mw.toolbar.addButtons for adding multiple |
| 17246 |
button objects in one call. |
| 17247 |
* Rights used for the default protection levels ('sysop' and 'autoconfirmed') |
| 17248 |
are now used just for that purpose, instead of overloading other rights. This |
| 17249 |
allows easy granting of the ability to edit sysop-protected pages without |
| 17250 |
also granting the ability to protect and unprotect. |
| 17251 |
* (bug 48256) Make brackets in section edit links accessible to CSS. |
| 17252 |
They are now wrapped in <span class="mw-editsection-bracket" />. |
| 17253 |
* (bug 8480) Allow handler specific parameters in galleries (like page number) |
| 17254 |
* jquery.client: Add detection for Opera 15 and Internet Explorer 11. |
| 17255 |
* Change tags (used by the AbuseFilter extension) are now shown on diff pages. |
| 17256 |
* Change tag lists (shown on recent changes, watchlist, user contributions, |
| 17257 |
history pages, diff pages) now include a link to Special:Tags to distinguish |
| 17258 |
them from edit summaries. |
| 17259 |
* Added a new method and hook, User::isEveryoneAllowed() and |
| 17260 |
UserIsEveryoneAllowed, for use in situations where a "does everyone have this |
| 17261 |
right?" check is used to avoid more expensive checks. |
| 17262 |
* (bug 14431) Display "(No difference)" instead of an empty diff (when comparing |
| 17263 |
revisions in the history or when previewing changes while editing). |
| 17264 |
* New hook 'IsUploadAllowedFromUrl' is added which can be used to intercept |
| 17265 |
uploads by URL, useful for blacklisting specific URLs |
| 17266 |
* (bug 21912) Watchlist token implementation has been refactored and |
| 17267 |
Special:ResetTokens was added to allow users to reset their tokens |
| 17268 |
instead of presenting them in Preferences. |
| 17269 |
* Special:PrefixIndex now lets you strip the searched prefix from the displayed |
| 17270 |
titles. Given a list of articles named Bug1, Bug2, you can now transclude the |
| 17271 |
list of bug numbers using: {{Special:PrefixIndex/Bug|stripprefix=1}}. |
| 17272 |
The special page form received a new checkbox matching that option. |
| 17273 |
* (bug 23580) Implement javascript callback interface "mw.hook". |
| 17274 |
* (bug 30713) New mw.hook "wikipage.content". |
| 17275 |
* (bug 40430) jquery.placeholder gets a new parameter to set the attribute value |
| 17276 |
to be used. |
| 17277 |
* $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast. |
| 17278 |
* $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge |
| 17279 |
too. Can be used whenever several multicast group could be interested by a |
| 17280 |
specific purge. |
| 17281 |
* (bug 25931) Add Special:RandomInCategory. |
| 17282 |
* mediawiki.util: addPortletLink now supports passing a jQuery object as |
| 17283 |
nextnode. |
| 17284 |
* <wbr> can now be used inside WikiText. |
| 17285 |
* WebResponse::setcookie is much more featureful. Callers using PHP's |
| 17286 |
setcookie() or setrawcookie() should begin using this instead. |
| 17287 |
* New hook WebResponseSetCookie, called from WebResponse::setcookie(). |
| 17288 |
* New hook ResetSessionID, called when the session id is reset. |
| 17289 |
* Add a mode parameter to <gallery> tag with potential options of "traditional", |
| 17290 |
"nolines", "packed", "packed-overlay", or "packed-hover". |
| 17291 |
* (bug 47399) A success message is now displayed after changing the password. |
| 17292 |
* Make thumb.php give HTTP redirects for file redirects |
| 17293 |
* (bug 30607) Special:ListFiles can now show old versions of files. Additionally |
| 17294 |
Special:AllMyUploads was introduced so the user can get a list of all things |
| 17295 |
they have ever uploaded, even if it was subsequently overridden. |
| 17296 |
* Introduced Special:MyFiles and Special:AllMyFiles as an alias for |
| 17297 |
Special:MyUploads and Special:AllMyUploads respectively. |
| 17298 |
* IPv6 addresses in X-Forwarded-For headers are now normalised before checking |
| 17299 |
against allowed proxy lists. |
| 17300 |
* Add deferrable update support for callback/closure. |
| 17301 |
* Add TitleMove hook before page renames. |
| 17302 |
* Revision deletion backend code is moved out of SpecialRevisiondelete |
| 17303 |
* Added {{REVISIONSIZE}} variable to get the current size of a revision. |
| 17304 |
* Add support for the LESS stylesheet language to ResourceLoader. LESS is a |
| 17305 |
stylesheet language that compiles into CSS. ResourceLoader file modules may |
| 17306 |
include LESS style files; ResourceLoader will compile these files into CSS |
| 17307 |
before sending them to the client. |
| 17308 |
** The $wgResourceLoaderLESSVars configuration variable is an associative array |
| 17309 |
mapping variable names to string CSS values. These variables are considered |
| 17310 |
declared for all LESS files. Additional variables may be registered by |
| 17311 |
adding keys to the array. |
| 17312 |
** $wgResourceLoaderLESSFunctions is an associative array of custom LESS |
| 17313 |
function names to PHP callables. See |
| 17314 |
<http://leafo.net/lessphp/docs/#custom_functions> |
| 17315 |
for more details regarding custom functions. |
| 17316 |
** $wgResourceLoaderLESSImportPaths is an array of file system paths. Files |
| 17317 |
referenced in LESS '@import' statements are looked up here first. |
| 17318 |
* ResourceLoader supports hashes as module cache invalidation trigger (instead |
| 17319 |
of or in addition to timestamps). |
| 17320 |
* Added $wgExtensionEntryPointListFiles for use in mergeMessageFileList.php. |
| 17321 |
* Added a hook, APIQuerySiteInfoStatisticsInfo, to allow extensions to modify |
| 17322 |
the output of the API query meta=siteinfo&siprop=statistics |
| 17323 |
* Primary keys have been added to both the archive table and the externallinks |
| 17324 |
tables. |
| 17325 |
* Added $wgEnableParserLimitReporting to control whether the NewPP limit report |
| 17326 |
is output in a HTML comment. |
| 17327 |
* The 'UnwatchArticle' and 'WatchArticle' hooks now support a Status object |
| 17328 |
instead of just a boolean return value to abort the hook. |
| 17329 |
* Added a hook, SpecialWatchlistGetNonRevisionTypes, to allow extensions |
| 17330 |
with custom recentchanges entries to hook into the Watchlist without |
| 17331 |
clobbering each other. |
| 17332 |
* A hidden, empty input field was added to the edit form, and any edit that |
| 17333 |
fills it in will be rejected. This prevents against the simplest form of |
| 17334 |
spambots. Previously in the "SimpleAntiSpam" extension by Ryan Schmidt. |
| 17335 |
* populateRevisionLength.php maintenance script updated to also populate |
| 17336 |
archive.ar_len field. |
| 17337 |
* (bug 43571) DatabaseMySQLBase learned to list views, optionally filtered by a |
| 17338 |
prefix. Also fixed PHPUnit test suite when using a MySQL backend containing |
| 17339 |
views. |
| 17340 |
|
| 17341 |
=== Bug fixes in 1.22 === |
| 17342 |
* (bug 47271) $wgContentHandlerUseDB should be set to false during the upgrade |
| 17343 |
* Disable Special:PasswordReset when $wgEnableEmail is false. Previously one |
| 17344 |
could still navigate to the page by entering the URL directly. |
| 17345 |
* (bug 47138) Fixed a fatal error when a blocked user tries to automatically |
| 17346 |
create an account on login due external authentication in some circumstances. |
| 17347 |
* (bug 23393) HTML <hN> headings containing line breaks are now handled |
| 17348 |
correctly. |
| 17349 |
* (bug 45803) Whitespace within == Headline == syntax and within <hN> headings |
| 17350 |
is now non-significant and not preserved in the HTML output. |
| 17351 |
* (bug 47218) Special:BlockList now handles correctly user names with spaces |
| 17352 |
when passed as subpage. |
| 17353 |
* Pager's properly validate which fields are allowed to be sorted on. |
| 17354 |
* mw.util.tooltipAccessKeyRegexp: The regex now matches "option-" as well. |
| 17355 |
Support for Mac "option" was added in 1.16, but the regex was never updated. |
| 17356 |
* (bug 46768) Usernames of blocking users now display correctly, even if |
| 17357 |
numeric. |
| 17358 |
* (bug 39590) Self-transclusions now show the most up to date result always |
| 17359 |
after save instead of being a revision behind. |
| 17360 |
* A bias in wfRandomString() toward digits 1-7 has been corrected. Generated |
| 17361 |
strings will now start with digits 0 and 8-f as often as they should. |
| 17362 |
* (bug 45371) Removed Parser_LinkHooks and CoreLinkFunctions classes. |
| 17363 |
* (bug 41545) Allow <kbd>, <samp>, and <var> to be nested like allowed in html. |
| 17364 |
* PLURAL magic word no longer causes a PHP notice when no matching form exists. |
| 17365 |
* (bug 36641) Patrol page links no longer show on non-existent revisions. |
| 17366 |
* (bug 35810) Pages not linked from Special:RecentChanges or Special:NewPages |
| 17367 |
are patrollable now. |
| 17368 |
* (bug 30213) JavaScript for search suggestions is now disabled when the API |
| 17369 |
is disabled, and AJAX patrolling and watching are now disabled when use of |
| 17370 |
the write API is not allowed. |
| 17371 |
* (bug 48294) API: Fix chunk upload async mode. |
| 17372 |
* (bug 46749) Broken files tracking category removed from pages if an image |
| 17373 |
with that name is uploaded. |
| 17374 |
* (bug 14176) System messages that are empty were previously incorrectly treated |
| 17375 |
as non-existent, causing a fallback to the default. This stopped users from |
| 17376 |
overriding system messages to make them blank. |
| 17377 |
* (bug 48319) action=parse no longer returns an error if passed none of 'oldid', |
| 17378 |
'pageid', 'page', 'title', and 'text' (e.g. if only passed 'summary'). A |
| 17379 |
warning will instead be issued if 'title' is non-default, unless no props are |
| 17380 |
requested. |
| 17381 |
* Special:Recentchangeslinked will now include upload log entries |
| 17382 |
* (bug 41281) Fixed ugly output if file size could not be extracted for |
| 17383 |
multi-page media. |
| 17384 |
* (bug 50315) list=logevents API module will now output log entries by anonymous |
| 17385 |
users. |
| 17386 |
* (bug 38911) Handle headers with rowspan in jquery.tablesorter |
| 17387 |
* (bug 658) Converted the table of contents on wiki pages from <table> to <div> |
| 17388 |
and adjusted skin CSS accordingly. The CSS was carefully crafted to be |
| 17389 |
backwards-compatible in all reasonable cases (uses of the __TOC__ magic word, |
| 17390 |
the #toc CSS id and the .toc CSS class). However, particularly bad abuse of |
| 17391 |
the id or the class can possibly break. |
| 17392 |
* CSSJanus now supports rgb, hsl, rgba, and hsla color syntaxes. |
| 17393 |
* Special:Listfiles can no longer be sorted by image name when filtering |
| 17394 |
by user in miser mode. |
| 17395 |
* (bug 49074) CSSJanus: Handle values of border-radius correctly. |
| 17396 |
* Handle relative inclusions ({{../name}}) in main namespace with subpages |
| 17397 |
enabled correctly (previously MediaWiki tried to include Template:Parent/name |
| 17398 |
instead of just Parent/name). |
| 17399 |
* Added $wgAPIUselessQueryPages to allow extensions to flag their query pages |
| 17400 |
for non-inclusion in ApiQueryQueryPages. |
| 17401 |
* (bug 50870) mediawiki.notification: Notification area should remain visible |
| 17402 |
when scrolled down. |
| 17403 |
* (bug 13438) Special:MIMESearch no longer an expensive special page. |
| 17404 |
* (bug 48342) Fixed a fatal error when $wgValidateAllHtml is set to true and |
| 17405 |
the function apache_request_headers() function is not available. |
| 17406 |
* (bug 33399) LivePreview: Re-run wikipage content handlers |
| 17407 |
(jquery.makeCollapsible, jquery.tablesorter) after preview content is loaded. |
| 17408 |
* (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties |
| 17409 |
are defined. |
| 17410 |
* (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry. |
| 17411 |
* (bug 52077) The APIEditBeforeSave hook is giving the content of the whole |
| 17412 |
revision as second argument now, rather than just the current section. |
| 17413 |
* (bug 49694) $wgSpamRegex is now also applied on the new section headline text |
| 17414 |
adding a new topic on a page |
| 17415 |
* (bug 41756) Improve treatment of multiple comments on a blank line. |
| 17416 |
* (bug 51064) Purge upstream caches when deleting file assets. |
| 17417 |
* (bug 39012) File types with a mime that we do not know the extension for |
| 17418 |
can no longer be uploaded as an extension that we do know the mime type |
| 17419 |
for. |
| 17420 |
* (bug 51742) Add data-sort-value for better sorting of hitcounts Special:Tags |
| 17421 |
* (bug 26811) On DB error pages, server hostnames are now hidden when both |
| 17422 |
$wgShowHostnames and $wgShowSQLErrors are false. |
| 17423 |
* (bug 6200) line breaks in <blockquote> are handled like they are in <div> |
| 17424 |
* (bug 14931) Default character set now set to 'utf8' when a new MySQL |
| 17425 |
database is created. |
| 17426 |
* (bug 47191) Fixed "Column 'si_title' cannot be part of FULLTEXT index" |
| 17427 |
MySQL error when installing using the binary character set option. |
| 17428 |
* (bug 45288) Support mysqli PHP extension |
| 17429 |
* (bug 55818) BREAKING CHANGE: Removed undocumented 'Debug' hook in wfDebug. |
| 17430 |
This resolves an infinite loop when using $wgDebugFunctionEntry = true. |
| 17431 |
* (bug 56707) Correct tooltip of "Next n results" on query special pages. |
| 17432 |
* (bug 56770) mw.util.addPortletLink: Check length before access array index. |
| 17433 |
|
| 17434 |
=== API changes in 1.22 === |
| 17435 |
* (bug 25553) The JSON output formatter now leaves forward slashes unescaped |
| 17436 |
to improve human readability of URLs and similar strings. Also, a "utf8" |
| 17437 |
option is now provided to use UTF-8 encoding instead of hex escape codes |
| 17438 |
for most non-ASCII characters. |
| 17439 |
* (bug 46626) xmldoublequote parameter was removed. Because of a bug, the |
| 17440 |
parameter has had no effect since MediaWiki 1.16, and so its removal is |
| 17441 |
unlikely to impact existing clients. |
| 17442 |
* (bug 47216) action=query&meta=siteinfo&siprop=skins will now indicate which |
| 17443 |
skin is the default and which are unusable (e.g. listed in $wgSkipSkins). |
| 17444 |
* (bug 25325) Added support for wlshow filtering (bots/anon/minor/patrolled) |
| 17445 |
to action=feedwatchlist. |
| 17446 |
* WDDX formatted output will actually be formatted (and normal output will no |
| 17447 |
longer be), and will no longer choke on booleans. |
| 17448 |
* action=opensearch no longer silently ignores the format parameter. |
| 17449 |
* action=opensearch now supports format=jsonfm. |
| 17450 |
* list=usercontribs&ucprop=ids will now include the parent revision id. |
| 17451 |
* BREAKING CHANGE: action=parse no longer returns all langlinks for the page |
| 17452 |
with prop=langlinks by default. The new effectivelanglinks parameter will |
| 17453 |
request that the LanguageLinks hook be called to determine the effective |
| 17454 |
language links. |
| 17455 |
* BREAKING CHANGE: list=allpages, list=langbacklinks, and prop=langlinks do not |
| 17456 |
apply the new LanguageLinks hook, and thus only consider language links |
| 17457 |
stored in the database. |
| 17458 |
* (bug 47219) Allow specifying change type of Wikipedia feed items |
| 17459 |
* prop=imageinfo now allows setting iiurlheight without setting iiurlwidth |
| 17460 |
* prop=info now adds the content model and page language of the title. |
| 17461 |
* New upload log entries will now contain information on the relevant |
| 17462 |
image (sha1 and timestamp). |
| 17463 |
* (bug 49239) action=parse now can parse in preview and section preview modes. |
| 17464 |
* (bug 49259) action=patrol now accepts revision ids. |
| 17465 |
* (bug 48129) list=blocks&bkip= now correctly handles IPv6 CIDR ranges and |
| 17466 |
honors $wgBlockCIDRLimit. Note any clients passing invalid values to bkip |
| 17467 |
will now receive an error, rather than the previous behavior listing all |
| 17468 |
user blocks. |
| 17469 |
* (bug 48201) action=parse&text=foo now assumes wikitext if no title is given, |
| 17470 |
rather than using the content model of the page "API". |
| 17471 |
* action=watch no longer silently ignores hook abort. |
| 17472 |
* (bug 50785) action=purge with forcelinkupdate=1 no longer queues refreshLinks |
| 17473 |
jobs in the job queue for link table updates of pages that use the given page |
| 17474 |
as a template. Instead, forcerecursivelinkupdate=1 is introduced and should |
| 17475 |
be used if that behaviour is desirable. |
| 17476 |
* The 'debugLog' property (enabled by $wgDebugToolbar) no longer sets the log |
| 17477 |
entry values through ApiResult::content but directly. This changes the JSON |
| 17478 |
output from an array of objects with content in '*' to an array of strings |
| 17479 |
with the content. |
| 17480 |
* (bug 51342) prop=imageinfo iicontinue now contains the dbkey, not the text |
| 17481 |
version of the title. |
| 17482 |
* (bug 52538) action=edit will now use empty text instead of the contents |
| 17483 |
of section 0 when passed prependtext or appendtext with section=new. |
| 17484 |
* Support for the 'gettoken' parameter to action=block and action=unblock, |
| 17485 |
deprecated since 1.20, has been removed. |
| 17486 |
* (bug 49090) Token-getting functions will fail when using jsonp callbacks. |
| 17487 |
* (bug 52699) action=upload returns normalized file name on warning |
| 17488 |
"exists-normalized" instead of filename to be uploaded to. |
| 17489 |
* (bug 53884) action=edit will now return an error when the specified section |
| 17490 |
does not exist in the page. |
| 17491 |
* Added meta=filerepoinfo API module for getting information about foreign |
| 17492 |
file repositories, and related ForeignAPIRepo methods getInfo and getApiUrl. |
| 17493 |
* The new query module list=allfileusages to enumerate file usages was added. |
| 17494 |
|
| 17495 |
=== Languages updated in 1.22 === |
| 17496 |
|
| 17497 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 17498 |
regularly. Below only new and removed languages are listed, as well as |
| 17499 |
changes to languages because of Bugzilla reports. |
| 17500 |
|
| 17501 |
* Batak Toba (bbc-latn) added. |
| 17502 |
* (bug 46751) Made Buryat (Russia) (буряад) (bxr) fallback to Russian. |
| 17503 |
|
| 17504 |
=== Other changes in 1.22 === |
| 17505 |
* BREAKING CHANGE: Implementation of MediaWiki's JS and JSON value encoding |
| 17506 |
has changed: |
| 17507 |
** MediaWiki no longer supports PHP installations in which the native JSON |
| 17508 |
extension is missing or disabled. |
| 17509 |
** XmlJsCode objects can no longer be nested inside objects or arrays. |
| 17510 |
(For Xml::encodeJsCall(), this individually applies to each argument.) |
| 17511 |
** The sets of characters escaped by default, along with the precise escape |
| 17512 |
sequences used, have changed (except for the Xml::escapeJsString() |
| 17513 |
function, which is now deprecated). |
| 17514 |
* BREAKING CHANGE: The Services_JSON class has been removed. If necessary, |
| 17515 |
be sure to upgrade affected extensions at the same time (e.g. Collection). |
| 17516 |
* redirect.php was removed. It was unused. |
| 17517 |
* ClickTracking integration was dropped from the mediaWiki.user.bucket |
| 17518 |
JavaScript function. The 'tracked' option is now ignored. |
| 17519 |
* BREAKING CHANGE: Legacy skins Simple, MySkin, Chick, Standard and Nostalgia |
| 17520 |
were all removed. (Nostalgia was moved to an extension.) The SkinLegacy and |
| 17521 |
LegacyTemplate classes that supported them were removed as well and are now a |
| 17522 |
part of the Nostalgia extension. |
| 17523 |
* Event namespace used by jquery.makeCollapsible has been changed from |
| 17524 |
'mw-collapse' to 'mw-collapsible' for consistency with the module name. |
| 17525 |
* BREAKING CHANGE: The "ExternalAuth" authentication subsystem was removed, |
| 17526 |
along with its associated globals of $wgExternalAuthType, $wgExternalAuthConf, |
| 17527 |
$wgAutocreatePolicy and $wgAllowPrefChange. Affected users are encouraged to |
| 17528 |
use AuthPlugin for external authentication/authorization needs. |
| 17529 |
* The Quickbar feature of the legacy skin model and the last remnants of it |
| 17530 |
throughout the code base have been removed. |
| 17531 |
* Externaledit/externaldiff preference was removed. Very few users used this |
| 17532 |
feature, and improper configuration can actually prevent a user from editing |
| 17533 |
* Calling Linker methods using a skin will now output deprecation warnings. |
| 17534 |
* (bug 46680) "Return to" links are no longer tagged with rel="next". |
| 17535 |
* BREAKING CHANGE: mw.util.tooltipAccessKeyRegexp: The match group for the |
| 17536 |
accesskey character is now $6 instead of $5. |
| 17537 |
* HipHop compiler (hphpc) support was removed. HipHop VM support (hhvm) was |
| 17538 |
added. |
| 17539 |
* A new Special:Redirect page was added, providing lookup by revision ID, |
| 17540 |
user ID, or file name. The old Special:Filepath page was reimplemented |
| 17541 |
to redirect through Special:Redirect. |
| 17542 |
* Monobook: Removed the old conditional stylesheets for Opera 6, 7 and 9. |
| 17543 |
* Support for XHTML 1.0 has been removed. MediaWiki now only outputs (X)HTML5. |
| 17544 |
* wikibits: User-agent related globals have been deprecated. The following |
| 17545 |
properties now default to false and emit mw.log.warn: is_gecko, is_chrome_mac, |
| 17546 |
is_chrome, webkit_version, is_safari_win, is_safari, webkit_match, is_ff2, |
| 17547 |
ff2_bugs, is_ff2_win, is_ff2_x11, opera95_bugs, opera7_bugs, opera6_bugs, |
| 17548 |
is_opera_95, is_opera_preseven, is_opera, and ie6_bugs. |
| 17549 |
* (bug 48276) MediaWiki will now flash a confirmation message upon successfully |
| 17550 |
editing a page. |
| 17551 |
* (bug 40785) mediawiki.legacy.ajax has been marked as deprecated. The following |
| 17552 |
properties now emit mw.log.warn when accessed: sajax_debug, sajax_init_object, |
| 17553 |
sajax_do_call and wfSupportsAjax. |
| 17554 |
* BREAKING CHANGE: meta keywords are no longer supported. A |
| 17555 |
<meta name="keywords" will no longer be output and OutputPage::addKeyword no |
| 17556 |
longer exists. |
| 17557 |
* Methods Title::userCanEditCssSubpage and Title::userCanEditJsSubpage, |
| 17558 |
deprecated since 1.19, have been removed. |
| 17559 |
* (bug 50134) Hook functions are no longer required to return a value. When a |
| 17560 |
hook function does not return a value (or when it returns an explicit null), |
| 17561 |
processing continues. To abort the hook, a hook function must return an |
| 17562 |
explicit, boolean false or a string error message. Other falsey values are |
| 17563 |
tantamount to a 'return true' in earlier versions of MediaWiki. |
| 17564 |
* BREAKING CHANGE: The EditSectionLink hook was removed after being |
| 17565 |
deprecated since MediaWiki 1.14. Use DoEditSectionLink instead. |
| 17566 |
* (bug 48256) The 'editsection-brackets' optional message was removed. |
| 17567 |
Section edit links' brackets can now be customized using CSS by |
| 17568 |
styling span.mw-editsection-bracket. |
| 17569 |
* The usePatrol function in ChangesList has been marked as deprecated. |
| 17570 |
* (bug 50785) A "null edit", that is, a save action in which no changes to the |
| 17571 |
page text are made and no revision recorded, will no longer send refreshLinks |
| 17572 |
jobs to the job table to update pages which use the edited page as a template. |
| 17573 |
* The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )" |
| 17574 |
have been deprecated in favour of using mw.hook. |
| 17575 |
* The 'showjumplinks' user preference has been removed, jump links are now |
| 17576 |
always included. |
| 17577 |
* Methods RecentChange::notifyRC2UDP, RecentChange::sendToUDP, and |
| 17578 |
RecentChange::cleanupForIRC have been deprecated, as it is now the |
| 17579 |
responsibility of classes implementing the RCFeedFormatter and RCFeedEngine |
| 17580 |
interfaces to implement the formatting and delivery for recent change |
| 17581 |
notifications. |
| 17582 |
* SpecialPrefixindex methods namespacePrefixForm() and showPrefixChunk() have |
| 17583 |
been made protected. They were accepting form variance arguments, this is now |
| 17584 |
using properties in the SpecialPrefixindex class. |
| 17585 |
* (bug 50310) BREAKING CHANGE: wikibits: Drop support for mwCustomEditButtons. |
| 17586 |
It defaults to an empty array and emits mw.log.warn when accessed. |
| 17587 |
* BREAKING CHANGE: Special:Disambiguations has been removed from MediaWiki core. |
| 17588 |
Functions related to disambiguation pages are now handled by the Disambiguator |
| 17589 |
extension (https://www.mediawiki.org/wiki/Extension:Disambiguator) (bug |
| 17590 |
35981). |
| 17591 |
* BREAKING CHANGE: The 'mediawiki.legacy.wikiprintable' module has been removed. |
| 17592 |
The skins/common/wikiprintable.css file no longer exists. Return value of |
| 17593 |
Skin#commonPrintStylesheet is ignored. Please use the |
| 17594 |
'mediawiki.legacy.commonPrint' module instead or base your skin on |
| 17595 |
SkinTemplate. |
| 17596 |
* (bug 49629) The hook ExtractThumbParameters has been deprecated in favour |
| 17597 |
of media handler overriding MediaHandler::parseParamString. |
| 17598 |
* (bug 46512) The collapsibleNav feature from the Vector extension has been |
| 17599 |
moved to the Vector skin in core. |
| 17600 |
* SpecialRecentChanges::addRecentChangesJS() function has been renamed |
| 17601 |
to addModules() and made protected. |
| 17602 |
* Methods WatchAction::doWatch and WatchAction::doUnwatch now return a Status |
| 17603 |
object instead of a boolean. |
| 17604 |
* Information boxes (CSS classes errorbox, warningbox, successbox) have been |
| 17605 |
made more subtle. |
| 17606 |
* BREAKING CHANGE: The module 'mediawiki.legacy.IEFixes' has been removed as it |
| 17607 |
was unused. The file skins/common/IEFixes.js remains but is only used by |
| 17608 |
wikibits. The file never contained any re-usable components. To use it in a |
| 17609 |
skin, load 'mediawiki.legacy.wikibits' (which IEFixes depends on) and that |
| 17610 |
will import IEFixes automatically if user agent conditions are met. |
| 17611 |
* Code specific to the Math extension was marked as deprecated. |
| 17612 |
* mediawiki.util: mw.util.wikiGetlink has been renamed to getUrl. (The old name |
| 17613 |
still works, but is deprecated.) |
| 17614 |
|
| 17615 |
= MediaWiki 1.21 = |
| 17616 |
|
| 17617 |
== MediaWiki 1.21.11 == |
| 17618 |
This is a security and maintenance release of the MediaWiki 1.21 branch. |
| 17619 |
|
| 17620 |
=== Changes since 1.21.10 === |
| 17621 |
* (bug 65839) SECURITY: Prevent external resources in SVG files. |
| 17622 |
* (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like |
| 17623 |
only extracting the tail of the file partially or not at all. |
| 17624 |
|
| 17625 |
== MediaWiki 1.21.10 == |
| 17626 |
This is a security and maintenance release of the MediaWiki 1.21 branch. |
| 17627 |
|
| 17628 |
=== Changes since 1.21.9 === |
| 17629 |
* (bug 65501) SECURITY: Don't parse usernames as wikitext on |
| 17630 |
Special:PasswordReset. |
| 17631 |
* (bug 36356) Add space between two feed links. |
| 17632 |
|
| 17633 |
== MediaWiki 1.21.9 == |
| 17634 |
This is a security and maintenance release of the MediaWiki 1.21 branch. |
| 17635 |
|
| 17636 |
=== Changes since 1.21.8 === |
| 17637 |
* (bug 63251) SECURITY: Escape sortKey in pageInfo. |
| 17638 |
* (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to |
| 17639 |
appear blank or with missing text. |
| 17640 |
|
| 17641 |
== MediaWiki 1.21.8 == |
| 17642 |
This is a security and maintenance release of the MediaWiki 1.21 branch. |
| 17643 |
|
| 17644 |
=== Changes since 1.21.7 === |
| 17645 |
* (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword. |
| 17646 |
* (bug 62467) Set a title for the context during import on the cli. |
| 17647 |
|
| 17648 |
== MediaWiki 1.21.7 == |
| 17649 |
This is a maintenance release of the MediaWiki 1.21 branch. |
| 17650 |
|
| 17651 |
=== Changes since 1.21.6 === |
| 17652 |
* Use the correct branch of the extensions' git repositories. |
| 17653 |
|
| 17654 |
== MediaWiki 1.21.6 == |
| 17655 |
This is a security release of the MediaWiki 1.21 branch. |
| 17656 |
|
| 17657 |
=== Changes since 1.21.5 === |
| 17658 |
* (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted |
| 17659 |
namespaces. Also disallow iframe elements. |
| 17660 |
* User will get an error including the namespace name if they use a |
| 17661 |
non-whitelisted namespace. |
| 17662 |
* (bug 61346) SECURITY: Make token comparison use constant time. It seems like |
| 17663 |
our token comparison would be vulnerable to timing attacks. This will take |
| 17664 |
constant time. |
| 17665 |
* (bug 61362) SECURITY: API: Don't find links in the middle of api.php links. |
| 17666 |
|
| 17667 |
== MediaWiki 1.21.5 == |
| 17668 |
This is a security release of the MediaWiki 1.21 branch. |
| 17669 |
|
| 17670 |
=== Changes since 1.21.4 === |
| 17671 |
* (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media |
| 17672 |
formats |
| 17673 |
|
| 17674 |
== MediaWiki 1.21.4 == |
| 17675 |
This is a security release of the MediaWiki 1.21 branch. |
| 17676 |
|
| 17677 |
=== Changes since 1.21.3 === |
| 17678 |
* (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads |
| 17679 |
* (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks |
| 17680 |
* (bug 58472) SECURITY: Disallow -o-link in styles |
| 17681 |
* (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads |
| 17682 |
* (bug 58699) SECURITY: Fix RevDel log entry information leaks |
| 17683 |
|
| 17684 |
== MediaWiki 1.21.3 == |
| 17685 |
This is a security and maintenance release of the MediaWiki 1.21 branch. |
| 17686 |
|
| 17687 |
=== Changes since 1.21.2 === |
| 17688 |
* (bug 53032) SECURITY: Don't cache when a call could autocreate |
| 17689 |
* (bug 55332) SECURITY: Improve css javascript detection |
| 17690 |
* (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload |
| 17691 |
* Fix comma errors in various js files |
| 17692 |
* Translations |
| 17693 |
|
| 17694 |
== MediaWiki 1.21.2 == |
| 17695 |
This is a security and maintenance release of the MediaWiki 1.21 branch. |
| 17696 |
|
| 17697 |
=== Changes since 1.21.1 === |
| 17698 |
* SECURITY: Fix extension detection with 2 .'s |
| 17699 |
* SECURITY: Support for the 'gettoken' parameter to action=block and |
| 17700 |
action=unblock, deprecated since 1.20, has been removed. |
| 17701 |
* SECURITY: Sanitize ResourceLoader exception messages |
| 17702 |
* Purge upstream caches when deleting file assets. |
| 17703 |
* Unit test suite now runs the AutoLoader tests. Also fixed the autoloading |
| 17704 |
entry for the PageORMTableForTesting class though it had no impact. |
| 17705 |
|
| 17706 |
== MediaWiki 1.21.1 == |
| 17707 |
This is a maintenance release of the MediaWiki 1.21 branch. |
| 17708 |
|
| 17709 |
=== Changes since 1.21.0 === |
| 17710 |
* An incorrect version number was used for 1.21.0. 1.21.1 has the correct |
| 17711 |
number. |
| 17712 |
* A problem with the Oracle SQL table creation was fixed. |
| 17713 |
* (PdfHandler extension) Fix warning if pdfinfo fails but pdftext succeeds. |
| 17714 |
|
| 17715 |
== MediaWiki 1.21.0 == |
| 17716 |
|
| 17717 |
=== Configuration changes in 1.21 === |
| 17718 |
* (bug 29374) $wgVectorUseSimpleSearch is now enabled by default. |
| 17719 |
* Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname' |
| 17720 |
instead. |
| 17721 |
* (bug 39957) Added $wgUnwatchedPageThreshold, specifying minimum count |
| 17722 |
of page watchers required for the number to be accessible to users |
| 17723 |
without the unwatchedpages permission. |
| 17724 |
* $wgBug34832TransitionalRollback has been removed. |
| 17725 |
* (bug 29472) $wgUseDynamicDates has been removed and its functionality |
| 17726 |
disabled. |
| 17727 |
|
| 17728 |
=== New features in 1.21 === |
| 17729 |
* (bug 38110) Schema changes (adding or dropping tables, indices and |
| 17730 |
fields) can be now be done separately from other changes that |
| 17731 |
update.php makes. This is useful in environments that use database |
| 17732 |
permissions to restrict schema changes but allow the DB user that |
| 17733 |
MediaWiki normally runs as to perform other changes that update.php |
| 17734 |
makes. Schema changes can be run separately. See the file UPGRADE |
| 17735 |
for more information. |
| 17736 |
* (bug 34876) jquery.makeCollapsible has been improved in performance. |
| 17737 |
* Added ContentHandler facility to allow extensions to support other content |
| 17738 |
than wikitext. See docs/contenthandler.txt for details. |
| 17739 |
* New feature was developed for showing high-DPI thumbnails for high-DPI mobile |
| 17740 |
and desktop displays (configurable with $wgResponsiveImages). |
| 17741 |
* Added new backend to represent and store information about sites and site |
| 17742 |
specific configuration. |
| 17743 |
* jQuery upgraded from 1.8.2 to 1.8.3. |
| 17744 |
* jQuery UI upgraded from 1.8.23 to 1.8.24. |
| 17745 |
* Added separate fa_sha1 field to filearchive table. This allows sha1 |
| 17746 |
searches with the api in miser mode for deleted files. |
| 17747 |
* Add initial and programmatic sorting for tablesorter. |
| 17748 |
* Add the event "sortEnd.tablesorter", triggered after sorting has completed. |
| 17749 |
* The Job system was refactored to allow for different backing stores for |
| 17750 |
queues as well as cross-wiki access to queues, among other things. The schema |
| 17751 |
for the DB queue was changed to support better concurrency and reduce |
| 17752 |
deadlock errors. |
| 17753 |
* Added ApiQueryORM class to facilitate creation of query API modules based on |
| 17754 |
tables that have a corresponding ORMTable class. |
| 17755 |
* (bug 40876) Icon for PSD (Adobe Photoshop) file types. |
| 17756 |
* (bug 40641) Implemented Special:Version/Credits with a list of contributors. |
| 17757 |
* (bug 7851) Implemented one-click AJAX patrolling. |
| 17758 |
* The <data>, <time>, <meta>, and <link> elements are allowed within WikiText |
| 17759 |
for use with Microdata. |
| 17760 |
* The HTML5 <mark> tag has been whitelisted. |
| 17761 |
* Added ParserCloned hook for when the Parser object is cloned. |
| 17762 |
* Added AlternateEditPreview hook to allow extensions to replace the page |
| 17763 |
preview from the edit page. |
| 17764 |
* Added EditPage::showStandardInputs:options hook to allow extensions to add |
| 17765 |
new fields to the "editOptions" area of the edit form. |
| 17766 |
* Upload stash DB schema altered to improve upload performance. |
| 17767 |
* The following global functions are now reporting deprecated warnings in |
| 17768 |
debug mode: wfMsg, wfMsgNoTrans, wfMsgForContent, wfMsgForContentNoTrans, |
| 17769 |
wfMsgReal, wfMsgGetKey, wfMsgHtml, wfMsgWikiHtml, wfMsgExt, wfEmptyMsg. Use |
| 17770 |
the Message class, or the global method wfMessage. |
| 17771 |
* Added $wgEnableCanonicalServerLink, off by default. If enabled, a |
| 17772 |
<link rel=canonical> tag is added to every page indicating the correct server |
| 17773 |
to use. |
| 17774 |
* Debug message emitted by wfDebugLog() will now be prefixed with the group |
| 17775 |
name when its logged to the default log file. That is the case whenever the |
| 17776 |
group has no key in wgDebugLogGroups, that will help triage the default log. |
| 17777 |
* (bug 24620) Add types to LogFormatter. |
| 17778 |
* jQuery JSON upgraded from 2.3 to 2.4.0. |
| 17779 |
* Added GetDoubleUnderscoreIDs hook, for modifying the list of magic words. |
| 17780 |
* DatabaseUpdater class has two new methods to ease extensions schema changes: |
| 17781 |
dropExtensionIndex and renameExtensionIndex. |
| 17782 |
* New preference type - 'api'. Preferences of this type are not shown on |
| 17783 |
Special:Preferences, but are still available via the action=options API. |
| 17784 |
* (bug 39397) Hide rollback link if a user is the only contributor of the page. |
| 17785 |
* $wgPageInfoTransclusionLimit limits the list size of transcluded articles |
| 17786 |
on the info action. Default is 50. |
| 17787 |
* Added action=createaccount to allow user account creation. |
| 17788 |
* (bug 40124) action=options API also allows for setting of arbitrary |
| 17789 |
preferences, provided that their names are prefixed with 'userjs-'. This |
| 17790 |
officially reenables the feature that was undocumented and defective |
| 17791 |
in MW 1.20 (saving preferences using Special:Preferences cleared any |
| 17792 |
additional fields) and which has been disabled in 1.20.1 as a part of |
| 17793 |
a security fix (bug 42202). |
| 17794 |
* Added option to specify "others" as author in extension credits using |
| 17795 |
"..." as author name. |
| 17796 |
* Added the ability to limit the wall clock time used by shell processes, |
| 17797 |
as well as the CPU time. Configurable with $wgMaxShellWallClockTime. |
| 17798 |
* Allow memory of shell subprocesses to be limited using Linux cgroups |
| 17799 |
instead of ulimit -v, which tends to cause deadlocks in recent versions |
| 17800 |
of ImageMagick. Configurable with $wgShellCgroup. |
| 17801 |
* Added $wgWhitelistReadRegexp for regex whitelisting. |
| 17802 |
* (bug 5346) Categories that are redirects will be displayed italic in |
| 17803 |
the category links section at the bottom of a page. |
| 17804 |
* (bug 43915) New maintenance script deleteEqualMessages.php. |
| 17805 |
* You can now create checkbox option matrices through the HTMLCheckMatrix |
| 17806 |
subclass in HTMLForm. |
| 17807 |
* WikiText now permits the use of WAI-ARIA's role="presentation" inside of |
| 17808 |
html elements and tables. This allows presentational markup, especially |
| 17809 |
tables. To be marked up as such. |
| 17810 |
* maintenance/sql.php learned the --cluster option. Let you run the script |
| 17811 |
on some external cluster instead of the primary cluster for a given wiki. |
| 17812 |
* (bug 20281) test the parsing of inline URLs. |
| 17813 |
* Added Special:PagesWithProp, which lists pages using a particular page |
| 17814 |
property. |
| 17815 |
* Implemented language-specific collations for category sorting for 67 languages |
| 17816 |
based in latin, greek and cyrillic alphabets. This allows one to *finally* get |
| 17817 |
articles to be correctly sorted on category pages. They are named |
| 17818 |
'uca-<langcode>', where <langcode> is one of: af, ast, az, be, bg, br, bs, ca, |
| 17819 |
co, cs, cy, da, de, dsb, el, en, eo, es, et, eu, fi, fo, fr, fur, fy, ga, gd, |
| 17820 |
gl, hr, hsb, hu, is, it, kk, kl, ku, ky, la, lb, lt, lv, mk, mo, mt, nl, no, |
| 17821 |
oc, pl, pt, rm, ro, ru, rup, sco, sk, sl, smn, sq, sr, sv, tk, tl, tr, tt, uk, |
| 17822 |
uz, vi. |
| 17823 |
* Added 'CategoryAfterPageAdded' and 'CategoryAfterPageRemoved' hooks. |
| 17824 |
* Added 'HistoryRevisionTools' and 'DiffRevisionTools' hooks. |
| 17825 |
* Added 'SpecialSearchResultsPrepend' and 'SpecialSearchResultsAppend' hooks. |
| 17826 |
* (bug 33186) Add image rotation api "imagerotate" |
| 17827 |
* (bug 34040) Add "User rights management" link on user page toolbox. |
| 17828 |
* (bug 45526) Add QUnit assertion helper "QUnit.assert.htmlEqual" for asserting |
| 17829 |
structual equality of HTML (ignoring insignificant differences like |
| 17830 |
quotmarks, order and whitespace in the attribute list). |
| 17831 |
* (bug 23393) HTML <hN> headings containing line breaks are now handled |
| 17832 |
correctly. |
| 17833 |
* (bug 45803) Whitespace within == Headline == syntax and within <hN> headings |
| 17834 |
is now non-significant and not preserved in the HTML output. |
| 17835 |
|
| 17836 |
=== Bug fixes in 1.21 === |
| 17837 |
* (bug 40353) SpecialDoubleRedirect should support interwiki redirects. |
| 17838 |
* (bug 40352) fixDoubleRedirects.php should support interwiki redirects. |
| 17839 |
* (bug 9237) SpecialBrokenRedirect should not list interwiki redirects. |
| 17840 |
* (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from |
| 17841 |
recentchanges table. |
| 17842 |
* (bug 32951) Do not register internal externals with absolute protocol, |
| 17843 |
when server has relative protocol. |
| 17844 |
* (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE |
| 17845 |
method requests, we now send a Host header by default, for Varnish |
| 17846 |
compatibility. This also works with Squid in reverse-proxy mode. If you wish |
| 17847 |
to support Squid configured in forward-proxy mode, set |
| 17848 |
$wgSquidPurgeUseHostHeader to false. |
| 17849 |
* (bug 37020) sql.php with readline eats semicolon. |
| 17850 |
* (bug 11748) Properly handle optionally-closed HTML tags when Tidy is |
| 17851 |
disabled, and don't wrap HTML-syntax definition lists in paragraphs. |
| 17852 |
* (bug 41409) Diffs while editing an old revision should again diff against the |
| 17853 |
current revision. |
| 17854 |
* (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions |
| 17855 |
caught during API execution. |
| 17856 |
* (bug 37963) Fixed loading process for user options. |
| 17857 |
* (bug 26995) Update filename field on Upload page after having sanitized it. |
| 17858 |
* (bug 41793) Contribution links to users with 0 edits on Special:ListUsers |
| 17859 |
didn't show up red. |
| 17860 |
* (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API |
| 17861 |
parameter. |
| 17862 |
* (bug 42036) Account creation emails now contain canonical (not |
| 17863 |
protocol-relative) URLs. |
| 17864 |
* (bug 41990) Fix regression: API edit with redirect=true and lacking |
| 17865 |
starttimestamp and basetimestamp should not cause an edit conflict. |
| 17866 |
* (bug 41706) EditPage: Preloaded page should be converted if possible and |
| 17867 |
needed. |
| 17868 |
* (bug 41886) Rowspans are no longer exploded by tablesorter until the table is |
| 17869 |
actually sorted. |
| 17870 |
* (bug 2865) User interface HTML elements don't use lang attribute. |
| 17871 |
(completed the fix by adding the lang attribute to firstHeading). |
| 17872 |
* (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories. |
| 17873 |
* (bug 36053) Log in "returnto" feature forgets query parameters if no |
| 17874 |
title parameter was specified. |
| 17875 |
* (bug 42410) API action=edit now returns correct timestamp for the new edit. |
| 17876 |
* (bug 14901) Email notification mistakes log action for new page creation. |
| 17877 |
Enotif no longer sends "page has been created" notifications for some log |
| 17878 |
actions. The following events now have a correct message: page creation, |
| 17879 |
deletion, move, restore (undeletion), change (edit). Parameter |
| 17880 |
$CHANGEDORCREATED is deprecated in 'enotif_body' and scheduled for removal in |
| 17881 |
MediaWiki 1.23. |
| 17882 |
* (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based |
| 17883 |
skins, the heading levels have been changed from (variously per skin) |
| 17884 |
<h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them. |
| 17885 |
If you are styling or scripting the headings in a custom way, this change |
| 17886 |
will require updates to your site's CSS or JS. |
| 17887 |
* (bug 41342) jquery.suggestions should cancel any active (async) fetches |
| 17888 |
before it triggers another fetch. |
| 17889 |
* (bug 42184) $wgUploadSizeWarning missing second variable. |
| 17890 |
* (bug 34581) removeUnusedAccounts.php maintenance script now ignores newuser |
| 17891 |
log when determining whether an account is used. |
| 17892 |
* (bug 43379) Gracefully fail if rev_len is unavailable for a revision on the |
| 17893 |
History page. |
| 17894 |
* (bug 42949) API no longer assumes all exceptions are MWException. |
| 17895 |
* (bug 41733) Hide "New user message" (.usermessage) element from printable |
| 17896 |
view. |
| 17897 |
* (bug 39062) Special:Contributions will display changes that don't have |
| 17898 |
a parent id instead of just an empty bullet item. |
| 17899 |
* (bug 37209) "LinkCache doesn't currently know about this title" error fixed. |
| 17900 |
* wfMerge() now works if $wgDiff3 contains spaces |
| 17901 |
* (bug 43052) mediawiki.action.view.dblClickEdit.dblClickEdit should trigger |
| 17902 |
ca-edit click instead opening URL directly. |
| 17903 |
* (bug 43964) Invalid value of "link" parameter in <gallery> no longer produces |
| 17904 |
a fatal error. |
| 17905 |
* (bug 44775) The username field is not pre-filled when creating an account. |
| 17906 |
* (bug 45069) wfParseUrl() no longer produces a PHP notice if passed a "mailto:" |
| 17907 |
URL without address |
| 17908 |
* (bug 45012) Creating an account by e-mail can no longer show a |
| 17909 |
"password mismatch" error. |
| 17910 |
* (bug 44599) On Special:Version, HEADs for submodule checkouts (e.g. for |
| 17911 |
extensions) performed using Git 1.7.8+ should now appear. |
| 17912 |
* (bug 42184) $wgUploadSizeWarning missing second variable |
| 17913 |
* (bug 40326) Check if files exist with a different extension during uploading |
| 17914 |
* (bug 34798) Updated CSS for Atom/RSS recent changes feeds to match on-wiki |
| 17915 |
diffs. |
| 17916 |
* (bug 42430) Calling numRows on MySQL no longer propagates unrelated errors. |
| 17917 |
* (bug 44719) Removed mention of non-existing maintenance/migrateCurStubs.php |
| 17918 |
script in includes/DefaultSettings.php |
| 17919 |
* (bug 45143) jquery.badge: Treat non-Latin variants of zero as zero as well. |
| 17920 |
* (bug 46151) mwdocgen.php should not ignore exit code of doxygen command. |
| 17921 |
* (bug 41889) Fix $.tablesorter rowspan exploding for complex cases. |
| 17922 |
|
| 17923 |
=== API changes in 1.21 === |
| 17924 |
* prop=revisions can now report the contentmodel and contentformat. |
| 17925 |
See docs/contenthandler.txt. |
| 17926 |
* action=edit and action=parse now support contentmodel and contentformat |
| 17927 |
parameters to control the interpretation of page content. |
| 17928 |
See docs/contenthandler.txt for details. |
| 17929 |
* (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing |
| 17930 |
metadata. |
| 17931 |
* (bug 40111) Disable minor edit for page/section creation by API. |
| 17932 |
* (bug 41042) Revert change to action=parse&page=... behavior when the page |
| 17933 |
does not exist. |
| 17934 |
* (bug 27202) Add timestamp sort to list=allimages. |
| 17935 |
* (bug 43137) Don't return the sha1 of revisions through the API if the content |
| 17936 |
is revision-deleted. |
| 17937 |
* ApiQueryImageInfo now also returns imageinfo for redirects. |
| 17938 |
* list=alltransclusions added to enumerate every instance of page embedding |
| 17939 |
* list=alllinks & alltransclusions now allow both 'from' and 'continue' in |
| 17940 |
the same query. When both are present, 'from' is simply ignored. |
| 17941 |
* list=alllinks & alltransclusions now allow 'unique' in generators, to yield |
| 17942 |
a list of all link/template target pages instead of source pages. |
| 17943 |
* BREAKING CHANGE: list=logevents output format changed for details of some log |
| 17944 |
types. Specifically, details that were formerly reported under a key like |
| 17945 |
"4::foo" will now be reported under a key of simply "foo". |
| 17946 |
* BREAKING CHANGE: '??_badcontinue' error code was changed to '??badcontinue' |
| 17947 |
for all query modules. |
| 17948 |
* ApiQueryBase adds 'badcontinue' error code if module has 'continue' parameter. |
| 17949 |
* (bug 35885) Removed version parameter and all getVersion() methods. |
| 17950 |
* action=options now takes a "resetkinds" option, which allows only resetting |
| 17951 |
certain types of preferences when the "reset" option is set. |
| 17952 |
* (bug 36751) ApiQueryImageInfo now returns imageinfo for the redirect target |
| 17953 |
when queried with &redirects=. |
| 17954 |
* (bug 31849) ApiQueryImageInfo no longer gets confused when asked for info on |
| 17955 |
a redirect and its target. |
| 17956 |
* (bug 43849) ApiQueryImageInfo no longer throws exceptions with ForeignDBRepo |
| 17957 |
redirects. |
| 17958 |
* On error, any warnings generated before that error will be shown in the |
| 17959 |
result. |
| 17960 |
* action=help supports generalized submodules (modules=query+value), |
| 17961 |
querymodules obsolete |
| 17962 |
* ApiQueryImageInfo continuation is more reliable. The only major change is |
| 17963 |
that the imagerepository property will no longer be set on page objects not |
| 17964 |
processed in the current query (i.e. non-images or those skipped due to |
| 17965 |
iicontinue). |
| 17966 |
* Add supports for all pageset capabilities - generators, redirects, |
| 17967 |
converttitles to action=purge and action=setnotificationtimestamp. |
| 17968 |
* (bug 43251) prop=pageprops&ppprop= now accepts multiple props to query. |
| 17969 |
* ApiQueryImageInfo will now limit the number of calls to File::transform made |
| 17970 |
in any one query. If there are too many, iicontinue will be returned. |
| 17971 |
* action=query&meta=siteinfo&siprop=general will now return the regexes used for |
| 17972 |
link trails and link prefixes. Added for Parsoid support. |
| 17973 |
* Added an API query module list=pageswithprop, which lists pages using a |
| 17974 |
particular page property. |
| 17975 |
* Added an API query module list=pagepropnames, which lists all page prop names |
| 17976 |
currently in use on the wiki. |
| 17977 |
* (bug 44921) ApiMain::execute() will now return after the CORS check for an |
| 17978 |
HTTP OPTIONS request. |
| 17979 |
* (bug 44923) action=upload works correctly if the entire file is uploaded in |
| 17980 |
the first chunk. |
| 17981 |
* Added 'continue=' parameter to streamline client iteration over complex query |
| 17982 |
results |
| 17983 |
* (bug 44909) API parameters may now be marked as type "upload", which is now |
| 17984 |
used for action=upload's 'file' and 'chunk' parameters. This type will raise |
| 17985 |
an error during parameter validation if the parameter is given but not |
| 17986 |
recognized as an uploaded file. |
| 17987 |
* (bug 44244) prop=info may now return the number of people watching each page. |
| 17988 |
* (bug 33304) list=allpages will no longer return duplicate entries when |
| 17989 |
querying protection. |
| 17990 |
* (bug 33304) list=allpages will now find really old indefinite protections. |
| 17991 |
* (bug 45937) meta=allmessages will report a syntactically invalid lang as a |
| 17992 |
proper error instead of as an uncaught exception. |
| 17993 |
* (bug 25325) added support for wlshow filtering (bots/anon/minor/patrolled) |
| 17994 |
to action=feedwatchlist |
| 17995 |
* WDDX formatted output will actually be formatted (and normal output will no |
| 17996 |
longer be), and will no longer choke on booleans. |
| 17997 |
|
| 17998 |
=== API internal changes in 1.21 === |
| 17999 |
* For debugging only, a new global $wgDebugAPI removes many API restrictions |
| 18000 |
when true. |
| 18001 |
Never use on the production servers, as this flag introduces security holes. |
| 18002 |
Whenever enabled, a warning will also be added to all output. |
| 18003 |
* ApiModuleManager now handles all submodules (actions,props,lists) and |
| 18004 |
instantiation |
| 18005 |
* Query stores prop/list/meta as submodules |
| 18006 |
* ApiPageSet can now be used in any action to process titles/pageids/revids or |
| 18007 |
any generator. |
| 18008 |
* BREAKING CHANGE: ApiPageSet constructor now has two params instead of three, |
| 18009 |
with only the first one keeping its meaning. ApiPageSet is now derived from |
| 18010 |
ApiBase. |
| 18011 |
* BREAKING CHANGE: ApiQuery::newGenerator() and executeGeneratorModule() were |
| 18012 |
deleted. |
| 18013 |
* ApiQueryGeneratorBase::setGeneratorMode() now requires a pageset param. |
| 18014 |
* $wgAPIGeneratorModules is now obsolete and will be ignored. |
| 18015 |
* Added flags ApiResult::OVERRIDE and ADD_ON_TOP to setElement() and addValue() |
| 18016 |
* Internal API calls will now include <warnings> in case of unused parameters |
| 18017 |
|
| 18018 |
=== Languages updated in 1.21 === |
| 18019 |
|
| 18020 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 18021 |
regularly. Below only new and removed languages are listed, as well as |
| 18022 |
changes to languages because of Bugzilla reports. |
| 18023 |
|
| 18024 |
* South Azerbaijani (azb) added. |
| 18025 |
* (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch'). |
| 18026 |
* (bug 45436) Autonym for pi (Pali) is now 'पालि' (was ''पाळि'). |
| 18027 |
* (bug 34977) Now formatted numbers in Spanish use space as separator |
| 18028 |
for thousands, as mandated by the Real Academia Española. |
| 18029 |
* (bug 35031) Kurdish formatted numbers now use period and comma |
| 18030 |
as separators for thousands and decimals respectively. |
| 18031 |
|
| 18032 |
=== Other changes in 1.21 === |
| 18033 |
* BREAKING CHANGE: (bug 44385) Removed the jquery.collapsibleTabs module and |
| 18034 |
moved it to the Vector extension. It was entirely Vector-extension-specific, |
| 18035 |
deeply interconnected with the extension, and this functionality really |
| 18036 |
belongs to the extension instead of the skin anyway. In the unlikely case you |
| 18037 |
were using it, you have to either copy it to your extension, or install the |
| 18038 |
Vector extension (and possibly disable its features using config settings if |
| 18039 |
you don't want them). |
| 18040 |
* Experimental IBM DB2 support was removed due to lack of interest and |
| 18041 |
maintainership |
| 18042 |
* BREAKING CHANGE: Filenames of maintenance scripts were standardized into |
| 18043 |
lowerCamelCase format, and made more explicit: |
| 18044 |
- clear_stats.php -> clearCacheStats.php |
| 18045 |
- clear_interwiki_cache.php -> clearInterwikiCache.php |
| 18046 |
- initStats.php -> initSiteStats.php |
| 18047 |
- proxy_check.php -> proxyCheck.php |
| 18048 |
- stats.php -> showCacheStats.php |
| 18049 |
- showStats.php -> showSiteStats.php. |
| 18050 |
Class names were renamed accordingly: |
| 18051 |
- clear_stats -> ClearCacheStats |
| 18052 |
- InitStats -> InitSiteStats |
| 18053 |
- CacheStats -> ShowCacheStats |
| 18054 |
- ShowStats -> ShowSiteStats. |
| 18055 |
* BREAKING CHANGE: (bug 38244) Removed the mediawiki.api.titleblacklist module |
| 18056 |
and moved it to the TitleBlacklist extension. |
| 18057 |
|
| 18058 |
= MediaWiki 1.20 = |
| 18059 |
|
| 18060 |
== MediaWiki 1.20.8 == |
| 18061 |
This is a security release of the MediaWiki 1.20 branch. |
| 18062 |
|
| 18063 |
=== Changes since 1.20.7 === |
| 18064 |
* (bug 53032) SECURITY: Don't cache when a call could autocreate |
| 18065 |
* (bug 55332) SECURITY: Improve css javascript detection |
| 18066 |
* (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload |
| 18067 |
* Fix comma errors in various js files |
| 18068 |
* Translations |
| 18069 |
|
| 18070 |
== MediaWiki 1.20.7 == |
| 18071 |
This is a security release of the MediaWiki 1.20 branch. |
| 18072 |
|
| 18073 |
=== Changes since 1.20.6 === |
| 18074 |
* SECURITY: Fix extension detection with 2 .'s |
| 18075 |
* SECURITY: Token-getting functions will fail when using jsonp callbacks. |
| 18076 |
* SECURITY: Sanitize ResourceLoader exception messages |
| 18077 |
* Purge upstream caches when deleting file assets. |
| 18078 |
|
| 18079 |
== MediaWiki 1.20.6 == |
| 18080 |
This is a security and maintenance release of the MediaWiki 1.20 branch. |
| 18081 |
|
| 18082 |
=== Changes since 1.20.5 === |
| 18083 |
* (bug 48306) SECURITY: Run file validation checks on chunked uploads, and |
| 18084 |
chunks of upload, during the upload process. |
| 18085 |
* (bug 44327) mediawiki.user: Use session ID instead of 1-year cross-session |
| 18086 |
cookies |
| 18087 |
* (bug 47202) wikibits: FF2Fixes.css should not be loaded in Firefox 20. |
| 18088 |
* (bug 31044) Make ResourceLoader behave in read-only mode |
| 18089 |
|
| 18090 |
== MediaWiki 1.20.5 == |
| 18091 |
This is a security and maintenance release of the MediaWiki 1.20 branch. |
| 18092 |
|
| 18093 |
=== Changes since 1.20.4 === |
| 18094 |
* (bug 46590) Add hook AbortChangePassword to Special:ChangePassword |
| 18095 |
* (bug 47304) SECURITY: Check SVG xml encoding against whitelist |
| 18096 |
* Localisation updates from http://translatewiki.net. |
| 18097 |
* mwdocgen.php: Implement --version option. |
| 18098 |
* Remove svnstat stuff used in Doxygen generation |
| 18099 |
* (bug 43594) Correctly suppress warnings that were missed after the upstream |
| 18100 |
* PHP change to E_STRICT being included in E_ALL. |
| 18101 |
|
| 18102 |
== MediaWiki 1.20.4 == |
| 18103 |
This is a security release of the MediaWiki 1.20 branch. |
| 18104 |
|
| 18105 |
=== Changes since 1.20.3 === |
| 18106 |
* (bug 47251) SECURITY: Disable external entities in Import |
| 18107 |
* (bug 46859) SECURITY: Disable external entities in XMLReader |
| 18108 |
* (bug 46084) SECURITY: Sanitize $limitReport before outputting |
| 18109 |
|
| 18110 |
== MediaWiki 1.20.3 == |
| 18111 |
This is a security and maintenance release of the MediaWiki 1.20 branch. |
| 18112 |
|
| 18113 |
=== Changes since MediaWiki 1.20.2 === |
| 18114 |
* New preference type - 'api'. Preferences of this type are not shown on |
| 18115 |
Special:Preferences, but are still available via the action=options API. |
| 18116 |
(Unbreaks MLEB.) |
| 18117 |
* (bug 44010) Context is passed to UserGetLanguageObject. |
| 18118 |
* The recursion guard on RequestContext::getLanguage() was weakened. |
| 18119 |
* (bug 40585) Don't drop 'step="any"' in HTML input fields. |
| 18120 |
* (bug 44024) Fixed problems in ObjectCache when using XCache. |
| 18121 |
* (bug 44010) FauxRequest leaked cookie data from primary request. |
| 18122 |
* (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST |
| 18123 |
* (bug 43518) API action=unblock should return the user name, not the full user |
| 18124 |
object |
| 18125 |
* (bug 45355) Prevent read of arbitrary files through mwdoc-filter.php |
| 18126 |
|
| 18127 |
== MediaWiki 1.20.2 == |
| 18128 |
This is a maintenance release of the MediaWiki 1.20 branch |
| 18129 |
|
| 18130 |
=== Changes since MediaWiki 1.20.1 === |
| 18131 |
* (bug 42638) Fix API action=options&reset=1 & unit tests. |
| 18132 |
* (bug 42370) Fixed backport of 60cc060 to use mDoneWrites — caused |
| 18133 |
* (bug 42592) User rights, preferences and other things are not saving in |
| 18134 |
1.20.1. |
| 18135 |
|
| 18136 |
== MediaWiki 1.20.1 == |
| 18137 |
This is a security release of the MediaWiki 1.20 branch |
| 18138 |
|
| 18139 |
=== Changes since 1.20.0 === |
| 18140 |
* (bug 42202) Validate options to prevent html injection |
| 18141 |
* (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391) |
| 18142 |
* (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit |
| 18143 |
* Javscript Lint fixes |
| 18144 |
* (bug 40632) Remove CleanupPresentationalAttributes feature |
| 18145 |
* [Database] Fixed case where trx idle callbacks might be lost. |
| 18146 |
|
| 18147 |
== MediaWiki 1.20.0 == |
| 18148 |
|
| 18149 |
=== PHP 5.3 now required === |
| 18150 |
Since 1.20, the lowest supported version of PHP is now 5.3.2. Please |
| 18151 |
upgrade PHP if you have not done so prior to upgrading MediaWiki. |
| 18152 |
|
| 18153 |
=== Configuration changes in 1.20 === |
| 18154 |
* $wgGitRepositoryViewers defines a mapping from Git remote repository to the |
| 18155 |
Gitweb instance URL used in Special:Version. |
| 18156 |
* `$wgUsePathInfo = true;` is no longer needed to make $wgArticlePath work on |
| 18157 |
servers using like nginx, lighttpd, and apache over fastcgi. MediaWiki now |
| 18158 |
always extracts path info from REQUEST_URI if it's available. |
| 18159 |
* The user right 'upload_by_url' is no longer given to sysops by default. |
| 18160 |
This only affects installations which have $wgAllowCopyUploads set to true. |
| 18161 |
* Removed f-prot support from $wgAntivirusSetup. |
| 18162 |
* New variable $wgDBerrorLogTZ to provide dates in the error log in a |
| 18163 |
different timezone than the wiki timezone set by $wgLocaltimezone. |
| 18164 |
* New variables $wgDBssl and $wgDBcompress to enable SSL and compression for |
| 18165 |
database connections, if either are available for the selected DB type. |
| 18166 |
* $wgUseCombinedLoginLink now defaults to false, making MediaWiki output |
| 18167 |
separate login and create account links by default. |
| 18168 |
|
| 18169 |
=== New features in 1.20 === |
| 18170 |
* Added TitleIsAlwaysKnown hook which gets called when determining if a page |
| 18171 |
exists. |
| 18172 |
* Added NamespaceIsMovable hook which gets called when determining if pages in a |
| 18173 |
certain namespace can be moved. |
| 18174 |
* Added SpecialPageBeforeExecute hook which gets called before |
| 18175 |
SpecialPage::execute. |
| 18176 |
* Added SpecialPageAfterExecute hook which gets called after |
| 18177 |
SpecialPage::execute. |
| 18178 |
* Added ORMTable, ORMRow and ORMResult classes for additional abstraction of |
| 18179 |
database interaction. |
| 18180 |
* Added CacheHelper and associated SpecialCachedPage and CachedAction helper |
| 18181 |
classes. |
| 18182 |
* (bug 32341) Add upload by URL domain limitation. |
| 18183 |
* &useskin=default will now always display the default skin. Useful for users |
| 18184 |
with a preference for the non-default skin to look at something using the |
| 18185 |
default skin. |
| 18186 |
* (bug 27619) Remove preference option to display broken links as link? |
| 18187 |
* (bug 34896) jQuery JSON plugin upgraded to v2.3 (2011-09-17). |
| 18188 |
* (bug 34302) Add CSS classes to email fields in user preferences. |
| 18189 |
* Introduced $wgDebugDBTransactions to trace transaction status (currently |
| 18190 |
PostgreSQL only). |
| 18191 |
* (bug 23795) Add parser itself to ParserMakeImageParams hook. |
| 18192 |
* Introduce a cryptographic random number generator source api for use when |
| 18193 |
generating various tokens. |
| 18194 |
* (bug 30963) Option on Special:Prefixindex and Special:Allpages to not show |
| 18195 |
redirects. |
| 18196 |
* (bug 18062) New message when edit or create the local page of a shared file. |
| 18197 |
* (bug 22870) Separate interface message when creating a page. |
| 18198 |
* (bug 17615) nosummary option should be reassigned on preview/captcha. |
| 18199 |
* (bug 34355) Add a variable and parser function for the namespace number. |
| 18200 |
* (bug 35649) Special:Version now shows hashes of extensions checked out from |
| 18201 |
git. |
| 18202 |
* (bug 35728) Git revisions are now linked on Special:Version. |
| 18203 |
* "Show Changes" on default messages shows now diff against default message text |
| 18204 |
* (bug 23006) create #speciale parser function. |
| 18205 |
* generateSitemap can now optionally skip redirect pages. |
| 18206 |
* (bug 27757) New API command just for retrieving tokens (not page-based). |
| 18207 |
* Added GitViewers hook for extensions using external git repositories to have a |
| 18208 |
web-based repository viewer linked to from Special:Version. |
| 18209 |
* Memcached debug logs can now be sent to their own file logs by setting |
| 18210 |
$wgDebugLogFile['memcached'] to some filepath. |
| 18211 |
* (bug 35685) api.php URL and other entry point URLs are now listed on |
| 18212 |
Special:Version |
| 18213 |
* Edit notices can now be translated. |
| 18214 |
* jQuery upgraded to 1.8.2. |
| 18215 |
* jQuery UI upgraded to 1.8.23. |
| 18216 |
* QUnit upgraded from v1.2.0 to v1.10.0. |
| 18217 |
* (bug 37604) jquery.cookie upgraded to 2011 version. |
| 18218 |
* (bug 22887) Add warning and tracking category for preprocessor errors |
| 18219 |
* (bug 31704) Allow selection of associated namespace on the watchlist |
| 18220 |
* (bug 5445) Now remove autoblocks when a user is unblocked. |
| 18221 |
* Added $wgLogExceptionBacktrace, on by default, to allow logging of exception |
| 18222 |
backtraces. |
| 18223 |
* Added device detection for determining device capabilities. |
| 18224 |
* QUnit.newMwEnvironment now supports passing a custom setup and/or teardown |
| 18225 |
function. Arguments signature has changed. First arguments is now an options |
| 18226 |
object of which 'config' can be a property. Previously 'config' itself was the |
| 18227 |
first and only argument. |
| 18228 |
* New getCreator and getOldestRevision methods added to WikiPage class |
| 18229 |
* (bug 4220) the XML dump format schema now have unique identity constraints |
| 18230 |
for page and revision identifiers. Patch by Elvis Stansvik. |
| 18231 |
* cleanupSpam.php now can delete spam pages if --delete was specified instead of |
| 18232 |
blanking them. |
| 18233 |
* Added new hook ChangePasswordForm to allow adding of additional fields in |
| 18234 |
Special:ChangePassword |
| 18235 |
* Added new function getDomain to AuthPlugin for getting a user's domain |
| 18236 |
* (bug 23427) New magic word {{PAGEID}} which gives the current page ID. |
| 18237 |
Will be null on previewing a page being created. |
| 18238 |
* (bug 37627) UserNotLoggedIn() exception to show a generic error page whenever |
| 18239 |
a user is not logged in. |
| 18240 |
* Watched status in changes lists are no longer indicated by <strong></strong> |
| 18241 |
tags with class "mw-watched". Instead, each line now has a class |
| 18242 |
"mw-changeslist-line-watched" or "mw-changeslist-line-not-watched", and the |
| 18243 |
title itself is surrounded by <span></span> tags with class "mw-title". |
| 18244 |
* Added ContribsPager::reallyDoQuery hook allowing extensions to data to |
| 18245 |
MyContribs |
| 18246 |
* Added new hook ParserAfterParse to allow extensions to affect parsed output |
| 18247 |
after the parse is complete but before block level processing, link holder |
| 18248 |
replacement, and so on. |
| 18249 |
* (bug 34678) Added InternalParseBeforeSanitize hook which gets called during |
| 18250 |
Parser's internalParse method just before the parser removes |
| 18251 |
unwanted/dangerous HTML tags. |
| 18252 |
* Added new hook AfterFinalPageOutput to allow modifications to buffered page |
| 18253 |
output before sent to the client. |
| 18254 |
* (bug 36783) Implement jQuery Promise interface in mediawiki.api module. |
| 18255 |
* Make dates in sortable tables sort according to the page content language |
| 18256 |
instead of the site content language |
| 18257 |
* (bug 37926) Deleterevision will no longer allow users to delete log entries, |
| 18258 |
the new deletelogentry permission is required for this. |
| 18259 |
* (bug 14237) Allow PAGESINCATEGORY to distinguish between 'all', 'pages', |
| 18260 |
'files' and 'subcats' |
| 18261 |
* (bug 38362) Make Special:Listuser includeable on wiki pages. |
| 18262 |
* Added support in jquery.localize for placeholder attributes. |
| 18263 |
* (bug 38151) Implemented mw.user.getRights for getting and caching the current |
| 18264 |
user's user rights. |
| 18265 |
* Session storage can now configured independently of general object cache |
| 18266 |
storage, by using $wgSessionCacheType. $wgSessionsInMemcached has been |
| 18267 |
renamed to $wgSessionsInObjectCache, with the old name retained for backwards |
| 18268 |
compatibility. When this feature is enabled, the expiry time can now be |
| 18269 |
configured with $wgObjectCacheSessionExpiry. |
| 18270 |
* Added a Redis client for object caching. |
| 18271 |
* Implemented mw.user.getGroups for getting and caching user groups. |
| 18272 |
* (bug 37830) Added $wgRequirePasswordforEmailChange to control whether password |
| 18273 |
confirmation is required for changing an email address or not. |
| 18274 |
* HTMLForm mutators can now be chained (they return $this) |
| 18275 |
* A new message, "api-error-filetype-banned-type", is available for formatting |
| 18276 |
API upload errors due to the file extension blacklist. |
| 18277 |
* New hook 'ParserTestGlobals' allows to set globals before running parser |
| 18278 |
tests. |
| 18279 |
* Allow importing pages as subpage. |
| 18280 |
* Add lang and hreflang attributes to language links on Login page. |
| 18281 |
* (bug 22749) Create Special:MostInterwikis. |
| 18282 |
* Show change tags when transclude Special:Recentchanges(linked) or |
| 18283 |
Special:Newpages. |
| 18284 |
* (bug 23226) Add |class= parameter to image links in order to add class(es) to |
| 18285 |
HTML img tag. |
| 18286 |
* (bug 39431) SVG animated status is now shown in long description. |
| 18287 |
* (bug 39376) jquery.form upgraded to 3.14. |
| 18288 |
* SVG files will now show the actual width in the SVG's specified units |
| 18289 |
in the metadata box. |
| 18290 |
* Added ResourceLoader module "jquery.jStorage" (v0.3.0, http://jStorage.info/). |
| 18291 |
* (bug 39273) Added AJAX support for "Show changes" (diff) in LivePreview. |
| 18292 |
* Added ResourceLoader module "jquery.badge". |
| 18293 |
* mw.util.$content now points to the overall content area in the skin rather |
| 18294 |
than just page text content area. If you need the old behavior please use |
| 18295 |
$( '#mw-content-text'). |
| 18296 |
* jsMessage has been replaced with a floating bubble notification system |
| 18297 |
complete with auto-hide, multi-message support, and message replacement tags. |
| 18298 |
* jquery.messageBox which appears to be unused by both core and extensions has |
| 18299 |
been removed. |
| 18300 |
* (bug 34939) Made link parsing insensitive ([HttP://]). |
| 18301 |
* (bug 40072) Add CSS classes to items in output of ChangesList pages. |
| 18302 |
* Added $wgCopyUploadProxy global to define which proxy to use for copy |
| 18303 |
uploads. |
| 18304 |
* (bug 40448) mediawiki.legacy.mwsuggest has been replaced with a new module, |
| 18305 |
mediawiki.searchSuggest, based on SimpleSearch from Extension:Vector. |
| 18306 |
|
| 18307 |
=== Known issues in 1.20.0 === |
| 18308 |
These are issues that we're targeting to be fixed in a later release |
| 18309 |
in the 1.20 series. Issues may be added or removed from this list as |
| 18310 |
we see fit. For now, it is comprised of those bugs on the 1.20.0 |
| 18311 |
milestone in Bugzilla. |
| 18312 |
|
| 18313 |
* (bug 35894): Reports of secret key generation "hanging" on windows |
| 18314 |
This is probably a bug that has been fixed in PHP. If you run |
| 18315 |
into this, try upgrading your PHP. |
| 18316 |
* (bug 38334): PHP Notice: Undefined index: href in /www/w/skins/Vector.php on |
| 18317 |
line 416 |
| 18318 |
We think this is a problem in some extension. If you see this, |
| 18319 |
try disabling your extensions and check out the logging patch on |
| 18320 |
this bug. Or try this patch: |
| 18321 |
<https://gerrit.wikimedia.org/r/#/c/27937/1/skins/Vector.php> |
| 18322 |
* (bug 39268): [Regression] Toolbar inserts in main textarea only (instead of |
| 18323 |
the focussed textarea) |
| 18324 |
This should only be an issue if you are using the ProofreadPage |
| 18325 |
extension. |
| 18326 |
* (bug 40641): Clicking "others" in Special:Version asks to download a file |
| 18327 |
If you encounter this, you can tell your webserver to serve the |
| 18328 |
CREDITS file with text/plain MIME type to fix it. |
| 18329 |
|
| 18330 |
=== Bug fixes in 1.20 === |
| 18331 |
* (bug 40939): [Regression] InfoAction: Call to a member function getUserText() |
| 18332 |
on a non-object |
| 18333 |
* (bug 40780): searchsuggest-containing line ("containing...") doesn't include |
| 18334 |
the entered text |
| 18335 |
* (bug 37714): [Regression] Incomplete log entries |
| 18336 |
* (bug 27202): API: Add timestamp sort to list=allimages |
| 18337 |
* (bug 30245) Use the correct way to construct a log page title. |
| 18338 |
* (bug 34237) Regenerate an empty user_token and save to the database |
| 18339 |
when we try to set the user's cookies for login. |
| 18340 |
* (bug 32210) New edit emails for watched pages always provide a link to the |
| 18341 |
edit which triggered the mail. |
| 18342 |
* (bug 12021) Added user talk link on Special:Listusers. |
| 18343 |
* (bug 34445) section edit and TOC hide/show links are excluded from selection |
| 18344 |
and copy/paste on supporting browsers. |
| 18345 |
* (bug 34428) Fixed incorrect hash mismatch errors in the DiffHistoryBlob |
| 18346 |
history compression method. |
| 18347 |
* (bug 34702) Localised parentheses are now used in more special pages. |
| 18348 |
* (bug 34723) When editing a script page on a RTL wiki the textbox should be |
| 18349 |
LTR. |
| 18350 |
* (bug 34762) Calling close() on a DatabaseBase object now clears the |
| 18351 |
connection. |
| 18352 |
* (bug 34863) Show deletion log extract on non-existent file pages if |
| 18353 |
applicable. |
| 18354 |
* (bug 28019) Let ?preloadtitle=foo be passed on to target of |
| 18355 |
Special:MyPage and Special:MyTalk. |
| 18356 |
* (bug 34929) Show the correct diff when a section edit is rejected by the spam |
| 18357 |
filter. |
| 18358 |
* (bug 15816) Add a switch for SETting the search_path (Postgres). |
| 18359 |
* (bug 34521) Returning to the previous page after logging in loses any array- |
| 18360 |
valued parameters in the query string. |
| 18361 |
* (bug 34735) Updated compressOld.php documentation to mention the different |
| 18362 |
usages of -s and -n parameters depending on compression type. |
| 18363 |
* (bug 13896) Rendering of devanagari numbers in automatic '#' number lists. |
| 18364 |
* (bug 33689) Upgrade to 1.19 on Postgres fails due to incomplete query when |
| 18365 |
trying to defer foreign key for externallinks. |
| 18366 |
* (bug 32748) Printer friendly version of article decode Unicode chars as a |
| 18367 |
pretty IRI in footer. |
| 18368 |
* Removed white border around thumbnails in galleries. |
| 18369 |
* (bug 31236) "Next" and "Previous" buttons are shown incorrectly in |
| 18370 |
an RTL environment. |
| 18371 |
* (bug 35749) Updated maintenance/checkSyntax.php to use Git instead of |
| 18372 |
Subversion when invoked with the --modified option. |
| 18373 |
* (bug 35069) On history pages, the " . . " separator after the number of |
| 18374 |
characters changed in a revision is now suppressed if no text would follow. |
| 18375 |
* (bug 18704) Add a unique CSS class or ID to the tagfilter table row at |
| 18376 |
RecentChanges |
| 18377 |
* (bug 33564) transwiki import sometimes result in invalid title. |
| 18378 |
* (bug 35572) Blocks appear to succeed even if query fails due to wrong DB |
| 18379 |
structure |
| 18380 |
* (bug 31757) Add a word-separator between help-messages in HTMLForm |
| 18381 |
* (bug 30410) Removed deprecated $wgFilterCallback and the 'filtered' API error. |
| 18382 |
* (bug 32604) Some messages needs escaping of wikitext inside username. |
| 18383 |
* (bug 36537) Rename wfArrayToCGI to wfArrayToCgi for consistency with |
| 18384 |
wfCgiToArray. |
| 18385 |
* (bug 25946) The message on the top of Special:RecentChanges is now displayed |
| 18386 |
in user language instead of content language. |
| 18387 |
* (bug 35264) Wrong type used for <ns> in export.xsd |
| 18388 |
* (bug 24985) Use $wgTmpDirectory as the default temp directory so that people |
| 18389 |
who don't have access to /tmp can specify an alternative. |
| 18390 |
* (bug 27283) SqlBagOStuff breaks PostgreSQL transactions. |
| 18391 |
* (bug 35727) mw.Api ajax() should put token parameter last. |
| 18392 |
* (bug 37708) mw.Uri.clone() should make a deep copy. |
| 18393 |
* (bug 38024) ResourceLoader should not create empty stylesheets for modules |
| 18394 |
that don't have stylesheets. |
| 18395 |
* (bug 36812) Special:ActiveUsers "Hide bots" should hide users from any group |
| 18396 |
having the "bot" user right, instead of just the default "bot" user group. |
| 18397 |
* (bug 35082) mw.util.addPortletLink incorrectly adds link to mutiple <ul> tags. |
| 18398 |
* (bug 36991) jquery.tablesorter should extract date sort format from date |
| 18399 |
string instead of global config. Dates like "April 1 2012" and "1 April 2012" |
| 18400 |
now sort correctly regardless of the content language's DefaultDateFormat. |
| 18401 |
* (bug 31895) mw.loader mode now correct when triggered from a $.fn.ready |
| 18402 |
handler that is bound before mediawiki.js's handler (e.g. browser-userscripts |
| 18403 |
like greasemonkey). |
| 18404 |
* (bug 38152) jquery.tablesorter: Use .data() instead of .attr(), so that live |
| 18405 |
values are used instead of just the fixed values from when the tablesorter |
| 18406 |
was initialized. |
| 18407 |
* (bug 38093) Gender of changed user groups missing in Special:Log/rights |
| 18408 |
* (bug 35893) Special:Block needs to load mediawiki.special.block.js. |
| 18409 |
* (bug 37331) ResourceLoader modules sometimes execute twice in Firefox |
| 18410 |
* (bug 31644) GlobalUsage, CentralAuth and AbuseLog extensions should not use |
| 18411 |
insecure links to foreign wikis in the WikiMap. |
| 18412 |
* (bug 36073) Avoid duplicate element IDs on File pages. |
| 18413 |
* (bug 25095) Special:Categories should also include the first relevant item |
| 18414 |
when "from" is filled. |
| 18415 |
* (bug 35526) jquery.tablesorter now uses a stable sort. |
| 18416 |
* (bug 38953) --memory-limit switch not working for runJobs.php. |
| 18417 |
* (bug 33037) Make subpage of Special:newfiles control how many files |
| 18418 |
are returned, like in previous versions. |
| 18419 |
* (bug 36524) "Show" options on Special:RecentChanges and |
| 18420 |
Special:RecentChangesLinked are now remembered between successive clicks. |
| 18421 |
* (bug 26069) Page title is no longer "Error" for all error pages. |
| 18422 |
* (bug 39297) Show warning if thumbnail of animated image will not be animated. |
| 18423 |
* (bug 38249) Parser will throw an exception instead of outputting gibberish if |
| 18424 |
PCRE is compiled without support for unicode properties. |
| 18425 |
* (bug 30390) Suggested file name on Special:Upload should not contain |
| 18426 |
illegal characters. |
| 18427 |
* EXIF below sea level GPS altitude data is now shown correctly. |
| 18428 |
* (bug 39284) jquery.tablesorter should not consider "."" or "?"" to be a |
| 18429 |
currency. |
| 18430 |
* (bug 39273) "Show changes" should not be incorrectly displayed in the Live |
| 18431 |
Preview state. |
| 18432 |
* Made body-content lang attribute honor the variant language when it is set. |
| 18433 |
* (bug 36761) "Mark pages as visited" now submits previously established filter |
| 18434 |
options. |
| 18435 |
* (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error. |
| 18436 |
* (bug 36329) Accesskey tooltips for Firefox 14 on Mac should use "ctrl-option-" |
| 18437 |
prefix. |
| 18438 |
* (bug 32552) Drop unused database field cat_hidden from table category. |
| 18439 |
* (bug 24502) Do not allow multiple language links to the same language. |
| 18440 |
* (bug 40214) Category pages no longer use deprecated "width" HTML attribute. |
| 18441 |
* (bug 39941) Add missing stylesheets to the installer pages |
| 18442 |
* In HTML5 mode, allow new input element types values (such as color, range..) |
| 18443 |
* (bug 36151) mw.Title: Don't limit extension in title parsing. |
| 18444 |
* (bug 38158) jquery.byteLimit sometimes causes an unexpected 0 maxLength being |
| 18445 |
enforced. |
| 18446 |
* (bug 38163) jquery.byteLimit incorrectly limits input when using methods other |
| 18447 |
than basic per-char typing. |
| 18448 |
* (bug 34495) patrol log now credit the user patrolling (instead of patrolled |
| 18449 |
user). |
| 18450 |
* (bug 31676) ResourceLoader should work around IE stylesheet limit. |
| 18451 |
* (bug 40498) ResourceLoader should not output an empty "@media print { }" |
| 18452 |
block. |
| 18453 |
* (bug 40500) ResourceLoader should not ignore media-type for urls in debug |
| 18454 |
mode. |
| 18455 |
* (bug 40660) ResourceLoaderWikiModule should not convert " " to a space |
| 18456 |
for pages from the MediaWiki-namespace. |
| 18457 |
* (bug 40329) (bug 40632) Removed CleanupPresentationalAttributes feature. |
| 18458 |
|
| 18459 |
=== API changes in 1.20 === |
| 18460 |
* (bug 34316) Add ability to retrieve maximum upload size from MediaWiki API. |
| 18461 |
* (bug 34313) MediaWiki API intro message about "HTML format" should mention |
| 18462 |
the format parameter. |
| 18463 |
* (bug 32384) Allow descending order for list=watchlistraw. |
| 18464 |
* (bug 31883) Limit of bkusers of list=blocks and titles of action=query is |
| 18465 |
not documented in API help. |
| 18466 |
* (bug 32492) API now allows editing using pageid. |
| 18467 |
* (bug 32497) API now allows changing of protection level using pageid. |
| 18468 |
* (bug 32498) API now allows comparing pages using pageids. |
| 18469 |
* (bug 30975) API import of pages with invalid characters in this wiki leads to |
| 18470 |
Fatal Error. |
| 18471 |
* (bug 30488) API now allows listing of backlinks/embeddedin/imageusage per |
| 18472 |
pageid. |
| 18473 |
* (bug 34927) Output media_type for list=filearchive. |
| 18474 |
* (bug 28814) add properties to output of action=parse. |
| 18475 |
* (bug 33224) add variants of content language to meta=siteinfo. |
| 18476 |
* (bug 32643) action=purge with forcelinkupdate no longer crashes when ratelimit |
| 18477 |
is reached. |
| 18478 |
* The paraminfo module now also contains result properties for most modules. |
| 18479 |
* (bug 32348) Allow descending order for list=alllinks. |
| 18480 |
* (bug 31777) Upload unknown error ``fileexists-forbidden''. |
| 18481 |
* (bug 32382) Allow descending order for list=iwbacklinks. |
| 18482 |
* (bug 32381) Allow descending order for list=backlinks, list=embeddedin and |
| 18483 |
list=imageusage. |
| 18484 |
* (bug 32383) Allow descending order for list=langbacklinks. |
| 18485 |
* API meta=siteinfo can now return the list of known variable IDs. |
| 18486 |
* (bug 35980) list=deletedrevs now honors drdir correctly in "all" mode |
| 18487 |
(mode #3). |
| 18488 |
* (bug 29290) API avoids mangling fields in continuation parameters |
| 18489 |
* (bug 36987) API avoids mangling fields in continuation parameters |
| 18490 |
* (bug 30836) siteinfo prop=specialpagealiases will no longer return nonexistent |
| 18491 |
special pages |
| 18492 |
* (bug 38190) Add "required" flag to some token params for hint in api docs. |
| 18493 |
* (bug 27567) Add file repo support to prop=duplicatefiles. |
| 18494 |
* (bug 27610) Add archivename for non-latest image version to list=filearchive |
| 18495 |
* (bug 38231) Add xml parse tree to action=parse. |
| 18496 |
* Watchlist notification timestamp may be queried by page and may be updated via |
| 18497 |
the API. |
| 18498 |
* (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing. |
| 18499 |
* (bug 39032) ApiQuery generates help in constructor. |
| 18500 |
* (bug 11142) Improve file extension blacklist error reporting in API upload. |
| 18501 |
* (bug 39665) List of query generators is now not built using reflection, |
| 18502 |
instead it is defined in code. |
| 18503 |
* (bug 35993) Deprecated gettoken parameter - support will be removed in 1.22. |
| 18504 |
|
| 18505 |
=== Languages updated in 1.20 === |
| 18506 |
|
| 18507 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 18508 |
regularly. Below only new and removed languages are listed, as well as |
| 18509 |
changes to languages because of Bugzilla reports. |
| 18510 |
|
| 18511 |
* Emilian (egl) added. |
| 18512 |
* Tornedalen Finnish (fit) added. |
| 18513 |
* Mizo (lus) added. |
| 18514 |
* Santali (sat) added. |
| 18515 |
* (bug 34192) Namespace gender aliases for Albanian languages (sq & aln). |
| 18516 |
* (bug 35541) Namespace gender aliases for Croatian (hr). |
| 18517 |
* (bug 36012) Space in $separatorTransformTable should be non-breaking in |
| 18518 |
Portuguese, Esperanto and Udmurt. |
| 18519 |
* Turoyo (tru) added. |
| 18520 |
* Cyrillic-Latin language converter added for Uzbek (uz). |
| 18521 |
|
| 18522 |
=== Other changes in 1.20 === |
| 18523 |
* The user_token field is now left empty until a user attempts to login and |
| 18524 |
cookies need to be set. It is also now possible to reset every user's |
| 18525 |
user_token simply by clearing the values in the user_token column. |
| 18526 |
* Removed ./tests/qunit/index.html from core. It wasn't actively maintained and |
| 18527 |
has been made obsolete when [[Special:JavaScriptTest/qunit]] was introduced, |
| 18528 |
which actually uses ResourceLoader, LocalSettings and the Skin. |
| 18529 |
* Removed $wgDBtransactions global. This was only checked in one class |
| 18530 |
and only applies to MyISAM or similar DBs. Those should only be used |
| 18531 |
for archived sites anyway. We can't get edit conflicts on such sites, |
| 18532 |
so the WikiPage code wasn't useful there either. |
| 18533 |
* Deprecated mw.user.name in favour of mw.user.getName. |
| 18534 |
* Deprecated mw.user.anonymous in favour of mw.user.isAnon. |
| 18535 |
* Deprecated DatabaseBase functions newFromParams(), newFromType(), set(), |
| 18536 |
quote_ident(), and escapeLike() were removed. |
| 18537 |
* Use of __DIR__ instead of dirname( __FILE__ ). |
| 18538 |
* OutputPage::wrapWikiMsg() no longer supports the 'options' parameter. It was |
| 18539 |
not used and complicated migration to Message class. |
| 18540 |
* Live preview functionality has been improved and moved into the |
| 18541 |
'mediawiki.action.edit.preview' module. The old 'mediawiki.legacy.preview' |
| 18542 |
module has been removed. |
| 18543 |
* (bug 40448) Removed mediawiki.legacy.mwsuggest module, and removed the |
| 18544 |
following that has become obsolete: |
| 18545 |
- globals $wgEnableMWSuggest and $wgMWSuggestTemplate. |
| 18546 |
- mw.config.values wgMWSuggestTemplate and wgSearchNamespaces. |
| 18547 |
- method SearchEngine::getMWSuggestTemplate(). |
| 18548 |
|
| 18549 |
== MediaWiki 1.19 == |
| 18550 |
|
| 18551 |
== MediaWiki 1.19.24 == |
| 18552 |
|
| 18553 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18554 |
|
| 18555 |
=== Changes since 1.19.23 === |
| 18556 |
|
| 18557 |
* ({{bug|T85848}}, {{bug|T71210}}) SECURITY: Don't parse XMP blocks that |
| 18558 |
contain XML entities, to prevent various DoS attacks. |
| 18559 |
* ({{bug|T88310}}) SECURITY: Always expand xml entities when checking SVG's. |
| 18560 |
* ({{bug|T73394}}) SECURITY: Escape > in Html::expandAttributes to prevent XSS. |
| 18561 |
* ({{bug|T85855}}) SECURITY: Don't execute another user's CSS or JS on preview. |
| 18562 |
* ({{bug|T85349}}, {{bug|T85850}}, {{bug|T86711}}) SECURITY: Multiple issues |
| 18563 |
fixed in SVG filtering to prevent XSS and protect viewer's privacy. |
| 18564 |
|
| 18565 |
== MediaWiki 1.19.23 == |
| 18566 |
|
| 18567 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18568 |
|
| 18569 |
=== Changes since 1.19.22 === |
| 18570 |
|
| 18571 |
* (bug T76686) [SECURITY] thumb.php outputs wikitext message as raw HTML, which |
| 18572 |
could lead to xss. Permission to edit MediaWiki namespace is required to |
| 18573 |
exploit this. |
| 18574 |
* (bug T74222) The original patch for T74222 was reverted as unnecessary. |
| 18575 |
* Add missing $ in front of variable in OutputPage.php |
| 18576 |
|
| 18577 |
== MediaWiki 1.19.22 == |
| 18578 |
|
| 18579 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18580 |
|
| 18581 |
=== Changes since 1.19.21 === |
| 18582 |
|
| 18583 |
* ({{bug|66776}}, {{bug|71478}}) SECURITY: User PleaseStand reported a way to |
| 18584 |
inject code into API clients that used format=php to process pages that |
| 18585 |
underwent flash policy mangling. This was fixed along with improving how the |
| 18586 |
mangling was done for format=json, and allowing sites to disable the mangling |
| 18587 |
using $wgMangleFlashPolicy. |
| 18588 |
* ({{bug|72222}}) SECURITY: Do not show log action when the entry is revdeleted |
| 18589 |
with DELETED_ACTION. NOTICE: this may be reverted in a future release pending a |
| 18590 |
public RFC about the desired functionality. This issue was reported by user |
| 18591 |
Bawolff. |
| 18592 |
* ({{bug|71621}}) Make allowing site-wide styles on restricted special pages a |
| 18593 |
config option. |
| 18594 |
* $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that |
| 18595 |
might be a flash policy directive configurable. |
| 18596 |
|
| 18597 |
== MediaWiki 1.19.21 == |
| 18598 |
This is a maintenance release of the MediaWiki 1.19 branch. |
| 18599 |
|
| 18600 |
=== Changes since 1.19.20 === |
| 18601 |
* (bug 67440) Allow classes to be registered properly from installer. |
| 18602 |
* (bug 47281) Fixed a dumpBackup.php error with --uploads |
| 18603 |
--include-filesoptions: Unable to find the wrapper "mwstore". |
| 18604 |
* System administrators are encouraged to upgrade to this release or 1.22+ and |
| 18605 |
produce a full data dump. |
| 18606 |
https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki |
| 18607 |
* (bug 63049) Removed anonymous functions from ApiFormatBase, added in1.19.13 as |
| 18608 |
part of the fix for bug 61362, for PHP 5.2 compatibility. |
| 18609 |
|
| 18610 |
== MediaWiki 1.19.20 == |
| 18611 |
This is a security release of the MediaWiki 1.19 branch. |
| 18612 |
|
| 18613 |
=== Changes since 1.19.19 === |
| 18614 |
* (bug 70672) SECURITY: OutputPage: Remove separation of css and js module |
| 18615 |
allowance. |
| 18616 |
|
| 18617 |
== MediaWiki 1.19.19 == |
| 18618 |
This is a security release of the MediaWiki 1.19 branch. |
| 18619 |
|
| 18620 |
=== Changes since 1.19.18 === |
| 18621 |
* (bug 69008) SECURITY: Enhance CSS filtering in SVG files. Filter <style> |
| 18622 |
elements; normalize style elements and attributes before filtering; add checks |
| 18623 |
for attributes that contain css; add unit tests for html5sec and reported |
| 18624 |
bugs. |
| 18625 |
|
| 18626 |
== MediaWiki 1.19.18 == |
| 18627 |
This is a security release of the MediaWiki 1.19 branch. |
| 18628 |
|
| 18629 |
=== Changes since 1.19.17 === |
| 18630 |
* (bug 68187) SECURITY: Prepend jsonp callback with comment. |
| 18631 |
* (bug 65778) SECURITY: Copy prevent-clickjacking between OutputPage and |
| 18632 |
ParserOutput. |
| 18633 |
|
| 18634 |
== MediaWiki 1.19.17 == |
| 18635 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18636 |
|
| 18637 |
=== Changes since 1.19.16 === |
| 18638 |
* (bug 65839) SECURITY: Prevent external resources in SVG files. |
| 18639 |
* (bug 66428) MimeMagic: Don't seek before BOF. This has weird side effects like |
| 18640 |
only extracting the tail of the file partially or not at all. |
| 18641 |
|
| 18642 |
== MediaWiki 1.19.16 == |
| 18643 |
This is a security release of the MediaWiki 1.19 branch. |
| 18644 |
|
| 18645 |
=== Changes since 1.19.15 === |
| 18646 |
* (bug 65501) SECURITY: Don't parse usernames as wikitext on |
| 18647 |
Special:PasswordReset. |
| 18648 |
|
| 18649 |
== MediaWiki 1.19.15 == |
| 18650 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18651 |
|
| 18652 |
=== Changes since 1.19.14 === |
| 18653 |
Fixed resetting passwords. |
| 18654 |
* (bug 58640) Fixed a compatibility issue with PCRE 8.34 that caused pages to |
| 18655 |
appear blank or with missing text. |
| 18656 |
|
| 18657 |
== MediaWiki 1.19.14 == |
| 18658 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18659 |
|
| 18660 |
=== Changes since 1.19.13 === |
| 18661 |
* (bug 62497) SECURITY: Add CSRF token on Special:ChangePassword. |
| 18662 |
* (bug 62467) Set a title for the context during import on the cli. |
| 18663 |
|
| 18664 |
== MediaWiki 1.19.13 == |
| 18665 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18666 |
|
| 18667 |
=== Changes since 1.19.12 === |
| 18668 |
* (bug 61362) SECURITY: API: Don't find links in the middle of api.php links. |
| 18669 |
* Use the correct branch of the extensions' git repositories. |
| 18670 |
|
| 18671 |
== MediaWiki 1.19.12 == |
| 18672 |
This is a security release of the MediaWiki 1.19 branch. |
| 18673 |
|
| 18674 |
=== Changes since 1.19.11 === |
| 18675 |
* (bug 60771) SECURITY: Disallow uploading SVG files using non-whitelisted |
| 18676 |
namespaces. Also disallow iframe elements. * User will get an error including |
| 18677 |
the namespace name if they use a non- whitelisted namespace. |
| 18678 |
* (bug 61346) SECURITY: Make token comparison use constant time. It seems like |
| 18679 |
our token comparison would be vulnerable to timing attacks. This will take |
| 18680 |
constant time. |
| 18681 |
|
| 18682 |
== MediaWiki 1.19.11 == |
| 18683 |
This is a security release of the MediaWiki 1.19 branch. |
| 18684 |
|
| 18685 |
=== Changes since 1.19.10 === |
| 18686 |
* (bug 60339) SECURITY: Sanitize shell arguments to DjVu files, and other media |
| 18687 |
formats |
| 18688 |
|
| 18689 |
== MediaWiki 1.19.10 == |
| 18690 |
This is a security release of the MediaWiki 1.19 branch. |
| 18691 |
|
| 18692 |
=== Changes since 1.19.9 === |
| 18693 |
* (bug 57550) SECURITY: Disallow stylesheets in SVG Uploads |
| 18694 |
* (bug 58088) SECURITY: Don't normalize U+FF3C to \ in CSS Checks |
| 18695 |
* (bug 58472) SECURITY: Disallow -o-link in styles |
| 18696 |
* (bug 58553) SECURITY: Return error on invalid XML for SVG Uploads |
| 18697 |
* (bug 58699) SECURITY: Fix RevDel log entry information leaks |
| 18698 |
|
| 18699 |
== MediaWiki 1.19.9 == |
| 18700 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18701 |
|
| 18702 |
=== Changes since 1.19.8 === |
| 18703 |
* (bug 53032) SECURITY: Don't cache when a call could autocreate |
| 18704 |
* (bug 55332) SECURITY: Improve css javascript detection |
| 18705 |
* (bug 49717) Fix behaviour $wgVerifyMimeType = false; in Upload |
| 18706 |
* Translations |
| 18707 |
|
| 18708 |
== MediaWiki 1.19.8 == |
| 18709 |
2013-09-03 |
| 18710 |
|
| 18711 |
This is a security and maintenance release of the MediaWiki 1.19 branch. |
| 18712 |
|
| 18713 |
=== Changes since 1.19.7 === |
| 18714 |
* SECURITY: Sanitize ResourceLoader exception messages |
| 18715 |
* SECURITY: Token-getting functions will fail when using jsonp callbacks. |
| 18716 |
* SECURITY: Fix extension detection with 2 .'s |
| 18717 |
* Allow a string other than '*' as condition for DatabaseBase::delete() |
| 18718 |
* Purge upstream caches when deleting file assets. |
| 18719 |
* jquery.tablesorter: Add missing dependency on jquery.mwExtension |
| 18720 |
|
| 18721 |
== MediaWiki 1.19.7 == |
| 18722 |
2013-05-21 |
| 18723 |
|
| 18724 |
This is a security release of the MediaWiki 1.19 branch |
| 18725 |
|
| 18726 |
=== Changes since 1.19.6 === |
| 18727 |
* (bug 48306) SECURITY: Run file validation checks on chunked uploads, and |
| 18728 |
chunks of upload, during the upload process. |
| 18729 |
|
| 18730 |
== MediaWiki 1.19.6 == |
| 18731 |
2013-04-30 |
| 18732 |
|
| 18733 |
This is a security and maintenance release of the MediaWiki 1.19 branch |
| 18734 |
|
| 18735 |
=== Changes since 1.19.5 === |
| 18736 |
* (bug 47304) SECURITY: Check SVG xml encoding against whitelist |
| 18737 |
* (bug 46590) Added AbortChangePassword hook to allow extensions to abort |
| 18738 |
password changes from Special:ChangePassword |
| 18739 |
* Localisation updates from http://translatewiki.net. |
| 18740 |
* mwdocgen.php: Implement --version option. |
| 18741 |
* Remove svnstat stuff used in Doxygen generation |
| 18742 |
* E_USER_DEPRECATED undefined prior to php 5.3 |
| 18743 |
|
| 18744 |
== MediaWiki 1.19.5 == |
| 18745 |
2013-04-15 |
| 18746 |
|
| 18747 |
This is a security and maintenance release of the MediaWiki 1.19 branch |
| 18748 |
|
| 18749 |
=== Changes since 1.19.4 === |
| 18750 |
* (bug 47251) SECURITY: Disable external entities in Import |
| 18751 |
* (bug 46859) SECURITY: Disable external entities in XMLReader |
| 18752 |
* (bug 46084) SECURITY: Sanitize $limitReport before outputting |
| 18753 |
* (bug 43594) Fix notices displayed on PHP 5.4 |
| 18754 |
* (bug 40585) Don't drop 'step="any"' in HTML input fields. |
| 18755 |
|
| 18756 |
== MediaWiki 1.19.4 == |
| 18757 |
2013-03-04 |
| 18758 |
|
| 18759 |
This is a security release of the MediaWiki 1.19 branch |
| 18760 |
|
| 18761 |
=== Changes since 1.19.3 === |
| 18762 |
* New preference type - 'api'. Preferences of this type are not shown on |
| 18763 |
Special:Preferences, but are still available via the action=options API. |
| 18764 |
* (bug 44010) Context is passed to UserGetLanguageObject. |
| 18765 |
* The recursion guard on RequestContext::getLanguage() was weakened. |
| 18766 |
* (bug 44135/bug 42441) Pass '2' instead of 'true' to CURLOPT_SSL_VERIFYHOST |
| 18767 |
* (bug 43518) API action=unblock should return the user name, not the full user |
| 18768 |
object |
| 18769 |
|
| 18770 |
== MediaWiki 1.19.3 == |
| 18771 |
2012-11-30 |
| 18772 |
|
| 18773 |
This is a security release of the MediaWiki 1.19 branch |
| 18774 |
|
| 18775 |
=== Changes since 1.19.2 === |
| 18776 |
* (bug 40995) Prevent session fixation in Special:UserLogin (CVE-2012-5391) |
| 18777 |
* (bug 41400) Prevent linker regex from exceeding PCRE backtrack limit |
| 18778 |
* Increase permitted runtime for testParserTest (only used for continuous |
| 18779 |
integration). |
| 18780 |
* Updated messages translations from http://translatewiki.net/ |
| 18781 |
|
| 18782 |
== MediaWiki 1.19.2 == |
| 18783 |
|
| 18784 |
This is a security release of the MediaWiki 1.19 branch |
| 18785 |
|
| 18786 |
=== Changes since 1.19.1 === |
| 18787 |
* (bug 39700) File: link to non-existing file can inject html |
| 18788 |
* (bug 39823) Hidden block text leaking to admins |
| 18789 |
* (bug 39184) LDAP password leakage |
| 18790 |
* (bug 39180) Disallow framing of api results |
| 18791 |
* (bug 37587) Enforce language codes to be html safe |
| 18792 |
* (bug 39824) Check global blocks on account creation |
| 18793 |
|
| 18794 |
== MediaWiki 1.19 == |
| 18795 |
|
| 18796 |
MediaWiki 1.19 is a large release that contains many new features and bug |
| 18797 |
fixes. This is a summary of the major changes of interest to users. |
| 18798 |
You can consult the RELEASE-NOTES-1.19 file for the full list of changes in |
| 18799 |
this version. |
| 18800 |
|
| 18801 |
Our thanks go to everyone who helped to improve MediaWiki by testing the beta |
| 18802 |
release and submitting bug reports. |
| 18803 |
|
| 18804 |
=== Changes since 1.19.1 === |
| 18805 |
* (bug 38406) Properly quote table names in DatabaseBase::tableName() |
| 18806 |
* (bug 38249) Parser will throw an exception instead of outputting gibberish if |
| 18807 |
PCRE is compiled without support for unicode properties. |
| 18808 |
|
| 18809 |
=== Changes since 1.19.0 === |
| 18810 |
* (bug 36568) Fixed "Illegal string offset 'LIMIT'" warnings in updater |
| 18811 |
* (bug 36938) Correctly escape uselang attribute to prevent xss |
| 18812 |
* Expanded Blacklist for SVG Files |
| 18813 |
|
| 18814 |
=== Changes since 1.19 beta 2 === |
| 18815 |
* Special:Watchlist no longer sets links to feed when the user is anonymous. |
| 18816 |
* (bug 35961) Hash comparison should always be strict. |
| 18817 |
* Fix broken email confirmation expiration caused by MWCryptRand changes. |
| 18818 |
* (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php |
| 18819 |
on line 598. |
| 18820 |
* (bug 36042) 'show' causes a fatal in blocks API. |
| 18821 |
|
| 18822 |
=== Changes since 1.19 beta 1 === |
| 18823 |
* (bug 35014) Including a special page no longer sets the page's title to the |
| 18824 |
included page |
| 18825 |
* (bug 35019) Edit summaries are no longer transformed in notification e-mails |
| 18826 |
* (bug 35152) Help message for e-mail is shown again in user preferences |
| 18827 |
* (bug 34887) $3 and $4 parameters are now substituted correctly in message |
| 18828 |
"movepage-moved" |
| 18829 |
* (bug 34841) Edit links are no longer displayed when display old page versions |
| 18830 |
* (bug 34889) User name should be normalized on Special:Contributions |
| 18831 |
* (bug 35051) If heading has a trailing space after == then its name is not |
| 18832 |
preloaded into edit summary on section edit |
| 18833 |
* (bug 31417) New ID mw-content-text around the actual page text, without |
| 18834 |
categories, contentSub, ... The same div often also contains the class |
| 18835 |
mw-content-ltr/rtl. |
| 18836 |
* (bug 35303) Proxy and DNS blacklist blocking works again |
| 18837 |
* (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in |
| 18838 |
core parser functions which operate on strings, such as padleft. |
| 18839 |
* (bug 18295) Don't expose strip markers when a tag appears inside a link |
| 18840 |
inside a heading. |
| 18841 |
* (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token |
| 18842 |
parameter present. |
| 18843 |
* (bug 34907) Fixed exposure of tokens through load.php that could have |
| 18844 |
facilitated CSRF attacks. |
| 18845 |
* (bug 35317) CSRF in Special:Upload. |
| 18846 |
|
| 18847 |
=== Configuration changes in 1.19 === |
| 18848 |
* Removed SkinTemplateSetupPageCss hook; use BeforePageDisplay instead. |
| 18849 |
* (bug 27132) movefile right granted by default to registered users. |
| 18850 |
* Default cookie lifetime ($wgCookieExpiration) is increased to 180 days. |
| 18851 |
* (bug 31204) Removed old user.user_options. |
| 18852 |
* $wgMaxImageArea now applies to jpeg files if they are not scaled with |
| 18853 |
ImageMagick. |
| 18854 |
* Introduced $wgQueryPageDefaultLimit (defaults to 50) for the number of |
| 18855 |
items to show by default on query pages (special pages such as Whatlinkshere). |
| 18856 |
* (bug 32470) Increase the length of ug_group. |
| 18857 |
* (bug 32239) Removed $wgEnableTooltipsAndAccesskeys. |
| 18858 |
* Removed $wgVectorShowVariantName. |
| 18859 |
* Removed $wgExtensionAliasesFiles. Use $wgExtensionMessagesFiles. |
| 18860 |
* Removed $wgResourceLoaderInlinePrivateModules , now always enabled. |
| 18861 |
|
| 18862 |
=== New features in 1.19 === |
| 18863 |
* (bug 19838) Add ability to get all interwiki prefixes also if the interwiki |
| 18864 |
cache is used. |
| 18865 |
* $wgDnsBlacklistUrls now accepts an array with url and key as the |
| 18866 |
elements to work with DNSBLs that require keys, such as |
| 18867 |
Project Honeypot. |
| 18868 |
* (bug 30022) Add support for custom loadScript sources to ResourceLoader. |
| 18869 |
* (bug 19052) Unicode space separator characters (Zs) now terminates external |
| 18870 |
links and images links. |
| 18871 |
* (bug 30160) Add public method to mw.loader to get module names from registry. |
| 18872 |
* (bug 15558) Parameters to special pages included in wikitext can now be passed |
| 18873 |
as with templates. |
| 18874 |
* Installer now issues a warning if mod_security is present. |
| 18875 |
* (bug 29455) Add support for a filter callback function in jQuery byteLimit |
| 18876 |
plugin. |
| 18877 |
* Added two new GetLocalURL hooks to better serve extensions working on a |
| 18878 |
limited type of titles. |
| 18879 |
* Added a --no-updates flag to importDump.php that skips updating the links |
| 18880 |
tables. |
| 18881 |
* Most presentational html attributes like valign are now converted to inline |
| 18882 |
css style rules. These attributes were removed from html5 and so we clean |
| 18883 |
them up when $wgHtml5 is enabled. This can be disabled using |
| 18884 |
$wgCleanupPresentationalAttributes. |
| 18885 |
* Magic words (time and number-formatting ones, plus DIRECTIONMARK, but not |
| 18886 |
NAMESPACE) now depend on the page content language instead of the site |
| 18887 |
language. In theory this sets the right magic words in system messages, |
| 18888 |
although they are not used there. |
| 18889 |
* (bug 30451) Add page_props to RefreshLinks::deleteLinksFromNonexistent. |
| 18890 |
* (bug 30450) Clear page_props table on page deletion. |
| 18891 |
* Hook added to check for exempt from account creation throttle. |
| 18892 |
* (bug 30344) Add configuration variable for setting custom priorities when |
| 18893 |
generating sitemaps. |
| 18894 |
* (bug 96170) Add array support for space-separated list attributes (like |
| 18895 |
'class') in the Html helper class. |
| 18896 |
* (bug 26470) Add checkered background image on hover on files pages. |
| 18897 |
* (bug 30774) mediawiki.html: Add support for numbers and booleans in the |
| 18898 |
attribute values and element contents. |
| 18899 |
* Conversion script between Tifinagh and Latin for the Tachelhit language. |
| 18900 |
* (bug 16755) Add options 'noreplace' and 'noerror' to {{DEFAULTSORT:...}} |
| 18901 |
to stop it from replace an already existing default sort, and suppress error. |
| 18902 |
* (bug 18578) Rewrote revision delete related messages to allow better |
| 18903 |
localisation. |
| 18904 |
* (bug 30364) LanguageConverter now depends on the page content language |
| 18905 |
instead of the wiki content language. |
| 18906 |
* Jump links will now be usable in CSS-capable browsers instead of only |
| 18907 |
in outdated text browsers. |
| 18908 |
* New common*.css files usable by skins instead of having to copy piles |
| 18909 |
of generic styles from MonoBook or Vector's css. |
| 18910 |
* Some deprecated presentational html attributes will now be automatically |
| 18911 |
converted to css. |
| 18912 |
* (bug 31297) Add support for namespaces in Special:RecentChanges subpage filter |
| 18913 |
syntax. |
| 18914 |
* The default user signature now contains a talk link in addition to the user |
| 18915 |
link. |
| 18916 |
* (bug 25306) Add link of old page title to MediaWiki:Delete_and_move_reason. |
| 18917 |
* Added hook BitmapHandlerCheckImageArea. |
| 18918 |
* (bug 30062) Add $wgDBprefix option to cli installer. |
| 18919 |
* getUserPermissionsErrors and getUserPermissionsErrorsExpensive hooks are now |
| 18920 |
also called when checking for 'read' permission. |
| 18921 |
* Introduce $wgEnableSearchContributorsByIP which controls whether searching |
| 18922 |
for an IP address redirects to the contributions list for that IP. |
| 18923 |
* (bug 8859) Database::update should take array of tables too. |
| 18924 |
* (bug 19698) Add "Inverse namespaces" option to Special:Contributions. |
| 18925 |
* (bug 24037) Add byte length of revision to Special:Contributions. |
| 18926 |
* (bug 1672) Added $wgDisableUploadScriptChecks to allow uploading of files |
| 18927 |
containing HTML or JS. DISABLING THESE CHECKS IS VERY DANGEROUS. |
| 18928 |
* New path mappings can be added using the WebRequestPathInfoRouter hook |
| 18929 |
and adding paths to the PathRouter. |
| 18930 |
* (bug 32666) Special:ActiveUsers now allows a subpage to be used as value for |
| 18931 |
the "target" query parameter (eg. Special:ActiveUsers/Username). |
| 18932 |
* New JavaScript variable wgPageContentLanguage. |
| 18933 |
* Added new debugging toolbar, enabled with $wgDebugToolbar. |
| 18934 |
* Differences in the history page now uses slightly better colors for people |
| 18935 |
perceiving colors differently. |
| 18936 |
* (bug 32879) Upgrade jQuery to 1.7.1. |
| 18937 |
* jQuery UI upgraded to 1.8.17. |
| 18938 |
* Extensions can use the 'Language::getMessagesFileName' hook to define new |
| 18939 |
languages using messages files outside of core. |
| 18940 |
* (bug 32512) Add 'Associated namespace' checkbox to Special:Contributions. |
| 18941 |
* Added $wgSend404Code, true by default, which can be set to false to send a |
| 18942 |
200 status code instead of 404 for nonexistent articles. |
| 18943 |
* (bug 33447) Link to the broken image tracking category from |
| 18944 |
Special:Wantedfiles. |
| 18945 |
* (bug 27724) Add timestamp to job queue. |
| 18946 |
* (bug 30339) Implement SpecialPage for running javascript tests. Disabled by |
| 18947 |
default, due to tests potentially being harmful, not to be run on a production |
| 18948 |
wiki. Enable by setting $wgEnableJavaScriptTest to true. |
| 18949 |
* Extensions can use the RequestContextCreateSkin hook to override what skin is |
| 18950 |
loaded in some contexts. |
| 18951 |
* (bug 33456) Show $wgQueryCacheLimit on cached query pages. |
| 18952 |
* (bug 10574) Add an option to allow all pages to be exported by Special:Export. |
| 18953 |
* mediawiki.js Message object constructor is now publicly available as |
| 18954 |
mw.Message. |
| 18955 |
* (bug 29309) Allow CSS class per tooltip (tipsy). |
| 18956 |
* (bug 33565) Add accesskey/tooltip to submit buttons on Special:EditWatchlist. |
| 18957 |
* (bug 17959) Inline rendering/thumbnailing for Gimp XCF images. |
| 18958 |
* (bug 27775) Namespace has it's own XML tag in the XML dump file. |
| 18959 |
* (bug 30513) Redirect tag is now resolved in XML dump file. |
| 18960 |
* sha1 xml tag added to XML dump file. |
| 18961 |
* (bug 33646) Badtitle error page now emits a 400 HTTP status. |
| 18962 |
* Special:MovePage now has a dropdown menu for namespaces. |
| 18963 |
* (bug 34420) Special:Version now shows git HEAD sha1 when available. |
| 18964 |
* (bug 33952) Refactor mw.toolbar to allow dynamic additions at any time. |
| 18965 |
|
| 18966 |
=== Bug fixes in 1.19 === |
| 18967 |
* $wgUploadNavigationUrl should be used for file redlinks if. |
| 18968 |
$wgUploadMissingFileUrl is not set. The first was used for this |
| 18969 |
until the second was introduced in 1.17. |
| 18970 |
* BREAKING CHANGE: Style rules for wikitable are now more specific and prevent |
| 18971 |
inheritance to nested tables which caused various issues (bug 30485 and bug |
| 18972 |
33434). If your wiki has overridden rules for ".wikitable", please revise them |
| 18973 |
and adjust where necessary. For comparison, use the "table.wikitable" section |
| 18974 |
in skins/common/shared.css as base. |
| 18975 |
* $wgUploadNavigationUrl is now used for file redlinks if |
| 18976 |
$wgUploadMissingFileUrl is not set. The former was used for this until the |
| 18977 |
second was introduced in 1.17. |
| 18978 |
* (bug 27894) Move 'editondblclick' event listener down from body to |
| 18979 |
div#bodyContent. |
| 18980 |
* (bug 30172) The check for posix_isatty() in maintenance scripts did not detect |
| 18981 |
when the function exists but is disabled. Introduced |
| 18982 |
Maintenance::posix_isatty(). |
| 18983 |
* (bug 30264) Changed installer-generated LocalSettings.php to use |
| 18984 |
require_once() instead require() for included extensions. |
| 18985 |
* Do not convert text in the user interface language to another script. |
| 18986 |
* (bug 26283) Previewing user JS/CSS pages didn't load other user JS/CSS pages. |
| 18987 |
* (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP |
| 18988 |
warnings/notices to be thrown. |
| 18989 |
* (bug 30335) Fix for HTMLForms using GET that were breaking when non-friendly |
| 18990 |
URLs are used. |
| 18991 |
* (bug 28649) Preventing half truncated multi-byte unicode characters when |
| 18992 |
truncating log comments. |
| 18993 |
* Show --batch-size option in help of maintenance scripts that support it. |
| 18994 |
* (bug 4381) Magic quotes cleaning was not comprehensive, key strings were not |
| 18995 |
unescaped. |
| 18996 |
* (bug 23057) Importers no longer can 'edit' or 'create' a fully-protected page |
| 18997 |
by importing a new revision into it. |
| 18998 |
* Allow moving the associated talk pages of subpages even if the base page |
| 18999 |
has no subpage. |
| 19000 |
* Per page edit-notices now work in namespaces without subpages enabled. |
| 19001 |
* (bug 31081) $wgEnotifUseJobQ is no longer unconditionally enqueueing jobs. |
| 19002 |
* (bug 30202) File names are now restricted on upload to 240 bytes, because of |
| 19003 |
restrictions on some of the database fields. |
| 19004 |
* Timezones are now recognised in user preferences when offset is different |
| 19005 |
due to DST. |
| 19006 |
* (bug 31692) "summary" parameter now also works when undoing revisions. |
| 19007 |
* (bug 18823) "move succeeded" text displayed bluelinks even when redirect was |
| 19008 |
suppressed. |
| 19009 |
* (bug 19186) Special:UserLogin's title on Special:SpecialPages now says |
| 19010 |
"create account" when the user cannot create an account. |
| 19011 |
* (bug 31818) 'usercreated' message now supports GENDER. |
| 19012 |
* (bug 32022) Our phpunit.php script can now be executed from another directory. |
| 19013 |
* (bug 26020) Setting $wgEmailConfirmToEdit to true no longer removes diffs |
| 19014 |
from recent changes feeds. |
| 19015 |
* (bug 30232) add current time to message wlnote on Special:Watchlist. |
| 19016 |
* (bug 29110) $wgFeedDiffCutoff did not affect new pages. |
| 19017 |
* (bug 32168) Add wfRemoveDotSegments for use in wfExpandUrl. |
| 19018 |
* (bug 32358) Do not display "No higher resolution available" for dimensionless |
| 19019 |
files (like audio files). |
| 19020 |
* (bug 32168) Add wfAssembleUrl for use in wfExpandUrl. |
| 19021 |
* (bug 32168) fixed - wfExpandUrl expands dot segments now. |
| 19022 |
* (bug 31535) Upload comments now truncated properly, and don't have brackets. |
| 19023 |
* (bug 32086) Special:PermanentLink now shows an error message when no subpage |
| 19024 |
was specified. |
| 19025 |
* (bug 30368) Special:Newpages now shows the new page name for moved pages. |
| 19026 |
* (bug 1697) The way to search blocked usernames in block log should be clearer. |
| 19027 |
* (bug 29747) eAccelerator shared memory caching has been removed since it is |
| 19028 |
now disabled by default and is buggy. APC, XCache and WinCache are not |
| 19029 |
affected. |
| 19030 |
* Installer now refuses to install if php was not compiled with Ctype support. |
| 19031 |
* (bug 29475) Remove "trackback" feature entirely from core. |
| 19032 |
* (bug 32665) Special:BlockList prefills the username in the input field if |
| 19033 |
using the Special:BlockList/username URL. |
| 19034 |
* (bug 27721) Make JavaScript variables wgSeparatorTransformTable and |
| 19035 |
wgDigitTransformTable depend on page content language so the sort script |
| 19036 |
sorts correctly more often. |
| 19037 |
* (bug 32230) Expose wgRedirectedFrom in JavaScript. |
| 19038 |
* (bug 31212) History tab not collapsed when the screen is narrow. |
| 19039 |
* (bug 15521) Use new section summary when the action of adding a new section |
| 19040 |
also happens to create the page. |
| 19041 |
* (bug 32960) Remove EmailAuthenticationTimestamp from database when a |
| 19042 |
email address is removed. |
| 19043 |
* (bug 32414) Empty page get a empty bytes attribute in Export/Dump. |
| 19044 |
* (bug 33101) Viewing a User or User talk of username resembling IP ending |
| 19045 |
with .xxx causes Internal error. |
| 19046 |
* Warning about undefined index in certain situations when $wgLogRestrictions |
| 19047 |
causes the first log type requested to be removed but not the others. |
| 19048 |
* Use separate message ('prefixindex-namespace') for title of |
| 19049 |
Special:PrefixIndex rather then re-using Special:AllPages's allinnamespace. |
| 19050 |
* (bug 33156) Special:Block now allows you to confirm you want to block yourself |
| 19051 |
when using non-normalized username. |
| 19052 |
* (bug 33246) News icon shown for news:// URLs but not for news: URLs. |
| 19053 |
* (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting |
| 19054 |
cssText after DOM insertion. |
| 19055 |
* (bug 30711) When adding a new section to a page with section=new, the text is |
| 19056 |
now always added to the current version of the page. |
| 19057 |
* (bug 31719) Fix uploads of SVGs exported by Adobe Illustrator by expanding |
| 19058 |
XML entities correctly. |
| 19059 |
* (bug 30914) Embeddable ResourceLoader modules (user.options, user.tokens) |
| 19060 |
should be loaded in <head> for proper dependency resolution. |
| 19061 |
* (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded |
| 19062 |
for backward compatibility. |
| 19063 |
* (bug 31469) Make sure tracking category messages expand variables like |
| 19064 |
{{NAMESPACE}} relative to correct title. |
| 19065 |
* (bug 33454) ISO-8601 week-based year number (format character 'o') is now |
| 19066 |
calculated correctly with respect to timezone. |
| 19067 |
* (bug 32219) InstantCommons now fetches content from Wikimedia Commons using |
| 19068 |
HTTPS when the local wiki is served over HTTPS. |
| 19069 |
* (bug 33525) clearTagHooks doesn't clear function hooks. |
| 19070 |
* (bug 33523) Function tag hooks don't appear on Special:Version. |
| 19071 |
* Files with IPTC blocks we can't read no longer prevent extraction of exif |
| 19072 |
or other metadata. |
| 19073 |
* (bug 33587) Remove action "historysubmit" from history pages. |
| 19074 |
* (bug 25800) mw.config wgAction should contain the actually performed action |
| 19075 |
instead of whatever the query value contains. |
| 19076 |
* (bug 4438) Add CSS hook for current WikiPage action. |
| 19077 |
* (bug 33703) Common border-bottom color for <abbr> should inherit default |
| 19078 |
(text) color. |
| 19079 |
* (bug 33819) Display file sizes in appropriate units. |
| 19080 |
* (bug 32948) {{REVISIONID}} and related variables are no longer blank after |
| 19081 |
doing a null edit. |
| 19082 |
* (bug 33880) $wgUsersNotifiedOnAllChanges should not send e-mail to user who |
| 19083 |
made the edit. |
| 19084 |
* (bug 33902) Decoding %2B with mw.Uri.decode results in ' ' instead of +. |
| 19085 |
* (bug 33762) QueryPage-based special pages no longer misses *-summary message. |
| 19086 |
* Other sizes links are no longer generated for wikis without a 404 thumbnail |
| 19087 |
handler. |
| 19088 |
* (bug 29454) Enforce byteLimit for page title input on Special:MovePage. |
| 19089 |
* (bug 34114) CSSMin::remap() doesn't respect its $embed parameter. |
| 19090 |
* Special:Contributions/newbies now shows the contributions for the user |
| 19091 |
"newbies". New user contributions are obtained using the form or using |
| 19092 |
?contribs=newbie in URL. |
| 19093 |
* It is now possible to delete images that have no corresponding description |
| 19094 |
pages. |
| 19095 |
* (bug 33165) GlobalFunctions.php line 1312: Call to a member function |
| 19096 |
getText() on a non-object. |
| 19097 |
* (bug 31676) Group dynamically inserted CSS into a single <style> tag, to work |
| 19098 |
around a bug where not all styles were applied in Internet Explorer. |
| 19099 |
* (bug 28936, bug 5280) Broken or invalid titles can't be removed from |
| 19100 |
watchlist. |
| 19101 |
* (bug 34600) Older skins using useHeadElement=false were broken in 1.18. |
| 19102 |
* (bug 34604) [mw.config] wgActionPaths should be an object instead of a numeral |
| 19103 |
array. |
| 19104 |
* (bug 12262) Indents and lists are now aligned |
| 19105 |
* (bug 29753) mw.util.tooltipAccessKeyPrefix should be alt-shift for Chrome |
| 19106 |
on Windows |
| 19107 |
* (bug 25095) Special:Categories should also include the first relevant item |
| 19108 |
when "from" is filled. |
| 19109 |
* (bug 34972) An error occurred while changing your watchlist settings for |
| 19110 |
[[Special:WhatLinksHere/Example]] |
| 19111 |
|
| 19112 |
=== API changes in 1.19 === |
| 19113 |
* Made action=edit less likely to return "unknownerror", by returning the actual |
| 19114 |
error message (which may have come from a hook call or similar). |
| 19115 |
* (bug 19838) siprop=interwikimap can now use the interwiki cache. |
| 19116 |
* (bug 29748) Add API search prefix support. |
| 19117 |
* (bug 29684) Set forgotten parameter types in ApiQueryIWLinks. |
| 19118 |
* (bug 29685) do not output NULL parentid with list=deletedrevs&drprop=parentid. |
| 19119 |
* siprop=interwikimap and siprop=languages can use silanguagecode to have |
| 19120 |
a best effort language name translation. Use CLDR extension for best result. |
| 19121 |
* (bug 30230) action=expandtemplates should not silently override invalid title |
| 19122 |
inputs. |
| 19123 |
* (bug 18634) Create API to fetch MediaWiki's language fallback tree structure. |
| 19124 |
* (bug 26885) Allow show/hide of account blocks, temporary blocks and single IP |
| 19125 |
address blocks for list=blocks. |
| 19126 |
* (bug 30591) Add support to only return keys in ApiAllMessages. |
| 19127 |
* The API now respects $wgShowHostnames and won't share the hostname in |
| 19128 |
servedby if it's set to false. |
| 19129 |
* wlexcludeuser parameter added to ApiFeedWatchlist. |
| 19130 |
* (bug 7304) Links on redirect pages no longer cause the redirect page to show |
| 19131 |
up as a redirect to the linked page on Special:Whatlinkshere. |
| 19132 |
* (bug 32609) API: Move captchaid/captchaword of action=edit from core |
| 19133 |
to Captcha extension(s). |
| 19134 |
* Added 'APIGetDescription' hook. |
| 19135 |
* (bug 32688) Paraminfo for parameter "generator" of the query module shows too |
| 19136 |
many types. |
| 19137 |
* (bug 32415) Empty page get no size attribute in API output. |
| 19138 |
* (bug 31759) Undefined property notice in querypages API. |
| 19139 |
* (bug 32495) API should allow purge by pageids. |
| 19140 |
* (bug 33147) API examples should explain what they do. |
| 19141 |
* (bug 33482) Api incorrectly calls ApiBase::parseMultiValue if allowed |
| 19142 |
values is given as an array. |
| 19143 |
* (bug 32948) {{REVISIONID}} and related variables are no longer blank after |
| 19144 |
calling action=purge&forcelinkupdate. |
| 19145 |
* (bug 34377) action=watch now parses messages using the correct title instead |
| 19146 |
of "API". |
| 19147 |
* (bug 35036) WikiLove messages were not automatically updated in JavaScript |
| 19148 |
after having been changed on-wiki due to a bug in core |
| 19149 |
|
| 19150 |
=== Languages updated in 1.19 === |
| 19151 |
|
| 19152 |
MediaWiki supports over 350 languages. Many localisations are updated |
| 19153 |
regularly. Below only new and removed languages are listed, as well as |
| 19154 |
changes to languages because of Bugzilla reports. |
| 19155 |
|
| 19156 |
* Canadian English (en-ca) (new). |
| 19157 |
* Norwegian (bokmål) (nb) (renamed from no). |
| 19158 |
* Uighur (Latin) (ug-latn) was incorrectly marked as right-to-left language. |
| 19159 |
* (bug 30217) Make pt-br a fallback of pt. |
| 19160 |
* (bug 31193) Set fallback language of Assamese from Bengali to English. |
| 19161 |
* Update date format for dsb and hsb: month names need the genitive. |
| 19162 |
* (bug 28643) Serbian variant conversion improvements (Nikola Smolenski). |
| 19163 |
* (bug 29405, bug 30809) Lower diacritics are invisible in titles in Indic |
| 19164 |
languages Assamese, Bengali, Hindi, Malyalam and Odiya. |
| 19165 |
* (bug 32826) Titles in indic languages are partially cut. |
| 19166 |
* (bug 33367) Gendered namespaces for Czech. |
| 19167 |
* (bug 33014) Language::formatSize()/formatBitrate() should be able to deal |
| 19168 |
with larger numbers (tera-yotta). |
| 19169 |
|
| 19170 |
=== Other changes in 1.19 === |
| 19171 |
* BREAKING CHANGE: Legacy global array 'ta' and global function 'akeytt' have |
| 19172 |
been removed from wikibits.js. |
| 19173 |
* jquery.mwPrototypes module was renamed to jquery.mwExtension. |
| 19174 |
* The maintenance script populateSha1.php was renamed to the more concise |
| 19175 |
populateImageSha1.php. |
| 19176 |
* The Client-IP header is no longer checked for when trying to resolve a |
| 19177 |
client's real IP address. |
| 19178 |
* (bug 22096) Although IE5.x and below was already unsupported officially, |
| 19179 |
stylesheets existing exclusively for IE5.0 and IE5.5 have now been removed |
| 19180 |
(which were in skins 'chick' and 'monobook'). |
| 19181 |
* The constructor for CategoryView has changed, the second parameter is now a |
| 19182 |
Context source and is required. |
| 19183 |
* The Title::escape{Local,Full,Canonical}URL methods are deprecated, please use |
| 19184 |
proper html building methods to escape the normal get{...}URL methods instead. |
| 19185 |
* The $variant arguments in the Title::get{Local,Full,Link,Canonical}URL methods |
| 19186 |
have been replaced with a secondary query argument. |
| 19187 |
* The $variant argument in the hooks for the |
| 19188 |
Title::get{Local,Full,Link,Canonical}URL methods have been removed, the |
| 19189 |
variant is now part of the $query argument. |
| 19190 |
* Removed Title::isValidCssJsSubpage(), deprecated since 1.17 in favor of |
| 19191 |
using Title::isCssJsSubpage() or checking Title::isWrongCaseCssJsPage(). |
| 19192 |
* Support for the deprecated hook MagicWordMagicWords was removed. |
| 19193 |
* The Xml::namespaceSelector method has been deprecated, please use |
| 19194 |
Html::namespaceSelector instead (note that the parameters have changed also). |
| 19195 |
* (bug 33746) Preload popular ResourceLoader modules (mediawiki.util) as |
| 19196 |
stop-gap for scripts missing dependencies. |
| 19197 |
New configuration variable $wgPreloadJavaScriptMwUtil has been introduced for |
| 19198 |
this (set to false by default for new installations). Set to true if your wiki |
| 19199 |
has a large amount of user/site scripts that are lacking dependency |
| 19200 |
information. In the short to medium term these user/site scripts should be |
| 19201 |
fixed by adding the used modules to the dependencies in the module registry |
| 19202 |
and/or wrapping them in a callback to mw.loader.using. |
| 19203 |
|
| 19204 |
== MediaWiki 1.18 == |
| 19205 |
|
| 19206 |
== MediaWiki 1.18.6 == |
| 19207 |
2012-11-29 |
| 19208 |
|
| 19209 |
This is a maintenance and security release of the MediaWiki 1.18 branch |
| 19210 |
|
| 19211 |
=== Changes since 1.18.5 === |
| 19212 |
* ([[bugzilla:40995|bug 40995]]) Prevent session fixation in Special:UserLogin |
| 19213 |
(CVE-2012-5391) |
| 19214 |
* ([[bugzilla:41400|bug 41400]]) Prevent linker regex from exceeding PCRE |
| 19215 |
backtrack limit |
| 19216 |
* Localisation updates |
| 19217 |
* Increase permitted runtime for testParserTest |
| 19218 |
* ([[bugzilla:36179|bug 36179]]) Unquote 'null' for PostgreSQL. |
| 19219 |
|
| 19220 |
== MediaWiki 1.18.5 == |
| 19221 |
2012-08-30 |
| 19222 |
|
| 19223 |
This is a security release of the MediaWiki 1.18 branch |
| 19224 |
|
| 19225 |
=== Changes since 1.18.4 === |
| 19226 |
* (bug 39700) File: link to non-existing file can inject html |
| 19227 |
* (bug 39823) Hidden block text leaking to admins |
| 19228 |
* (bug 39184) LDAP password leakage |
| 19229 |
* (bug 39180) Disallow framing of api results |
| 19230 |
* (bug 37587) Enforce language codes to be html safe |
| 19231 |
* (bug 39824) Check global blocks on account creation |
| 19232 |
|
| 19233 |
== MediaWiki 1.18.4 == |
| 19234 |
2012-06-12 |
| 19235 |
|
| 19236 |
This is a security release of the MediaWiki 1.18 branch. |
| 19237 |
|
| 19238 |
=== Changes since 1.18.3 === |
| 19239 |
* (bug 36938) Correctly escape uselang attribute to prevent xss |
| 19240 |
* Expanded Blacklist for SVG Files |
| 19241 |
|
| 19242 |
== MediaWiki 1.18.3 == |
| 19243 |
2012-04-25 |
| 19244 |
|
| 19245 |
This is a maintenance release of the MediaWiki 1.18 branch. |
| 19246 |
|
| 19247 |
=== Changes since 1.18.2 === |
| 19248 |
* (bug 35446) Using "{{nse:}}" with an invalid namespace name no longer throws |
| 19249 |
a PHP warning. |
| 19250 |
* (bug 35567) The whole password reminder e-mail is now sent in the same |
| 19251 |
language. |
| 19252 |
* (bug 35961) Hash comparison should always be strict. |
| 19253 |
* (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php |
| 19254 |
on line 598. |
| 19255 |
* Fix broken email confirmation expiration caused by MWCryptRand changes. |
| 19256 |
|
| 19257 |
== MediaWiki 1.18.2 == |
| 19258 |
2012-03-21 |
| 19259 |
|
| 19260 |
This is a maintenance and security release of the MediaWiki 1.18 branch. |
| 19261 |
|
| 19262 |
=== Changes since 1.18.1 === |
| 19263 |
* (bug 33686) could not get a list of contributors for an article when using |
| 19264 |
a SQLite database. |
| 19265 |
* (Bug 33865) Exception thrown in action=parse when attempting to use the title |
| 19266 |
parameter without setting the text parameter. |
| 19267 |
* UserMailer could potentially throw a fatal error when a MailAddress object had |
| 19268 |
an empty email address. |
| 19269 |
* (Bug 33087) Exchange server rejected mail sent by MediaWiki |
| 19270 |
* (bug 34528) Edit section tooltips show correction section name again |
| 19271 |
* (bug 34246) MediaWiki:Whatlinkshere-summary message is displayed again in |
| 19272 |
Special:Whatlinkshere |
| 19273 |
* (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in |
| 19274 |
core parser functions which operate on strings, such as formatnum. |
| 19275 |
* (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token |
| 19276 |
parameter present. |
| 19277 |
* (bug 34907) Fixed exposure of tokens through load.php that could have |
| 19278 |
facilitated CSRF attacks. |
| 19279 |
* (bug 35317) CSRF in Special:Upload. |
| 19280 |
|
| 19281 |
== MediaWiki 1.18.1 == |
| 19282 |
2012-01-11 |
| 19283 |
|
| 19284 |
This a maintenance and security release of the MediaWiki 1.18 branch. |
| 19285 |
|
| 19286 |
=== Changes since 1.18.0 === |
| 19287 |
* (bug 32712) Fix for search indexing of pages with certain unicode chars |
| 19288 |
following URL. |
| 19289 |
* (bug 3901) Lang, hreflang attribs added to sidebar interlanguage links for |
| 19290 |
screen readers. |
| 19291 |
* (bug 30774) mediawiki.html: Add support for numbers and booleans in the |
| 19292 |
attribute values and element contents. |
| 19293 |
* (bug 32473) [[Special:PasswordReset]] can not be used on private wiki. |
| 19294 |
* (bug 32853) Fixed CACHE_DBA object cache type. |
| 19295 |
* (bug 32786) Backward compatibility for extension using 1.17's |
| 19296 |
Database::newFromType(). |
| 19297 |
* Fixed exception when using Special:WhatLinksHere on a Media: file. |
| 19298 |
* (bug 32709) Private Wiki users were always taken to Special:Badtitle on login. |
| 19299 |
* (bug 33240) Sort images are missing but referenced in css. |
| 19300 |
* (bug 31921) Magic words REVISIONDAY, REVISIONMONTH and REVISIONYEAR were |
| 19301 |
not showing their values on preview. |
| 19302 |
* (bug 32702) Removed method Skin::makeGlobalVariablesScript() has been readded |
| 19303 |
for backward compatibility. |
| 19304 |
* (bug 30172) The check for posix_isatty() in maintenance scripts did not detect |
| 19305 |
when the function exists but is disabled. Introduced |
| 19306 |
Maintenance::posix_isatty(). |
| 19307 |
* (bug 33305) Make mw.util.addCSS resistant to IE's @font-face bug by setting |
| 19308 |
cssText after DOM insertion. |
| 19309 |
* (bug 29102) Upgrades no longer fail with the error "Unknown character set: |
| 19310 |
'mysql4'. |
| 19311 |
* (bug 25355) Parser generates edit section links for special pages. |
| 19312 |
* (bug 33321) Adding a line to MediaWiki:Sidebar that contains a pipe, but |
| 19313 |
doesn't have any pipes after being transformed by MessageCache, causes |
| 19314 |
exception on all pages. |
| 19315 |
* Fixed recentchanges FK violation on page delete and cache purge error in |
| 19316 |
updater for Oracle DB. |
| 19317 |
* (bug 33117) prop=revisions allows deleted text to be exposed through cache |
| 19318 |
pollution. |
| 19319 |
|
| 19320 |
== MediaWiki 1.18.0 == |
| 19321 |
2011-11-24 |
| 19322 |
|
| 19323 |
This is the first stable release of the MediaWiki 1.18 branch. |
| 19324 |
|
| 19325 |
=== Summary of selected changes in 1.18 === |
| 19326 |
|
| 19327 |
Selected changes since MediaWiki 1.17 that may be of interest: |
| 19328 |
|
| 19329 |
* Some of the more commonly used MediaWiki extensions are now included in the |
| 19330 |
release tarball. These extensions are ConfirmEdit, Gadgets, Nuke, |
| 19331 |
ParserFunctions, Renameuser, Vector and WikiEditor. |
| 19332 |
|
| 19333 |
* Gender support has been improved, meaning user pages can display the correct |
| 19334 |
gender variant of "User" can now be used. |
| 19335 |
|
| 19336 |
* MediaWiki can now detect the camera orientation of an image from the Exif |
| 19337 |
metadata, and can rotate the image thumbnail appropriately. Metadata support |
| 19338 |
has been generally improved, and can now extract IPTC and XMP metadata. |
| 19339 |
|
| 19340 |
* Improved directionality support in 1.18 means that MediaWiki is better to use |
| 19341 |
for RTL users. |
| 19342 |
|
| 19343 |
* MediaWiki now supports protocol - relative URLs in links, interwiki targets |
| 19344 |
and $wgServer |
| 19345 |
|
| 19346 |
* Math support has been removed from core |
| 19347 |
|
| 19348 |
=== Changes since 1.18.0rc1 === |
| 19349 |
* (bug 32228) regression in Special:Search which did not conserve profile on |
| 19350 |
new search |
| 19351 |
* (bug 32460) Categories were improperly aligned in Simple and CologneBlue |
| 19352 |
* (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets |
| 19353 |
* (bug 32582) Fix TOC show/hide link regression on IE 8 |
| 19354 |
|
| 19355 |
=== Changes since 1.18 beta 1 === |
| 19356 |
* (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18 |
| 19357 |
deployment. |
| 19358 |
* (bug 32051) Fix description for wlprop=sizes. |
| 19359 |
* (bug 31913) Special:MostLinkedTemplates had an incorrect GROUP BY clause |
| 19360 |
under Microsoft SQL. |
| 19361 |
* (bug 32100) installer complains about suhosin GET limit. |
| 19362 |
* (bug 31933) fix 1.18 regression in Monobook sidebar: huge spacing between |
| 19363 |
portlets on IE 7 and IE 8/9 in compatibility view. |
| 19364 |
* (bug 32126) Fix 1.18 regression in watchlist editor when items already removed |
| 19365 |
from watchlist. |
| 19366 |
* (bug 32183) remove the client-* classes added from user-agent-sniffing onto |
| 19367 |
the <html> element. |
| 19368 |
* (bug 29912) Unit tests break if parsertest tables are still present. |
| 19369 |
* (bug 31694) During installation, tabbing order (cursor focus) goes to logo |
| 19370 |
instead of 'continue'. |
| 19371 |
* (bug 29102) Upgrade fails "Unknown character set: 'mysql4". |
| 19372 |
* (bug 31990) justify paragraphs pref adds extra space to category listing. |
| 19373 |
* (bug 20148) Better title for [[Special:Disambiguations]] page. |
| 19374 |
* (bug 31502) TOC is missing on Special:EditWatchlist. |
| 19375 |
* (bug 32256) API list=search stops at first invalid result. |
| 19376 |
* (bug 32047) jquery.tablesorter.js: thead is before caption. |
| 19377 |
* (bug 29854) Store protocol-relative links twice in the externallinks table, |
| 19378 |
one with http: in el_index and once with https. |
| 19379 |
* (bug 31822) Error during upgrade due to output buffer reset in stdout. |
| 19380 |
|
| 19381 |
=== Configuration changes in 1.18 === |
| 19382 |
* The WantedPages::getSQL hook has been removed and replaced with |
| 19383 |
WantedPages::getQueryInfo. This may break older extensions. |
| 19384 |
* The SkinTemplateBuildContentActionUrlsAfterSpecialPage, |
| 19385 |
SkinTemplateContentActions and SkinTemplateTabs hooks have been removed in |
| 19386 |
favor of SkinTemplateNavigation and SkinTemplateNavigation::SpecialPage. |
| 19387 |
* $wgUseCombinedLoginLink controls whether to output a combined |
| 19388 |
login / create account link in the personal bar, or to output separate login |
| 19389 |
and create account links. |
| 19390 |
* Skin names are no longer created based on a ucfirst version of the key in |
| 19391 |
$wgValidSkinNames but now the value. This means for |
| 19392 |
$wgValidSkinNames["monobook"] = "MonoBook"; the skin loader will no longer try |
| 19393 |
loading SkinMonobook and will instead load SkinMonoBook. |
| 19394 |
* $wgMaxUploadSize may now be set to an array to specify the upload size limit |
| 19395 |
per upload type. |
| 19396 |
* $wgAPICacheHelp added in 1.16 is now removed. To disable API help caching, set |
| 19397 |
$wgAPICacheHelpTimeout = 0; |
| 19398 |
* OutputPage::isUserJsAllowed() no longer returns false when scripts are allowed |
| 19399 |
by the page, but $wgAllowUserJs is set to false. |
| 19400 |
* Pure "Skin" class based custom skins are no longer supported, all custom skins |
| 19401 |
should be put together using SkinTemplate and BaseTemplate or QuickTemplate. |
| 19402 |
* The transliteration for passwords in case they were migrated from an old |
| 19403 |
Latin-1 install (previous to MediaWiki 1.5) is now only done for wikis with |
| 19404 |
$wgLegacyEncoding set. |
| 19405 |
* (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an SVG we |
| 19406 |
look at when finding metadata to prevent excessive resource usage. |
| 19407 |
* $wgSysopUserBans and $wgSysopRangeBans (deprecated in 1.17) are now removed. |
| 19408 |
Use $wgBlockCIDRLimit = array( 'IPv4' => 43, 'IPv6' => 128 ) to achieve the |
| 19409 |
same functionality as $wgSysopRangeBans; you can use the BlockIp hook to |
| 19410 |
replicate $wgSysopUserBans functionality. |
| 19411 |
* The options on the block form have been standardised such that checking a box |
| 19412 |
makes the block 'more serious'; so while "check to prevent account creation" |
| 19413 |
and "check to enable autoblock" remain the same, "check to allow user-talk |
| 19414 |
edit" is reversed to "check to *disable* user-talk edit", and "check to block |
| 19415 |
anon-only" becomes "check to block logged-in users too". The default settings |
| 19416 |
remain the same. |
| 19417 |
* Most of the field names on the Special:Block form have been changed, which |
| 19418 |
will probably break screen-scraping bots. |
| 19419 |
* (bug 26866) The 'trackback' right is no longer granted to sysops by default. |
| 19420 |
$wgUseTrackbacks is already false by default. |
| 19421 |
* (bug 17009) the hiddenStructure CSS class, a highly hackish way of at least |
| 19422 |
*appearing* to hide article elements, has been removed. Use the |
| 19423 |
ParserFunctions extension to actually remove unwanted elements from the |
| 19424 |
output. |
| 19425 |
* (bug 14202) $wgUseTeX has been superseded by the Math extension. To re-enable |
| 19426 |
math conversion after upgrading, obtain the Math extension from SVN or from |
| 19427 |
https://www.mediawiki.org/wiki/Extension:Math and add to LocalSettings.php: |
| 19428 |
require_once "$IP/extensions/Math/Math.php"; |
| 19429 |
* $wgProfiler is now a configuration array, see StartProfiler.sample for |
| 19430 |
details. |
| 19431 |
* $wgProfiling has been removed. |
| 19432 |
* The spyc library is now no longer included in phase3. |
| 19433 |
* (bug 28343) Unused preferences contextlines/contextchars have been removed |
| 19434 |
* $wgSkinExtensionFunctions has been removed. Use $wgExtensionFunctions instead. |
| 19435 |
* $wgProto has been removed. You now only need to set $wgServer to change the |
| 19436 |
URL protocol. |
| 19437 |
* $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed. |
| 19438 |
* $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been |
| 19439 |
removed. |
| 19440 |
* $wgAllowUserSkin (deprecated in 1.16) has now been removed. |
| 19441 |
* $wgExtraRandompageSQL (deprecated in 1.16) has now been removed. |
| 19442 |
* LogReader and LogViewer classes (deprecated in 1.14) have now been removed. |
| 19443 |
* (bug 26033) Added $wgArticleCountMethod to select the method to use to say |
| 19444 |
whether a page is an article or not. $wgUseCommaCount is now deprecated. |
| 19445 |
* $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core, |
| 19446 |
and the functionality has been moved to the relevant extensions. See |
| 19447 |
https://www.mediawiki.org/wiki/Extension:DublinCoreRdf and |
| 19448 |
https://www.mediawiki.org/wiki/Extension:CreativeCommonsRdf as appropriate. |
| 19449 |
* (bug 21107) Split error "customcssjsprotected" into separate messages for JS |
| 19450 |
and CSS |
| 19451 |
* Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant |
| 19452 |
feature was removed in about 1.5. |
| 19453 |
* LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText |
| 19454 |
hooks have been removed. |
| 19455 |
* New hook "Collation::factory" to allow extensions to create custom |
| 19456 |
category collations. |
| 19457 |
* $wgGroupPermissions now supports per namespace permissions. |
| 19458 |
* $wgEnableAutoRotation enables or disables auto-rotation. Leaving it set to |
| 19459 |
null will cause MediaWiki to determine if auto-rotation is available. |
| 19460 |
|
| 19461 |
=== New features in 1.18 === |
| 19462 |
* BREAKING CHANGE: action=watch / action=unwatch now requires a token. |
| 19463 |
* BREAKING CHANGE: Article class hierarchy split into WikiPage (backend) |
| 19464 |
and Article (frontend) hierarchies. Several hooks now pass a WikiPage object |
| 19465 |
instead of an Article object. These hooks all use an $article parameter as |
| 19466 |
documented in hooks.txt. Extensions should be updated to account for this, |
| 19467 |
though most won't require any changes. |
| 19468 |
* (bug 27860) Minor edit after clicking 'new section' tab |
| 19469 |
Now the "This is a minor edit" checkbox is not available when you |
| 19470 |
create a page or new section. |
| 19471 |
* (bug 8130) Query pages should limit to content namespaces, not just main |
| 19472 |
namespace. |
| 19473 |
* Special:Contribs now redirects to Special:Contributions. |
| 19474 |
* (bug 6672) Images are now autorotated according to their EXIF orientation. |
| 19475 |
This only affects thumbnails; the source remains unrotated. |
| 19476 |
* (bug 25708) Update case mappings and normalization to Unicode 6.0.0. |
| 19477 |
* New hook ArticlePrepareTextForEdit added, called when preparing text to be |
| 19478 |
saved. |
| 19479 |
* New parser option PreSaveTransform added, allows the pre-save transformation |
| 19480 |
to be selectively disabled. |
| 19481 |
* Alternative to $wgHooks implemented, using the new Hooks class. |
| 19482 |
* Add width parameter to Special:Filepath to allow getting the file path of a |
| 19483 |
thumbnail. |
| 19484 |
* (bug 26870) Add size to {{filepath:}}. |
| 19485 |
* Upload warnings now show a thumbnail of the uploaded file. |
| 19486 |
* Introduced the edittools-upload message, which will be inserted under the |
| 19487 |
upload form instead of edittools if available. |
| 19488 |
* (bug 26285) Extensions will be automatically generated on upload if the user |
| 19489 |
specified a filename without extension. |
| 19490 |
* (bug 26851) Special:UserRights now allows to prefill the reason field |
| 19491 |
* New maintenance script to fix double redirects |
| 19492 |
(maintenance/fixDoubleRedirects.php). |
| 19493 |
* (bug 23315) New body classes to allow easier styling of special pages. |
| 19494 |
* (bug 27159) Make email confirmation code expiration time configurable. |
| 19495 |
* (bug 29047) CSS/JS for each user group is imported from |
| 19496 |
MediaWiki:Group-sysop.js, MediaWiki:Group-autoconfirmed.css, etc. |
| 19497 |
* (bug 24230) Uploads of ZIP types, such as MS Office or OpenOffice can now be |
| 19498 |
safely enabled. A ZIP file reader was added which can scan a ZIP file for |
| 19499 |
potentially dangerous Java applets. This allows applets to be blocked |
| 19500 |
specifically, rather than all ZIP files being blocked. |
| 19501 |
* (bug 2429) Allow selection of associated namespace in recent changes. |
| 19502 |
* (bug 26217) File size is now checked before uploading in HTML5 browsers. |
| 19503 |
* CSS stylesheet MediaWiki:Noscript.css is now loaded for users with JavaScript |
| 19504 |
disabled (enclosed in the head in a <noscript> tag). |
| 19505 |
* Added UserGetLanguageObject hook to change the language used in $wgLang. |
| 19506 |
* (bug 14645) When $wgMiserMode is on, expensive special pages are styled |
| 19507 |
differently (italicized by default) on Special:SpecialPages. |
| 19508 |
* Added $wgAggregateStatsID, which allows UDP stats to be aggregated over |
| 19509 |
several wikis. |
| 19510 |
* When $wgAllowMicrodataAttributes is true, all itemtypes are allowed, not just |
| 19511 |
the three that were defined in the original specification. |
| 19512 |
* (bug 14706) Added support for the Imagick PHP extension. |
| 19513 |
* (bug 18691) Added support for SVG rasterization using the Imagick PHP |
| 19514 |
extension. |
| 19515 |
* (bug 2581, bug 6834) Added links to thumbnail in several resolutions to the |
| 19516 |
file description page. The sizes are set by $wgImageLimits. |
| 19517 |
* (bug 28031) Add pageCount support to ArchivedFile. |
| 19518 |
* (bug 27924) PhpHttpRequest doesn't return response body if HTTP != 200. |
| 19519 |
* Added hook BitmapHandlerTransform to allow extension to transform a file |
| 19520 |
without overriding the entire handler. |
| 19521 |
* The parser now attempts to output markers for editsection tokens and defer the |
| 19522 |
rendering of them post-cache to reduce parser cache fragmentation and ensure |
| 19523 |
skin customizability of edit section links. |
| 19524 |
* (bug 24755) AuthPlugin auto-creation of local accounts can now be aborted by |
| 19525 |
other extensions by handling the 'AbortAutoAccount' hook, similar to the |
| 19526 |
'AbortNewAccount' triggered by explicit account creations. (They are separate |
| 19527 |
to avoid loops and confusion; auth plugins like CentralAuth need to handle |
| 19528 |
AbortNewAccount separately. |
| 19529 |
* Special:ListFiles is now transcludable. |
| 19530 |
* (bug 13879) Special:Emailuser asks for suitable target user if called without. |
| 19531 |
* (bug 16956) IPTC and XMP metadata now extracted from images. |
| 19532 |
* (bug 23816) A tracking category is now added for any pages with broken images. |
| 19533 |
* (bug 23495) Allow createAndPromote.php to create non-sysop users. |
| 19534 |
* (bug 28916) A way to to toggle mw.config legacy globals settings from |
| 19535 |
LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals. |
| 19536 |
* (bug 28503) Support for ircs:// URL protocols. |
| 19537 |
* (bug 26033) It is now possible to count all non-redirect pages in content |
| 19538 |
namespaces as articles. |
| 19539 |
* Images can now be embedded in an XML dump stream using backupDump.php |
| 19540 |
--include-files and can be imported using importDump.php --uploads; |
| 19541 |
furthermore, it can import files from the filesystem using --image-base-path. |
| 19542 |
* Three new hooks in Special:Undelete, 'UndeleteForm::showHistory', |
| 19543 |
'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions |
| 19544 |
may override the usage of PageArchive class and replace it with their own |
| 19545 |
class that extends PageArchive. |
| 19546 |
* (bug 28915) Implement QUnit test suite for MediaWiki JavaScript. |
| 19547 |
Also built-in support for distribution through a TestSwarm instance. |
| 19548 |
* (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is |
| 19549 |
added to the textarea on the edit form. |
| 19550 |
* mw.util.wikiScript has been implemented (like wfScript in GlobalFunctions.php) |
| 19551 |
* (bug 29067) Expose user.tokens (like we do user.options) in ResourceLoader. |
| 19552 |
* New 'Debug' hook used by wfDebug() and wfDebugLog(). |
| 19553 |
* (bug 27655) Require token for watching/unwatching pages) |
| 19554 |
* (bug 28904) (bug 29773) Update jQuery version from 1.4.4 to 1.6.2 (the latest |
| 19555 |
version) |
| 19556 |
* (bug 29441) Expose CapitalLinks config in JS to allow modules to properly |
| 19557 |
handle titles on case-sensitive wikis. |
| 19558 |
* (bug 29397) Implement mw.Title module in core. |
| 19559 |
* In MySQL 4.1.9+ with replication enabled, fetch the slave lag from SHOW SLAVE |
| 19560 |
STATUS instead of SHOW PROCESSLIST. This ensures that lag is reported |
| 19561 |
correctly in the case where there are no write events occurring. Note that |
| 19562 |
the DB user now needs to have the REPLICATION CLIENT privilege if you are |
| 19563 |
using replication. |
| 19564 |
* Language codes in $wgDummyLanguageCodes are now excluded on localization |
| 19565 |
statistics (maintenance/language/transstat.php). |
| 19566 |
* (bug 29586) Make the (next 200) links on categories link directly to |
| 19567 |
the relevant section of the category. |
| 19568 |
* (bug 29109) Allow the automatic edit summary for redirect creation |
| 19569 |
show the first bit of the new redirect page. |
| 19570 |
* (bug 29723) mw.util.wikiGetlink() now defaults to wgPageName. |
| 19571 |
* (bug 29680) Add GetDefaultSortkey hook to override the default sortkey. |
| 19572 |
* (bug 16699) {{#language:}} accepts second parameter to specify the language in |
| 19573 |
which the language name is wanted. Coverage depends on the cldr extension. |
| 19574 |
* (bug 15802) An easy way to look up messages: language qqx which returns |
| 19575 |
the message keys. |
| 19576 |
* (bug 29868) Add support for passing parameters to mw.msg in jquery.localize. |
| 19577 |
* (bug 29558) $wgMiserMode now disables update.php by default. |
| 19578 |
* AjaxCategories: Easily add, edit or delete categories on article pages. |
| 19579 |
Suggests possible categories when typing, all saves are done via AJAX. |
| 19580 |
Supports editing of multiple categories and then saving them in one batch. |
| 19581 |
* $wgAutopromoteOnce was added, allowing for users to be automatically promoted |
| 19582 |
to explicit usergroups. If a group is removed from a user via |
| 19583 |
Special:UserRights, it will not automatically be re-added. Configuration is |
| 19584 |
similar to $wgAutopromote (see DefaultSettings.php). |
| 19585 |
* The PerformRetroactiveAutoblock hook was added to allow overriding or |
| 19586 |
complementing retroactive autoblock handling. This runs when blocking a user |
| 19587 |
with the 'autoblock' option. |
| 19588 |
* MediaWiki now supports using protocol-relative URLs in links, interwiki |
| 19589 |
targets and $wgServer. |
| 19590 |
* Introduced $wgVaryOnXFPForAPI which will cause the API to send |
| 19591 |
Vary: X-Forwarded-Proto headers. |
| 19592 |
* New maintenance script to refresh image metadata |
| 19593 |
(maintenance/refreshImageMetadata.php). |
| 19594 |
* (bug 16428) Include permalink in printable version. |
| 19595 |
* (bug 30722) Add an identity collation that sorts things based on what the |
| 19596 |
unicode code point is (aka pre-1.17 behavior). |
| 19597 |
* (bug 30940) Add a hook in User:getDefaultOptions. |
| 19598 |
To give extensions a better and more flexible way of providing default |
| 19599 |
values for preferences a hook has been introduced in User:getDefaultOptions(). |
| 19600 |
Setting preferences in $wgDefaultUserOptions still work fine, but when reading |
| 19601 |
them (i.e. with array_keys) to get a list of all preferences, then |
| 19602 |
$wgDefaultUserOptions should no longer be used as it will contain those set |
| 19603 |
via User:getDefaultOptions(). |
| 19604 |
* (bug 30497) Add client-nojs and client-js classes on document element |
| 19605 |
to let styles easily hide or show things based on general JS availability. |
| 19606 |
* (bug 31293) If Special:Userlogin is loaded over HTTPS, display |
| 19607 |
MediaWiki:loginend-https instead of MediaWiki:loginend, if it's not empty. |
| 19608 |
Same for signupend on the account creation page. |
| 19609 |
* (bug 31233) New OutputPage::addJsConfigVars() method to make the output page |
| 19610 |
specific mw.config map extendable. |
| 19611 |
* mw.util.wikiScript has been implemented (like wfScript in |
| 19612 |
GlobalFunctions.php). |
| 19613 |
|
| 19614 |
=== Bug fixes in 1.18 === |
| 19615 |
* (bug 27860) Minor edit after clicking 'new section' tab. |
| 19616 |
* (bug 23119) WikiError class and subclasses are now marked as deprecated. |
| 19617 |
* (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer |
| 19618 |
treated as wikitext on preview. |
| 19619 |
* (bug 22753) Output from update.php is more clear when things changed, entries |
| 19620 |
indicating nothing changed are now all prefixed by "...". |
| 19621 |
* Page existence is now not revealed (in the colour of the tabs) to users who |
| 19622 |
cannot read the page in question. |
| 19623 |
* (bug 19006) {{REVISIONUSER}} no longer acts like {{CURRENTUSER}} in some |
| 19624 |
cases. |
| 19625 |
* (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions. |
| 19626 |
* (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown |
| 19627 |
as "Permitted file types" on the upload form. |
| 19628 |
* (bug 26379) importImages.php gives more descriptive error message on failure. |
| 19629 |
* (bug 26410) + signs are no longer treated as spaces in internal links if |
| 19630 |
link has a % sign in it. |
| 19631 |
* (bug 26412) Search results headers no longer show a bogus edit link. |
| 19632 |
* (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater. |
| 19633 |
* (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected |
| 19634 |
pages to be queried via the API and Special:ProtectedPages, and allowing |
| 19635 |
disabling upload protection by removing it from $wgRestrictionTypes. |
| 19636 |
* If an edit summary exceeds 250 bytes and is truncated, add an ellipse. |
| 19637 |
* (bug 26638) Database error pages display correctly in RTL languages. |
| 19638 |
* (bug 26187) Confirmrecreate no longer parses the edit summary. |
| 19639 |
* (bug 26208) Mark directionality of some interlanguage links. |
| 19640 |
* (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain |
| 19641 |
selected when the action is "purge". |
| 19642 |
* (bug 14267) Support a MediaWiki:Mainpage-nstab override for the subject |
| 19643 |
namespace tab on the mainpage of a wiki. |
| 19644 |
* (bug 10158) Do not mention allowing others to contact you when the feature |
| 19645 |
is disabled ($wgEnableUserEmail=false). |
| 19646 |
* (bug 26733) Wrap initial table creation in transaction. |
| 19647 |
* (bug 26729) Category pages should return 404 if they do not exist and have no |
| 19648 |
members. |
| 19649 |
* (bug 2585) Image pages should send 404 if no image, no shared image and no |
| 19650 |
description page. |
| 19651 |
* Custom editintro's using the editintro url parameter will no longer show |
| 19652 |
<noinclude> sections on pages they are included on. |
| 19653 |
* (bug 26449) Keep underlines from headings outside of tables and thumbs by |
| 19654 |
adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching). |
| 19655 |
* (bug 26708) Remove background-color:white from tables in Monobook and Vector. |
| 19656 |
* (bug 28422) Remove color:black from tables in Monobook and Vector. And add it |
| 19657 |
to table.wikitable instead. |
| 19658 |
* (bug 26781) {{PAGENAME}} and related parser functions escape their output |
| 19659 |
better. |
| 19660 |
* (bug 26716) Provide link to instructions for external editor related |
| 19661 |
preferences and add a comment to the ini control file explaining what is |
| 19662 |
going on. |
| 19663 |
* Trying to upload a file with no extension or with a disallowed MIME type now |
| 19664 |
gives the right message instead of complaining about a MIME/extension |
| 19665 |
mismatch. |
| 19666 |
* (bug 26809) Uploading files with multiple extensions where one of the |
| 19667 |
extensions is blacklisted now gives the proper extension in the error message. |
| 19668 |
* (bug 26961) Hide anon edits in watchlist preference now actually works. |
| 19669 |
* (bug 19751) Filesystem is now checked during image undeletion. |
| 19670 |
* Send last modified headers for Special:Recentchanges when RC patrol is |
| 19671 |
enabled, but user cannot see rc patrol links. |
| 19672 |
* (bug 26548) ForeignAPIRepo (InstantCommons) now works with PDF files |
| 19673 |
and other multi-paged file formats. |
| 19674 |
* Files with a mime type that does not match the extension are now properly |
| 19675 |
thumbnailed. |
| 19676 |
* (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs. |
| 19677 |
* (bug 15905) Nostalgia skin could become more usable by including a Talk: |
| 19678 |
link at the top of the page. |
| 19679 |
* (bug 27560) Search queries no longer fail in Walloon language. |
| 19680 |
* (bug 27679) Broken embedded files with special characters are no longer |
| 19681 |
double HTML escaped. |
| 19682 |
* (bug 27700) The upload protection can now also be set for files that do not |
| 19683 |
exist. |
| 19684 |
* (bug 27763) Article::getParserOutput() no longer throws a fatal given when an |
| 19685 |
incorrect revision ID is passed. |
| 19686 |
* Trim the form field for uploading by url to remove extra spaces which could |
| 19687 |
cause confusing error messages. |
| 19688 |
* (bug 27854) Http::isValidURI is way too lax. |
| 19689 |
* Do not show enotifminoredits preference, if disabled by $wgEnotifMinorEdits. |
| 19690 |
* AbortLogin returning "ABORTED" now handled. Also allows message identifier |
| 19691 |
for "ABORTED" reason to be returned and displayed to user. |
| 19692 |
* (bug 28034) uploading file to local wiki when file exists on shared repository |
| 19693 |
(commons) gives spurious info in the warning message. |
| 19694 |
* Usernames get lost when selecting different sorts on Special:listfiles. |
| 19695 |
* (bug 14005) editing section 0 of an existing but empty page gives no such |
| 19696 |
section error. |
| 19697 |
* (bug 26939) Installer does not set $wgMetaNamespace. |
| 19698 |
* (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per |
| 19699 |
page restrictions. |
| 19700 |
* Make truncate function automatically consider length of '...' string, |
| 19701 |
since length can vary by localization. |
| 19702 |
* (bug 28242) Make redirects generated by urls containing a local interwiki |
| 19703 |
prefix be a 301 instead of a 302. |
| 19704 |
* (bug 15641) blocked administrators are now prevented from deleting or |
| 19705 |
protecting their own talk page; and all blocked users are more |
| 19706 |
comprehensively prevented from performing other actions. |
| 19707 |
* (bug 27893) Edit-on-doubleclick now applies only on view and purge actions; |
| 19708 |
no longer triggers unexpectedly on delete, history etc. |
| 19709 |
* (bug 28417) Fix PHP notice when importing revision without a listed id. |
| 19710 |
* (bug 28430) Make html and TeX output of <math> always be left-to-right. |
| 19711 |
* (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo. |
| 19712 |
* (bug 28372) Fix bogus link to suppressed file versions in ForeignDBRepo. |
| 19713 |
* (bug 27473) Fix regression: bold, italic no longer interfere with linktrail |
| 19714 |
for ca, kaa. |
| 19715 |
* (bug 28444) Fix regression: edit-on-doubleclick retains revision id again. |
| 19716 |
* ' character entity is now allowed in wikitext. |
| 19717 |
* UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if |
| 19718 |
intl installed. |
| 19719 |
* (bug 28561) The css class small will no longer make nested elements even |
| 19720 |
smaller. |
| 19721 |
* (bug 13172) Array type exif data (like GPS) was not being extracted from |
| 19722 |
images. |
| 19723 |
* (bug 28532) wfMsgExt() and wfMsgWikiHtml() use $wgOut->parse(). |
| 19724 |
* (bug 16129) Transcluded special pages expose strip markers when they output |
| 19725 |
parsed messages. |
| 19726 |
* (bug 27249) "Installed software" table in Special:Version should always be |
| 19727 |
left-to-right. |
| 19728 |
* (bug 28719) Do not call mLinkHolders __destruct explicitly. |
| 19729 |
* (bug 21196) Article::getContributors() no longer fails on PostgreSQL. |
| 19730 |
* (bug 28752) XCache doesn't work in CLI mode. |
| 19731 |
* (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles. |
| 19732 |
* (bug 22227) Special:Listfiles no longer throws an error on bogus file entries. |
| 19733 |
* (bug 19408) user_properties.up_property: 32 bytes is not enough. |
| 19734 |
* (bug 25262) Fix for minification of hardcoded data: URIs in CSS. |
| 19735 |
* (bug 29263) Add LTR class to the shared CSS to be used for left-to-right text |
| 19736 |
such as SQL queries shown in dberrortext and similar messages in RTL |
| 19737 |
environments. |
| 19738 |
* (bug 14977) Fixed $wgServer detection in cases where an IPv6 address is used |
| 19739 |
as the server name. |
| 19740 |
* The View X deleted revisions is now shown again on Special:Upload. |
| 19741 |
* (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API. |
| 19742 |
* (bug 28868) Show total pages in the subtitle of an image on the |
| 19743 |
file description page for multi-paged documents. |
| 19744 |
* (bug 28883) Message names for different compression types commonly |
| 19745 |
used in Tiff files. |
| 19746 |
* When transcluding a special page, do not let it interpret url parameters. |
| 19747 |
* (bug 28887) Special page classes are no longer re-used during 1 request. |
| 19748 |
* (bug 28888) Searching for something starting with a # sign no longer tells |
| 19749 |
the user a page named [[:]] already exists. |
| 19750 |
* (bug 23002) Imagelinks table not updated after imagemove. |
| 19751 |
* (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all |
| 19752 |
pages. |
| 19753 |
* (bug 18803) JPEG2000 images should not be uploadable as .jpg files. |
| 19754 |
* (bug 11868) If using links to count articles, the checking will now be based |
| 19755 |
on the real presence of an internal link instead of the "[[" string. |
| 19756 |
* (bug 28287) The "your changes" box for edit conflicts is now read-only. |
| 19757 |
* (bug 28940) When making a thumb of an SVG, and only specifying the height |
| 19758 |
make the width be the max SVG size, not the natrual width of the SVG. |
| 19759 |
* (bug 1780) Uploading files with non-ascii characters are now forbidden on |
| 19760 |
Windows. |
| 19761 |
* (bug 23464) File: prefixes are now chopped off during uploading. |
| 19762 |
* (bug 28174) Message config-logo-help amended to not explicitly assume any |
| 19763 |
LTR/RTL screen layout. |
| 19764 |
* (bug 28992) Revision numbers in the patrol log are transformed in the user |
| 19765 |
language. |
| 19766 |
* (bug 27073) ResourceLoaderDynamicStyles marker should be dynamically appended |
| 19767 |
to the document head if it doesn't exist. |
| 19768 |
* (bug 27023) After the document is ready, mw.loader is broken (calls callback |
| 19769 |
before module is parsed). |
| 19770 |
* (bug 4330) External URLs without a custom title should be treated as LTR, |
| 19771 |
even in RTL text. |
| 19772 |
* (bug 29055) Make "don't send email on minor edits" preference apply to |
| 19773 |
changes to talk page in addition to watchlist edits. |
| 19774 |
* (bug 28272) Special:AllMessages should have only one "Go" button. |
| 19775 |
* (bug 29101) Special:FileDuplicateSearch no longer shows silly message. |
| 19776 |
* (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same |
| 19777 |
as lastTabIndex(). |
| 19778 |
* (bug 29332) Warn if user requests mediawiki-announce subscription but does not |
| 19779 |
enter an e-mail address. |
| 19780 |
* (bug 25375) Add canonical namespaces to "wgNamespaceIds" in mw.config. |
| 19781 |
* The class JpegOrTiffHandler was renamed ExifBitmapHandler. |
| 19782 |
* (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes |
| 19783 |
instead of reloading the page. |
| 19784 |
* (bug 29325) Setting $wgStrictFileExtensions to false no longer gives incorrect |
| 19785 |
warning. |
| 19786 |
* (bug 29437) Multiple apostrophes in deleted article title cause odd rendering. |
| 19787 |
* (bug 29485) RSS feed of Special:RecentChange grouped together multiple |
| 19788 |
consecutive edits by same user in included diff, but then linked to |
| 19789 |
a single ungrouped diff. |
| 19790 |
* Do not try to group together a page creation and edit in the RSS feed of RC. |
| 19791 |
* (bug 29342) Patrol preferences shouldn't be visible to users who don't have |
| 19792 |
patrol permissions. |
| 19793 |
* (bug 29471) Exception no longer thrown for files with invalid date in |
| 19794 |
metadata. |
| 19795 |
* (bug 29492) Long-running steps in the installer (such as Upgrade and Install) |
| 19796 |
no longer cause timeouts. |
| 19797 |
* (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere. |
| 19798 |
* If the db is really screwed up, and doesn't have a recentchanges table, |
| 19799 |
make the updater throw an exception instead of a fatal. |
| 19800 |
* wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays |
| 19801 |
correctly. |
| 19802 |
* (bug 29567) mw.util.addPortletLink should only wrap link in <span> for |
| 19803 |
"vectorTabs" portlets. |
| 19804 |
* (bug 8556) Incorrect session failure warning on preview-on-open |
| 19805 |
namespaces (categories) when combined with $wgRawHtml. |
| 19806 |
* Use content language in formatting of dates in revertpage message |
| 19807 |
(rollback revert edit summary) and do not adjust for user timezone. |
| 19808 |
* (bug 29277) MediaWiki:Filepage.css is also shown on the local wiki |
| 19809 |
* Make sure Backlink cache does not retrieve interwiki redirects when looking |
| 19810 |
for redirects to a local page. |
| 19811 |
* (bug 6100) Allow different directionality (LTR/RTL) for user interface |
| 19812 |
and wiki content, along with many other RTL and directionality improvements |
| 19813 |
(such as bugs 28030, 12406, 28349). |
| 19814 |
* (bug 29712) Removed broken defaultUserOptionOverrides in MessagesXx files and |
| 19815 |
unneeded CSS flipping of quickbar. Instead, introduce option 5 which sets |
| 19816 |
left/right according to the directionality of your interface language. |
| 19817 |
* (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit). |
| 19818 |
* (bug 27410) The tag filter on a history page is now within a <label> element. |
| 19819 |
* (bug 29779) DairikiDiff/WikiDiff <ins> and <del> should undo browser default |
| 19820 |
styling (strike/underline). |
| 19821 |
* (bug 28630) Add iwlinks, langlinks, redirect to |
| 19822 |
RefreshLinks::deleteLinksFromNonexistent. |
| 19823 |
* (bug 29797) Error: "Tried to load block with invalid type" when subpages |
| 19824 |
are disabled for user pages. |
| 19825 |
* (bug 12205) Bidirectional names in action=credits are split and displayed |
| 19826 |
incorrectly when wrapped to the next line. |
| 19827 |
* (bug 20781) Move 'mainpagetext' messages to installer's .i18n file. |
| 19828 |
* (bug 29737) "MediaWiki:Qbsettings-directionality" should refer to script, |
| 19829 |
not language. |
| 19830 |
* (bug 26360) $wgSessionHandler was overriding system settings unconditionally. |
| 19831 |
* Removed AjaxFunctions.php. The last remaining function js_unescape() was moved |
| 19832 |
to the FCKEditor extension. |
| 19833 |
* (bug 28762) Resizing to specified height broken for very thin images. |
| 19834 |
* (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user |
| 19835 |
tries to subscribe to mediawiki-announce. |
| 19836 |
* (bug 27427) mw.util.getParamValue shouldn't return value from hash even if |
| 19837 |
param is only present in hash. |
| 19838 |
* Installer checked for magic_quotes_runtime instead of register_globals. |
| 19839 |
* (bug 30131) XCache with variable caching disabled no longer used for variable |
| 19840 |
caching (CACHE_ACCEL) |
| 19841 |
* $wgSVGMaxSize is now applied to the smaller of width or height, making very |
| 19842 |
wide pano/timeline/diagram SVGs renderable at saner sizes. |
| 19843 |
* (bug 30219) The page shown when LocalSettings.php does not exist was broken on |
| 19844 |
Windows servers. |
| 19845 |
* (bug 30074) Moving user JS subpages resulted in JS errors because |
| 19846 |
#REDIRECT [[Foo]] is invalid JS. |
| 19847 |
* (bug 30335) Fix for HTMLForms using GET breaking when non-friendly URLs |
| 19848 |
are used. |
| 19849 |
* (bug 30264) Changed installer-generated LocalSettings.php to use |
| 19850 |
require_once() instead of require() for included extensions. |
| 19851 |
* Tracking categories are no longer shown in footer for special pages. |
| 19852 |
* (bug 30684) Fix bad escaping in mw.message for inexistent messages (i.e. |
| 19853 |
<key>). |
| 19854 |
* $wgOverrideSiteFeed no longer double escapes urls. |
| 19855 |
* The preprocessor no longer fails with a PHP warning about XML_PARSE_HUGE when |
| 19856 |
processing complex pages using newer versions of libxml2. |
| 19857 |
* (bug 30907) Special:Unusedcategories should sort ascendingly. |
| 19858 |
* (bug 28545) When using the uca-default collation, sortkey's starting with a |
| 19859 |
space (U+20) will sort under an invisible header like in 1.16 rather than a |
| 19860 |
U+6DE. |
| 19861 |
* (bug 30192) Thumbnails of archived files are now deleted. |
| 19862 |
* (bug 30843) mediawiki.Title should not convert extensions (anything after the |
| 19863 |
last full stop) to lower case). |
| 19864 |
* (bug 31213) Exception thrown when trying to move file cross-namespace. |
| 19865 |
* (bug 18424) Special:Prefixindex and Special:Allpages paging links are |
| 19866 |
really small, and somewhat inconsistent with each other. |
| 19867 |
* (bug 30466) Entries in iwlinks table are now cleared when moving a page over |
| 19868 |
redirect. |
| 19869 |
* (bug 31674) Can't edit watchlist if it contains special pages. |
| 19870 |
* (bug 32100) Installer complains about Suhosin GET limit even if it is |
| 19871 |
already set above 1024 bytes. |
| 19872 |
|
| 19873 |
=== API changes in 1.18 === |
| 19874 |
* BREAKING CHANGE: action=watch now requires POST and token. |
| 19875 |
* (bug 26339) Throw warning when truncating an overlarge API result. |
| 19876 |
* (bug 14869) Add API module for accessing QueryPage-based special pages. |
| 19877 |
* (bug 14020) API for Special:Unwatchedpages. |
| 19878 |
* (bug 24287) Wrap API Help output at 100 characters. |
| 19879 |
* Add a realname uiprop option to query=userinfo so a user's realname can be |
| 19880 |
extracted. |
| 19881 |
* Add a &watchuser option to ApiBlock. |
| 19882 |
* (bug 26541) Generator-ise ApiQueryRecentChanges. |
| 19883 |
* action=parse now correctly returns an error for nonexistent pages. |
| 19884 |
* (bug 25767) Add userrights properties to allusers and users query lists. |
| 19885 |
* (bug 26558) list=allusers auprop=groups does not list groups a user is |
| 19886 |
automatically a member of. |
| 19887 |
* (bug 26559) list=allusers auprop=rights does not match |
| 19888 |
list=users usprop=rights. |
| 19889 |
* (bug 26560) On allusers if limit < total number of users, last user gets |
| 19890 |
duplicate. |
| 19891 |
* (bug 25135) add "normalized" to action=parse. |
| 19892 |
* (bug 26460) Add support for listing category members by category pageid. |
| 19893 |
* (bug 26482) add a imimages param to prop=images. |
| 19894 |
* (bug 26498) allow LinksUpdate with API. |
| 19895 |
* (bug 26485) add a elextlinks param to prop=extlinks. |
| 19896 |
* (bug 26483) add a iwtitles param to prop=iwlinks. |
| 19897 |
* (bug 26484) add a lltitles param to prop=langlinks. |
| 19898 |
* (bug 26480) add a pppageprops param to prop=pageprops. |
| 19899 |
* (bug 26650) Remove $wgAPICacheHelp in favour of $wgAPICacheHelpTimeout. |
| 19900 |
* (bug 24650) Fix API to work with categorylinks changes. |
| 19901 |
* Expose list of skins in meta=siteinfo. |
| 19902 |
* (bug 26548) Add iiurlparam param to query=imageinfo and query=stashimageinfo. |
| 19903 |
* (bug 27205) aiprop=metadata and aiprop=parsedcomment need help text. |
| 19904 |
* Add a amtitle param to meta=allmessages. |
| 19905 |
* (bug 25832) query=allimages now outputs ns/title as well. |
| 19906 |
* (bug 27199) Thumbnail urls can be fetched for old files as well. |
| 19907 |
* (bug 27376) when using ApiBase::PARAM_TYPE => 'integer' without a min or |
| 19908 |
max value, API doesn't validate the input is actually an integer. |
| 19909 |
* (bug 27479) API error when using both prop=pageprops and |
| 19910 |
prop=info&inprop=displaytitle. |
| 19911 |
* (bug 27554) Update API information text to reflect change in bug 26125. |
| 19912 |
* (bug 27611) list=blocks: Use ipb_by_text instead of join with user table. |
| 19913 |
* (bug 27616) Add userid of blocked user and blocker to list=blocks. |
| 19914 |
* (bug 27688) Simplify queries to list user block information. |
| 19915 |
* (bug 27708) list=users does not have a property to return user id. |
| 19916 |
* (bug 27715) imageinfo didn't respect revdelete. |
| 19917 |
* (bug 27862) Useremail module didn't properly return success on success. |
| 19918 |
* (bug 27590) prop=imageinfo now allows querying the media type. |
| 19919 |
* (bug 27587) list=filearchive now outputs full title info. |
| 19920 |
* (bug 27018) Added action=filerevert to revert files to an old version. |
| 19921 |
* (bug 27897) list=allusers and list=users list hidden users. |
| 19922 |
* (bug 27717) API's exturlusage module does not respect $wgMiserMode. |
| 19923 |
* (bug 27588) list=filearchive&faprop=sha1 returns empty attribute. |
| 19924 |
* (bug 28010) Passing a non existent user to list=users gives internal error. |
| 19925 |
* (bug 27549) action=query&list=users&usprop=groups doesn't show implicit |
| 19926 |
groups if a user doesn't have explicit groups. |
| 19927 |
* (bug 27670) Ordering by timestamp (and usage of start and end) isn't as clear |
| 19928 |
in auto generated document, as it is on mediawiki.org. |
| 19929 |
* (bug 27182) API: Add filter by prefix for meta=allmessages. |
| 19930 |
* (bug 27183) API: Add filter by customisation state for meta=allmessages. |
| 19931 |
* (bug 27340) API: Allow listing of "small" categories. |
| 19932 |
* (bug 27342) Add audir param to list=allusers. |
| 19933 |
* (bug 27203) add fato param to list=filearchive. |
| 19934 |
* (bug 27341) Add drto param to list=deletedrevs. |
| 19935 |
* (bug 26630) Add API for Special:ActiveUsers. |
| 19936 |
* (bug 27020) API: Allow title prefix search of logevents (only when not in |
| 19937 |
miser mode). |
| 19938 |
* (bug 26629) add Special:MIMESearch to API. |
| 19939 |
* (bug 27585) add pagecount to list=filearchive. |
| 19940 |
* (bug 28104) Namespace for local pages in interwiki backlinks (iwbacklinks) |
| 19941 |
is missing. |
| 19942 |
* (bug 27343) Add parseddescription to list=filearchive. |
| 19943 |
* (bug 27469) label implicit groups in list=allusers&auprop=groups/ |
| 19944 |
list=users&usprop=groups. |
| 19945 |
* Addition of APIQuerySiteInfoGeneralInfo hook to add extra information to |
| 19946 |
the general site info results. |
| 19947 |
* (bug 16288) API: consider making closure status of wikis more clear |
| 19948 |
with meta=siteinfo. |
| 19949 |
* (bug 27589) list=allimages&aiprop=archivename is useless. |
| 19950 |
* (bug 27586) Remove duplication of props in ApiQueryStashImageInfo |
| 19951 |
by using ApiQueryImageInfo. |
| 19952 |
* (bug 28226) prop=extlinks&eloffset should be an integer. |
| 19953 |
* (bug 28070) Fix watchlist RSS for databases that store timestamps in a |
| 19954 |
real timestamp field. |
| 19955 |
* API upload errors may now return the parameter that needs to be changed and |
| 19956 |
a sessionkey to fix the error. |
| 19957 |
* (bug 28249) allow dupes in meta=allmessages&amargs. |
| 19958 |
* (bug 28263) cannot import xml with the API, when have not "import" user |
| 19959 |
right, but "importupload". |
| 19960 |
* (bug 28365) Added description for uiprop=preferencestoken in meta=userinfo. |
| 19961 |
* (bug 28394) Set forgotten parameters types in ApiUnblock. |
| 19962 |
* (bug 28395) Set forgotten parameters types in ApiParse. |
| 19963 |
* (bug 28368) add hint for multipart/form-data to API information of |
| 19964 |
action=import&xml=. |
| 19965 |
* (bug 28391) action=feedwatchlist&allrev should be a bool. |
| 19966 |
* (bug 28364) add registration date to meta=userinfo. |
| 19967 |
* (bug 28254) action=paraminfo: Extract type from PARAM_DFLT if |
| 19968 |
PARAM_TYPE is not set. |
| 19969 |
* (bug 27712) add parent_id to list=deletedrevs. |
| 19970 |
* (bug 28455) Add 'toponly' to recentchanges API module. |
| 19971 |
* (bug 26873) API: Add 'toponly' filter in usercontribs module. |
| 19972 |
* (bug 28586) YAML: strings that are the same as boolean literals. |
| 19973 |
* (bug 28591) Update/replace/supplement spyc (YAML parsing library). |
| 19974 |
* YAML API output is now 1.2 compliant, using JSON as the formatter. |
| 19975 |
* (bug 28672) give information about misermode on API. |
| 19976 |
* (bug 28558) Add iw_api and iw_wikiid to meta=siteinfo&siprop=interwikimap |
| 19977 |
* (bug 26882) Allow listing of indefinite protections with the API. |
| 19978 |
* (bug 27344) add drprefix param to list=deletedrevs. |
| 19979 |
* (bug 28560) list=deletedrevs should die, if combination of param is invalid. |
| 19980 |
* (bug 28238) paraminfo: output both limits for multi param. |
| 19981 |
* (bug 27179) API: List of extension tags through meta=siteinfo. |
| 19982 |
* Get a list of function hooks through meta=siteinfo. |
| 19983 |
* Get a list of all subscribed hooks, and those subscribers. |
| 19984 |
* (bug 28225) Allow hiding of user groups in list=allusers. |
| 19985 |
* (bug 27185) API: Add Special:ComparePages. |
| 19986 |
* (bug 28265) allow outputting of comments for action=expandtemplates. |
| 19987 |
* (bug 27790) Add query type for querymodules to output of ApiParamInfo. |
| 19988 |
* (bug 28963) Add langbacklinks query module to the api. |
| 19989 |
* (bug 27593) API should return error message when sha1/sha1base36 is invalid. |
| 19990 |
* (bug 28578) API's parse module should not silently override invalid |
| 19991 |
title inputs. |
| 19992 |
* (bug 20699) Watchlist API should list log-events. |
| 19993 |
* (bug 29070) Require a token in API action=watch. |
| 19994 |
* (bug 29221) Expose oldrevid in ApiQueryWatchlist output. |
| 19995 |
* (bug 29267) Always give the servername for meta=siteinfo&siprop=dbrepllag. |
| 19996 |
* (bug 28897) rvparse now respects rvsection for action=query&prop=revisions. |
| 19997 |
* (bug 25734) API: Possible issue with revids validation. |
| 19998 |
* (bug 28002) Internal error in ApiFormatRaw::getMimeType. |
| 19999 |
* (bug 29237) ApiQuery now has an option to output the "iwurl" attribute. |
| 20000 |
* (bug 28392) Mark action=undelete×tamps as type "timestamp". |
| 20001 |
* (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode). |
| 20002 |
* (bug 27595) sha1 search of list=filearchive does not work. |
| 20003 |
* (bug 26763) Make RSS/Atom of user contributions more visible. |
| 20004 |
* (bug 25133) Allow redirects also for action=parse&pageid. |
| 20005 |
* (bug 29745) Fatal error in API search. |
| 20006 |
* (bug 29476) API returns page title instead of sectiontitle for |
| 20007 |
srprop=sectiontitle. |
| 20008 |
* Correct the documentation of srprop properties. |
| 20009 |
* (bug 28817) Add reference help page link to API Modules. |
| 20010 |
* (bug 29935) Improve formatting of examples in ApiParamInfo. |
| 20011 |
* (bug 29938) list=users&usprop=rights shows rights the user doesn't have. |
| 20012 |
* (bug 24781) The API will include an XML namespace if the includexmlnamespace |
| 20013 |
parameter is set. |
| 20014 |
* (bug 29392) Setting the start or end parameter now works with lists blocks, |
| 20015 |
categorymembers, deletedrevs, logevents, protectedtitles, usercontributions |
| 20016 |
and watchlist in Postgres. |
| 20017 |
|
| 20018 |
=== Languages updated in 1.18 === |
| 20019 |
|
| 20020 |
MediaWiki supports over 330 languages. Many localisations are updated |
| 20021 |
regularly. Below only new and removed languages are listed, as well as |
| 20022 |
changes to languages because of Bugzilla reports. |
| 20023 |
|
| 20024 |
* Angika (anp) (new). |
| 20025 |
* Brahui (brh) (new). |
| 20026 |
* Central Dusun (dtp) (new). |
| 20027 |
* Jamaican Creole English (jam) (new). |
| 20028 |
* Khowar (khw) (new). |
| 20029 |
* Liv (liv) (new). |
| 20030 |
* Kichwa (qug) (new). |
| 20031 |
* Tokipona (tp) (removed) 'tokipona' is still valid. |
| 20032 |
* (bug 17160) Gender specific display text for User namespace. |
| 20033 |
* Link trail added for sl and sh. |
| 20034 |
* (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br). |
| 20035 |
* (bug 27426) Set $namespaceGenderAliases for Arabic (ar). |
| 20036 |
* (bug 27385) Set Polish $namespaceGenderAliases. |
| 20037 |
* (bug 27681) Set $namespaceGenderAliases for Portuguese (pt and pt-br). |
| 20038 |
* (bug 27785) Fallback language for Kabardian (kbd) is English now. |
| 20039 |
* (bug 27825) Raw watchlist edit message now uses formatted numbers. |
| 20040 |
* (bug 28040) Turkish: properly lower case 'I' to 'i' (dotless i) and |
| 20041 |
uppercase 'i' to 'I' (dotted i). |
| 20042 |
* Conversion script between Syllabics and Latin for the Inuktitut language. |
| 20043 |
* Date formats for Indonesian (id) updated. |
| 20044 |
* Bhojpuri (bho) (renamed from "bh"). |
| 20045 |
* (bug 29031) When translating block log entries, indefinite, infinite, and |
| 20046 |
infinity are now considered the same. |
| 20047 |
* Aromanian (rup) (renamed from "rua-rup"). |
| 20048 |
* Kashmiri (ks) split into Kashmiri (Perso-Arabic) (ks-arab) and Kashmiri |
| 20049 |
(Devanagari) (ks-deva). Defaults to ks-arab. |
| 20050 |
* (bug 30864) Use bengali numerals for <ol> for Assamese. |
| 20051 |
* (bug 30817) Restored linktrail for kk (Kazakh). |
| 20052 |
* (bug 27398) Add $wgExtraGenderNamespaces for configured gendered namespaces. |
| 20053 |
* (bug 30846) New LanguageOs class. |
| 20054 |
|
| 20055 |
=== Other changes in 1.18 === |
| 20056 |
* Removed legacy wgAjaxWatch javascript global object, no longer in use. |
| 20057 |
* (bug 28556) Upload support for MacBinary files has been removed (Used by |
| 20058 |
Internet Explorer 5 for Mac OS 9). |
| 20059 |
* On wiki farm setups using $wgConf, 'wgCanonicalServer' is now expected to be |
| 20060 |
set for all wikis. This was already the case for 'wgServer'. |
| 20061 |
|
| 20062 |
== MediaWiki 1.17 == |
| 20063 |
|
| 20064 |
== MediaWiki 1.17.5 == |
| 20065 |
2012-06-12 |
| 20066 |
|
| 20067 |
This is a security release of the MediaWiki 1.17 branch. |
| 20068 |
|
| 20069 |
=== Summary of selected changes in 1.17 === |
| 20070 |
|
| 20071 |
Selected changes since MediaWiki 1.16 that may be of interest: |
| 20072 |
|
| 20073 |
* A new installer has been introduced. It has a wizard-style interface which is |
| 20074 |
translated into many languages. Many shortcomings in the old installer were |
| 20075 |
addressed with this rewrite. Note that it is no longer required for the config |
| 20076 |
directory to be made writable by the webserver. Instead the generated |
| 20077 |
LocalSettings.php file is offered as a download, which you must then upload |
| 20078 |
to the wiki's base directory. |
| 20079 |
|
| 20080 |
* ResourceLoader, a new framework for delivering client-side resources such as |
| 20081 |
JavaScript and CSS, has been introduced. These resources are now delivered |
| 20082 |
through the new entry point script "load.php", instead of as static files |
| 20083 |
served directly by the web server. This allows minification, compression and |
| 20084 |
client-side caching to be used more effectively, which should provide a net |
| 20085 |
performance improvement for most users. |
| 20086 |
|
| 20087 |
* Category sorting has been improved. |
| 20088 |
** Sorting is now case insensitive. |
| 20089 |
** Sub-categories, pages and files can now be paged separately. |
| 20090 |
** When several pages are given the same sort key, they sort by their |
| 20091 |
names instead of randomly. |
| 20092 |
|
| 20093 |
* The lowest supported version of PHP is now 5.2.3. If necessary, please |
| 20094 |
upgrade PHP prior to upgrading MediaWiki. |
| 20095 |
|
| 20096 |
=== Changes since 1.17.4 === |
| 20097 |
|
| 20098 |
* (bug 36938) Correctly escape uselang attribute to prevent xss |
| 20099 |
* Expanded Blacklist for SVG Files |
| 20100 |
|
| 20101 |
=== Changes since 1.17.3 === |
| 20102 |
|
| 20103 |
* (bug 35961) Hash comparison should always be strict. |
| 20104 |
* Fix broken email confirmation expiration caused by MWCryptRand changes. |
| 20105 |
* (bug 35671) PHP Notice: Undefined index: gettoken in includes/api/ApiMain.php |
| 20106 |
on line 598. |
| 20107 |
|
| 20108 |
=== Changes since 1.17.2 === |
| 20109 |
|
| 20110 |
* (bug 22555) Remove or skip strip markers from tag hooks like <nowiki> in |
| 20111 |
core parser functions which operate on strings, such as padleft. |
| 20112 |
* (bug 34212) ApiBlock/ApiUnblock allow action to take place without a token |
| 20113 |
parameter present. |
| 20114 |
* (bug 34907) Fixed exposure of tokens through load.php that could have |
| 20115 |
facilitated CSRF attacks. |
| 20116 |
* (bug 35317) CSRF in Special:Upload. |
| 20117 |
|
| 20118 |
=== Changes since 1.17.1 === |
| 20119 |
* (bug 33117) prop=revisions allows deleted text to be exposed through cache |
| 20120 |
pollution. |
| 20121 |
* (bug 32709) Private Wiki users were always taken to Special:Badtitle on login. |
| 20122 |
|
| 20123 |
=== Changes since 1.17.0 === |
| 20124 |
|
| 20125 |
* (bug 29535) Added missing Creative Commons CC0 icon. |
| 20126 |
* (bug 29726) Fixed failure to load internationalization messages in |
| 20127 |
client-side scripts on WebKit-based browsers. |
| 20128 |
* Fixed a bug in message transformation where the previous language could leak |
| 20129 |
into later transformations in the UI language. |
| 20130 |
* (bug 29091) Fixed form of native name for Ossetic language (Иронау -> Ирон) |
| 20131 |
* Fixed maintenance scripts upgrade1_5.php and rebuildImages.php, they did not |
| 20132 |
work at all since 1.17 beta 1. |
| 20133 |
* (bug 29531) Fixed img_auth.php for thumbnails and other filenames with |
| 20134 |
multiple dots, was broken by the fix for bug 28840. |
| 20135 |
* In the maintenance script purgeList.php, fixed a fatal error when a page |
| 20136 |
title is given, instead of a URL. |
| 20137 |
* (bug 19514) Unordered list list-style-image should be IE6-compatible (8-bit). |
| 20138 |
* Installer checked for magic_quotes_runtime instead of register_globals. |
| 20139 |
* $wgSVGMaxSize is now applied to the smaller of width or height, making very |
| 20140 |
wide pano/timeline/diagram SVGs renderable at saner sizes. |
| 20141 |
* (bug 29959) Installer fatal when cURL and allow_url_fopen is disabled and user |
| 20142 |
tries to subscribe to mediawiki-announce. |
| 20143 |
* Installer checked for magic_quotes_runtime instead of register_globals |
| 20144 |
* (bug 30131) XCache with variable caching disabled no longer used for variable |
| 20145 |
caching (CACHE_ACCEL) |
| 20146 |
* (bug 30264) Changed installer-generated LocalSettings.php to use |
| 20147 |
require_once() instead require() for included extensions. |
| 20148 |
* (bug 26486) ResourceLoader modules with paths to nonexistent files cause PHP |
| 20149 |
warnings/notices to be thrown |
| 20150 |
* (bug 30907) Special:Unusedcategories should sort ascendingly. |
| 20151 |
* (bug 30219) The page shown when LocalSettings.php does not exist was broken on |
| 20152 |
Windows servers. |
| 20153 |
* Hardcoded NLS_NUMERIC_CHARACTERS for Oracle DB to prevent type conversion |
| 20154 |
errors. |
| 20155 |
* Fixed recentchanges FK violation on page delete and cache purge error in |
| 20156 |
updater for Oracle DB. |
| 20157 |
* (bug 32276) Skins were generating output using the internal page title which |
| 20158 |
would allow anonymous users to determine whether a page exists, potentially |
| 20159 |
leaking private data. In fact, the curid and oldid request parameters would |
| 20160 |
allow page titles to be enumerated even when they are not guessable. |
| 20161 |
* (bug 32616) action=ajax requests were dispatched to the relevant internal |
| 20162 |
functions without any read permission checks being done. This could lead to |
| 20163 |
data leakage on private wikis. |
| 20164 |
|
| 20165 |
=== Changes since 1.17.0rc1 === |
| 20166 |
|
| 20167 |
* Fixed syntax error in generated LocalSettings.php when a non-default user |
| 20168 |
rights profile is chosen. |
| 20169 |
* (bug 29399) Fixed PostgreSQL installation when the DB user for installation |
| 20170 |
is the same as the one for web access. |
| 20171 |
* (bug 29233) Fixed failover for DB slave servers. When a DB slave went down, |
| 20172 |
an error was immediately shown to the user, instead of trying another slave. |
| 20173 |
Was broken since 1.17 beta 1. |
| 20174 |
* (bug 29278) Fixed PHP fatal error when attempting to add text to a page via a |
| 20175 |
redirect. |
| 20176 |
* (bug 29408) Fixed uploads of files with MIME types that aren't detected by |
| 20177 |
MediaWiki. |
| 20178 |
* Removed DEFAULT '' NOT NULL field definitions from Oracle DB schema because |
| 20179 |
using the DEFAULT value ('') in DML broke Oracle backend as it treats an |
| 20180 |
empty VARCHAR2 value as NULL. Indexes on Oracle do not require NOT NULL |
| 20181 |
fields. |
| 20182 |
|
| 20183 |
=== Changes since 1.17 beta 1 === |
| 20184 |
|
| 20185 |
* Fixed warning about missing file "password.js". |
| 20186 |
* When installing on MySQL, don't attempt to create a new database user if the |
| 20187 |
same user is used for installation and web access. |
| 20188 |
* Fixed SQL query errors in queries with table aliases. |
| 20189 |
* (bug 27891) Fixed the "chronology protector", broken since 1.17beta1, which |
| 20190 |
ensures that when database replication is used, the new version is seen by |
| 20191 |
the user immediately after they create or edit an article. |
| 20192 |
* (bug 28845) Allow PostgreSQL installation using a non-root user account which |
| 20193 |
has role creation abilities. |
| 20194 |
* When installing on PostgreSQL and the install account is the same as the web |
| 20195 |
account, check to make sure that the account has suitable privileges in the |
| 20196 |
mediawiki schema. |
| 20197 |
* (bug 28172) Fixed error in PostgreSQL installation when creating the wiki |
| 20198 |
sysop account. |
| 20199 |
* Fixed an issue with the Oracle installer in cases where the user is different |
| 20200 |
to the database name. |
| 20201 |
* Added "unblockself" to the list of available rights. |
| 20202 |
* In the installer, fixed the "user rights profile" option, it never worked. |
| 20203 |
* (bug 29117) Fixed Hebrew localisation of the installer. |
| 20204 |
* (bug 28840) Reduce the collateral damage caused by the fix for bug 28235 (XSS |
| 20205 |
on Internet Explorer 6 due to a file extension in the query string) by |
| 20206 |
reducing the number of URLs that are blocked, and by redirecting the request |
| 20207 |
to a safer URL where possible instead of blocking it. |
| 20208 |
* (bug 28812) Fixed documentation of API action=parse. |
| 20209 |
* (bug 28979) Fixed styling of <abbr> and <acronym>. |
| 20210 |
* Fixed the error message displayed when you try to create an account by email, |
| 20211 |
but an email address is not given. |
| 20212 |
* Fixed JS error due to missing dependency for jquery.suggestions. |
| 20213 |
* Exposed $wgExtensionAssetsPath in JavaScript. |
| 20214 |
* (bug 28738) Made ResourceLoader support environments with small URL length |
| 20215 |
limits. The length limit can be configured via |
| 20216 |
$wgResourceLoaderMaxQueryLength, and this is set automatically in the |
| 20217 |
generated LocalSettings.php when the php.ini variable |
| 20218 |
"suhosin.get.max_value_length" is set. When a URL exceeds this limit, the |
| 20219 |
request is split up. Also, reduced the average length of load.php URLs by |
| 20220 |
using a more compact parameter format. |
| 20221 |
* (bug 25262) Fix for minification of hardcoded data: URIs in CSS. |
| 20222 |
* (bug 25124) Respect $wgStyleDirectory in ResourceLoader. |
| 20223 |
* Allow installation when no HTTP client is available, don't throw an exception. |
| 20224 |
* (bug 27465) Fix metadata extraction for SVG files using unusual namespace |
| 20225 |
names. |
| 20226 |
* (bug 29174) Fix regression in upload-by-URL: uploading files larger than the |
| 20227 |
PHP memory limit should work again. |
| 20228 |
* Fixed the display of comments in the new user log. |
| 20229 |
* (bug 28237) When installing extensions using the web-based installer, create |
| 20230 |
any necessary database tables. |
| 20231 |
* (bug 28983) Fixed automated installation of extensions that overwrite $path. |
| 20232 |
* Fixed error caused by missing magic words. |
| 20233 |
* Fixed breakage of article editing in PostgreSQL due to text search |
| 20234 |
configuration errors. |
| 20235 |
* Fixed the HTTPS client used when Curl is not available. This avoids an error |
| 20236 |
during install about failure of the mediawiki-announce subscription. |
| 20237 |
* (bug 28162) When installing to PostgreSQL, respect the "database port" input, |
| 20238 |
it was ignored. |
| 20239 |
|
| 20240 |
=== Configuration changes in 1.17 === |
| 20241 |
|
| 20242 |
* $wgLogAutocreatedAccounts controls whether autocreation of accounts is logged |
| 20243 |
to new users log. |
| 20244 |
* (bug 22858) $wgLocalStylePath is by default set to the same value as |
| 20245 |
$wgStylePath but should never point to a different domain than the site is |
| 20246 |
on, allowing skins to use .htc files which are not cross-domain friendly. |
| 20247 |
* $wgFileStore has been deprecated. The only usage $wgFileStore['deleted'] has |
| 20248 |
been turned into $wgDeletedDirectory. |
| 20249 |
* $wgDeletedDirectory has been added to specify what directory to place deleted |
| 20250 |
uploads in. |
| 20251 |
* IBM DB2 database no longer uses the db specific $wgDBport_db2 variable but the |
| 20252 |
normal $wgDBport. |
| 20253 |
* $wgCategoryPrefixedDefaultSortkey was removed and is now always false. This |
| 20254 |
provides more sensible sorting behavior for categories. |
| 20255 |
* Removed unused globals: $wgEnableSerializedMessages, $wgCheckSerialized, |
| 20256 |
$wgUseMemCached, $wgDisableSearchContext, $wgColorErrors, $wgUseZhdaemon, |
| 20257 |
$wgZhdaemonHost and $wgZhdaemonPort. |
| 20258 |
* (bug 24408) The include_path is not modified in the default LocalSettings.php |
| 20259 |
* $wgVectorExtraStyles was removed, and is no longer in use. |
| 20260 |
* Removed $wgUpdates for database updates; extensions should use |
| 20261 |
DatabaseUpdater::addExtensionUpdate() via the LoadExtensionSchemaUpdates hook. |
| 20262 |
* Removed $wgServerName. It doesn't need to be set anymore and is no longer |
| 20263 |
available as input for other configuration items, either. |
| 20264 |
* It's no longer necessary for LocalSettings.php to include DefaultSettings.php. |
| 20265 |
* It's no longer necessary to set $wgCacheEpoch to the file modification time |
| 20266 |
of LocalSettings.php, in LocalSettings.php itself. Instead, this is done |
| 20267 |
automatically if $wgInvalidateCacheOnLocalSettingsChange is true (which is |
| 20268 |
the default). |
| 20269 |
* $wgCopyrightIcon is deprecated and $wgFooterIcons['copyright']['copyright'] |
| 20270 |
should be used instead. |
| 20271 |
* $wgSysopUserBans is deprecated, and will be made permanently true in 1.18. |
| 20272 |
If you need this functionality, you should use the BlockIp hook to filter and |
| 20273 |
reject such blocks. |
| 20274 |
* $wgSysopRangeBans is deprecated, you should set $wgBlockCIDRLimit to maximum |
| 20275 |
(32 for IPv4, 128 for IPv6), equivalent to allowing rangeblocks of only 1 |
| 20276 |
address at a time. |
| 20277 |
|
| 20278 |
=== New features in 1.17 === |
| 20279 |
|
| 20280 |
* (bug 10183) Users can now add personal styles and scripts to all skins via |
| 20281 |
User:<name>/common.css and /common.js (if user css/js is enabled). |
| 20282 |
* (bug 22748) Add anchors on Special:ListGroupRights. |
| 20283 |
* (bug 21981) Add parameter 'showfilename' to <gallery> to automatically |
| 20284 |
apply the names of the individual files within the gallery. |
| 20285 |
* Future-proof redirection to fragments in Gecko, so things work a little nicer |
| 20286 |
if they fix <https://bugzilla.mozilla.org/show_bug.cgi?id=516293>. |
| 20287 |
* Support git:// and mms:// protocols by default for external links. |
| 20288 |
* (bug 15810) Blocked admins can no longer unblock themselves without the |
| 20289 |
'unblockself' permission (which they have by default). |
| 20290 |
* (bug 18499) Added "enhanced" URL parameter to switch between old and enhanced |
| 20291 |
changes list. |
| 20292 |
* (bug 22925) "sp-contributions-blocked-notice-anon" message now displayed when |
| 20293 |
viewing contributions of a blocked IP address. |
| 20294 |
* (bug 22474) {{urlencode:}} now takes an optional second parameter for type of |
| 20295 |
escaping. |
| 20296 |
* Special:Listfiles now supports a username parameter. |
| 20297 |
* Special:Random carries over query string parameters. |
| 20298 |
* (bug 23206) Add Special::Search hook for detecting successful "Go". |
| 20299 |
* When visiting a "red link" of a deleted file, a deletion and move log excerpt |
| 20300 |
is provided on the Upload form. |
| 20301 |
* (bug 22647) Add category details in search results. |
| 20302 |
* (bug 23276) Add hook to Special:NewPages to modify query. |
| 20303 |
* Add accesskey 's' and tooltip to 'Save' button at Special:Preferences. |
| 20304 |
* Add accesskey 'b' and tooltip to the summary field of edit mode. |
| 20305 |
* (bug 20186) Allow filtering Special:Contributions for RevisionDeleted edits. |
| 20306 |
* ajaxwatch now uses the API and JQuery, and can be used to animate arbitrary |
| 20307 |
watch links, not just to watch the page the link is on. |
| 20308 |
* (bug 20976) "searchmenu-new-nocreate" message now displayed when there |
| 20309 |
is no title match in search and the user has no rights to create pages. |
| 20310 |
* (bug 23429) Added new hook WatchlistEditorBuildRemoveLine. |
| 20311 |
* (bug 22844) Added support for WinCache object caching (for IIS). |
| 20312 |
* (bug 23580) Add two new events to LivePreview so that scripts can be notified |
| 20313 |
about the beginning and finishing of LivePreview actions. |
| 20314 |
* (bug 21278) Now the sidebar allows inclusion of wiki markup. |
| 20315 |
* (bug 23733) Add IDs to messages used on CSS/JS pages. |
| 20316 |
* Show validity period of the login cookie in Special:UserLogin and |
| 20317 |
Special:Preferences. |
| 20318 |
* Interlanguage links display the page title in their tooltip. |
| 20319 |
* (bug 23621) New Special:ComparePages to compare (diff) two articles. |
| 20320 |
* (bug 4597) Provide support in Special:Contributions to show only "current" |
| 20321 |
contributions |
| 20322 |
* (bug 17857) {{anchorencode}} acts more like how the parser creates section ids |
| 20323 |
* (bug 21477) \& can now be used in <math> |
| 20324 |
* (bug 11641) \dotsc \dotsm \dotsi \dotso can now be used in <math> |
| 20325 |
* (bug 21475) \mathtt and \textsf can now be used in <math> |
| 20326 |
* texvc is now run via ulimit4.sh, to limit execution time. |
| 20327 |
* SQLite now supports $wgSharedDB. |
| 20328 |
* (bug 8507) Group file links by namespace:title on image pages. |
| 20329 |
* Stop emitting named entities, so we can use <!DOCTYPE html> while still being |
| 20330 |
well-formed XML. |
| 20331 |
* texvc now supports \bcancel and \xcancel in addition to \cancel and \cancelto |
| 20332 |
* Added scriptExtension setting to $wgForeignFileRepos. |
| 20333 |
* ForeignApiRepo uses scriptDirUrl if apiBase not set. |
| 20334 |
* (bug 24212) Added MediaWiki:Filepage.css which is also included on foreign |
| 20335 |
client wikis. |
| 20336 |
* (bug 14685) Double underscore magic word usage is now tracked in the |
| 20337 |
page_props table, as well as the behavioral magic words {{DEFAULTSORT}} and |
| 20338 |
{{DISPLAYTITLE}} |
| 20339 |
* (bug 24045) MediaWiki:Ipb-needreblock is now wrapped in a div with class |
| 20340 |
"mw-ipb-needreblock" |
| 20341 |
* Non-file pages can no longer be moved to the file namespace, nor vice versa. |
| 20342 |
* (bug 671) The <dfn>, <kbd> and <samp> elements have been whitelisted in user |
| 20343 |
input. |
| 20344 |
* (bug 21503) There's now a "reason" field when creating account for other |
| 20345 |
users. |
| 20346 |
* (bug 24418) action=markpatrolled now requires a token. |
| 20347 |
* A variety of category sort-related fixes, including: |
| 20348 |
** (bug 164) In English, lowercase and uppercase letters now sort the same. |
| 20349 |
** (bug 1211) Subcategories, ordinary pages, and files now page separately. |
| 20350 |
** When several pages are given the same sort key, they sort by their names |
| 20351 |
instead of randomly. |
| 20352 |
* (bug 23848) Add {{ARTICLEPATH}} Magic Word. |
| 20353 |
* (bug 8140) Add dedicated CSS classes to Special:Newpages elements. |
| 20354 |
* (bug 11005) Add CSS class to empty pages in Special:Newpages. |
| 20355 |
* The parser cache is now shared amongst users whose different settings aren't |
| 20356 |
used in the page. |
| 20357 |
* Any attribute beginning with "data-" can now be used in wikitext, per HTML5. |
| 20358 |
* (bug 24007) Diff pages now mention the number of users having edited |
| 20359 |
intermediate revisions. |
| 20360 |
* Added new hook GetIP. |
| 20361 |
* Special:Version now displays whether a SQLite database supports full-text |
| 20362 |
search. |
| 20363 |
* TS_ISO_8691_BASIC was added as a time format, which is used by ResourceLoader |
| 20364 |
for versioning. |
| 20365 |
* Maintenance scripts get a --memory-limit option to override defaults (which |
| 20366 |
is usually to set it to -1 to disable the limit). |
| 20367 |
* (bug 25397) Allow uploading (not displaying) of WebP images, disabled |
| 20368 |
by default. |
| 20369 |
* (bug 23194) Special:ListFiles now has thumbnails. |
| 20370 |
* Use hreflang to specify canonical and alternate links, search engine friendly |
| 20371 |
when a wiki has multiple variant languages. |
| 20372 |
* (bug 19593) Specifying --server in now works for all maintenance scripts. |
| 20373 |
* Now rebuildtextindex.php warns if SQLite doesn't support full-text search. |
| 20374 |
* (bug 10541) Front/backend separation of installation/upgrade code. |
| 20375 |
* (bug 10596) Allow installer to enable extensions already in extensions folder. |
| 20376 |
* (bug 20627) Installer should be in languages other than English. |
| 20377 |
* Support for metadata in SVG files (title, description). |
| 20378 |
* Special:Search: Add CSS classes to 'none found' and 'create link' messages. |
| 20379 |
* Add CSS classes (including namespace and pagename) to the enhanced recent |
| 20380 |
changes/watchlist entries. |
| 20381 |
* (bug 22463) Add hook 'SkinGetPoweredBy' to make 'powered by' icon/text |
| 20382 |
customizable. |
| 20383 |
* Added CSS print pagination to the print stylesheets. |
| 20384 |
* (bug 25960) Add <link rel=canonical"> for File pages of shared/foreign |
| 20385 |
file repositories. |
| 20386 |
* When viewing a redirect, the redirect arrow and redirection target are both |
| 20387 |
wrapped in a div that has the class "redirectMsg" so that the redirection |
| 20388 |
arrow can be customized with CSS. |
| 20389 |
* (bug 21911) Hard coded limit for long page warning removed. New message |
| 20390 |
[[MediaWiki:Longpage-hint]] (empty by default) can be used instead. |
| 20391 |
Parameters: $1 shows the formatted textsize in Byte/KB/MB, $2 is the raw |
| 20392 |
number of the textsize in Byte. |
| 20393 |
* (bug 3276) Give image <gallery>s fluid width. |
| 20394 |
* Added uploads link to page subtitle in Special:Contributions. |
| 20395 |
* Added Special:Myuploads special page that redirects to Special:Listfiles. |
| 20396 |
* The footerlinks used in Monobook/Vector/Modern are now part of common skin |
| 20397 |
code, SkinTemplateOutputPageBeforeExec can be used to customize the list. |
| 20398 |
* Special wrapping setups can now define MW_CONFIG_FILE to load a config file |
| 20399 |
other than LocalSettings.php. This is like MW_CONFIG_CALLBACK but works in |
| 20400 |
some cases where MW_CONFIG_CALLBACK will not work. |
| 20401 |
* (bug 26574) Added 'upload' to $wgRestrictionTypes, allowing upload protected |
| 20402 |
pages to be queried via the API and Special:ProtectedPages, and allowing |
| 20403 |
disabling upload protection by removing it from $wgRestrictionTypes. |
| 20404 |
* The name attribute of HTMLForm fields can now be overridden by passing a |
| 20405 |
'name' key in the descriptor array. Hidden field names are now treated |
| 20406 |
consistently with other fields and, by default, prefixed with 'wp'. |
| 20407 |
* (bug 27402) Add support for disabling MWSuggest. |
| 20408 |
* (bug 26563) Add bytes changed per revision for stub and full article dumps. |
| 20409 |
* (bug 27508) Add $wgSVGMetadataCutoff to limit the maximum amount of an svg we |
| 20410 |
look at when finding metadata to prevent excessive resource usage. |
| 20411 |
* (bug 198) $wgUpgradeKey allows unlocking the web installer for upgrades |
| 20412 |
without having to move LocalSettings.php |
| 20413 |
* Added $wgAllowImageTag, which can be set to true to whitelist the <img> tag |
| 20414 |
in wikitext. |
| 20415 |
* (bug 12797) Add $wgGalleryOptions for adjusting of default gallery display |
| 20416 |
options. |
| 20417 |
* Added the $wgAllowUserCssPrefs option which allows disabling CSS-based |
| 20418 |
preferences; which can improve page loading speed. |
| 20419 |
* Added $wgSQLMode for setting database SQL modes - either performance (null) |
| 20420 |
or other reasons (such as enabling stricter checks). |
| 20421 |
* (bug 20193) Added $wgVectorShowVariantName global configuration variable |
| 20422 |
which causes Vector to render the variants drop-down menu with a label |
| 20423 |
showing the current variant name. This is off by default, pending further |
| 20424 |
research into its user experience implications. |
| 20425 |
* The upload link for missing files can now be set separately from the |
| 20426 |
navigation link with $wgUploadMissingFileUrl. |
| 20427 |
* $wgAdditionalMailParams added to allow setting extra options to mail() calls. |
| 20428 |
* Added $wgSecureLogin to optionally login using HTTPS. |
| 20429 |
* (bug 25728) Added $wgPasswordSenderName to make the name associated |
| 20430 |
with $wgPasswordSender configurable. |
| 20431 |
* (bug 22463) $wgFooterIcons added to allow configuration of the icons shown in |
| 20432 |
the footers of skins. |
| 20433 |
* $wgFileCacheDepth can be used to set the depth of the subdirectory hierarchy |
| 20434 |
used for the file cache. Default value is 2, which matches former behavior. |
| 20435 |
|
| 20436 |
=== Bug fixes in 1.17 === |
| 20437 |
|
| 20438 |
* (bug 17560) Half-broken deletion moved image files to deletion archive |
| 20439 |
without updating database. |
| 20440 |
* (bug 22666) Submitting user block form with an invalid user name no longer |
| 20441 |
throws an error. |
| 20442 |
* (bug 22665, bug 22667) User '0' can now be unblocked and have its block |
| 20443 |
settings changed. |
| 20444 |
* (bug 22606) The body of e-mail address confirmation message is now different |
| 20445 |
when the address changed. |
| 20446 |
* (bug 22664) Special:Userrights now accepts '0' as a valid user name. |
| 20447 |
* (bug 5210) Preload parser now parses <noinclude>, <includeonly> and |
| 20448 |
redirects. |
| 20449 |
* (bug 22709) IIS7 mishandles redirects generated by OutputPage::output() when |
| 20450 |
the URL contains a colon. |
| 20451 |
* (bug 22353) Categorised recent changes now works again. |
| 20452 |
* (bug 22747) "Reveal my e-mail address in notification e-mails" preference is |
| 20453 |
now only displayed when relevant. |
| 20454 |
* (bug 22772) {{#special:}} parser function now works with subpages. |
| 20455 |
* (bug 18664) Relative URIs in interwiki links cause failed redirects. |
| 20456 |
* (bug 19270) Relative URIs in interwiki links break interwiki transclusion. |
| 20457 |
* (bug 22903) Revdelete log entries now show in the user preferred language. |
| 20458 |
* (bug 22905) Correctly handle <abbr> followed by ISBN. |
| 20459 |
* (bug 22940) Namespace aliases pointing to main namespace don't work. |
| 20460 |
* (bug 15810) Blocked admins can no longer block/unblock other users. |
| 20461 |
* (bug 22876) Avoid possible PHP Notice if $wgDefaultUserOptions is not |
| 20462 |
correctly set. |
| 20463 |
* (bug 14952) Page titles are renormalized after html entities are removed so |
| 20464 |
that links with non-NFC character references work correctly. |
| 20465 |
* (bug 22991) wgUserGroups JavaScript variable now reports * group for |
| 20466 |
anonymous users instead of null. |
| 20467 |
* (bug 22627) Remove PHP notice when deleting a page only hidden users edited. |
| 20468 |
* (bug 21520) Anonymous previews now also gives a warning about not being |
| 20469 |
logged in (anonpreviewwarning). |
| 20470 |
* (bug 22935) image/x-ms-bmp mime type added for BMP files. |
| 20471 |
* (bug 23024) Special:ListFiles now escapes file names correctly. |
| 20472 |
* (bug 22867) "View source" tab is now only displayed if there's source text. |
| 20473 |
* (bug 19393) Feeds now format dates in user language rather than content |
| 20474 |
language. |
| 20475 |
* (bug 22852) "Served in" comment is now the time used to cache a single page |
| 20476 |
when using rebuildFileCache.php |
| 20477 |
* (bug 22496) Viewing diff of a redirect page without specifying "oldid" |
| 20478 |
parameter no longer makes the page displayed as being the redirect target. |
| 20479 |
* (bug 22918) Feed cache keys now use $wgRenderHashAppend. |
| 20480 |
* (bug 21916) Last-Modified header is now correct when outputting cached feed. |
| 20481 |
* (bug 20049) Fixed PHP notice in search highlighter that occurs in some cases. |
| 20482 |
* (bug 23017) Special:Disambiguations now list pages in content namespaces |
| 20483 |
rather than only main namespace. |
| 20484 |
* (bug 23063) $wgMaxAnimatedGifArea is checked against the total size of all |
| 20485 |
frames, and $wgMaxImageArea against the size of the first frame, rather than |
| 20486 |
the other way around. Both now default to 12.5 megapixels. Also, images |
| 20487 |
exceeding $wgMaxImageArea can still be embedded at original size. |
| 20488 |
* (bug 23078) "All public logs" option on Special:Log is now always the first |
| 20489 |
item. |
| 20490 |
* (bug 16817) Group names in user rights log are now singular and in lowercase. |
| 20491 |
* Special:Preferences no longer crashes if the wiki default date formatting |
| 20492 |
style is not valid for the user's interface language. |
| 20493 |
* (bug 23167) Check the watch checkbox by default if the watchcreations |
| 20494 |
preference is set. |
| 20495 |
* Maintenance script cleanupTitles is now able to fix titles stored |
| 20496 |
in a negative namespace (which is invalid). |
| 20497 |
* (bug 19858) Removed obsolete <big> in interface messages. |
| 20498 |
* (bug 21456) "Bad title" error when showing non-local interwiki pages no longer |
| 20499 |
displays incorrect tabs. |
| 20500 |
* (bug 23190) Improved math representation for text browsers. |
| 20501 |
* (bug 22015) Improved upload-by-url error handling and error display. |
| 20502 |
* (bug 17941) $wgMaxUploadSize is now honored by all upload sources. |
| 20503 |
* (bug 23080) New usernames now limited to 235 bytes so that custom skin files |
| 20504 |
work. |
| 20505 |
* (bug 23075) Correct MediaTransformError default width in gallery. |
| 20506 |
* (bug 16487) The Anonymous user account used on Postgres is no longer |
| 20507 |
displayed on Special:Listusers. |
| 20508 |
* (bug 23313) Move watchlisthidepatrolled above token in watchlist preferences |
| 20509 |
to enhance preference grouping. |
| 20510 |
* (bug 23298) Interwiki links with prefix only in log summaries now link to the |
| 20511 |
correct link. |
| 20512 |
* (bug 23284) Times are now rounded correctly. |
| 20513 |
* (bug 23375) Added ogv, oga, spx as extensions for ogg files. |
| 20514 |
* (bug 18408) All required permissions for uploading (upload, edit, create) |
| 20515 |
are now checked when loading Special:Upload. Toolbar link for Special:Upload |
| 20516 |
is no longer shown if the user does not have the required permissions. |
| 20517 |
* (bug 23397) texvc in html mode renders \sim as ˜ not ∼ |
| 20518 |
* (bug 23241) License selector should be disabled during upload of a new |
| 20519 |
version. |
| 20520 |
* (bug 23240) Add ID to namespace selector form on Special:Watchlist. |
| 20521 |
* The pipe | character in urls is now escaped. |
| 20522 |
* (bug 23422) mp3 files can now be moved. |
| 20523 |
* (bug 23448) MediaWiki:Summary-preview is now displayed instead of |
| 20524 |
MediaWiki:Subject-preview when previewing summary. |
| 20525 |
* (bug 23426) The {{REVISIONMONTH}} variable is now zero-padded and added |
| 20526 |
new variable {{REVISIONMONTH1}} when unpadded version is needed. |
| 20527 |
* Special:Userrights didn't recognize user as changing his/her own rights if |
| 20528 |
user did not capitalize first letter of username. |
| 20529 |
* (bug 23507) Add styles for printing wikitables. |
| 20530 |
* (bug 19586) Avoid JS errors in mwsuggest when using old browsers such |
| 20531 |
as Opera 8. |
| 20532 |
* (bug 23563) Old skins now support $wgUploadNavigationUrl and take into |
| 20533 |
account upload rights. |
| 20534 |
* (bug 1347) Render \phi in math using images, in order to create consistent |
| 20535 |
and correct render results. |
| 20536 |
* (bug 16573) Render \epsilon in math using images, in order to create |
| 20537 |
consistent and correct render results. |
| 20538 |
* (bug 22541) Support image redirects when using ForeignAPIRepo. |
| 20539 |
* (bug 22967) Make edit summary length cut-off behave correctly for multibyte |
| 20540 |
characters. |
| 20541 |
* (bug 8689) Long numeric lines no longer kill the parser. |
| 20542 |
* (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if |
| 20543 |
the $noRedir parameter is set to true. |
| 20544 |
* (bug 23688) Correct mime types for Office 2007 OpenXML documents. |
| 20545 |
* (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php. |
| 20546 |
* (bug 23797) Xml::input() now allows '0' for the value parameter. |
| 20547 |
* (bug 23747) Make sure that on History pages, the RevDel button is not |
| 20548 |
accidentally activated when hitting enter. |
| 20549 |
* (bug 23845) Special:ListFiles now uses correct file names without underscores. |
| 20550 |
* Ask for permanent login in Special:Preferences only if $wgCookieExpiration > |
| 20551 |
0. |
| 20552 |
* (bug 16356) Repair dumpInterwiki.inc to use proper normalization. |
| 20553 |
* (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws |
| 20554 |
a fatal error. |
| 20555 |
* (bug 23465) Don't ignore the predefined destination filename on |
| 20556 |
Special:Upload after following a red link. |
| 20557 |
* (bug 23642) Recognize mime types of MS OpenXML documents. |
| 20558 |
* (bug 22784) Normalise underscores and spaces in autocomments. |
| 20559 |
* (bug 19910) Headings of the form ===+\s+ are now displayed as valid headings. |
| 20560 |
* (bug 24022) Only check file extensions on the uploadpage when needed. |
| 20561 |
* (bug 24076) Recognize Office 2003 files with OpenXML trailers. |
| 20562 |
* (bug 24244) Updated comments in DefaultSettings.php to reflect |
| 20563 |
Image: --> File: namespace rename. |
| 20564 |
* Make wfTimestamp recognize negative unix timestamp values. |
| 20565 |
* (bug 24401) SimpleSearch: No button/text indicating 'Search' if image is |
| 20566 |
disabled. |
| 20567 |
* (bug 23293) Do not show change tags when Special:RecentChanges(linked) or |
| 20568 |
Special:Newpages is transcluded into another page as it messes up the page. |
| 20569 |
* (bug 24517) LocalFile::newFromKey() and OldLocalFile::newFromKey() no longer |
| 20570 |
throw fatal errors. |
| 20571 |
* (bug 23380) Uploaded files that are larger than allowed by PHP now show a |
| 20572 |
useful error message. |
| 20573 |
* Uploading to a protected title will allow the user to choose a new name |
| 20574 |
instead of showing an error page. |
| 20575 |
* (bug 24425) Use Database::replace instead of delete/insert in |
| 20576 |
SqlBagOStuff::set to avoid query errors about duplicate keynames. |
| 20577 |
* (bug 15470) First letters of filenames are always capitalized by upload JS. |
| 20578 |
* (bug 21215) NoLocalSettings.php doesn't tolerate rewrite rules. |
| 20579 |
* (bug 21052) Fix link color for stubs in NewPages. |
| 20580 |
* (bug 24714) Usage of {{#dateformat: }} in wikis without $wgUseDynamicDates no |
| 20581 |
longer pollutes the parser cache. |
| 20582 |
* (bug 17031) Correct which characters the parser allows in tag attributes (a |
| 20583 |
letter, colon or underscore followed by 0 or more letters, numbers, colons, |
| 20584 |
underscores, hyphens, and/or periods). |
| 20585 |
* Save 200 useless queries on each category page view. |
| 20586 |
* Shell commands will now work on Linux in filesystems mounted noexec. |
| 20587 |
* (bug 24804) Corrected commafying in Polish and Ukrainian. |
| 20588 |
* "Difference between pages" is now displayed instead of "Difference between |
| 20589 |
revisions" on diffs when appropriate. |
| 20590 |
* (bug 23703) ForeignAPIRepo fails on findBySha1() when using a 1.14 install as |
| 20591 |
a repository due to missing 'name' attribute from the API list=allimages. |
| 20592 |
* (bug 24898) MediaWiki uses /tmp even if a vHost-specific tempdir is set, also |
| 20593 |
make wfTempDir() return a sane value for Windows on worst-case. |
| 20594 |
* (bug 24824) Support ImageMagick 6.5.6-2+ JPEG decoder size hint, to reduce |
| 20595 |
memory usage when such an ImageMagick is used for scaling. |
| 20596 |
* Disable multithreaded behavior in recent ImageMagick, to avoid a deadlock |
| 20597 |
when a resource limit such as $wgMaxShellMemory is hit. |
| 20598 |
* (bug 24981) Allow extensions to access SpecialUpload variables again. |
| 20599 |
* (bug 20744) Wiki forgets about an uploaded file. |
| 20600 |
* (bug 17913) Don't show "older edit" when no older edit available. |
| 20601 |
* (bug 6204) TOC not properly rendered when using $wgMaxTocLevel. |
| 20602 |
* (bug 24977) The accesskey in history page now lead directly to the diff |
| 20603 |
instead of alternating focus between the two buttons. |
| 20604 |
* (bug 24987) Special:ListUsers does not take external groups into account. |
| 20605 |
* (bug 20633) update.php has mixed language output. |
| 20606 |
* SQLite system table names are now never prefixed. |
| 20607 |
* (bug 25292) SkinSubPageSubtitle hook now passes the Skin object as second |
| 20608 |
parameter. |
| 20609 |
* (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16). |
| 20610 |
* (bug 25367) wfShellExec() is more explicit when failing due to disabled |
| 20611 |
passthru(). |
| 20612 |
* (bug 25462) Fix double-escaping for section edit link tooltips. |
| 20613 |
* action=raw was removed for Special:Statistics. This information is still |
| 20614 |
available via the API. |
| 20615 |
* (bug 23934) Groups defined in $wgRevokePermissions but not in |
| 20616 |
$wgGroupPermissions now appear on Special:ListGroupRights. |
| 20617 |
* (bug 23923) Special:Prefixindex no longer shows results if nothing was |
| 20618 |
requested. |
| 20619 |
* (bug 22308) Search now finds text in default main page immediately after |
| 20620 |
setup. |
| 20621 |
* (bug 25697) Make sure empty lines render in diff view. |
| 20622 |
* Use an actual minus sign in diff views, instead of a hyphen. |
| 20623 |
* (bug 23732) Clarified "n links" message on Special:MostLinkedFiles. |
| 20624 |
* (bug 23731) Clarified "n links" message on Special:MostLinkedTemplates. |
| 20625 |
* (bug 25642) A exception is now thrown instead of a fatal error when using |
| 20626 |
$wgSMTP without PEAR mail package. |
| 20627 |
* (bug 19633) When possible, Upscale small SVGs when creating thumbnails. |
| 20628 |
* (bug 11013) Database driver detection needs rewriting for robustness. |
| 20629 |
* (bug 13409) Installer prompts could use clarification--now has help boxes. |
| 20630 |
* (bug 16902) Installer spews warnings when exec() and dl() are not available. |
| 20631 |
* (bug 19129) Only show MyISAM/InnoDB when supported. |
| 20632 |
* (bug 17762) Only show other e-mail options when e-mail is globally enabled. |
| 20633 |
* Cache multiple sizes of InstantCommons thumbnails. |
| 20634 |
* (bug 25488) Disallowing anonymous users to read pages no longer throws error |
| 20635 |
on discussion pages with vector as default skin. |
| 20636 |
* (bug 24833) Files name in includes/diff/ are now less confusing. |
| 20637 |
* (bug 25713) SpecialPage::resolveAlias() now normalise spaces to underscores. |
| 20638 |
* (bug 25829) Special:Mypage and Special:Mytalk now forward oldid, diff and dir |
| 20639 |
parameters. |
| 20640 |
* (bug 25175) HTML file cache now honor $wgCacheDirectory if |
| 20641 |
$wgFileCacheDirectory is not set. |
| 20642 |
* (bug 13353) Diff3 version checks were too strict, did not detect working |
| 20643 |
diff3. |
| 20644 |
* (bug 25843) Links to special pages using link= attribute on images are now |
| 20645 |
normalised like normal links to special pages. |
| 20646 |
* (bug 21364) External links using link= attribute on images now respect |
| 20647 |
$wgExternalLinkTarget. |
| 20648 |
* (bug 17789) Added a note to the total views on Special:Statistics saying that |
| 20649 |
is doesn't count non-existing pages and special pages. |
| 20650 |
* (bug 17996) HTTP redirects are now combined when requesting a special page. |
| 20651 |
* (bug 19944) Link on image thumbnails no longer link to "Media:" namespace in |
| 20652 |
some cases. |
| 20653 |
* (bug 25670) wfFindFile() now checks the namespace of the given title, only |
| 20654 |
"File" and "Media" are allowed now. |
| 20655 |
* (bug 25872) Rename the HttpRequest class to MWHttpRequest to avoid conflict |
| 20656 |
with php extension that defines same class. |
| 20657 |
* (bug 20591) There's now a different message on Special:MovePage when |
| 20658 |
$wgFixDoubleRedirects is set to false. |
| 20659 |
* Fixed PHP warnings when updating a broken MySQL database. |
| 20660 |
* (bug 26023) Corrected deleteBacth.php's documentation. |
| 20661 |
* (bug 25451) Improved datetime representation in 32 bit php >= 5.2. |
| 20662 |
* Show "skin does not exist error" only when the skin is inputted in the wrong |
| 20663 |
case. |
| 20664 |
* (bug 26164) Potential html injection when the database server isn't available. |
| 20665 |
* (bug 26160) Upload description set by extensions are not propagated. |
| 20666 |
* (bug 9675) generateSitemap.php now takes an --urlpath parameter to allow |
| 20667 |
absolute URLs in the sitemap index (as required e.g. by Google). |
| 20668 |
* Partial workaround for bug 6220: at least make files on shared repositories |
| 20669 |
show up as (struck-out) bluelinks instead of redlinks on Special:WantedFiles. |
| 20670 |
* rebuildFileCache.php no longer creates inappropriate cache files for |
| 20671 |
redirects. |
| 20672 |
* (bug 25512) Subcategory list should not include category prefix for members. |
| 20673 |
* (bug 10871) Javascript and CSS pages in MediaWiki namespace are no longer |
| 20674 |
treated as wikitext on preview. |
| 20675 |
* Page existence is now not revealed (in the colour of the tabs) to users who |
| 20676 |
cannot read the page in question. |
| 20677 |
* (bug 22753) Output from update.php is more clear when things changed, entries |
| 20678 |
indicating nothing changed are now all prefixed by "..." |
| 20679 |
* (bug 16019) $wgArticlePath = "/$1" no longer breaks API edit/watch actions. |
| 20680 |
* (bug 18372) File types blacklisted by $wgFileBlacklist will no longer be shown |
| 20681 |
as "Permitted file types" on the upload form. |
| 20682 |
* (bug 26540) Fixed wrong call to applyPatch in MysqlUpdater. |
| 20683 |
* (bug 26034) Make the "View / Read" tab in content_navigation style tabs remain |
| 20684 |
selected when the action is "purge". |
| 20685 |
* (bug 26733) Wrap initial table creation in transaction. |
| 20686 |
* (bug 26208) Mark directionality of some interlanguage links. |
| 20687 |
* (bug 26716) Provide link to instructions for external editor related |
| 20688 |
preferences. |
| 20689 |
* (bug 26961) Hide anon edits in watchlist preference now actually works. |
| 20690 |
* (bug 1379) Installer directory conflicts with some hosts' configuration panel. |
| 20691 |
* (bug 27781) Installer does not warn about 5.1.x. Added a compatibility |
| 20692 |
function for array_key_exists(). |
| 20693 |
* Fix XML well-formedness on a few pages when $wgHtml5 is true (the default). |
| 20694 |
* (bug 28069) MediaWiki fails streaming files when mod_deflate and ob_gzhandler |
| 20695 |
are also set. |
| 20696 |
* (bug 26223) Concurrently moving an article to different titles leaks a |
| 20697 |
redirect revision with no page. |
| 20698 |
* (bug 15641) Fixed permissions checks in Special:Import which allowed users |
| 20699 |
without the 'import' permission to import pages from configured import |
| 20700 |
sources. |
| 20701 |
* (bug 26449) Keep underlines from headings outside of tables and thumbs by |
| 20702 |
adding overflow:hidden to h1,h2,h3,h4,h5,h6 (also fixes editsection bunching). |
| 20703 |
* (bug 26708) Remove background-color:white from tables in Monobook and Vector. |
| 20704 |
* (bug 26781) {{PAGENAME}} and related parser functions escape their output |
| 20705 |
better. |
| 20706 |
* (bug 26716) Provide link to instructions for external editor related |
| 20707 |
preferences and add a comment to the ini control file explaining what is going |
| 20708 |
on. |
| 20709 |
* (bug 28422) Remove color:black from tables in Monobook and Vector. And add it |
| 20710 |
to table.wikitable instead. |
| 20711 |
* (bug 27560) Search queries no longer fail in walloon language. |
| 20712 |
* (bug 27700) The upload protection can now also be set for files that do not |
| 20713 |
exist. |
| 20714 |
* (bug 28034) uploading file to local wiki when file exists on shared repository |
| 20715 |
(commons) gives spurious info in the warning message. |
| 20716 |
* Usernames get lost when selecting different sorts on Special:listfiles. |
| 20717 |
* (bug 28166) UploadBase assumes that 'edit' and 'upload' rights are not per |
| 20718 |
page restrictions. |
| 20719 |
* (bug 28242) Make redirects generated by urls containing a local interwiki |
| 20720 |
prefix be a 301 instead of a 302. |
| 20721 |
* (bug 28568) Entries in the iwlinks table are now removed on page deletion. |
| 20722 |
* (bug 28306) Fix exposure of suppressed usernames in ForeignDBRepo. |
| 20723 |
* (bug 28444) Fix regression: edit-on-doubleclick retains revision id again. |
| 20724 |
* UtfNormal::cleanUp on an invalid utf-8 sequence no longer returns false if |
| 20725 |
intl installed. |
| 20726 |
* (bug 26729) Category pages should return 404 if they do not exist and have no |
| 20727 |
members. |
| 20728 |
* (bug 28214) When page not found, sends malformed HTTP/1.x instead of HTTP/1.1 |
| 20729 |
in header of response. |
| 20730 |
* (bug 27634) TOC title appears in wrong language. |
| 20731 |
* (bug 27761) Fix regression: pages with Esperanto titles containing convertible |
| 20732 |
character sequences became unreachable. |
| 20733 |
* (bug 27508) SVGMetadataExtractor takes too much resources on huge svgs. |
| 20734 |
* (bug 27465) SVG thumbnail generation. |
| 20735 |
* (bug 27467) preload can leave UNIQ. |
| 20736 |
* (bug 27539) Allow attributes beginning with a digit in wikitext tag |
| 20737 |
parameters. |
| 20738 |
* (bug 27328) using relative paths in CSS imports in MediaWiki:Common.css broken |
| 20739 |
in 1.17. |
| 20740 |
* (bug 27333) Fix repetitive last-seen time queries on page history. |
| 20741 |
* (bug 26250, bug 23817) Fix wfObjectToArray() to descend into arrays; fixes |
| 20742 |
processing of JSON return values for ForeignAPIRepo when native json module |
| 20743 |
not present. |
| 20744 |
* (bug 25675) Fix search suggestions for Special: pages with spaces. |
| 20745 |
* (bug 25571) Xml::encodeJsVar now passes floats natively instead of converting |
| 20746 |
to strings. |
| 20747 |
* (bug 27338) Gallery in 1.17 breaks for audio/video + ogghandler. |
| 20748 |
* (bug 27302) Don't append the current timestamp for user/site modules when no |
| 20749 |
user/site JS/CSS is present. |
| 20750 |
* (bug 27016) dumpTextPass.php now consider the "output" parameter. |
| 20751 |
* (bug 22606) don't send the "someone registred an account" message when setting |
| 20752 |
email address (i.e. old one empty) in user preferences. |
| 20753 |
* (bug 26458) Section edit links appear on pages that user does not have right |
| 20754 |
to edit. |
| 20755 |
* (bug 28611) Don't die in SqlBagOStuff::incr() if there's a race condition. |
| 20756 |
* (bug 16886) Sister projects box moves down the extract of the first result |
| 20757 |
in IE 7. |
| 20758 |
* (bug 17398) Fixed "link" parameter in image links with "thumb" or "frame" |
| 20759 |
parameter. |
| 20760 |
|
| 20761 |
=== API changes in 1.17 === |
| 20762 |
|
| 20763 |
* BREAKING CHANGE: action=patrol now requires POST. |
| 20764 |
* BREAKING CHANGE: patrol token is no longer the same as edit token. |
| 20765 |
* BREAKING CHANGE: Session keys returned by ApiUpload are now strings instead |
| 20766 |
of integers. |
| 20767 |
* BREAKING CHANGE: (bug 25303) Fix API parameter integer validation to actually |
| 20768 |
enforce validation on the input values in addition to giving a warning. |
| 20769 |
Also add flag to enforce (die) if integer out of range. |
| 20770 |
* (bug 24650) Fix API to work with categorylinks changes. |
| 20771 |
* action=parse now correctly returns an error for nonexistent pages. |
| 20772 |
* (bug 27201) Special:WhatLinksHere output no longer contains duplicate IDs. |
| 20773 |
* (bug 26560) On allusers if limit < total number of users, last user gets |
| 20774 |
duplicated. |
| 20775 |
* (bug 27715) imageinfo didn't respect revdelete. |
| 20776 |
* (bug 27479) API error when using both prop=pageprops and |
| 20777 |
prop=info&inprop=displaytitle. |
| 20778 |
* (bug 27862) Useremail module didn't properly return success on success. |
| 20779 |
* (bug 27590) prop=imageinfo now allows querying the media type. |
| 20780 |
* (bug 27587) list=filearchive now outputs full title info. |
| 20781 |
* (bug 27897) list=allusers and list=users list hidden users. |
| 20782 |
* (bug 22738) Allow filtering by action type on query=logevent. |
| 20783 |
* (bug 22764) uselang parameter for action=parse. |
| 20784 |
* (bug 22944) API: watchlist options are inconsistent. |
| 20785 |
* (bug 22868) don't list infinite block expiry date as "now" in API logevents. |
| 20786 |
* (bug 22290) prop=revisions now outputs "comment" field even when comment |
| 20787 |
is empty, for consistency with list=recentchanges. |
| 20788 |
* (bug 19721) API action=help should have a way to just list for a specific |
| 20789 |
module. |
| 20790 |
* (bug 23458) Add support for pageid parameter to action=parse requests. |
| 20791 |
* (bug 23460) Parse action should have a section option. |
| 20792 |
* (bug 21346) Make deleted images searchable by hash. |
| 20793 |
* (bug 23461) Normalise usage of parameter names in parameter descriptions. |
| 20794 |
* (bug 23548) Allow access of another users watchlist through watchlistraw |
| 20795 |
using token and username. |
| 20796 |
* (bug 23524) Api Modules as followup to bug 14473 (Add iwlinks table to |
| 20797 |
track inline interwiki link usage). |
| 20798 |
* Add pltitles and tltemplates to prop=links and prop=templates respectively, |
| 20799 |
similar to prop=categories's clcategories. |
| 20800 |
* (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when |
| 20801 |
thumbnailing larger than original image. |
| 20802 |
* (bug 23835) Need "thumbmime" result in "imageinfo" query. |
| 20803 |
* (bug 23851) Repair diff for file redirect pages. |
| 20804 |
* (bug 24009) Include implicit groups in action=query&list=users&usprop=groups. |
| 20805 |
* (bug 24016) API: Handle parameters specified in simple string syntax |
| 20806 |
( 'paramname' => 'defaultval' ) correctly when outputting help. |
| 20807 |
* (bug 24089) Logevents causes PHP Notice if leprop=title isn't supplied. |
| 20808 |
* (bug 23473) Give description of properties on all modules. |
| 20809 |
* (bug 24136) unknownerror when adding new section without summary, but |
| 20810 |
forceditsummary. |
| 20811 |
* (bug 22339) Added srwhat=nearmatch to list=search to get a "go" result. |
| 20812 |
* (bug 24303) Added new &servedby parameter to all actions which adds the |
| 20813 |
hostname that served the request to the result. It is also added |
| 20814 |
unconditionally on error. |
| 20815 |
* (bug 24185) Titles in the Media and Special namespace are now supported for |
| 20816 |
title normalization in action=query. Special pages have their name resolved |
| 20817 |
to the local alias. |
| 20818 |
* (bug 24296) Added converttitles parameter to convert titles to their |
| 20819 |
canonical language variant. |
| 20820 |
* (bug 23936) Add "displaytitle" to query/info API. |
| 20821 |
* (bug 24485) Make iwbacklinks a generator, optionally display iwprefix and |
| 20822 |
iwtitle. |
| 20823 |
* (bug 24564) Fix fatal errors when using list=deletedrevs, prop=revisions or |
| 20824 |
one of the backlinks generators with limit=max. |
| 20825 |
* (bug 24656) API's parse module needs option to disable PP report. |
| 20826 |
* PARAM_REQUIRED parameter flag added. If this flag is set, and the end user |
| 20827 |
does not set the parameter, the API will automatically throw an error. |
| 20828 |
* (bug 24665) When starttimestamp is not specified, fake it by setting it to |
| 20829 |
NOW, not to the timestamp of the last edit. |
| 20830 |
* (bug 24677) axto= parameters added to allcategories, allimages, alllinks, |
| 20831 |
allmessages, allpages, and allusers. |
| 20832 |
* (bug 24236) Add add, remove, add-self, remove-self tags to |
| 20833 |
meta=siteinfo&siprop=usergroups. |
| 20834 |
* (bug 24484) Add prop=pageprops module. |
| 20835 |
* (bug 24330) Add &redirect parameter to ?action=edit. |
| 20836 |
* (bug 24722) For list=allusers&auprop=blockinfo, only show blockedby and |
| 20837 |
blockreason if the user is actually blocked. |
| 20838 |
* Add format=dump and format=dumpfm, outputs results in PHP's var_dump() format. |
| 20839 |
* For required string parameters, if '' is provided, this is now classed as |
| 20840 |
missing. |
| 20841 |
* (bug 24724) list=allusers is out by 1 (shows total users - 1). |
| 20842 |
* (bug 24166) API error when using rvprop=tags. |
| 20843 |
* Introduced "asynchronous download" mode for upload-by-url. Requires |
| 20844 |
$wgAllowAsyncCopyUploads to be true. |
| 20845 |
* sinumberingroup correctly gives size of 'user' group, and omits size of |
| 20846 |
implicit groups rather than showing 0. |
| 20847 |
* (bug 25248) API: paraminfo errors with certain modules. |
| 20848 |
* (bug 24792) API help for action=purge sometimes wrongly stated whether a |
| 20849 |
POST request was needed due to cache pollution. |
| 20850 |
* Added iiprop=parsedcomment to prop=imageinfo, similar to prop=revisions. |
| 20851 |
* Added rvparse to parse revisions. For performance reasons if this option is |
| 20852 |
used, rvlimit is enforced to 1. |
| 20853 |
* (bug 25748) If a action=parse request provides an oldid that is actually the |
| 20854 |
current revision id, try the parser cache, and save it to it if necessary. |
| 20855 |
* (bug 25463) Export header should not be shown if no pages were requested, to |
| 20856 |
reduce confusion. |
| 20857 |
* (bug 25648) API discovery information has been added as RSD link in page |
| 20858 |
<head> and by providing an API module action=rsd. Added hook |
| 20859 |
ApiRsdServiceApis for extensions to add their own service to the services |
| 20860 |
list. |
| 20861 |
* The HTML of diff output markers has changed. Hyphens are now minus signs, |
| 20862 |
empty markers are now filled with non-breaking-space characters. |
| 20863 |
* (bug 25741) Add more data to list=search's srprop. |
| 20864 |
* (bug 25760) counter property still reported by the API when |
| 20865 |
$wgDisableCounters enabled. |
| 20866 |
* (bug 25987) prop=info&inprop=watched now also works for missing pages. |
| 20867 |
* (bug 26006) prop=langlinks now allows obtaining full URL. |
| 20868 |
* (bug 26075) ApiDelete.php now calls correctly ArticleDelete hook. |
| 20869 |
* (bug 26089) add block expiration to blockinfo. |
| 20870 |
* (bug 26125) prop=imageinfo&iiprop=size now returns the page count if the |
| 20871 |
file is a multi-page file. |
| 20872 |
* (bug 10268) Added linktodiffs parameter on action=feedwatchlist. |
| 20873 |
* (bug 26219) Show API limits for multi values in description. |
| 20874 |
* (bug 28070) Fix watchlist RSS for databases that store timestamps in a |
| 20875 |
real timestamp field. |
| 20876 |
* (bug 27722) list=filearchive now supports revdel. |
| 20877 |
|
| 20878 |
=== Language support changes in 1.17 === |
| 20879 |
|
| 20880 |
MediaWiki supports over 330 languages. Many localizations are updated regularly. |
| 20881 |
|
| 20882 |
The following languages were added: |
| 20883 |
|
| 20884 |
* Moroccan Spoken Arabic (ary) |
| 20885 |
* Banjar (bjn) |
| 20886 |
* Kabardian (kbd) |
| 20887 |
* Kabardian (Cyrillic) (kbd-cyrl) |
| 20888 |
* Latgalian (ltg) |
| 20889 |
* Minangkabau (min) |
| 20890 |
* Dutch (informal) (nl-informal) |
| 20891 |
* Rusyn (rue) |
| 20892 |
|
| 20893 |
Other significant changes to MediaWiki's language support: |
| 20894 |
|
| 20895 |
* Fiji Hindi (Devangari script) was removed. |
| 20896 |
* Removed deprecated language code "dk" (Danish), use "da" instead. |
| 20897 |
* Link trail added for sl and sh. |
| 20898 |
* (bug 27633) Add characters to linkTrail for Portuguese (pt and pt-br). |
| 20899 |
* (bug 23156) Commafy and search normalization updated for Belarusian |
| 20900 |
(Taraškievica). |
| 20901 |
* (bug 23283) Native name for Old English -> Ænglisc. |
| 20902 |
* (bug 23364) Native name for Azerbaijani -> Azərbaycanca. |
| 20903 |
* (bug 24593) Native name for Sorani now uses only Arabic script. |
| 20904 |
* (bug 24628) Generic translations for NS_USER/NS_USER_TALK for Esperanto. |
| 20905 |
* (bug 24917) Polish as fallback for Kashubia. |
| 20906 |
* (bug 24794) Tatar link trail updated. |
| 20907 |
* Esperanto date format corrected. |
| 20908 |
* (bug 28159) Change interwiki name of language kbd to Къэбэрдеибзэ / |
| 20909 |
Qabardjajəbza. |
| 20910 |
* (bug 28184) Namespaces for the Latgalian Wikipedia. |
| 20911 |
* (bug 25010) Bashkir-language interwikis: linktext change from Башҡорт |
| 20912 |
to Башҡортса. |
| 20913 |
* (bug 26395) Change name of Cornish language to Kernowek. |
| 20914 |
|
| 20915 |
=== Other changes in 1.17 === |
| 20916 |
|
| 20917 |
* DatabaseFunctions.php that was needed for compatibility with pre-1.3 |
| 20918 |
extensions has been removed. |
| 20919 |
* XmlFunctions.php has been removed. Use the Xml or Html classes as appropriate. |
| 20920 |
* The FailFunction "error handling" method has now been removed |
| 20921 |
* Sysops now have the "suppressredirect" right by default |
| 20922 |
* Removed $wgRemoteUploads. It was not well supported and superseded by |
| 20923 |
$wgUploadNavigationUrl. |
| 20924 |
* (bug 26253) $wgPostCommitUpdateList has been removed |
| 20925 |
* The PHPUnit test suite has been removed from this release due to serious |
| 20926 |
issues which should be resolved by the 1.18 release. |
| 20927 |
* Oracle DB now uses the __destruct function to commit/close connection as it |
| 20928 |
doesn't commit on close if transation is triggered in OCI. |
| 20929 |
|
| 20930 |
== MediaWiki 1.16 == |
| 20931 |
|
| 20932 |
== MediaWiki 1.16.5 == |
| 20933 |
=== Changes since 1.16.4 === |
| 20934 |
|
| 20935 |
* (bug 28534) Fixed XSS vulnerability for IE 6 clients. This is the third |
| 20936 |
attempt at fixing bug 28235. |
| 20937 |
* (bug 28639) Fixed potential privilege escalation when $wgBlockDisablesLogin |
| 20938 |
is enabled. |
| 20939 |
|
| 20940 |
== MediaWiki 1.16.4 == |
| 20941 |
=== Changes since 1.16.3 === |
| 20942 |
|
| 20943 |
* (bug 28507) The change we made in 1.16.3 to fix bug 28235 (XSS for IE 6 |
| 20944 |
clients) was not actually sufficient to fix that bug. This release contains |
| 20945 |
a second attempt, hopefully we have fixed it this time. |
| 20946 |
|
| 20947 |
== MediaWiki 1.16.3 == |
| 20948 |
=== Changes since 1.16.2 === |
| 20949 |
|
| 20950 |
* (bug 28449) Fixed permissions checks in Special:Import which allowed users |
| 20951 |
without the 'import' permission to import pages from the configured import |
| 20952 |
sources. |
| 20953 |
* (bug 28235) Fixed XSS affecting IE 6 and earlier clients only, due to those |
| 20954 |
browsers looking for a file extension in the query string of the URL, and |
| 20955 |
ignoring the Content-Type header if one is found. |
| 20956 |
* (bug 28450) Fixed a CSS validation issue involving escaped comments, which |
| 20957 |
led to XSS for Internet Explorer clients and privacy loss for other clients. |
| 20958 |
|
| 20959 |
== MediaWiki 1.16.2 == |
| 20960 |
=== Changes since 1.16.1 === |
| 20961 |
|
| 20962 |
* (bug 26642) Fixed incorrect translated namespace due to a regression in the |
| 20963 |
language converter. |
| 20964 |
* The interface translations were updated. |
| 20965 |
* (bug 27093, CVE-2011-0047): Fixed CSS injection vulnerability. |
| 20966 |
* (bug 27094) Fixed server-side arbitrary script inclusion vulnerability. |
| 20967 |
Affects Windows servers only. A malicious file with extension ".php" must |
| 20968 |
exist on the server for the exploit to be effective. |
| 20969 |
|
| 20970 |
== MediaWiki 1.16.1 == |
| 20971 |
=== Changes since 1.16.0 === |
| 20972 |
|
| 20973 |
* (bug 24981) Allow extensions to access SpecialUpload variables again |
| 20974 |
* (bug 24724) list=allusers was out by 1 (shows total users - 1) |
| 20975 |
* (bug 24166) Fixed API error when using rvprop=tags |
| 20976 |
* For wikis using French as a content language, Special:Téléchargement works |
| 20977 |
again as an alias for Special:Upload. |
| 20978 |
* (bug 25167) Correctly load JS fixes for IE6 (fixing a regression in 1.16.0) |
| 20979 |
* (bug 25248) Fixed paraminfo errors in certain API modules. |
| 20980 |
* The installer now has improved handling for situations where safe_mode is |
| 20981 |
active or exec() and similar functions are disabled. |
| 20982 |
* (bug 19593) Specifying --server in now works for all maintenance scripts. |
| 20983 |
* Fixed $wgLicenseTerms register globals. |
| 20984 |
* (bug 26561) Fixed clickjacking vulnerabilities by introducing support for |
| 20985 |
X-Frame-Options. The header value can be configured using $wgBreakFrames and |
| 20986 |
$wgEditPageFrameOptions. |
| 20987 |
|
| 20988 |
== MediaWiki 1.16.0 == |
| 20989 |
=== Changes since 1.16 beta 3 === |
| 20990 |
|
| 20991 |
* (bug 23769) Disabled HTML 5 client-side form validation. Was introduced in |
| 20992 |
1.16 beta 1, but is currently poorly supported by browsers. |
| 20993 |
* (bug 23175) Re-added window.ta variable for backwards compatibility. |
| 20994 |
* (bug 23264) Fixed breakage of various command line scripts due to extra line |
| 20995 |
endings being inserted by Maintenance::output(). |
| 20996 |
* Fixed HTTP client functionality with safe_mode=On. |
| 20997 |
* Fixed parser tests broken in 1.16 beta 3. |
| 20998 |
* For Oracle DB backend: fixed parser tests and table prefix feature. |
| 20999 |
* (bug 23767) Fixed PHP warning when REQUEST_URI is blank (IIS issue). |
| 21000 |
* Fixed plural function for Northern Sami (se) |
| 21001 |
* (bug 23597) Fixed conflicts between ID attributes in the Vector skin and |
| 21002 |
parser-generated heading IDs. Renamed head, panel, head-base and page-base. |
| 21003 |
* Disabled $wgHitcounterUpdateFreq>1 feature on SQLite, does not work yet. |
| 21004 |
* (bug 23465) Don't ignore the predefined destination filename on |
| 21005 |
Special:Upload after following a red link to a file. |
| 21006 |
* In SQLite full-text search feature: fixed "move page" feature, was non- |
| 21007 |
functional. |
| 21008 |
* (bug 24565) Fixed Cache-Control headers sent from API modules, to protect |
| 21009 |
user privacy in the case where an attacker can access the wiki through the |
| 21010 |
same HTTP proxy as a logged-in user. |
| 21011 |
* Fixed an XSS vulnerability in profileinfo.php for installations with |
| 21012 |
$wgEnableProfileInfo = true (false by default) |
| 21013 |
* Fixed a case where an X-Vary-Options header was sent despite $wgUseXVO being |
| 21014 |
false. Fixed a minor header parsing issue when $wgUseXVO = true. |
| 21015 |
* Fixed a register_globals arbitrary inclusion vulnerability in |
| 21016 |
MediaWikiParserTest.php, introduced in 1.16 beta 1. |
| 21017 |
|
| 21018 |
=== Changes since 1.16 beta 2 === |
| 21019 |
|
| 21020 |
* Fixed bugs in the [[Special:Userlogin]] and [[Special:Emailuser]] handling of |
| 21021 |
invalid usernames. |
| 21022 |
* Fixed sorting in [[Special:Allmessages]] |
| 21023 |
* (bug 23113) Fixed title in the show/hide links on diff pages |
| 21024 |
* (bug 23117) Fixed API rollback, was returning "badtoken" for valid requests |
| 21025 |
* (bug 23127) Re-added missing $1 parameter to the uploadtext message |
| 21026 |
* Fixed a bug in the Vector skin where personal tools display behind the logo |
| 21027 |
* (bug 23139) Fixed a bug in edit conflict resolution, where both textboxes |
| 21028 |
showed the same text. |
| 21029 |
* (bug 23115, bug 23124) Fixed various problems with <title> and <h1> elements |
| 21030 |
in page views and previews when the language converter is enabled. |
| 21031 |
* (bug 23148) Fixed a local path disclosure vulnerability in ImageMagick image |
| 21032 |
scaling, which was introduced in 1.16 beta 1. |
| 21033 |
* Improved error checking on installer. |
| 21034 |
* (bug 22970) Fixed a JavaScript error in the upload destination conflict |
| 21035 |
check. |
| 21036 |
* (bug 23167) Check the watch checkbox by default if the watchcreations |
| 21037 |
preference is set. |
| 21038 |
* (bug 23171) Improve IE6 version check to avoid false positives. |
| 21039 |
* (bug 23176) Fixed upload warning override feature "upload new version", |
| 21040 |
broken in 1.16 beta 1. |
| 21041 |
* Fixed regression in unwatch links sent out in notification emails. When the |
| 21042 |
mailing job was deferred via the job queue, the title was incorrect. |
| 21043 |
* (bug 23534) Fixed SQL query error in API list=allusers. |
| 21044 |
* Fixed a bug in uploads for non-JavaScript clients. An empty string was used |
| 21045 |
as the default destination filename, instead of the source filename as |
| 21046 |
expected. |
| 21047 |
* (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create |
| 21048 |
account" and "create by e-mail" features of [[Special:Userlogin]] |
| 21049 |
* (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS |
| 21050 |
validation issue. |
| 21051 |
* Fixed a DoS vulnerability in ImageMagick image scaling. ImageMagick |
| 21052 |
expanded wildcard characters "?" and "*" in image filenames, potentially |
| 21053 |
causing large numbers of images to be scaled in response to a single request. |
| 21054 |
The fix for this involves breaking the scaling of such image filenames until |
| 21055 |
ImageMagick 6.6.1-5 or later is deployed, see bug 23361 for more details. |
| 21056 |
* (bug 23608) Fixed invalid HTML in diff pages. |
| 21057 |
|
| 21058 |
=== Changes since 1.16 beta 1 === |
| 21059 |
|
| 21060 |
* Fixed errors in maintenance/patchSql.php |
| 21061 |
* (bug 19627) Fix regression from r57867 where HTMLForm would output |
| 21062 |
<element classes="foo bar"> rather than <element class="foo bar"> |
| 21063 |
* Fixed broken "-r" option to maintenance/lag.php |
| 21064 |
* (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to |
| 21065 |
be submitted along with the user name and password. |
| 21066 |
|
| 21067 |
=== Configuration changes in 1.16 === |
| 21068 |
|
| 21069 |
* (bug 18222) $wgMinimalPasswordLength default is now 1 |
| 21070 |
* $wgSessionHandler can be used to configure session.save_handler |
| 21071 |
* $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to |
| 21072 |
be used when uploading/moving files |
| 21073 |
* (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not |
| 21074 |
to be shown to users |
| 21075 |
* $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of |
| 21076 |
$wgHiddenPrefs[] = 'realname', but the former are still retained |
| 21077 |
for backwards-compatibility |
| 21078 |
* (bug 9257) $wgRCMaxAge now defaults to three months |
| 21079 |
* $wgDevelopmentWarnings can be set to true to show warnings about deprecated |
| 21080 |
functions and other potential errors when developing. |
| 21081 |
* Subpages are now enabled in the MediaWiki namespace by default. This is |
| 21082 |
mainly a cosmetic change, and does not in any way affect the MessageCache, |
| 21083 |
which was already effectively treating the namespace as if it had subpages. |
| 21084 |
* Oracle: maintenance/ora/user.sql script for creating DB user on oracle with |
| 21085 |
appropriate privileges. Creating this user with web-install page requires |
| 21086 |
oci8.privileged_connect set to On in php.ini. |
| 21087 |
* Removed UserrightsChangeableGroups hook introduced in 1.14 |
| 21088 |
* Added $wgCacheDirectory, to replace $wgFileCacheDirectory, |
| 21089 |
$wgLocalMessageCache, and any other local caches which need a place to put |
| 21090 |
files. |
| 21091 |
* $wgFileCacheDirectory is no longer set to anything by default, and so either |
| 21092 |
needs to be set explicitly, or $wgCacheDirectory needs to be set instead. |
| 21093 |
* $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache |
| 21094 |
to true |
| 21095 |
* Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar |
| 21096 |
functionality is now available via $wgLocalisationCacheConf. |
| 21097 |
* $wgMessageCache->addMessages() is deprecated. Messages added via this |
| 21098 |
interface will not appear in Special:AllMessages. |
| 21099 |
* $wgRegisterInternalExternals can be used to record external links pointing |
| 21100 |
to same server |
| 21101 |
* (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added |
| 21102 |
to control which external domains may access the API via cross-site AJAX. |
| 21103 |
* $wgMaintenanceScripts for extensions to add their scripts to the default list |
| 21104 |
* $wgMemoryLimit has been added, default value '50M' |
| 21105 |
* $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook |
| 21106 |
should be used instead |
| 21107 |
* (bug 20489) $wgIllegalFileChars added to override the default list of illegal |
| 21108 |
characters in file names. |
| 21109 |
* (bug 19646) $wgImgAuthDetails added to display reason access to uploaded file |
| 21110 |
was denied to users(img_auth only) |
| 21111 |
* (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up |
| 21112 |
correctly (img_auth only) |
| 21113 |
* $wgUploadMaintenance added to disable file deletions and restorations during |
| 21114 |
maintenance |
| 21115 |
* $wgCapitalLinkOverrides added to configure per-namespace capitalization |
| 21116 |
* (bug 21172) $wgSorbsUrl can now be an array with multiple DNSBL and renamed |
| 21117 |
to $wgDnsBlacklistUrls (backward compatibility kept) |
| 21118 |
* $wgEnableHtmlDiff has been removed |
| 21119 |
* (bug 3340) $wgBlockCIDRLimit added (default: 16) to configure the low end of |
| 21120 |
CIDR ranges for blocking |
| 21121 |
* $wgUseInstantCommons added for quick and easy enabling of Commons as a remote |
| 21122 |
file repository |
| 21123 |
* $wgDBAhandler added to choose a DBA handler when using CACHE_DBA |
| 21124 |
* $wgPreviewOnOpenNamespaces for extensions that create namespaces that behave |
| 21125 |
similarly to the category namespace. |
| 21126 |
* $wgEnableSorbs renamed to $wgDnsBlacklistUrls ($wgEnableSorbs kept for |
| 21127 |
backward compatibility) |
| 21128 |
* $wgUploadNavigationUrl now also affects inline images that do not |
| 21129 |
exist. In that case the URL will get (?|&)wpDestFile=<filename> appended to |
| 21130 |
it as appropriate. |
| 21131 |
* If $wgLocaltimezone is null, use the server's timezone as the default for |
| 21132 |
signatures. This was always the behavior documented in DefaultSettings.php |
| 21133 |
but has not been the actual behavior for some time: instead, UTC was used |
| 21134 |
by default. |
| 21135 |
* Added $wgExtensionAssetsPath, to decouple assets serving from $wgScriptPath. |
| 21136 |
If not specified it will default to $wgScriptPath/extensions |
| 21137 |
* Added $wgCountTotalSearchHits to make search UI display total number of hits |
| 21138 |
with some search engines. |
| 21139 |
* Added $wgAdvertisedFeedTypes to decide what feed types (RSS, Atom, both, or |
| 21140 |
neither) MediaWiki advertises. Default is array( 'atom' ), so RSS is no |
| 21141 |
longer advertised by default (but it still works). |
| 21142 |
* Added $wgMemCachedTimeout, controls how long to wait for data from the |
| 21143 |
memcached servers. |
| 21144 |
* New configuration variables $wgDebugTimestamps and $wgDebugPrintHttpHeaders |
| 21145 |
for controlling debug output. |
| 21146 |
* New $wgBlockDisablesLogin when set to true disallows blocked users from |
| 21147 |
logging in. |
| 21148 |
* (bug 8790) Metadata edition ($wgUseMetadataEdit) has been moved to a separate |
| 21149 |
extension "MetadataEdit". |
| 21150 |
|
| 21151 |
=== New features in 1.16 === |
| 21152 |
|
| 21153 |
* Add CSS defintion of the 'wikitable' class to shared.css |
| 21154 |
* (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when |
| 21155 |
viewing talk pages |
| 21156 |
* Superfluous border="0" removed from images |
| 21157 |
* Added new hook 'MessageCacheReplace' into MessageCache.php. For instance |
| 21158 |
to allow extensions to update caches in similar way as MediaWiki invalidates |
| 21159 |
a cached MonoBook sidebar |
| 21160 |
* Special:AllPages: Move hardcoded styles from code to CSS |
| 21161 |
* (bug 18529) New hook: SoftwareInfo for adding information about the software |
| 21162 |
to Special:Version |
| 21163 |
* Added $wgExtPGAlteredFields to allow extensions to easily alter the data |
| 21164 |
type of columns when using the Postgres backend. |
| 21165 |
* (bug 16950) Show move log when viewing/creating a deleted page |
| 21166 |
* (bug 18242) Show the Subversion revision number per extensions in |
| 21167 |
Special:Version |
| 21168 |
* (bug 18420) Missing file revisions are handled gracefully now |
| 21169 |
* (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences |
| 21170 |
* (bug 18466) Add note or warning when overruling a move (semi-)protection |
| 21171 |
* (bug 18342) insertTags works in edit summary box |
| 21172 |
* (bug 18411) The upload form also checks post_max_size |
| 21173 |
* Watchlist now has a specialized <div> tag that contains a unique class for |
| 21174 |
each page |
| 21175 |
* Added Minguo calendar support for the Taiwan Chinese language |
| 21176 |
* Database: unionQueries function to be used for UNION sql construction, so |
| 21177 |
it can be overloaded on DB abstraction level for DB specific functionality |
| 21178 |
* (bug 18849) Implement Japanese and North Korean calendars |
| 21179 |
* (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the |
| 21180 |
month number without the leading zero |
| 21181 |
* (bug 13456) categoriespagetext supports PLURAL |
| 21182 |
* (bug 18860) Blocks of IPs affecting registered users can now block email |
| 21183 |
* (bug 17093) Date and time are separate parameters in Special:BlockList |
| 21184 |
* (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view |
| 21185 |
* (bug 14866) Messages 'recentchangeslinked-toolbox' and |
| 21186 |
'recentchangeslinked-toolbox' were added to allow more fine grained |
| 21187 |
customisation of the user interface |
| 21188 |
* DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote |
| 21189 |
items) |
| 21190 |
* Special:Search now could search terms in all variant-forms. ONLY apply on |
| 21191 |
wikis enabled LanguageConverter. |
| 21192 |
* Add autopromote condition APCOND_BLOCKED to autopromote blocked users to |
| 21193 |
various user groups. |
| 21194 |
* Add $wgRevokePermissions as a means of restricting a group's rights. The |
| 21195 |
syntax is identical to $wgGroupPermissions, but users in these groups will |
| 21196 |
have these rights stripped from them. |
| 21197 |
* Added a PHP port of CDB (constant database), for improved local caching when |
| 21198 |
the DBA extension is not available. |
| 21199 |
* Introduced a new system for localisation caching. The system is based around |
| 21200 |
fast fetches of individual messages, minimising memory overhead and startup |
| 21201 |
time in the typical case. The database backend will be used by default, but |
| 21202 |
set $wgCacheDirectory to get a faster CDB-based implementation. |
| 21203 |
* Expanded the number of variables which can be set in the extension messages |
| 21204 |
files. |
| 21205 |
* Added a feature to allow per-article process pool size control for the parsing |
| 21206 |
task, to limit resource usage when the cache for a heavily-viewed article is |
| 21207 |
invalidated. Requires an external daemon. |
| 21208 |
* (bug 19576) Moved the id attributes from the anchors accompanying section |
| 21209 |
headers to the <span class="mw-headline"> elements within the section headers, |
| 21210 |
removing the redundant anchor elements. |
| 21211 |
* Parser::setFunctionTagHook now can be used to add a new tag which is parsed at |
| 21212 |
preprocesor level. |
| 21213 |
* Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail |
| 21214 |
display for old versions of images. |
| 21215 |
* In watchlists and Special:RecentChanges, the difference in page size now |
| 21216 |
appears in dark green if bytes were added and dark red if bytes were removed. |
| 21217 |
* Added FSRepo configuration properties thumbUrl and thumbDir, to allow the |
| 21218 |
thumbnails to be stored in a separate location to the source images. |
| 21219 |
* If config/ directory is not executable, the command to make it executable |
| 21220 |
now asks the user to cd to the correct directory |
| 21221 |
* Add experimental new external authentication framework, ExternalAuth |
| 21222 |
* (bug 18768) Remove AdminSettings requirements. Maintenance environment |
| 21223 |
will still load it if it exists, but it's not required for anything |
| 21224 |
* (bug 19900) The "listgrouprights-key" message is now wrapped in a div with |
| 21225 |
class "mw-listgrouprights-key" |
| 21226 |
* (bug 471) Allow RSS feeds for watchlist, using an opt-in security token |
| 21227 |
* (bug 10812) Interwiki links can have names and descriptions, fetched from |
| 21228 |
message 'interwiki-desc-PREFIX', not really used anywhere yet though |
| 21229 |
* (bug 9691) Add type (signup or login) parameter to |
| 21230 |
AuthPlugin::ModifyUITemplate() |
| 21231 |
* (bug 14454) "Member of group(s)" in Special:Preferences causes language |
| 21232 |
difficulties |
| 21233 |
* (bug 16697) Unicode combining characters are difficult to edit in some |
| 21234 |
browsers |
| 21235 |
* Parser test supports uploading results to remote CodeReview instance |
| 21236 |
* (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the |
| 21237 |
extension version in Special:Version |
| 21238 |
* (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the |
| 21239 |
right name in Special:ListGroupRights |
| 21240 |
* (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent |
| 21241 |
to {{ns:...}} |
| 21242 |
* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or |
| 21243 |
params |
| 21244 |
* (bug 18566) Maintenance script to un/protect pages |
| 21245 |
* (bug 671) The HTML <abbr> tag is now permitted. |
| 21246 |
* RecentChanges now has a legend to explain what the Nmb! flags mean, and the |
| 21247 |
flags have tooltips. |
| 21248 |
* (bug 15209) New hook BeforeInitialize called after everything has been setup |
| 21249 |
but before MediaWiki::performRequestForTitle() |
| 21250 |
* wgMainPageTitle variable now available to JavaScript code to identify the main |
| 21251 |
page link, so it doesn't have to be extracted from the link URLs. |
| 21252 |
* (bug 16836) Display preview of signature in user preferences and describe its |
| 21253 |
use |
| 21254 |
* The default output format is now HTML 5 instead of XHTML 1.0 Transitional. |
| 21255 |
This can be disabled by setting $wgHtml5 = false;. Specific features enabled |
| 21256 |
if HTML 5 is used: |
| 21257 |
** Some extra inputs will be autofocused, in supporting browsers. |
| 21258 |
** The summary attribute has been removed from tables of contents. summary is |
| 21259 |
obsolete in HTML 5 and wasn't useful here anyway. |
| 21260 |
** Unnecessary type="" attribute removed for CSS and JS. |
| 21261 |
** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML |
| 21262 |
output by omitting some things like quotation marks where HTML 5 allows. |
| 21263 |
** (bug 16921) maxlength enabled for page move comments |
| 21264 |
* The description message in $wgExtensionCredits can be an array with parameters |
| 21265 |
* New hook SpecialRandomGetRandomTitle allows extensions to modify the selection |
| 21266 |
criteria used by Special:Random and subclasses, or substitute a custom result, |
| 21267 |
deprecating the $wgExtraRandompageSQL config variable |
| 21268 |
* (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added |
| 21269 |
* (bug 20404) Custom fields in the user creation form template can now have |
| 21270 |
detail labels in prefsectiontip divs. |
| 21271 |
* MakeSysop and MakeBot are now aliases for Special:UserRights |
| 21272 |
* IndexPager->mLimitsShown can now be an associative array of limit => text-to- |
| 21273 |
display-in-limit-form. |
| 21274 |
* (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference |
| 21275 |
and add its HTML to it, rather than having to go straight to $wgOut. |
| 21276 |
* Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for |
| 21277 |
database connection and query errors. |
| 21278 |
* Show change block / unblock link on Special:Contributions if user is blocked |
| 21279 |
* Display note on Special:Contributions if the user is blocked, and provide an |
| 21280 |
excerpt from the block log. |
| 21281 |
* (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before |
| 21282 |
file is streamed to user, but only when using img_auth |
| 21283 |
* Note on non-existing user and user talk pages if user does not exist |
| 21284 |
* New hook ShowMissingArticle so extensions can modify the output for |
| 21285 |
non-existent pages. |
| 21286 |
* Admins could disable some variants using $wgDisabledVariants now. ONLY apply |
| 21287 |
on wikis enabled LanguageConverter. |
| 21288 |
* (bug 16310) Credits page now lists IP addresses rather than saying the number |
| 21289 |
of anonymous users that edited the page |
| 21290 |
* New permission 'sendemail' added. Default right for all registered users. Can |
| 21291 |
for example be used to prevent new accounts from sending spam. |
| 21292 |
* (bug 16979) Tracking categories for __INDEX__ and __NOINDEX__ |
| 21293 |
* Two new hooks, ConfirmEmailComplete and InvalidateEmailComplete, which are |
| 21294 |
called after a user's email has been successfully confirmed or invalidated. |
| 21295 |
* (bug 19741) Moved the XCF files out of the main MediaWiki distribution, for |
| 21296 |
a smaller subversion checkout. |
| 21297 |
* (bug 13750) First letter capitalization can now be a per-namespace setting |
| 21298 |
* (bug 21073) "User does not exist" message no longer displayed on sub-sub-pages |
| 21299 |
of existing users |
| 21300 |
* (bug 21095) Tracking categories produced by the parser (expensive parser |
| 21301 |
function limit exceeded, __NOINDEX__ tracking, etc) can now be disabled by |
| 21302 |
setting the system message ([[MediaWiki:expensive-parserfunction-category]] |
| 21303 |
etc) to "-". |
| 21304 |
* Added maintenance script sqlite.php for SQLite-specific maintenance tasks. |
| 21305 |
* Rewrote Special:Upload to allow easier extension. |
| 21306 |
* Upload errors that can be solved by changing the filename now do not require |
| 21307 |
reuploading. |
| 21308 |
* Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from |
| 21309 |
rate limits. |
| 21310 |
* (bug 21222) When $wgUseTeX is not enabled, <math> is no longer registered with |
| 21311 |
the parser so extensions are free to implement their own <math> tag |
| 21312 |
* (bug 21047) Wrap 'cannotdelete' into a div with the generic 'error' class and |
| 21313 |
an own 'mw-error-cannotdelete' class |
| 21314 |
* New hook AbortNewAccountAuto, called before account creation from AuthPlugin- |
| 21315 |
or ExtUser-driven requests. |
| 21316 |
* (bug 3480) The warning saying that the page has a history when deleting it now |
| 21317 |
contains the number of revisions in the history |
| 21318 |
* $wgStylePath and $wgLogo are now set in the default LocalSettings.php file. |
| 21319 |
* (bug 20186) Allow filtering history for revision deletion. |
| 21320 |
* New hook OtherBlockLogLink, called in Special:IPBlockList and Special:Block |
| 21321 |
to show links to block logs of other blocking extensions, i.e. GlobalBlocking |
| 21322 |
* Added search capabilities to SQLite backend |
| 21323 |
* rebuildtextindex.php maintenance script now supports databases other than |
| 21324 |
MySQL |
| 21325 |
* upgrade1_5.php now requires to be run --update option to prevent confusion |
| 21326 |
* (bug 17662) Customizable default preload/editintro for new sections in the |
| 21327 |
respective addsection-preload and addsection-editintro messages |
| 21328 |
* Added maintenance script checkSyntax.php that checks for PHP syntax errors |
| 21329 |
and common coding mistakes |
| 21330 |
* Updated Unicode normalization tables |
| 21331 |
* (bug 21604) Spellcheck attribute for editsummary |
| 21332 |
* New wgCategories JavaScript global variable for userscripts. |
| 21333 |
* (bug 20717) Added checkboxes to hide users with bot and/or sysop group |
| 21334 |
membership in SpecialActiveusers |
| 21335 |
* Allow \pagecolor and \definecolor in texvc |
| 21336 |
* $wgTexvcBackgroundColor contains background color for texvc call |
| 21337 |
* (bug 21574) Redirects can now have "303 See Other" HTTP status |
| 21338 |
* EditPage refactored to allow extensions to derive new edit modes much easier. |
| 21339 |
* (bug 21826) Subsections of Special:Version now also have anchors |
| 21340 |
* (bug 19791) Add URL of file source as comment to thumbs (for ImageMagick) |
| 21341 |
* (bug 21946) Sorted wikitables do not properly handle minus signs |
| 21342 |
* (bug 18885) Red links for media files do not support shared repositories |
| 21343 |
* Added $wgFixArabicUnicode, to convert deprecated presentation forms in |
| 21344 |
Arabic text to their modern equivalents, and $wgFixMalayalamUnicode, to |
| 21345 |
convert ZWJ-based chillu sequences in Malayalam text to their Unicode 5.1 |
| 21346 |
equivalents. |
| 21347 |
* (bug 22051) Returing false in SpecialContributionsBeforeMainOutput hook now |
| 21348 |
stops normal output |
| 21349 |
* Send new password e-mail in users preference language |
| 21350 |
* LanguageConverter now support nested using of manual convert syntax like |
| 21351 |
"-{-{}-}-" |
| 21352 |
* Upload license preview now uses the API instead of action=ajax |
| 21353 |
* (bug 7346) Add <guid> to RSS to avoid duplicates |
| 21354 |
* (bug 19996) Added new hooks for Special:Search, which allow to further |
| 21355 |
restrict/expand it. |
| 21356 |
* (bug 21936) When a revision has been patrolled, there's now a link back to the |
| 21357 |
article |
| 21358 |
* (bug 22315) SpecialRecentChangesQuery hook now pass $query_options and checks |
| 21359 |
the return value |
| 21360 |
* Separate unit test suites under t/ and tests/ were merged and moved to |
| 21361 |
maintenance/tests/. |
| 21362 |
* importImages.php maintenance script can now use the original uploader and |
| 21363 |
comment from another wiki. |
| 21364 |
* Support for Turck MMCache was removed |
| 21365 |
* (bug 14592) Warn users when they try to move their user page that their |
| 21366 |
account will not be renamed |
| 21367 |
* Show block log on non-existing user (talk) pages of currently blocked users |
| 21368 |
|
| 21369 |
=== Bug fixes in 1.16 === |
| 21370 |
|
| 21371 |
* (bug 18031) Make namespace selector on Special:Export remember the previous |
| 21372 |
selection |
| 21373 |
* The svn-version version numbers on Special:Version have been removed |
| 21374 |
* (bug 17374) Special:Export no longer exports two copies of the same page |
| 21375 |
* (bug 18190) Proper parsing in MediaWiki:Sharedupload message |
| 21376 |
* (bug 17617) HTML cleanup for ImagePage |
| 21377 |
* (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table |
| 21378 |
* Improved error handling for image moving |
| 21379 |
* (bug 17974) On Special:SpecialPages, restricted special pages are now marked |
| 21380 |
with <strong> tags, helps with text-based browsers |
| 21381 |
* (bug 18259) Special:DeletedContributions now also uses |
| 21382 |
MediaWiki:Sp-contributions-logs for the link to Special:Log |
| 21383 |
* Don't add empty title="" attributes to links to anchors on the current page |
| 21384 |
* (bug 18291) rebuildrecentchanges.php failed to add deletion log entries |
| 21385 |
* (bug 18304) rebuildrecentchanges.php got size changes wrong |
| 21386 |
* (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3 |
| 21387 |
* (bug 18289) Database connection error page now returns correct HTML |
| 21388 |
* "successbox", "errorbox" and related CSS classes are now available in all |
| 21389 |
skins |
| 21390 |
* (bug 18316) Removed superfluous name="fulltext" from Special:Search |
| 21391 |
* (bug 18331) MediaWiki:Undelete-revision can now have wikitext |
| 21392 |
* The "noautoblock" flag is no longer displayed in the block log when blocking |
| 21393 |
an IP address |
| 21394 |
* (bug 18009) $wgHooks and $wgExtensionFunctions now support closures |
| 21395 |
* (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate |
| 21396 |
* (bug 18377) Time in Enhanced ChangesList lacking localisation |
| 21397 |
* (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE |
| 21398 |
* (bug 1553) Lowercase navigation headings in German |
| 21399 |
* (bug 7830) Pending transactions failed to commit on loginToUse() error |
| 21400 |
* (bug 11613) session.save_handler being over-ridden |
| 21401 |
* (bug 11381) session.save_handler being set twice (causes error) |
| 21402 |
* (bug 17835) ForeignAPIRepo throwing error on first page load for file |
| 21403 |
* (bug 18115) ForeignAPIRepo cache isn't working |
| 21404 |
* Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-' |
| 21405 |
after some parsed math syntax. |
| 21406 |
* (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions |
| 21407 |
* (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use |
| 21408 |
<strong> instead of hardcoded styles |
| 21409 |
* (bug 18449) Fixed items number per column on category pages when the total is |
| 21410 |
divisible by 3 |
| 21411 |
* (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes |
| 21412 |
revisions when --delete is not passed |
| 21413 |
* (bug 13172) GPS coordinates in image Exif data are now actually displayed |
| 21414 |
* Overhaul of preferences system, includes the following bug fixes: |
| 21415 |
** (bug 5363) Changes to default preferences now impact registered users. |
| 21416 |
** (bug 14806) Hook to enable putting preferences in existing tabs. |
| 21417 |
** (bug 17191) Registration date now listed on preferences page. |
| 21418 |
** The user_properties table (now used for storing preferences) has been added |
| 21419 |
to $wgSharedTables. |
| 21420 |
** Note that this change will break some extensions which have not been adapted |
| 21421 |
for it. |
| 21422 |
* (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese |
| 21423 |
languages while the text is typed as URLs. |
| 21424 |
* (bug 17614) Prev / Next links are not shown if all results are shown |
| 21425 |
* (bug 18207) Strange spacing before [[irc:...]] links |
| 21426 |
* Removed float from the user login form in RTL interface - caused display |
| 21427 |
problems in FF2 |
| 21428 |
* (bug 15008) Redirect images are now subject to Bad image list rules |
| 21429 |
* (bug 6802) profileinfo.php now also work on other database servers than MySQL |
| 21430 |
* (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to |
| 21431 |
'wikidiff' or 'wikidiff2' but extension is not installed |
| 21432 |
* (bug 18326) Chmod errors in file repos have been hidden |
| 21433 |
* (bug 18718) Comma after a } create a error in IE |
| 21434 |
* (bug 18716) Removed redundant class in Modern skin CSS for category links and |
| 21435 |
tweaked spacing. |
| 21436 |
* (bug 18656) Use proper directory separators in wfMkdirParents() |
| 21437 |
* (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and |
| 21438 |
$wgSysopEmailBans |
| 21439 |
* (bug 16912) Tooltips on images with link= disappear |
| 21440 |
* (bug 18389) Localise numbers in EXIF data |
| 21441 |
* (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification |
| 21442 |
* (bug 18438) Tweak HTML for preview bar for consistency and accessibility |
| 21443 |
* (bug 18432) Updated documentation for dumpBackup.php |
| 21444 |
* Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good |
| 21445 |
tags that were redundantly defined. |
| 21446 |
* (bug 14118) SpecialPage::getTitleFor does not return a localised name |
| 21447 |
* (bug 18698) Renaming non entry point maintenance scripts from .inc.php to |
| 21448 |
.inc |
| 21449 |
* Deprecated methods Title::getInterwikiLink, Title::userCanCreate(), |
| 21450 |
Title::userCanEdit() and Title::userCanMove() have been removed |
| 21451 |
* Only show upload links on file description if $wgEnableUploads = true |
| 21452 |
and user can upload |
| 21453 |
* Don't say "You need to log in to upload/move", because it's possible that |
| 21454 |
uploading/moving is disabled for registered users as well (e.g. only sysops) |
| 21455 |
* (bug 18943) Handle invalid titles gracefully at Special:Mostlinked |
| 21456 |
* (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes |
| 21457 |
* (bug 10837) Introducing the StubUserVariant class to determine the variant |
| 21458 |
variable instead of using this to overrule the user language preference. |
| 21459 |
* (bug 19014) If user had deletedhistory right, but not undeleted right, then |
| 21460 |
show "view" instead of "view/restore" on logs. |
| 21461 |
* (bug 19017) TOC level calculation error in an odd case |
| 21462 |
* (bug 18999) CSS update for RTL interwiki links |
| 21463 |
* (bug 18925) history.js removes class names of list elements on initialization |
| 21464 |
* Multiple whitespace in TOC anchors is now stripped, for consistency with the |
| 21465 |
link from the edit comment |
| 21466 |
* (bug 19112) Preferences now respects $wgUseExternalEditor |
| 21467 |
* (bug 18173) MediaWiki now fails when unable to determine a client IP |
| 21468 |
* (bug 19170) Special:Version should follow the content language direction |
| 21469 |
* (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL |
| 21470 |
* Fixed performance regression in "bad image list" feature |
| 21471 |
* Show user preference 'Use live preview' if $wgLivePreview is enabled only |
| 21472 |
* (bug 17014) Blocked users can no longer use Special:UserRights unless they |
| 21473 |
can add/remove *all* groups (have 'userrights' permission). |
| 21474 |
* (bug 19294) Always show Sp-contributions-footer(-anon) |
| 21475 |
* Attempts to restrict reading of pages while anonymous viewing is allowed |
| 21476 |
via extensions not using the userCan hook and via $wgRevokePermissions now |
| 21477 |
work. |
| 21478 |
* (bug 8445) Multiple-character search terms are now handled properly for |
| 21479 |
Chinese |
| 21480 |
* (bug 19450) Use formatNum for "Number of edits" in Special:Preferences |
| 21481 |
* (bug 11242) Check for MySQL storage engines during installation now checks |
| 21482 |
whether the engines are actually available |
| 21483 |
* (bug 19390) Omit the "printable version" link on the printable version |
| 21484 |
* (bug 18394) img_auth.php now respects userCan |
| 21485 |
* (bug 19509) Uploading to a file named '0' previously treated it as null input |
| 21486 |
and attempted to upload with the source name. Now warns about not having an |
| 21487 |
extension (since 0.ext is perfectly valid) |
| 21488 |
* (bug 19468) Enotif preferences are now only displayed when they are turned on |
| 21489 |
* (bug 19442) Show/hide options on watchlist only work once |
| 21490 |
* (bug 19602) PubMed Magic links now use updated NIH url |
| 21491 |
* (bug 19637) externallinks have links to self |
| 21492 |
* Don't load Opera 9.5 RTL fixes for Opera 9.6 |
| 21493 |
* Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore |
| 21494 |
and was causing problems. |
| 21495 |
* Removed repetition of URIs in the title attributes of external links. |
| 21496 |
* (bug 19693) User name is now escaped in "Contributions for ..." link on |
| 21497 |
Special:BlockIP |
| 21498 |
* (bug 19571) Override buildConcat for SQLite. |
| 21499 |
* Log in and log out links no longer return to page view when clicked from |
| 21500 |
history view, edit page, or something similar |
| 21501 |
* (bug 19513) RTL fixes for new Search UI |
| 21502 |
* (bug 16497) Special:Allmessages is paginated |
| 21503 |
* (bug 18708) CSS plainlinks class now available to all skins |
| 21504 |
* (bug 19590) Database error messages no longer have "MySQL" hardcoded as the |
| 21505 |
database type |
| 21506 |
* (bug 19759) successbox on Special:Preferences now correctly aligned on |
| 21507 |
standard, nostalgia and cologneblue skin |
| 21508 |
* (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]]) |
| 21509 |
are no longer recorded in the pagelinks table |
| 21510 |
* (bug 19784) date option "ISO 8601" produced illegal id |
| 21511 |
* (bug 19761) Removed autogenerated <meta keywords> tag with link data. |
| 21512 |
Keyword set was not useful, and is ignored by modern search engines anyway. |
| 21513 |
* (bug 19827) Special:SpecialPages title is "Upload file |
| 21514 |
* (bug 19355) Added .xhtml, .xht to upload file extension blacklist |
| 21515 |
* (bug 19287) Workaround for lag on history page in Firefox 3.5 |
| 21516 |
* (bug 19564) Updated docs/hooks.txt |
| 21517 |
* (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1 |
| 21518 |
* (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile |
| 21519 |
* (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image |
| 21520 |
table. |
| 21521 |
* (bug 14080) Short notation links to subpages didn't work in edit summaries |
| 21522 |
* (bug 17374) Special:Export no longer exports multiple copies of pages |
| 21523 |
* (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by |
| 21524 |
users who can't edit them |
| 21525 |
* (bug 19839) Comments in log items are no more double escaped |
| 21526 |
* (bug 18161) Fix inconsistent separators in watchlist link toolbars with |
| 21527 |
"enhanced recent changes" |
| 21528 |
* (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in |
| 21529 |
the recentchanges table |
| 21530 |
* (bug 16009) Limit selection forms based on Pager now links to the correct page |
| 21531 |
when using long urls |
| 21532 |
* The display of the language list on the preferences is more comply with the |
| 21533 |
BCP 47 standards. |
| 21534 |
* (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set |
| 21535 |
* (bug 19301) Duplicate entries in $wgAddGroups, $wgRemoveGroups, |
| 21536 |
$wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on |
| 21537 |
Special:ListGroupRights |
| 21538 |
* (bug 18799) Special:Userlogin now handles correctly the returnto parameter |
| 21539 |
to not link back to Special:Userlogout when user's language isn't the same as |
| 21540 |
content's language |
| 21541 |
* (bug 19479) Show proper error message when unable to connect to PostgreSQL |
| 21542 |
database with username/password in MediaWiki's setup |
| 21543 |
* (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only |
| 21544 |
if uploads are enabled and the user can access it |
| 21545 |
* (bug 17988) Spaces before [[Category:]] links are no longer ignored |
| 21546 |
* (bug 19957) All known-failing tests now marked disabled; added --run-disabled |
| 21547 |
option to parser test suite to run disabled tests if desired. |
| 21548 |
* (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s |
| 21549 |
* (bug 15680) Split the edit tip message of user CSS/JS subpage into |
| 21550 |
"usercssyoucanpreview" and "userjsyoucanpreview" respectively. |
| 21551 |
* (bug 12110) Split the rights for editing users' CSS/JS subpage from |
| 21552 |
"editusercssjs" into "editusercss" and "edituserjs" respectively. |
| 21553 |
* (bug 19394) RecentChanges feed URLs for log items with no revisions |
| 21554 |
(eg Newuser, Userrights) are no longer broken |
| 21555 |
* (bug 17395) Remote file descriptions use user language ($wgLang), not wiki |
| 21556 |
language ($wgContLang) |
| 21557 |
* (bug 11867) Lock error on redirect table when running orphans.php |
| 21558 |
* (bug 18930) initStats.php now refreshes active users count |
| 21559 |
* (bug 18699) Using the nosummary URL option no longer triggers the "You have |
| 21560 |
not provided a summary" warning for those who activated it in their |
| 21561 |
preferences |
| 21562 |
* (bug 18855) commandLine.inc and Maintenance.php are now properly included |
| 21563 |
using the full path |
| 21564 |
* (bug 18497) Fixed broken style sheets in Opera fullscreen mode |
| 21565 |
* (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit |
| 21566 |
* (bug 17864/19519) Added proper input normalization in Special:UserRights |
| 21567 |
* (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics |
| 21568 |
* (bug 19289) importDump.php can now handle bzip2 and 7zip |
| 21569 |
* (bug 20131) Fixed a PHP notice for users having the "rollback" right on |
| 21570 |
Special:RecentChangesLinked |
| 21571 |
* Do not transform EXIF fields with pure text to avoid results like |
| 21572 |
foo,bar@example,com |
| 21573 |
* (bug 20176) Fix login/logout links in skin CologneBlue |
| 21574 |
* (bug 20203) "Powered by MediaWiki" now has height/width on image tag |
| 21575 |
* (bug 20273) Fix broken output when no pages are found in the content |
| 21576 |
namespaces |
| 21577 |
* (bug 20265) Make AncientPages and UnusedFiles work on SQLite |
| 21578 |
* Fixed XSS vulnerability for Internet Explorer clients (only pre-release |
| 21579 |
versions of MediaWiki were affected). |
| 21580 |
* (bug 14817) Moving a page to a subpage of itself moves it twice |
| 21581 |
* (bug 20289) $wgMaximumMovedPages should only count pages actually moved |
| 21582 |
* (bug 15248) Non-breaking spaces and certain other Unicode space characters |
| 21583 |
are now normalized to ordinary spaces in titles; if your wiki has existing |
| 21584 |
titles with such characters, run cleanupTitles.php and/or cleanupImages.php |
| 21585 |
* (bug 11143) Links containing invalid UTF-8 percent-code sequences are now |
| 21586 |
cleanly disabled instead of breaking parsing entirely on PHP 5.2. |
| 21587 |
* (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3 |
| 21588 |
* (bug 20358) Unprotect tab was missing accesskey; now same as protect tab. |
| 21589 |
* (bug 20317) Cleaned up default main page link accesskey settings |
| 21590 |
* (bug 20362) Special:Statistics now produces valid HTML when view counters are |
| 21591 |
enabled |
| 21592 |
* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks |
| 21593 |
target page |
| 21594 |
* (bug 20365) Page name with c/g/h/j/s/u + x are now correctly handled in |
| 21595 |
Special:MovePage with Esperanto as content language |
| 21596 |
* (bug 20364) Fixed regression in GIF metadata loading |
| 21597 |
* (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now |
| 21598 |
use wikitext |
| 21599 |
* (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and |
| 21600 |
DatabaseBase::getFlag() now have documentation |
| 21601 |
* (bug 19966) MediaWiki:License-header is now used for the licensing header in |
| 21602 |
the file description page instead of MediaWiki:License |
| 21603 |
* (bug 20380) Links to history/deleted edits at the top of |
| 21604 |
Special:RevisionDelete are no more displayed when doing log suppression |
| 21605 |
* (bug 8143) Localised parser function names are now correctly case insensitive |
| 21606 |
if they contain non-ASCII characters |
| 21607 |
* (bug 19055) maintenance/rebuildrecentchanges.php now purges |
| 21608 |
Special:Recentchanges's RSS and Atom feed cache |
| 21609 |
* The installer will now try to bypass PHP's max_execution_time |
| 21610 |
* (bug 20260) SQLite no longer tries to automatically create the database at |
| 21611 |
execution time, this now happens only at install time; if it is not available |
| 21612 |
at script execution, it now throws an exception |
| 21613 |
* Fixed EditFilterMerged hook so the hookError parameter serves a purpose |
| 21614 |
(analogous to EditFilter hook) |
| 21615 |
* (bug 2257) Tag extensions can expand template parameters provided to the tag, |
| 21616 |
by using a new parameter added to the recursiveTagParse function |
| 21617 |
* (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in |
| 21618 |
$wgArticleRobotPolicies. |
| 21619 |
* (bug 20466) Hidden categories are no more displayed when printing |
| 21620 |
* (bug 20446) When changing user rights with User@remotewiki and remotewiki is |
| 21621 |
the local wiki, the user is now treated as the local user |
| 21622 |
* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless |
| 21623 |
argument |
| 21624 |
* (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on |
| 21625 |
any change, in addition to onkeyup. |
| 21626 |
* Don't link to "edit this page" on MediaWiki:Noarticletext if user is not |
| 21627 |
allowed to create page. Done via new message |
| 21628 |
MediaWiki:Noarticletext-nopermission |
| 21629 |
* Improved compatibility between the Vector skin and addPortletLink() from |
| 21630 |
wikibits.js: empty portlets are now present but hidden, adding an element to a |
| 21631 |
portlet unhides it |
| 21632 |
* (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to |
| 21633 |
be compatible with the CSS for the Vector skin |
| 21634 |
* (bug 20578) Wrong localized image metadata - duplicated string? |
| 21635 |
* (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a |
| 21636 |
correct type="text" parameter |
| 21637 |
* (bug 482) Don't include TOC in the printable version if it has been hidden |
| 21638 |
* Adjust the time according to the user configuration on Special:Revisiondelete |
| 21639 |
* (bug 20624) Installation no longer allows "qqq" as the chosen language |
| 21640 |
* (bug 20634) The installer-created database user will now have all rights on |
| 21641 |
the database so that upgrades will go more smoothly. |
| 21642 |
* (bug 18180) Special:Export ignores limit, dir, offset parameters |
| 21643 |
* User::getBlockedStatus() works for all kinds of user objects and doesn't |
| 21644 |
assume the user object is equal to the current-user object ($wgUser) |
| 21645 |
* (bug 20517) Cancel link from edit page now returns to the old version when |
| 21646 |
editing an old version |
| 21647 |
* (bug 16902) Installer no longer shows warnings when exec() has been disabled |
| 21648 |
by disable_functions |
| 21649 |
* (bug 20726) Title::getLatestRevID's documentation now says that the function |
| 21650 |
returns false if the page doesn't exist |
| 21651 |
* (bug 20751) ForeignApiRepo now urldecodes filenames when saving to local cache |
| 21652 |
* (bug 20730) Fix to Special:Version ViewVC link for branch checkouts |
| 21653 |
* (bug 20353) wfShellExec() was adding extra quotes on Windows Vista, causing |
| 21654 |
command line scripts to fail |
| 21655 |
* (bug 20702) Parser functions can now be used correctly in |
| 21656 |
MediaWiki:Missing-article |
| 21657 |
* (bug 14117) "redirected from" is now also shown on foreign file redirects |
| 21658 |
* (bug 17747) Only display thumbnail column in file history if the image can |
| 21659 |
be rendered. |
| 21660 |
* (bug 3421) Live preview no longer breaks user CSS/JS previews |
| 21661 |
* (bug 11264) The file logo on a file description page for documents (PDF, ...) |
| 21662 |
now links to the file rather than the file description page |
| 21663 |
* Password fields built with HTMLForm now still have the type="password" |
| 21664 |
attribute if $wgHtml5=false. |
| 21665 |
* (bug 20836) Preload now works for MediaWiki namespace |
| 21666 |
* (bug 20885) Search box no longer suggests unavailable special pages |
| 21667 |
* (bug 20948) "Create this page" on Special:Search is no longer displayed when |
| 21668 |
searching for special pages |
| 21669 |
* (bug 20524) Hideuser: Show nice error when trying to block hidden user without |
| 21670 |
hideuser right |
| 21671 |
* (bug 21026) Fixed file redirects on shared repos on non-English client wikis |
| 21672 |
* (bug 21030) Fixed schema choices from being overwritten by defining unique |
| 21673 |
field names per driver. |
| 21674 |
* (bug 21115) wgCanonicalSpecialPageName javascript variable is now always |
| 21675 |
false on non-special pages |
| 21676 |
* (bug 21113) "Other statistics" header on Special:Statistics is no more |
| 21677 |
displayed when there isn't any entry in it |
| 21678 |
* (bug 21114) Special:Contributions no longer shows diff links for new |
| 21679 |
revisions |
| 21680 |
* (bug 21116) MediaWiki:Templatesused, MediaWiki:Templatesusedpreview and |
| 21681 |
MediaWiki:Templatesusedsection now support plural |
| 21682 |
* (bug 21079) There is no more line wrapping between label and field in |
| 21683 |
Special:Log |
| 21684 |
* (bug 20256) Fixed SQL errors on Special:Recentchanges and |
| 21685 |
Special:Recentchangeslinked on SQLite backend |
| 21686 |
* (bug 20880) Fixed updater failure on SQLite backend |
| 21687 |
* (bug 21182) Fixed invalid HTML in Special:Listgrouprights |
| 21688 |
* (bug 20242) Installer no longer promts for user credentials for SQLite |
| 21689 |
databases |
| 21690 |
* (bug 20911) Installer failed to create a SQLite database |
| 21691 |
* (bug 20847) Deprecated deprecated akeytt() removed in wikibits.js leaving |
| 21692 |
dummy |
| 21693 |
* (bug 21161) Changing $wgCacheEpoch now always invalidates file cache |
| 21694 |
* (bug 20268) Fixed row count estimation on SQLite backend |
| 21695 |
* (bug 20275) Fixed LIKE queries on SQLite backend |
| 21696 |
* (bug 21234) Moving subpages of titles containing \\ now works properly |
| 21697 |
* (bug 21006) maintenance/updateArticleCount.php now works again on PostgreSQL |
| 21698 |
* (bug 19319) Add activeusers-intro message at top of SpecialActiveUsers page |
| 21699 |
* (bug 21255) Fixed hostname construction for DNSBL checking |
| 21700 |
* (bug 18019) Users are now warned when moving a file to a name in use on a |
| 21701 |
shared repository and only users with the 'reupload-shared' permission can |
| 21702 |
complete the move. |
| 21703 |
* (bug 18909) Add missing Postgres INSERT SELECT wrapper |
| 21704 |
* User::isValidPassword now only returns boolean results, |
| 21705 |
User::getPasswordValidity can be used to get an error message string |
| 21706 |
* The error message shown in Special:ChangePassword now parses wiki markup |
| 21707 |
* (bug 19859) Removed experimental HTMLDiff feature |
| 21708 |
* Removed section edit links in edit conflict form |
| 21709 |
* Allow SpecialActiveusers to work on non-MySQL databases |
| 21710 |
* (bug 6579) Fixed protecting images from uploading only |
| 21711 |
* (bug 18609) Search index was empty for some pages |
| 21712 |
* (bug 13453) rebuildrecentchanges maintenance script works on PG again |
| 21713 |
* (bug 16583) Reduce false positives when checking for PHP (on upload, etc.) |
| 21714 |
* (bug 20112) Bitrotted tests in the t/ directory were failing. |
| 21715 |
* (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a <p> with |
| 21716 |
id "mw-sp-contributions-explain" |
| 21717 |
* (bug 19159) Fixed \overleftrightarrow in texvc |
| 21718 |
* (bug 19391) Fix caching for Recent ChangesFeed. |
| 21719 |
* (bug 21455) Fixed "Watch this page" checkbox appearing on some special pages |
| 21720 |
even to non-logged in users |
| 21721 |
* (bug 21551) Rewrote the Squid purge HTTP client to provide a more robust and |
| 21722 |
general implementation of HTTP, allowing it to purge non-Squid caches such as |
| 21723 |
Varnish. |
| 21724 |
* Fixed corruption of long UDP debug log messages by using socket_sendto() |
| 21725 |
instead of fsockopen() with fwrite(). |
| 21726 |
* (bug 16884) Fixed feed links in sidebar not complying with URL parameters |
| 21727 |
of the displayed page |
| 21728 |
* (bug 21403) memcached class renamed to MWMemecached to avoid conflict with |
| 21729 |
PHP's memcached extension |
| 21730 |
* (bug 21650) Both calls to SkinTemplateTabs hook are now compatible |
| 21731 |
* (bug 21672) Add missing Accept-Language to both Vary and XVO headers |
| 21732 |
* (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now |
| 21733 |
only displayed to the users that have "editinterface" right |
| 21734 |
* (bug 21740) Attempting to protect a page that doesn't exist (salting) returns |
| 21735 |
"unknown error" |
| 21736 |
* (bug 18762) both redirects and links get fixed one after another if |
| 21737 |
redirects-only switch is not present |
| 21738 |
* (bug 20159) thumbnails rerendered if older than $wgThumbnailEpoch |
| 21739 |
* Fixed a bug which in some situations causes the job queue to grow forever, |
| 21740 |
due to an infinite loop of job requeues. |
| 21741 |
* (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have |
| 21742 |
the page selector when they have only one page |
| 21743 |
* (bug 21559) "logempty" message is now wrapped in a div with class |
| 21744 |
"mw-warning-logempty" when used in log extract |
| 21745 |
* (bug 20549) Parser tests were broken on SQLite backend |
| 21746 |
* (bug 21776) Interwiki urls like http://en.wikibooks.org/wiki/cs: should give |
| 21747 |
a redirect instead of a baderror. |
| 21748 |
* (bug 21803) Special:MyContributions now keeps the query string parameters |
| 21749 |
* Redirecting special pages now keep query string parameters set to "0" (e.g. |
| 21750 |
for namespace) |
| 21751 |
* (bug 20765) Special:ListGroupRights no longer misses addables and removables |
| 21752 |
groups if there are duplicate entries |
| 21753 |
* (bug 21814) Message shown when rolling back an edit with a deleted username |
| 21754 |
now shows '(username deleted)' instead of broken user tool links |
| 21755 |
* (bug 21536) Fixed JavaScript error on Special:Search caused by an incorrect ID |
| 21756 |
* (bug 21535) RecentChanges RSS feed now always recognises the namespace filter, |
| 21757 |
previously it sometimes didn't due to caching. |
| 21758 |
* (bug 20388) ProfilerSimpleText no longer outputs comment on action=raw |
| 21759 |
* refreshLinks.php now purges orphaned redirect table rows |
| 21760 |
* (bug 2971) Swap links of hist & diff location on Special:Contributions for |
| 21761 |
consistency with RC/WL |
| 21762 |
* (bug 21986) Special page names are now capitalized by content language |
| 21763 |
* If two log types have the same description, they're now both displayed in the |
| 21764 |
type selector on Special:Log |
| 21765 |
* (bug 20115) Special:Userlogin title says "Log in / create account" even if the |
| 21766 |
user can't create an account |
| 21767 |
* (bug 2658) Don't attempt to set the TZ environment variable. |
| 21768 |
* (bug 9794) User rights log entries for foreign user now links to the foreign |
| 21769 |
user's page if possible |
| 21770 |
* (bug 14717) Don't load nonexistent CSS fix files for non-Monobook skins |
| 21771 |
* (bug 22034) Use wfClientAcceptsGzip() in wfGzipHandler instead of |
| 21772 |
reimplementing it. |
| 21773 |
* (bug 19226) First line renders differently on many UI messages. |
| 21774 |
* (bug 21303) Comments are no longer stripped from MediaWiki:Common.js and |
| 21775 |
skin-specific JS pages |
| 21776 |
* (bug 5061) Use the more precise thumbcaption thumbimage and thumbinner classes |
| 21777 |
for image divs. |
| 21778 |
* (bug 22096) IE50Fixes.css and IE55Fixes.css have been dropped from the |
| 21779 |
Monobook and Chick skins |
| 21780 |
* Fixed bug involving unclosed "-{" markup in the language converter |
| 21781 |
* (bug 21870) No longer include Google logo from an external server on wiki |
| 21782 |
error. |
| 21783 |
* (bug 22181) Do not truncate if the ellipsis actually make the string longer |
| 21784 |
* (bug 16039) Text disappearing after a bad image |
| 21785 |
* (bug 18784) Internal links like [[File:Foo|caption]] should read 'caption', |
| 21786 |
not 'File:Foo' when Foo is not an image |
| 21787 |
* (bug 21518) Special:UserRights no longer displays the user name box for users |
| 21788 |
that can only change their rights |
| 21789 |
* (bug 21593) Special:UserRights now lists automatic groups membership |
| 21790 |
* (bug 22364) Setting $wgUseExternalEditor to false no longer hides the reupload |
| 21791 |
link from file pages |
| 21792 |
* Fix bug introduced in MediaWiki 1.12: The author field in |
| 21793 |
$wgExtensionCredits is no longer sorted with sort() but rather used |
| 21794 |
as it appears in extensions as was the case before r30117 where it |
| 21795 |
was unintentionally sorted along with other fields. |
| 21796 |
* (bug 19334) Textarea no longer jumps when editing longer articles in IE8 |
| 21797 |
* Truncate summary of page moves in revision comment field to avoid broken |
| 21798 |
multibyte characters |
| 21799 |
* (bug 22540) ForeignApiRepos no longer try to store thumbnails that don't exist |
| 21800 |
* (bug 22551) Special:Resetpass now has a "Cancel" button that sends the user to |
| 21801 |
the page set in the &returnto parameter. |
| 21802 |
* (bug 19194) Search box in Modern skin doesn't focus with Safari/Chrome |
| 21803 |
* (bug 17790) Users instantly logged off on HughesNet |
| 21804 |
* (bug 21549) Make foreign key constraints DEFERRABLE INITIALLY DEFERRED |
| 21805 |
when using Postgres as the database backend. |
| 21806 |
|
| 21807 |
== API changes in 1.16 == |
| 21808 |
|
| 21809 |
* Added uiprop=changeablegroups to meta=userinfo |
| 21810 |
* Added usprop=gender to list=users |
| 21811 |
* (bug 18311) action=purge now works for images too |
| 21812 |
* Add parentid to prop=revisions output |
| 21813 |
* (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied' |
| 21814 |
when the user is blocked |
| 21815 |
* (bug 18546) Added timestamp of new revision to action=edit output |
| 21816 |
* (bug 18554) Also list hidden revisions in list=usercontribs for privileged |
| 21817 |
users |
| 21818 |
* (bug 13049) "API must be accessed from the primary script entry point" error |
| 21819 |
* (bug 16422) Don't display help for format=jsonfm unless specifically requested |
| 21820 |
* Added PHP and database version to meta=siteinfo output |
| 21821 |
* (bug 18533) Add readonly message to meta=siteinfo output |
| 21822 |
* (bug 18518) Add clprop=hidden to prop=categories |
| 21823 |
* (bug 18710) Fixed internal error with empty parameter in action=paraminfo |
| 21824 |
* (bug 18709) Missing descriptions for some parameters in action=paraminfo |
| 21825 |
output |
| 21826 |
* (bug 18731) Show correct SVN links for extension modules in api.php?version |
| 21827 |
* (bug 18730) Add version information to action=paraminfo output |
| 21828 |
* (bug 18743) Add ucprop=size to list=usercontribs |
| 21829 |
* (bug 18749) Add generator flag to action=paraminfo output |
| 21830 |
* Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans |
| 21831 |
* Made deleting file description pages without files possible |
| 21832 |
* (bug 18773) Add content flag to siprop=namespaces output |
| 21833 |
* (bug 18785) Add siprop=languages to meta=siteinfo |
| 21834 |
* (bug 14200) Added user and excludeuser parameters to list=watchlist and |
| 21835 |
list=recentchanges |
| 21836 |
* Added index, fromtitle and byteoffset fields to action=parse&prop=sections |
| 21837 |
output |
| 21838 |
* (bug 19313) action=rollback returns wrong revid on master/slave setups |
| 21839 |
* (bug 19323) action=parse doesn't return section tree on pages with Cite |
| 21840 |
warnings |
| 21841 |
* (bug 18720) Add anchor field to action=parse&prop=sections output |
| 21842 |
* (bug 19423) The initial file description page used caption in user lang |
| 21843 |
rather than UI lang |
| 21844 |
* (bug 17809) Add number of users in user groups to meta=siteinfo |
| 21845 |
* (bug 18533) Add readonly reason to readonly exception |
| 21846 |
* (bug 19528) Added XSLT parameter to API queries in format=xml |
| 21847 |
* (bug 19040) Fix prependtext and appendtext in combination with section |
| 21848 |
parameter in action=edit |
| 21849 |
* (bug 19090) Added watchlist parameter, deprecated watch and unwatch |
| 21850 |
parameter in action=edit |
| 21851 |
* Added fields to list=search output: size, wordcount, timestamp, snippet |
| 21852 |
* Where supported by backend, list=search adds a 'searchinfo' element with |
| 21853 |
optional info: 'totalhits' count and 'suggestion' alternate query term |
| 21854 |
* (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all) |
| 21855 |
external domains to access api.php via AJAX, if the browser supports the |
| 21856 |
Access-Control-Allow-Origin HTTP header |
| 21857 |
* (bug 19999) Made metadata and properties of search results optional. Added |
| 21858 |
srprop and srinfo. |
| 21859 |
* (bug 20700) Add amprop=default to meta=allmessages to list default value for |
| 21860 |
customized messages |
| 21861 |
* Don't parse magic words in meta=allmessages, output messages unparsed |
| 21862 |
* (bug 21105) list=usercontribs can now list contribs for User:0 |
| 21863 |
* (bug 21085) list=deletedrevs no longer returns only one revision when |
| 21864 |
drcontinue param is passed |
| 21865 |
* (bug 21106) Deprecated parameters now tagged in action=paraminfo |
| 21866 |
* (bug 19004) Added support for tags |
| 21867 |
* (bug 21083) list=allusers no longer returns current timestamp for users |
| 21868 |
without registration date |
| 21869 |
* (bug 20967) action=edit allows creation of invalid titles |
| 21870 |
* (bug 19523) Add inprop=watched to prop=info |
| 21871 |
* (bug 21589) API: Separate summary and initial page text for uploads |
| 21872 |
* (bug 21817) list=usercontribs returns empty result for empty ucuser |
| 21873 |
* (bug 21441) meta=userinfo&uiprop=options no longer returns default options |
| 21874 |
for logged-in users under certain circumstances |
| 21875 |
* (bug 21945) Add chomp control in YAML |
| 21876 |
* Expand the thumburl to an absolute url to make it consistent with url and |
| 21877 |
descriptionurl |
| 21878 |
* (bug 20233) ApiLogin::execute() doesn't handle LoginForm :: RESET_PASS |
| 21879 |
* (bug 22061) API: add prop=headitems to action=parse |
| 21880 |
* (bug 22240) API: include time in siteinfo |
| 21881 |
* (bug 22241) Quick edit is still using the deprecated watch parameter (API: |
| 21882 |
Setting default for watch/unwatch wrongly set) |
| 21883 |
* (bug 22245) blfilterredirect=nonredirects in blredirect mode wrongly filtering |
| 21884 |
* (bug 22248) Output extension URLs in meta=siteinfo&siprop=extensions |
| 21885 |
* Support key-params arrays in 'descriptionmsg' in |
| 21886 |
meta=siteinfo&siprop=extensions |
| 21887 |
* (bug 21922) YAML output should quote asterisk when used as key |
| 21888 |
* (bug 22297) safesubst: to allow substitution without breaking transclusion |
| 21889 |
* (bug 18758) API read of watchlist's wl_notificationtimestamp |
| 21890 |
* (bug 20809) Expose EditFormPreloadText via the API |
| 21891 |
* (bug 18427) Comment (edit summary) parser option for API |
| 21892 |
* (bug 18608) API should provide list of CSS styles to apply to rendered output |
| 21893 |
* (bug 18771) List possible errors in action=paraminfo |
| 21894 |
|
| 21895 |
=== Languages updated in 1.16 === |
| 21896 |
|
| 21897 |
MediaWiki supports over 300 languages. Many localisations are updated |
| 21898 |
regularly. Below only new and removed languages are listed, as well as |
| 21899 |
changes to languages because of Bugzilla reports. |
| 21900 |
|
| 21901 |
* Capiznon (cps) (new) |
| 21902 |
* North Frisian (frr) (new) |
| 21903 |
* Kirmanjki (kiu) (new) |
| 21904 |
* Komi-Permyak (koi) (new) |
| 21905 |
* Karachay-Balkar (krc) (new) |
| 21906 |
* Hill Mari (mrj) (new) |
| 21907 |
* Prussian (prg) (new) |
| 21908 |
* Romagnol (rgn) (new) |
| 21909 |
* Lower Silesian (sli) (new) |
| 21910 |
* Picard (pcd) (new) |
| 21911 |
* Uyghur (Arabic script) (ug-arab) (new) |
| 21912 |
* Upper Franconian (vmf) (new) |
| 21913 |
* Votic (vot) (new) |
| 21914 |
* Eastern Yiddish (ydd) (removed) |
| 21915 |
* Iriga Bicolano (bto) (removed) |
| 21916 |
* Ladin (lld) (removed) |
| 21917 |
* Laz (lzz) (removed) |
| 21918 |
* Palembang (plm) (removed) |
| 21919 |
* Megleno-Romanian (Greek script) (ruq-grek) (removed) |
| 21920 |
* Tamazight (tzm) (removed) |
| 21921 |
* Laz (lzz) (new) |
| 21922 |
|
| 21923 |
* (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab) |
| 21924 |
* Add PLURAL function for Scots Gaelic (gd) |
| 21925 |
* Add Estonian letters äöõšüž to linktrail (et) |
| 21926 |
* (bug 18776) Native name of Burmese language (my) |
| 21927 |
* (bug 18806) Use correct unicode characters in spelling of native Chuvash |
| 21928 |
(Чӑвашла) |
| 21929 |
* (bug 18864) Updated autonym for Zhuang language |
| 21930 |
* (bug 18308) Updated date formatting in Occitan (oc) |
| 21931 |
* (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail |
| 21932 |
* (bug 19286) Correct commafying function in Polish (pl) |
| 21933 |
* (bug 19441) Updated date formatting for Lithuanian |
| 21934 |
* (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail |
| 21935 |
* (bug 19949) New linktrail for Greek (el) |
| 21936 |
* (bug 19809) Korean (North Korea) (ko-kp) (new) |
| 21937 |
* (bug 19968) Fixed "Project talk" namespace name for Maltese (mt) |
| 21938 |
* (bug 21168) Added áâãàéêçíóôõúü to Portuguese (pt) linktrail |
| 21939 |
* (bug 21596) Change interwiki link for Kurdish (ku) |
| 21940 |
* (bug 23767) PHP warning/error when REQUEST_URI returns blank (IIS issue). |
| 21941 |
|
| 21942 |
== MediaWiki 1.15 == |
| 21943 |
|
| 21944 |
== MediaWiki 1.15.5 == |
| 21945 |
=== Changes since 1.15.4 === |
| 21946 |
|
| 21947 |
* (bug 24565) Fixed Cache-Control headers sent from API modules, to protect |
| 21948 |
user privacy in the case where an attacker can access the wiki through the |
| 21949 |
same HTTP proxy as a logged-in user. |
| 21950 |
* Fixed a minor cookie header parsing issue causing incorrect Cache-Control |
| 21951 |
headers to be sent. |
| 21952 |
* Fixed an XSS vulnerability in profileinfo.php for installations with |
| 21953 |
$wgEnableProfileInfo = true (false by default) |
| 21954 |
* For backwards compatibility with extensions from 1.14.x or before, restored |
| 21955 |
the original function ApiMain::requestWriteMode(). |
| 21956 |
* In API login "need token" responses, added the cookieprefix and sessionid |
| 21957 |
fields, as in MediaWiki 1.16.x. This is an improvement to the CSRF fix |
| 21958 |
introduced in 1.15.3. |
| 21959 |
|
| 21960 |
== MediaWiki 1.15.4 == |
| 21961 |
=== Changes since 1.15.3 === |
| 21962 |
|
| 21963 |
* (bug 23534) Fixed SQL query error in API list=allusers. |
| 21964 |
* (bug 23371) Fixed CSRF vulnerability in "e-mail me my password", "create |
| 21965 |
account" and "create by e-mail" features of [[Special:Userlogin]] |
| 21966 |
* (bug 23687) Fixed XSS vulnerability affecting IE clients only, due to a CSS |
| 21967 |
validation issue. |
| 21968 |
|
| 21969 |
== MediaWiki 1.15.3 == |
| 21970 |
=== Changes since 1.15.2 === |
| 21971 |
|
| 21972 |
* (bug 22828) Fixed deletion on SQLite. |
| 21973 |
* (bug 23076) Fixed login CSRF vulnerability. Logins now require a token to |
| 21974 |
be submitted along with the user name and password. |
| 21975 |
|
| 21976 |
== MediaWiki 1.15.2 == |
| 21977 |
=== Changes since 1.15.1 === |
| 21978 |
|
| 21979 |
* The installer now includes a check for a data corruption issue with certain |
| 21980 |
versions of libxml2 2.7 and PHP earlier than 5.2.9, and also for a PHP bug |
| 21981 |
present in the official release of PHP 5.3.1. |
| 21982 |
* (bug 20239) MediaWiki:Imagemaxsize does not contain anymore a <br /> tag which |
| 21983 |
was displayed to the user |
| 21984 |
* (bug 21150) SQLite no longer raise an error when deleting files |
| 21985 |
* (bug 20880) Fixed updater failure on SQLite backend |
| 21986 |
* upgrade1_5.php now requires to be run --update option to prevent confusion |
| 21987 |
* Fixed a CSS validation issue which allowed external images to be included |
| 21988 |
into wikis where that is disallowed by configuration. |
| 21989 |
* Fixed a data leakage vulnerability for private wikis using img_auth.php or |
| 21990 |
similar image access authentication schemes. Check user permissions before |
| 21991 |
streaming out scaled images from thumb.php. |
| 21992 |
|
| 21993 |
== MediaWiki 1.15.1 == |
| 21994 |
=== Changes since 1.15.0 === |
| 21995 |
* Fixed fatal errors for unusual file repository configurations, such as |
| 21996 |
ForeignAPIRepo. |
| 21997 |
* Fixed the "change password" link on Special:Preferences to have the correct |
| 21998 |
returnto parameter. |
| 21999 |
* (bug 19693) Fixed cross-site scripting vulnerability in Special:Block |
| 22000 |
|
| 22001 |
== MediaWiki 1.15.0 == |
| 22002 |
=== Changes since 1.15.0rc1 === |
| 22003 |
|
| 22004 |
* Removed category redirect feature, implementation was incomplete. |
| 22005 |
* (bug 18846) Remove update_password_format(), unnecessary, destroys all |
| 22006 |
passwords if a wiki with $wgPasswordSalt=false is upgraded with the web |
| 22007 |
installer. |
| 22008 |
* (bug 19127) Documentation warning for PostgreSQL users who run update.php: |
| 22009 |
use the same user in AdminSettings.php as in LocalSettings.php. |
| 22010 |
* Fixed possible web invocation of some maintenance scripts, due to the use of |
| 22011 |
include() instead of require(). A full exploit would require a very strange |
| 22012 |
web server configuration. |
| 22013 |
* Localisation updates. |
| 22014 |
|
| 22015 |
=== Configuration changes in 1.15 === |
| 22016 |
|
| 22017 |
* Added $wgNewPasswordExpiry, to specify an expiry time (in seconds) to |
| 22018 |
temporary passwords |
| 22019 |
* Added $wgUseTwoButtonsSearchForm to choose the Search form behavior/look |
| 22020 |
* Added $wgNoFollowDomainExceptions to allow exempting particular domain names |
| 22021 |
from rel="nofollow" on external links |
| 22022 |
* (bug 12970) Brought back $wgUseImageResize. |
| 22023 |
* Added $wgRedirectOnLogin to allow specifying a specific page to redirect users |
| 22024 |
to upon logging in (ex: "Main Page") |
| 22025 |
* Add $wgExportFromNamespaces for enabling/disabling the "export all from |
| 22026 |
namespace" option (disabled by default) |
| 22027 |
|
| 22028 |
=== New features in 1.15 === |
| 22029 |
|
| 22030 |
* (bug 2242) Add an expiry time to temporary passwords |
| 22031 |
* (bug 9947) Add PROTECTIONLEVEL parser function to return the protection level |
| 22032 |
for the current page for a given action |
| 22033 |
* (bug 17002) Add &minor= and &summary= as parameters in the url when editing, |
| 22034 |
to automatically add a summary or a minor edit. |
| 22035 |
* (bug 16852) padleft and padright now accept multiletter pad characters |
| 22036 |
* When using 'UserCreateForm' hook to add new checkboxes into |
| 22037 |
Special:UserLogin/signup, the messages can now contain HTML to allow |
| 22038 |
hyperlinking to the site's Terms of Service page, for example |
| 22039 |
* Add new hook 'UserLoadFromDatabase' that is called while loading a user |
| 22040 |
from the database. |
| 22041 |
* (bug 17045) Options on the block form are prefilled with the options of the |
| 22042 |
existing block when modifying an existing block. |
| 22043 |
* (bug 17055) "(show/hide)" links to Special:RevisionDelete now use a CSS class |
| 22044 |
rather than hardcoded HTML tags |
| 22045 |
* Added new hook 'WantedPages::getSQL' into SpecialWantedpages.php to allow |
| 22046 |
extensions to alter the SQL query which is used to get the list of wanted |
| 22047 |
pages |
| 22048 |
* (bugs 16957/16969) Add show/hide to preferences for RC patrol options on |
| 22049 |
specialpages |
| 22050 |
* (bug 11443) Auto-noindex user/user talk pages for blocked user |
| 22051 |
* (bug 11644) Add $wgMaxRedirects variable to control how many redirects are |
| 22052 |
recursed through until the "destination" page is reached. |
| 22053 |
* Add $wgInvalidRedirectTargets variable to prevent redirects to certain |
| 22054 |
special pages. |
| 22055 |
* Use HTML5 rel attributes for some links, where appropriate |
| 22056 |
* Added optional alternative Search form look - Go button & Advanced search |
| 22057 |
link instead of Go button & Search button |
| 22058 |
* (bug 2314) Add links to user custom CSS and JS to Special:Preferences |
| 22059 |
* More helpful error message on raw page access if PHP_SELF isn't set |
| 22060 |
* (bug 13040) Gender switch in user preferences |
| 22061 |
* (bug 13040) {{GENDER:}} magic word for interface messages |
| 22062 |
* (bug 3301) Optionally sort user list according to account creation time |
| 22063 |
* Remote description pages for foreign file repos are now fetched in the |
| 22064 |
content language. |
| 22065 |
* (bug 17180) If $wgUseFileCache is enabled, $wgShowIPinHeader is automatically |
| 22066 |
set to false. |
| 22067 |
* (bug 16604) Mark non-patrolled edits in feeds with "!" |
| 22068 |
* (bug 16604) Show title/rev in IRC for patrol log |
| 22069 |
* (bug 16854) Whether a page is being parsed as a preview or section preview |
| 22070 |
can now be determined and set with ParserOptions. |
| 22071 |
* Wrap message 'confirmemail_pending' into a div with CSS classes "error" and |
| 22072 |
"mw-confirmemail-pending" |
| 22073 |
* (bug 8249) The magic words for namespaces and pagenames can now be used as |
| 22074 |
parser functions to return the desired namespace or normalized title/title |
| 22075 |
part for a given title. |
| 22076 |
* (bug 17110) Styled #mw-data-after-content in cologneblue.css to match the |
| 22077 |
rest of the font |
| 22078 |
* (bug 7556) Time zone names in signatures lack i18n |
| 22079 |
* (bug 3311) Automatic category redirects |
| 22080 |
* (bug 17236) Suppress 'watch user page link' for IP range blocks |
| 22081 |
* Wrap message 'searchresulttext' (Special:Search) into a div with |
| 22082 |
class "mw-searchresult" |
| 22083 |
* (bug 15283) Interwiki imports can now fetch included templates |
| 22084 |
* Treat svn:// URLs as external links by default |
| 22085 |
* New function to convert namespace text for display (only applies on wiki with |
| 22086 |
LanguageConverter class) |
| 22087 |
* (bug 17379) Contributions-title is now parsed for magic words. |
| 22088 |
* Preprocessor output now cached in memcached. |
| 22089 |
* (bug 14468) Lines in classic RecentChanges and Watchlist have classes |
| 22090 |
"mw-line-odd" and "mw-line-even" to make styling using css possible. |
| 22091 |
* (bug 17311) Add a note beside the gender selection menu to tell users that |
| 22092 |
this information will be public |
| 22093 |
* Localize time zone regions in Special:Preferences |
| 22094 |
* Add NUMBEROFACTIVEUSERS magic word, which is like NUMBEROFUSERS, but uses |
| 22095 |
the active users data from site_stats. |
| 22096 |
* Add a <link rel="canonical"> tag on redirected page views |
| 22097 |
* Replace hardcoded '...' as indication of a truncation with the |
| 22098 |
'ellipsis' message |
| 22099 |
* Wrap warning message 'editinginterface' into a div with class |
| 22100 |
'mw-editinginterface' |
| 22101 |
* (bug 17497) Oasis opendocument added to mime.types |
| 22102 |
* Remove the link to Special:FileDuplicateSearch from the "file history" section |
| 22103 |
of image description pages as the list of duplicated files is shown in the |
| 22104 |
next section anyway. |
| 22105 |
* Added $wgRateLimitsExcludedIPs, to allow specific IPs to be whitelisted from |
| 22106 |
rate limits. |
| 22107 |
* (bug 14981) Shared repositories can now have display names, located at |
| 22108 |
MediaWiki:Shared-repo-name-REPONAME, where REPONAME is the name in |
| 22109 |
$wgForeignFileRepos |
| 22110 |
* Special:ListUsers: Sort list of usergroups by alphabet |
| 22111 |
* (bug 16762) Special:Movepage now shows a list of subpages when possible |
| 22112 |
* (bug 17585) Hide legend on Special:Specialpages from non-privileged users |
| 22113 |
* Added $wgUseTagFilter to control enabling of filter-by-change-tag |
| 22114 |
* (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the |
| 22115 |
username |
| 22116 |
* Wrap special page summary message '$specialPageName-summary' into a div |
| 22117 |
with class 'mw-specialpage-summary' |
| 22118 |
* $wgSummarySpamRegex added to handle edit summary spam. This is used *instead* |
| 22119 |
of $wgSpamRegex for edit summary checks. Text checks still use $wgSpamRegex. |
| 22120 |
* New function to convert content text to specified language (only applies on |
| 22121 |
wiki with LanguageConverter class) |
| 22122 |
* (bug 17844) Redirect users to a specific page when they log in, see |
| 22123 |
$wgRedirectOnLogin |
| 22124 |
* Added a link to Special:UserRights on Special:Contributions for privileged |
| 22125 |
users |
| 22126 |
* (bug 10336) Added new magic word {{REVISIONUSER}}, which displays the editor |
| 22127 |
of the displayed revision |
| 22128 |
* LinkerMakeExternalLink now has an $attribs parameter for link attributes and |
| 22129 |
a $linkType parameter for the type of external link being made |
| 22130 |
* (bug 17785) Dynamic dates surrounded with a <span> tag, fixing sortable tables |
| 22131 |
with dynamic dates. |
| 22132 |
* (bug 4582) Provide preference-based autoformatting of unlinked dates with the |
| 22133 |
dateformat parser function. |
| 22134 |
* (bug 17886) Special:Export now allows you to export a whole namespace (limited |
| 22135 |
to 5000 pages) |
| 22136 |
* (bug 17714) Limited TIFF upload support now built in if 'tif' extension is |
| 22137 |
enabled. Image width and height are now recognized, and when using |
| 22138 |
ImageMagick, optional flattening to PNG or JPEG for inline display can be |
| 22139 |
enabled by setting $wgTiffThumbnailType |
| 22140 |
* Renamed two input IDs on Special:Log from 'page' and 'user' to 'mw-log-page' |
| 22141 |
and 'mw-log-user', respectively |
| 22142 |
* Added $wgInvalidUsernameCharacters to disallow certain characters in |
| 22143 |
usernames during registration (such as "@") |
| 22144 |
* Added $wgUserrightsInterwikiDelimiter to allow changing the delimiter |
| 22145 |
used in Special:UserRights to denote the user should be searched for |
| 22146 |
on a different database |
| 22147 |
* Add a class if 'missingsummary' is triggered to allow styling of the summary |
| 22148 |
line |
| 22149 |
* Title attributes are now always blank on framed and thumbnailed images, and |
| 22150 |
default to blank on inline images instead of defaulting to the image's |
| 22151 |
filename. Additionally, the alt attribute now defaults to the filename on |
| 22152 |
framed and thumbnailed images if no caption or alt attribute is specified. |
| 22153 |
|
| 22154 |
=== Bug fixes in 1.15 === |
| 22155 |
* (bug 16968) Special:Upload no longer throws useless warnings. |
| 22156 |
* (bug 17000) Special:RevisionDelete now checks if the database is locked |
| 22157 |
before trying to delete the edit. |
| 22158 |
* (bug 16852) padleft and padright now handle multibyte characters correctly |
| 22159 |
* (bug 17010) maintenance/namespaceDupes.php now add the suffix recursively if |
| 22160 |
the destination page exists |
| 22161 |
* (bug 17035) Special:Upload now fails gracefully if PHP's file_uploads has |
| 22162 |
been disabled |
| 22163 |
* Fixing the caching issue by using -{T|xxx}- syntax (only applies on wiki with |
| 22164 |
LanguageConverter class) |
| 22165 |
* Improving the efficiency by using -{A|xxx}- syntax (only applies on wiki with |
| 22166 |
LanguageConverter class) |
| 22167 |
* (bug 17054) Added more descriptive errors in Special:RevisionDelete |
| 22168 |
* (bug 11527) Diff on page with one revision shows "Next" link to same diff |
| 22169 |
* (bug 8065) Fix summary forcing for new pages |
| 22170 |
* (bug 10569) redirects to Special:Mypage and Special:Mytalk are no longer |
| 22171 |
allowed by default. Change $wgInvalidRedirectTargets to re-enable. |
| 22172 |
* (bug 3043) Feed links of given page are now preceded by standard feed icon |
| 22173 |
* (bug 17150) escapeLike now escapes literal \ properly |
| 22174 |
* Inconsistent use of sysop, admin, administrator in system messages changed |
| 22175 |
to 'administrator' |
| 22176 |
* (bug 14423) Check block flag validity for block logging |
| 22177 |
* DB transaction and slave-lag avoidance tweaks for Email Notifications |
| 22178 |
* (bug 17104) Removed [Mark as patrolled] link for already patrolled revisions |
| 22179 |
* (bug 17106) Added 'redirect=no' and 'mw-redirect' class to redirects at |
| 22180 |
"user contributions" |
| 22181 |
* Rollback links on new pages removed from "user contributions" |
| 22182 |
* (bug 15811) Re-upload form tweaks: license fields removed, destination locked, |
| 22183 |
comment label uses better message |
| 22184 |
* Whole HTML validation ($wgValidateAllHtml) now works with external tidy |
| 22185 |
* Parser tests no longer fail when $wgExternalLinkTarget is set in |
| 22186 |
LocalSettings |
| 22187 |
* (bug 15391) catch DBQueryErrors on external storage insertion. This avoids |
| 22188 |
error messages on save were the edit in fact is saved. |
| 22189 |
* (bug 17184) Remove duplicate "z" accesskey in MonoBook |
| 22190 |
* Parser tests no longer fail when $wgAlwaysUseTidy is set in LocalSettings.php |
| 22191 |
* Removed redundant dupe warnings on reupload for the same title. Dupe warnings |
| 22192 |
for identical files at different titles are still given. |
| 22193 |
* Add 'change tagging' facility, where changes can be tagged internally with |
| 22194 |
certain designations, which are displayed on various summaries of changes, |
| 22195 |
and the entries can be styled with CSS. |
| 22196 |
* (bug 17207) Fix regression breaking category page display on PHP 5.1 |
| 22197 |
* Categoryfinder utility class no longer fails on invalid input or gives wrong |
| 22198 |
results for category names that include pseudo-namespaces |
| 22199 |
* (bug 17252) Galician numbering format |
| 22200 |
* (bug 17146) Fix for UTF-8 and short word search for some possible MySQL |
| 22201 |
configs |
| 22202 |
* (bug 7480) Internationalize database error message |
| 22203 |
* (bug 16555) Number of links to mediawiki.org scaled back on post-installation |
| 22204 |
* (bug 14938) Removing a section no longer leaves excess whitespace |
| 22205 |
* (bug 17304) Fixed fatal error when thumbnails couldn't be generated for file |
| 22206 |
history |
| 22207 |
* (bug 17283) Remove double URL escaping in show/hide links for log entries |
| 22208 |
and RevisionDeleteForm::__construct |
| 22209 |
* (bug 17105) Numeric table sorting broken |
| 22210 |
* (bug 17231) Transcluding special pages on wikis using language conversion no |
| 22211 |
longer affects the page title |
| 22212 |
* (bug 6702) Default system messages updated/improved |
| 22213 |
* (bug 17190) User ID on preference page no longer has delimeters |
| 22214 |
* (bug 17341) "Powered by MediaWiki" should be on the left on RTL wikis |
| 22215 |
* (bug 17404) "userrights-interwiki" right was missing in User::$mCoreRights |
| 22216 |
* (bug 7509) Separation strings should be configurable |
| 22217 |
* (bug 17420) Send the correct content type from action=raw when the HTML file |
| 22218 |
cache is enabled. |
| 22219 |
* (bug 12746) Do not allow new password e-mails when wiki is in read-only mode |
| 22220 |
* (bug 17478) Fixed a PHP Strict standards error in |
| 22221 |
maintenance/cleanupWatchlist.php |
| 22222 |
* (bug 17488) RSS/Atom links in left toolbar are now localized in classic skin |
| 22223 |
* (bug 17472) use print <<<EOF in maintenance/importTextFile.php |
| 22224 |
* Special:PrefixIndex: Move table styling to shared.css, add CSS IDs to tables |
| 22225 |
use correct message 'allpagesprefix' for input form label, replace _ with ' ' |
| 22226 |
in next page link |
| 22227 |
* (bug 17506) Exceptions within exceptions now respect $wgShowExceptionDetails |
| 22228 |
* Fixed excessive job queue utilisation |
| 22229 |
* File dupe messages for remote repos are now shown only once. |
| 22230 |
* (bug 14980) Messages 'shareduploadwiki' and 'shareduploadwiki-desc' are now |
| 22231 |
used as a parameter in 'sharedupload' for easier styling and customization. |
| 22232 |
* (bug 17482) Formatting error in Special:Preferences#Misc (Opera) |
| 22233 |
* (bug 17556) <link> parameters in Special:Contributions feeds (RSS and Atom) |
| 22234 |
now point to the actual contributors' feed. |
| 22235 |
* ForeignApiRepos now fetch MIME types, rather than trying to figure it locally |
| 22236 |
* Special:Import: Do not show input field for import depth if |
| 22237 |
$wgExportMaxLinkDepth == 0 |
| 22238 |
* (bug 17570) $wgMaxRedirects is now correctly respected when following |
| 22239 |
redirects (was previously one more than $wgMaxRedirects) |
| 22240 |
* (bug 16335) __NONEWSECTIONLINK__ magic word to suppress new section link. |
| 22241 |
* (bug 17581) Wrong index name in PostgreSQL's updater: was rc_timestamp_nobot, |
| 22242 |
changed to rc_timestamp_bot |
| 22243 |
* (bug 17437) Fixed incorrect link to web-based installer |
| 22244 |
* (bug 17538) Use shorter URLs in <link> elements |
| 22245 |
* (bug 13778) Hidden input added to the search form so that using the Enter key |
| 22246 |
on IE will do a fulltext search like clicking the button does |
| 22247 |
* (bug 1061) CSS-added icons next to links display through the text and makes |
| 22248 |
it unreadable in RTL |
| 22249 |
* Special:Wantedtemplates now works on PostgreSQL |
| 22250 |
* (bug 14414) maintenance/updateSpecialPages.php no longer throws error with |
| 22251 |
PostgreSQL |
| 22252 |
* (bug 17546) Correct Tongan language native name is "lea faka-Tonga" |
| 22253 |
* (bug 17621) Special:WantedFiles has no link to Special:Whatlinkshere |
| 22254 |
* (bug 17460) Client ecoding is now correctly set for PostgreSQL |
| 22255 |
* (bug 17648) Prevent floats from intruding into edit area in previews if no |
| 22256 |
toolbar present |
| 22257 |
* (bug 17692) Added (list of members) link to 'user' in Special:Listgrouprights |
| 22258 |
* (bug 17707) Show file destination as plain text if &wpForReUpload=1 |
| 22259 |
* (bug 10172) Moved setting of "changed since last visit" flags out of the job |
| 22260 |
queue |
| 22261 |
* (bug 17761) "show/hide" link in page history in now works for the first |
| 22262 |
displayed revision if it's not the current one |
| 22263 |
* (bug 17722) Fix regression where users are unable to change temporary |
| 22264 |
passwords |
| 22265 |
* (bug 17799) Special:Random no longer throws a database error when a non- |
| 22266 |
namespace is given, silently falls back to NS_MAIN |
| 22267 |
* (bug 17751) The message for bad titles in WantedPages is now localized |
| 22268 |
* (bug 17860) Moving a page in the "MediaWiki" namespace using SuppressRedirect |
| 22269 |
no longer corrupts the message cache |
| 22270 |
* (bug 17900) Fixed User Groups interface log display after saving groups. |
| 22271 |
* (bug 17897) Fixed string offset error in <pre> tags |
| 22272 |
* (bug 17778) MediaWiki:Catseparator can now have HTML entities |
| 22273 |
* (bug 17676) Error on Special:ListFiles when using Postgres |
| 22274 |
* Special:Export doesn't use raw SQL queries anymore |
| 22275 |
* (bug 14771) Thumbnail links to individual DjVu pages no longer have |
| 22276 |
two "page" parameters |
| 22277 |
* (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that |
| 22278 |
don't use PathInfo or short urls |
| 22279 |
* (bug 17990) trackback.php now has a trackback.php5 alias and works with |
| 22280 |
$wgScriptExtension |
| 22281 |
* (bug 14990) Parser tests works again with PostgreSQL |
| 22282 |
* (bug 11487) Special:Protectedpages doesn't list protections with pr_expiry |
| 22283 |
IS NULL |
| 22284 |
* (bug 18018) Deleting a file redirect leaves behind a malfunctioning redirect |
| 22285 |
* (bug 17537) Disable bad zlib.output_compression output on HTTP 304 responses |
| 22286 |
* (bug 11213) [edit] section links in printable version no longer appear when |
| 22287 |
you cut-and-paste article text |
| 22288 |
* (bug 17405) "Did you mean" to mirror Go/Search behavior of original request |
| 22289 |
* (bug 18116) 'edittools' is now output identically on edit and upload pages |
| 22290 |
* (bug 17241) The diffonly URI parameter should cascade to "Next edit" and |
| 22291 |
"Previous edit" diff links |
| 22292 |
* (bug 16823) Sidebar search form should not use Special:Search view URL as |
| 22293 |
target |
| 22294 |
* (bug 16343) Non-existing, but in use, category pages can be "go" match hits |
| 22295 |
* Fixed a CSS validation issue which allowed external images to be included |
| 22296 |
into wikis where that is disallowed by configuration. |
| 22297 |
* Fixed a data leakage vulnerability for private wikis using img_auth.php or |
| 22298 |
similar image access authentication schemes. Check user permissions before |
| 22299 |
streaming out scaled images from thumb.php. |
| 22300 |
|
| 22301 |
== API changes in 1.15 == |
| 22302 |
* (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |
| 22303 |
and listing all deleted pages possible |
| 22304 |
* (bug 16844) Added clcategories parameter to prop=categories |
| 22305 |
* (bug 17025) Add "fileextension" parameter to meta=siteinfo&siprop= |
| 22306 |
* (bug 17048) Show the 'new' flag in list=usercontribs for the revision that |
| 22307 |
created the page, even if it's not the top revision |
| 22308 |
* (bug 17069) Added ucshow=patrolled|!patrolled to list=usercontribs |
| 22309 |
* action=delete respects $wgDeleteRevisionsLimit and the bigdelete user right |
| 22310 |
* (bug 15949) Add undo functionality to action=edit |
| 22311 |
* (bug 16483) Kill filesort in ApiQueryBacklinks caused by missing parentheses. |
| 22312 |
Building query properly now using makeList() |
| 22313 |
* (bug 17182) Fix pretty printer so URLs with parentheses in them are |
| 22314 |
autolinked correctly |
| 22315 |
* (bug 17224) Added siprop=rightsinfo to meta=siteinfo |
| 22316 |
* (bug 17239) Added prop=displaytitle to action=parse |
| 22317 |
* (bug 17317) Added watch parameter to action=protect |
| 22318 |
* (bug 17007) Added export and exportnowrap parameters to action=query |
| 22319 |
* (bug 17326) BREAKING CHANGE: Changed output format for iiprop=metadata |
| 22320 |
* (bug 17355) Added auwitheditsonly parameter to list=allusers |
| 22321 |
* (bug 17007) Added action=import |
| 22322 |
* BREAKING CHANGE: Removed rctitles parameter from list=recentchanges because |
| 22323 |
of performance concerns |
| 22324 |
* Listing (semi-)deleted revisions and log entries as well in prop=revisions |
| 22325 |
and list=logevents |
| 22326 |
* (bug 11430) BREAKING CHANGE: Modules may return fewer results than the |
| 22327 |
limit and still set a query-continue in some cases |
| 22328 |
* (bug 17357) Added movesubpages parameter to action=move |
| 22329 |
* (bug 17433) Added bot flag to list=watchlist&wlprop=flags output |
| 22330 |
* (bug 16740) Added list=protectedtitles |
| 22331 |
* Added mainmodule and pagesetmodule parameters to action=paraminfo |
| 22332 |
* (bug 17502) meta=siteinfo&siprop=namespacealiases no longer lists namespace |
| 22333 |
aliases already listed in siprop=namespaces |
| 22334 |
* (bug 17529) rvend ignored when rvstartid is specified |
| 22335 |
* (bug 17626) Added uiprop=email to list=userinfo |
| 22336 |
* (bug 13209) Added rvdiffto parameter to prop=revisions |
| 22337 |
* Manual language conversion improve: Now we can include both ";" and ":" in |
| 22338 |
conversion rules |
| 22339 |
* (bug 17795) Don't report views count on meta=siteinfo if $wgDisableCounters |
| 22340 |
is set |
| 22341 |
* (bug 17774) Don't hide read-restricted modules like action=query from users |
| 22342 |
without read rights, but throw an error when they try to use them. |
| 22343 |
* Don't hide write modules when $wgEnableWriteAPI is false, but throw an error |
| 22344 |
when someone tries to use them |
| 22345 |
* BREAKING CHANGE: action=purge requires write rights and, for anonymous users, |
| 22346 |
a POST request |
| 22347 |
* (bug 18099) Using appendtext to edit a non-existent page causes an interface |
| 22348 |
message to be included in the page text |
| 22349 |
* Fixed the circular template inclusion check, was broken when the loop |
| 22350 |
involved redirects. Without this, infinite recursion within the parser is |
| 22351 |
possible. |
| 22352 |
* (bug 18601) generator=backlinks returns invalid continue parameter |
| 22353 |
* (bug 18597) Internal error with empty generator= parameter |
| 22354 |
* (bug 18617) Add xml:space="preserve" attribute to relevant tags in XML output |
| 22355 |
* (bug 17611) Provide a sensible error message on install when the SQLite data |
| 22356 |
directory is wrong. |
| 22357 |
|
| 22358 |
=== Languages updated in 1.15 === |
| 22359 |
|
| 22360 |
MediaWiki supports over 300 languages. Many localisations are updated |
| 22361 |
regularly. Below only new and removed languages are listed, as well as |
| 22362 |
changes to languages because of Bugzilla reports. |
| 22363 |
|
| 22364 |
* Austrian German (de-at) (new) |
| 22365 |
* Swiss Standard German (de-ch) (new) |
| 22366 |
* Simplified Gan Chinese (gan-hans) (new) |
| 22367 |
* Traditional Gan Chinese (gan-hant) (new) |
| 22368 |
* Literary Chinese (lzh) (new) |
| 22369 |
* Uyghur (Latin script) (ug-latn) (renamed from 'ug') |
| 22370 |
* Veps (vep) (new) |
| 22371 |
* Võro (vro) (renamed from fiu-vro) |
| 22372 |
* (bug 17151) Add magic word alias for #redirect for Vietnamese |
| 22373 |
* (bug 17288) Messages improved for default language (English) |
| 22374 |
* (bug 12937) Update native name for Afar |
| 22375 |
* (bug 16909) 'histlegend' now reuses messages instead of copying them |
| 22376 |
* (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied' |
| 22377 |
when the user is blocked |
| 22378 |
* Traditional/Simplified Gan Chinese conversion support |
| 22379 |
|
| 22380 |
== MediaWiki 1.14 == |
| 22381 |
|
| 22382 |
== MediaWiki 1.14.1 == |
| 22383 |
=== Changes since 1.14.0 === |
| 22384 |
|
| 22385 |
* (bug 17737) Fixed russian URLs for Special:BookSources |
| 22386 |
* (bug 17713) Using links with only an anchor no longer add an dummy entry in |
| 22387 |
the pagelinks table |
| 22388 |
* (bug 17897) Fixed string offset error in <pre> tags |
| 22389 |
* (bug 17832) Fixed action=delete returning 'unknownerror' instead of |
| 22390 |
'permissiondenied' when the user is blocked |
| 22391 |
* Fixed performance regression when accessing deleted (archived) files |
| 22392 |
* (bug 19693) Fixed cross-site scripting vulnerability in Special:Block |
| 22393 |
|
| 22394 |
== MediaWiki 1.14.0 == |
| 22395 |
=== Changes since 1.14.0rc1 === |
| 22396 |
|
| 22397 |
* Fixed the performance of the backlinks API module |
| 22398 |
* (bug 17420) Send the correct content type from action=raw when the HTML file |
| 22399 |
cache is enabled. |
| 22400 |
* (bug 17437) Fixed incorrect link to web-based installer |
| 22401 |
* (bug 17527) Fixed missing MySQL-specific options in installer |
| 22402 |
|
| 22403 |
=== Configuration changes in 1.14 === |
| 22404 |
|
| 22405 |
* $wgExemptFromUserRobotsControl is an array of namespaces to be exempt from |
| 22406 |
the effect of the new __INDEX__/__NOINDEX__ magic words. (Default: null, ex- |
| 22407 |
empt all content namespaces.) |
| 22408 |
* $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4 |
| 22409 |
has been $wgSearchForwardUrl. |
| 22410 |
* (bug 15080) $wgOverrideSiteFeed has been added. Setting either |
| 22411 |
$wgSiteFeed['rss'] or 'atom' to a URL will override the default Recent |
| 22412 |
Changes feed that appears on all pages. |
| 22413 |
* $wgSQLiteDataDirMode has been introduced as the default directory mode for |
| 22414 |
SQLite data directories on creation. Note that this setting is separate from |
| 22415 |
$wgDirectoryMode, which applies to all normal dirs created by MediaWiki. |
| 22416 |
* $wgGroupsAddToSelf and $wgGroupsRemoveFromSelf now work more like |
| 22417 |
$wgAddGroups and $wgRemoveGroups, where the user must belong to a specified |
| 22418 |
group in order to add or remove those groups from themselves. |
| 22419 |
Backwards compatibility is maintained. |
| 22420 |
* $wgRestrictDisplayTitle controls if the use of the {{DISPLAYTITLE}} magic |
| 22421 |
word is restricted to titles equivalent to the actual page title. This |
| 22422 |
is true by default, but can be set to false to allow any title. |
| 22423 |
* $wgSpamRegex may now be an array of multiple regular expressions. |
| 22424 |
* $wgAjaxSearch has been removed; use $wgEnableMWSuggest instead. |
| 22425 |
* Editing the MediaWiki namespace is now unconditionally restricted to people |
| 22426 |
with the editinterface right, configuring this in $wgNamespaceProtection |
| 22427 |
is not required. |
| 22428 |
* $wgAllowExternalImagesFrom may now be an array of multiple strings. |
| 22429 |
* Introduced $wgEnableImageWhitelist to toggle the on-wiki external image |
| 22430 |
whitelist on or off. |
| 22431 |
* Added $wgRenderHashAppend to append some string to the parser cache and the |
| 22432 |
sitenotice cache keys. |
| 22433 |
* $wgRCChangedSizeThreshold is now a positive integer by default, |
| 22434 |
* (bug 16006) $wgEnableWriteAPI is now true by default. Authorized can perform |
| 22435 |
write actions using the API. |
| 22436 |
* Added $wgRC2UDPInterwikiPrefix which adds an interwiki prefix |
| 22437 |
($wgLocalInterwiki) onto the page names in the UDP feed. |
| 22438 |
* Added $wgAllowUserSkin to let the wiki's owner disable user selectable skins |
| 22439 |
on the wiki. If it's set to false, then the skin used will *always* be |
| 22440 |
$wgDefaultSkin. |
| 22441 |
* Added $wgEnotifUseRealName, which allows UserMailer to send out e-mails based |
| 22442 |
on the user's real name if one is set. Defaults to false (use the username) |
| 22443 |
* Removed the 'apiThumbCacheDir' option from $wgForeignFileRepos (only used in |
| 22444 |
ForeignAPIRepo) |
| 22445 |
* (bug 44) Image namespace and accompanying talk namespace renamed to File. |
| 22446 |
For backward compatibility purposes, Image still works. External tools may |
| 22447 |
need to be updated. |
| 22448 |
* The constants NS_FILE and NS_FILE_TALK can now be used instead of NS_IMAGE and |
| 22449 |
NS_IMAGE_TALK. The old constants are retained as aliases for compatibility, |
| 22450 |
and should still be used in code meant to be compatible with v1.13 or older. |
| 22451 |
* MediaWiki can be forced to use private IPs forwarded by a proxy server by |
| 22452 |
using $wgUsePrivateIPs. |
| 22453 |
* The 'BeforeWatchlist' hook has been removed due to internal changes in |
| 22454 |
Special:Watchlist. 'SpecialWatchlistQuery' should now be used by extensions |
| 22455 |
to customize the watchlist database query. |
| 22456 |
|
| 22457 |
=== Migrated extensions === |
| 22458 |
The following extensions are migrated into MediaWiki 1.14: |
| 22459 |
|
| 22460 |
* Special:DeletedContributions to show deleted user contributions (was |
| 22461 |
extension DeletedContributions) |
| 22462 |
* Special:Log/newusers recording new users (was extension Newuserlog) |
| 22463 |
* Special:LinkSearch to search for external links (was extension LinkSearch) |
| 22464 |
* RenderHash |
| 22465 |
* NoMoveUserPages |
| 22466 |
* UniversalEditButton |
| 22467 |
|
| 22468 |
=== New features in 1.14 === |
| 22469 |
|
| 22470 |
* New URL syntaxes for Special:ListUsers - 'Special:ListUsers/USER' and |
| 22471 |
'Special:ListUsers/GROUP/USER', in addition to the older syntax |
| 22472 |
'Special:ListUsers/GROUP' where GROUP is a valid group name. |
| 22473 |
* Configurable per-namespace and per-page notices for the edit form, |
| 22474 |
respectively MediaWiki:Editnotice-# where # is the namespace number, and |
| 22475 |
MediaWiki:Editnotice-#-PAGENAME where # is the page's namespace number and |
| 22476 |
PAGENAME is the page name minus the namespace prefix. |
| 22477 |
* (bug 8068) New __INDEX__ and __NOINDEX__ magic words allow user control of |
| 22478 |
search engine indexing on a per-article basis. |
| 22479 |
* Handheld stylesheet options |
| 22480 |
* Added 'DoEditSectionLink' hook as a cleaner unified version of the old |
| 22481 |
'EditSectionLink' and 'EditSectionLinkForOther' hooks. Note that the |
| 22482 |
'EditSectionLinkForOther' hook has been removed, but 'EditSectionLink' is |
| 22483 |
run in all cases instead, so extensions using the old hooks should still work |
| 22484 |
if they ran roughly the same code for both hooks (as is almost certain). |
| 22485 |
* Signature (~~~~) "cleaning", i.e. template removal, can be disabled with |
| 22486 |
$wgCleanSignatures=false |
| 22487 |
* Extensions can use the SkinBuildSidebar hook to modify the content of the |
| 22488 |
sidebar and add custom portlets to it |
| 22489 |
* Added 'MakeGlobalVariablesScript' hook for extensions to be able to add vari- |
| 22490 |
ables into the output of Skin::makeVariablesScript |
| 22491 |
* (bug 13846) Added $wgAddGroups and $wgRemoveGroups display on |
| 22492 |
Special:ListGroupRights |
| 22493 |
* (bug 14377) Add a date selector to history pages |
| 22494 |
* (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of |
| 22495 |
the main page to be customized |
| 22496 |
* Added $wgDisableTitleConversion to disabling the conversion for all pages on |
| 22497 |
the wiki |
| 22498 |
* Added 'noconvertlink' toggle that can be set per user preferences, also |
| 22499 |
added 'convertlink=no|yes' on GET requests whether have the link titles |
| 22500 |
being converted or not |
| 22501 |
* (bug 14921) Special:Contributions/: add user name to <title> |
| 22502 |
Patch by Emufarmers |
| 22503 |
* Unescape more "safe" characters when producing URLs, for added prettiness |
| 22504 |
* Introduced a new hook 'SkinAfterContent' that allows extensions to add text |
| 22505 |
after the page content and article metadata. Updated all skins and skin |
| 22506 |
templates to work with that hook. |
| 22507 |
* (bug 14929) removeUnusedAccounts.php now supports 'ignore-touched' and |
| 22508 |
'ignore-groups'. Patch by Louperivois |
| 22509 |
* (bug 15127) Work around minor display glitch in Opera. |
| 22510 |
* By default, reject file uploads that look like ZIP files, to avoid the |
| 22511 |
so-called GIFAR vulnerability. |
| 22512 |
* (bug 15141) Give ability to only list protected pages with the cascading |
| 22513 |
option enabled on Special:ProtectedPages |
| 22514 |
* (bug 15157) Special:Watchlist has the same options as Special:Watchlist: |
| 22515 |
Show/Hide logged in users, Show/Hide anonymous, Invert namespace selection |
| 22516 |
* Added hook 'UserrightsChangeableGroups' to allow modification of what |
| 22517 |
groups may be added or removed via the Special:UserRights interface. |
| 22518 |
* HTML entities like now work (are not escaped) in edit summaries. |
| 22519 |
* (bug 13815) In the comment for page moves, use the colon-separator message |
| 22520 |
instead of a hardcoded colon. |
| 22521 |
* Allow <gallery> to accept image names without an Image: prefix |
| 22522 |
* Add tooltips to rollback and undo links |
| 22523 |
* BMP images are now displayed as PNG |
| 22524 |
* (bug 13471) Added NUMBERINGROUP magic word |
| 22525 |
* (bug 11884) Now support Flash EXIF attribute |
| 22526 |
* Show thumbnails in the file history list, patch by User:Agbad |
| 22527 |
* Added support of piped wikilinks using double-width brackets |
| 22528 |
* Added an on-wiki external image whitelist. Items in this whitelist are |
| 22529 |
treated as regular expression fragments to match for when possibly |
| 22530 |
displaying an external image inline. |
| 22531 |
* (bugs 15405, 15436) Sort more currency types correctly in sortable tables |
| 22532 |
* (bug 15422) Sort more different types of numbers in sortable tables |
| 22533 |
* (bug 2889) MediaWiki:Print.css applies to the printable version |
| 22534 |
* Category counts (e.g. from {{PAGESINCATEGORY:}}) should be more accurate for |
| 22535 |
small categories |
| 22536 |
* After logging in, automatically redirect to wherever you logged in from |
| 22537 |
* (bug 5619) Break messages used in Special:Statistics down further |
| 22538 |
* (bug 11029) Add link to Special:Listusers?group=sysop etc at |
| 22539 |
Special:Statistics |
| 22540 |
* (bug 15514) Setting $wgRightsText without $wgRightsUrl now produces a |
| 22541 |
plaintext copyright notice. Patch by Juliano F. Ravasi. |
| 22542 |
* (bug 15551) Deletion log excerpt is now shown whenever a user vists a |
| 22543 |
deleted page, even if they are unable to edit it. |
| 22544 |
* Added Wantedfiles special pages, allowing users to find image links with no |
| 22545 |
image. |
| 22546 |
* (bug 12650) It is now possible to set different expiration times for |
| 22547 |
different restriction types on the protection form. |
| 22548 |
* (bug 8440) Allow preventing blocked users from editing their talk pages |
| 22549 |
* Improved upload file type detection for OpenDocument formats |
| 22550 |
* Added the ability to set the target attribute on external links with |
| 22551 |
$wgExternalLinkTarget |
| 22552 |
* api.php now sends "Retry-After" and "X-Database-Lag" HTTP headers if the |
| 22553 |
maxlag check fails, just like index.php does |
| 22554 |
* Added "link" parameter to image links, to allow images to link to an |
| 22555 |
arbitrary title or URL. This should replace inaccessible and incomplete |
| 22556 |
solutions such as CSS-based overlays and ImageMap. |
| 22557 |
* (bug 368) Don't use caption for alt attribute; allow manual specification |
| 22558 |
using new "alt=" parameter for images |
| 22559 |
* (bug 44) The {{ns:}} core parser function now also accepts localized |
| 22560 |
namespace names and aliases; also, its output now uses spaces instead of |
| 22561 |
underscores to match the behavior of the {{NAMESPACE}} magic word |
| 22562 |
* Added the ability to display user edit counts in Special:ListUsers. Off by |
| 22563 |
default, enabled with $wgEdititis = true (named after the medical condition |
| 22564 |
marked by unhealthy obsession with edit counts). |
| 22565 |
* Added a file cache to the parser to improve page rendering time on pages with |
| 22566 |
several uses of the same image. |
| 22567 |
* (bug 1250) Users can still use "show preview" and "show changes" even if the |
| 22568 |
wiki is set to read-only mode. |
| 22569 |
* Added a call to the 'UnwatchArticleComplete' hook to the watchlist editor. |
| 22570 |
This should make it so that ALL user-accessible methods of removing a page |
| 22571 |
from a watchlist lead to this hook being called (it was previously only |
| 22572 |
called from within Article.php |
| 22573 |
* Maximum execution time for shell processes on linux is now configured with |
| 22574 |
$wgMaxShellTime (180 seconds by default) |
| 22575 |
* (bug 1306) 'Email user' link no longer shown on user page when emailing |
| 22576 |
is not available due to lack of confirmed address or disabled preference |
| 22577 |
* Special:Wanted templates special page added to display missing templates |
| 22578 |
linked from articles |
| 22579 |
* Make search matches bold only, not red as well |
| 22580 |
* (bug 10080) Blocks can be modified without unblocking first |
| 22581 |
* (bug 15820) Special:BlockIP shows a notice if the user being blocked is |
| 22582 |
already directly blocked |
| 22583 |
* (bug 13710) Allow to force "watch this" checkbox via URL using parameter |
| 22584 |
"watchthis" |
| 22585 |
* (bug 15125) Add Public Domain to default options when installing. Patch by |
| 22586 |
Nathan Larson. |
| 22587 |
* Set a special temporary directory for ImageMagick with $wgImageMagickTempDir |
| 22588 |
* (bug 16113) Show/hide for redirects in Special:NewPages |
| 22589 |
* (bug 15903) Upload link was added to Nostalgia skin |
| 22590 |
* (bug 15761) Add user toggle to omit diff after rollback |
| 22591 |
* Added the BitmapHandler_ClientOnly media handler, which allows server-side |
| 22592 |
image scaling to be completely disabled for specific media types, via the |
| 22593 |
$wgMediaHandlers configuration variable. |
| 22594 |
* New 'AbortDiffCache' hook can be used to cancel the caching of a diff |
| 22595 |
* (bug 15835) Added Content-Style-Type meta tag |
| 22596 |
* (bug 11027) Add parameter to MW:Randompage-nopages so that user can see the |
| 22597 |
namespace. |
| 22598 |
* Add id="mw-user-domain-section" to <tr> tag in Userlogin.php template so that |
| 22599 |
admins with a single domain can hide the domain section using CSS |
| 22600 |
* Dropped old Paser_OldPP class. Only new parser with preprocessor is used. |
| 22601 |
* Moved password reset form from Special:Preferences to Special:ResetPass |
| 22602 |
* Added Special:ChangePassword as a special page alias for Special:ResetPass |
| 22603 |
* Added complementary function for addHandler() called removeHandler() for |
| 22604 |
removing events |
| 22605 |
* Improved security of file uploads for IE clients, using a reverse-engineered |
| 22606 |
algorithm very similar to IE's content detection algorithm. |
| 22607 |
* Cascading protection no longer requires that both edit and move are restricted |
| 22608 |
to sysop, just edit=sysop is enough |
| 22609 |
* (bug 2391) A warning is now shown for invalid ISBN numbers on |
| 22610 |
Special:Booksources. |
| 22611 |
* Installer has been updated to reflect the release of the GFDL 1.3. The URL for |
| 22612 |
1.2 has been updated, and the 1.3 URL has been given. 1.2 is still |
| 22613 |
Wikipedia-compatible. RightsCode was changed from 'gfdl' to 'gfdl1_2', so we |
| 22614 |
can now support 1.2 as well as 1.3 (gfdl1_3). |
| 22615 |
* (bug 16293) PD URL was changed to the CreativeCommons site on PD (which |
| 22616 |
auto-detects your language) instead of Wikipedia. |
| 22617 |
* (bug 16635) The "view and edit watchlist" page (Special:Watchlist/edit) now |
| 22618 |
includes a table of contents |
| 22619 |
* File objects returned by wfFindFile() are now cached by default |
| 22620 |
* (bug 7492) Rights can now be assigned to specific IP addresses and ranges by |
| 22621 |
using $wgAutopromote (new defines: APCOND_ISIP and APCOND_IPINRANGE) |
| 22622 |
* Add a 'change block' link to Special:IPBlockList and Special:Log |
| 22623 |
* (bug 16459) Use native getElementsByClassName where possible, for better |
| 22624 |
performance in modern browsers |
| 22625 |
* Enable \cancel and \cancelto in texvc (recompile required) |
| 22626 |
* Added 'UserCryptPassword' and 'UserComparePasswords' hooks to allow extensions |
| 22627 |
to implement their own password hashing methods. |
| 22628 |
* (bug 16760) Add CSS-class to action links of Special:Log |
| 22629 |
* (bug 505) Time zones can now be specified by location in user preferences, |
| 22630 |
avoiding the need to manually update for DST. Patch by Brad Jorsch. |
| 22631 |
* (bug 2585) HTTP 404 return code is now given for a page view if the page |
| 22632 |
does not exist, allowing spiders and link checkers to detect broken links. |
| 22633 |
* Special:Log: Add 'change protection' link for unprotected pages too |
| 22634 |
* Special:Log: Add log type specific CSS classes 'mw-logline-$logtype' to |
| 22635 |
'li' elements |
| 22636 |
* (bug 16754) Making arbitrary rows of sortable tables sticky: |
| 22637 |
|- class="unsortable" |
| 22638 |
* Show subversion too even if a "normal" version number is available |
| 22639 |
* (bug 16121) Add a note that a page move was without creating a redirect in the |
| 22640 |
move log |
| 22641 |
* Image moving is now enabled for sysops by default |
| 22642 |
* Make "Did you mean" search feature more noticeable |
| 22643 |
* (bug 16720) Transcluded Special:NewPages processes "/username=" |
| 22644 |
|
| 22645 |
=== Bug fixes in 1.14 === |
| 22646 |
|
| 22647 |
* (bug 14907) DatabasePostgres::fieldType now defined. |
| 22648 |
* (bug 14659) Passing the default limit param to Special:Recentchanges no more |
| 22649 |
falls back to the user option |
| 22650 |
* (bug 14954) Fix regression in Modern and Simple skins |
| 22651 |
* Recursion loop check added to Categoryfinder class |
| 22652 |
* Fixed few performance troubles of large job queue processing |
| 22653 |
* Not setting various parameters in Foreign Repos now fails more gracefully |
| 22654 |
* (bug 2333) Redirects are properly rendered when previewing an edit. |
| 22655 |
* (bug 14972) Use localized alias of Special:Search on all search forms |
| 22656 |
* (bug 11035) Special:Search should have descriptive <title> |
| 22657 |
* Special pages are now not subject to special handling for "self-links" |
| 22658 |
* (bug 15053) Syntactically incorrect redirects with another link in them |
| 22659 |
no longer redirect to the second link |
| 22660 |
* (bug 15049) Fix for CheckUser extension's log search: usernames containing |
| 22661 |
a "-" were incorrectly turned into bogus IP range searches. |
| 22662 |
Patch by Max Semenik. |
| 22663 |
* (bug 15055) Talk page notifications no longer attempt to send mail when |
| 22664 |
user's e-mail address is invalid or unconfirmed |
| 22665 |
* (bug 12370) Add throttle on password attempts. Defaults to max 5 attempts in |
| 22666 |
5 minutes. |
| 22667 |
* (bug 15016) 'Templates used on this page' list in view source should be |
| 22668 |
wrapped in a div with class "templatesUsed" |
| 22669 |
* (bug 14868) Setting $wgFeedDiffCutoff to 0 now disables generation of the |
| 22670 |
diff entirely, not just the display of it. |
| 22671 |
* (bug 6387) Introduced new setting $wgCategoryPrefixedDefaultSortkey which |
| 22672 |
allows having the unprefixed page title as the default category sortkey |
| 22673 |
* (bug 15079) Add class="ns-talk" / "ns-subject" to <body>. Also added |
| 22674 |
ns-special to special pages. |
| 22675 |
* (bug 15052) Skins should add their name as a class in <body> |
| 22676 |
* (bug 14165, bug 14294) Wikimedia specific configuration in convertGrammar() |
| 22677 |
for several languages was removed. The settings have been put in extension |
| 22678 |
WikimediaMessages. Patch for Czech by Danny B. |
| 22679 |
* (bug 15101) Displaying only bots edits in Special:Recentchanges now works |
| 22680 |
again |
| 22681 |
* (bug 13770) Fixed incorrect detection of PHP's DOM module |
| 22682 |
* (bug 14790) Export of category pages when using Category: prefix now actually |
| 22683 |
gives results |
| 22684 |
* Avoid recursive crazy expansions in section edit comments for pages which |
| 22685 |
contain '/*' in the title |
| 22686 |
* Fix excessive memory usage when parsing pages with lots of links |
| 22687 |
* $wgSpamRegex now matches the edit summary and page move descriptions in |
| 22688 |
addition to body text. |
| 22689 |
* Navigation links to images available from a shared repository (like Commons) |
| 22690 |
from their local talk pages no longer appear as redlinks |
| 22691 |
* Action=purge on ForeignApiFiles now works (purges their thumbnails and |
| 22692 |
description pages). |
| 22693 |
* (bug 15303) Title conversion for templates wasn't working in some cases. |
| 22694 |
* (bug 15264) Underscores in Special:Search/Foo_bar parameters were taken |
| 22695 |
literally; now converting them to spaces per expectation. |
| 22696 |
* (bug 15342) "Invert" checkbox now works correctly when selecting main |
| 22697 |
namespace in Special:Watchlist |
| 22698 |
* (bug 15172) 'Go' button of Special:Recentchanges now on the same line as the |
| 22699 |
last input element (like Special:Watchlist too) |
| 22700 |
* (bug 15351) Fix fatal error for invalid section fragments in autocomments |
| 22701 |
* Fixed intermittent deadlock errors involving objectcache table queries. |
| 22702 |
Use a separate database connection for the objectcache table to avoid |
| 22703 |
long-lasting locks on that table. |
| 22704 |
* Respect file restrictions in the file history list |
| 22705 |
* (bug 15399) Odd/even classes on sortable tables' rows could be slow for large |
| 22706 |
tables, and have been disabled by default. |
| 22707 |
* (bug 15482) Special:Recentchangeslinked has no longer two submit buttons |
| 22708 |
* (bug 15292) New message notification for unregistred users now works again |
| 22709 |
* (bug 14398) mwsuggest.js: Let width of container be configurable |
| 22710 |
* (bug 15543) Only include user touched timestamp to generated CSS |
| 22711 |
* (bug 15497) Removed encoding attribute from <?xml ?> tag |
| 22712 |
* (bug 12284) Special:Preferences now sets a returnto parameter on the link to |
| 22713 |
Special:UserLogin. Patch by Marooned. |
| 22714 |
* Fixed the HTTP accept language string detection length in |
| 22715 |
LanguageConverter.php, instead of the fixed length language codes. |
| 22716 |
* Special:RecentChangesLinked no longer shows outgoing links for nonexistent |
| 22717 |
pages even if there are broken link records with source article id 0 in the |
| 22718 |
database |
| 22719 |
* (bug 15598) Special:Newpages default limit uses user preference for |
| 22720 |
recentchanges limit instead of hardcoded 50. |
| 22721 |
* (bug 15617) $wgFeedClassesOutputPage::getHeadLinks() respects $wgFeedClasses, |
| 22722 |
instead of hardcoding rss and atom. Patch by Juliano F. Ravasi. |
| 22723 |
* (bug 14638) Special:Blockip now provides a link to the block log if the user |
| 22724 |
has been blocked more than 10 times. Patch by Matt Johnston. |
| 22725 |
* (bug 12678) Skins don't show Upload link if the user isn't allowed to upload. |
| 22726 |
* Fixed incorrect usage of DB_LAST in Special:Export. Deprecated DB_LAST. |
| 22727 |
* (bug 15642) Blocked sysops can no longer block other users |
| 22728 |
* Http::request() now respects $wgHTTPtimeout when not using cURL |
| 22729 |
* (bug 15158) Userinvalidcssjstitle not shown on preview |
| 22730 |
* (bug 15196) Free external links should be numbered in a localised manner |
| 22731 |
* (bug 15388) Title of Special:PrefixIndex |
| 22732 |
* Links with no title but a curid parameter now use the curid to pick a page |
| 22733 |
* (bug 10323) Special:Undelete should have "inverse selection" button |
| 22734 |
* (bug 15831) Modern skin RTL support is bugous |
| 22735 |
* (bug 15869) Nostalgia skin does not show page title in printable mode |
| 22736 |
* (bug 15795) Special:Userrights is now listed on Special:SpecialPages when the |
| 22737 |
user can only change his rights |
| 22738 |
* (bug 15846) Categories "leak" from older revisions in certain circumstances |
| 22739 |
* (bug 15928) Special pages dropdown should be inline in non-MonoBook skins |
| 22740 |
* (bug 14178) Some uses of UserLoadFromSession hook cause segfault |
| 22741 |
* (bug 15925) Postitive bytes added on recentchanges and watchlists are now |
| 22742 |
bolded if above the threshold, previously it only worked for negatives |
| 22743 |
* Specify apple-touch-icon before favicon in HTML head section to make the |
| 22744 |
Konqueror browser correctly use the latter |
| 22745 |
* (bug 15717) Set $separatorTransformTable for language 'eu' |
| 22746 |
* (bug 15605) Enabled $datePreferences for language 'hr'. Added standard date |
| 22747 |
preferences. |
| 22748 |
* (bug 13701) {{NUMBEROFVIEWS}} magic word to show number of total views. |
| 22749 |
* (bug 5101) Image from Commons doesn't show up when searched in Wikipedia |
| 22750 |
search box |
| 22751 |
* (bug 14609) User's namespaces to be searched default not updated after adding |
| 22752 |
new namespace |
| 22753 |
* Purge form uses valid XHTML |
| 22754 |
* (bug 12764) Special:LonelyPages shows transcluded pages |
| 22755 |
* (bug 16073) Enhanced RecentChanges uses onclick handler with better fallback |
| 22756 |
if JavaScript is disabled |
| 22757 |
* (bug 4253) Recentchanges IRC messages no longer include title in diff URLs |
| 22758 |
* Allow '0' to be an accesskey. |
| 22759 |
* (bug 8063) Use language-dependent sorting in client-side sortable tables |
| 22760 |
* (bug 16160) Suggestions box should be resized from left for RTL wikis |
| 22761 |
* (bug 11533) Fixed insane slowdown when in read-only mode for long periods |
| 22762 |
of time with CACHE_NONE (default objectcache table configuration). |
| 22763 |
* Trying to set two different default category sort keys for one page now |
| 22764 |
produces a warning |
| 22765 |
* (bug 16143) Fix redirect loop on special pages starting with lower case |
| 22766 |
letters |
| 22767 |
* (bug 15737) Fix notices while expanding using PPCustomFrame |
| 22768 |
* (bug 15544) Non-index entry points cause the "Wiki not set up" message to |
| 22769 |
have corrupt URLs |
| 22770 |
* (bug 5101) Image from Commons doesn't show up when searched in Wikipedia |
| 22771 |
search box |
| 22772 |
* (bug 4362) [[MediaWiki:History copyright]] no more used with most recent |
| 22773 |
revision when passing oldid parameter in the url |
| 22774 |
* (bug 16265) When caching thumbs with the ForeignApiRepo, we now use the same |
| 22775 |
filename as the remote site. |
| 22776 |
* (bug 8345) Don't autosummarize where a redirect was left unchanged |
| 22777 |
* Made thumb caching in ForeignApiFile objects integrated with normal thumb |
| 22778 |
path naming (/thumbs/hash/file), retired 'apiThumbCacheDir' as a result. |
| 22779 |
* (bug 5530) Consistency between character encoding in {{PAGENAMEE}}, |
| 22780 |
{{SUBPAGENAMEE}} and {{FULLPAGENAMEE}} |
| 22781 |
* Safer handling of non-MediaWiki exceptions -- now obeys our settings for |
| 22782 |
formatting and path exposure. |
| 22783 |
* Less verbose errors from profileinfo.php when not configured |
| 22784 |
* Blacklist redirects via Special:Filepath, hard to use. |
| 22785 |
* Improved input validation on Special:Import form |
| 22786 |
* Add a .htaccess to deleted images directory for additional protection |
| 22787 |
against exposure of deleted files with known SHA-1 hashes on default |
| 22788 |
installations. |
| 22789 |
* Improved scripting safety heuristics for IE 5/6 content-type detection. |
| 22790 |
* Improved scripting safety heuristics on SVG uploads. |
| 22791 |
* (bug 11728) Unify layout of enhanced watchlist/recent changes |
| 22792 |
* (bug 8702) Properly update stats when running nukePage maintenance script |
| 22793 |
* (bug 7726) Searches for words less than 4 characters now work without |
| 22794 |
requiring customization of MySQL server settings |
| 22795 |
* Honour unchecked "Leave a redirect behind" for moved subpages |
| 22796 |
* (bug 16440) Broken 0-byte math renderings are now deleted and re-rendered |
| 22797 |
when page is re-parsed. |
| 22798 |
* (bug 6100) Unicode BiDi embedding/override characters (U+202A - U+202E) are |
| 22799 |
now automatically removed from titles; these characters can accidentally end |
| 22800 |
up in copy-and-pasted titles, and, by overriding normal bidirectional text |
| 22801 |
handling, can lead to annoying behavior such as text rendering backwards |
| 22802 |
* Fixed minor bug where the memcached value for how many accounts an IP had |
| 22803 |
created that day would be increased even if $wgAccountCreationThrottle was |
| 22804 |
hit. This meant if an IP hit the throttle and then the throttle was raised |
| 22805 |
later that day, the IP still couldn't create another account, because it |
| 22806 |
had marked them as having created another account, when their last account |
| 22807 |
creation had actually failed. |
| 22808 |
* (bug 12647) Allow autogenerated edit summary messages to be blanked with '-' |
| 22809 |
* (bug 16026) 'Revision-info' and 'revision-info-current' both accept wiki |
| 22810 |
markup now. |
| 22811 |
* (bug 16529) Fix for search suggestions with some third-party JS libraries |
| 22812 |
* (bug 13342) importScript() generates more consistent URI encoding |
| 22813 |
* (bug 16577) When a blocked user tries to rollback a page, the block message |
| 22814 |
is now only displayed once |
| 22815 |
* (bug 14268) SVG image sizes now extracted with proper XML parser |
| 22816 |
* (bug 14365) RepoGroup::findFiles() no longer crashes if passed an invalid |
| 22817 |
title via the API |
| 22818 |
* (bug 4253, bug 16586) Revision ID is now given instead of title in URLs for |
| 22819 |
new pages in the recent changes IRC feed |
| 22820 |
* Ugly tooltips in Special:Statistics were phased out in favor of more direct |
| 22821 |
information. Went ahead and rewrote SpecialStatistics to subclass SpecialPage |
| 22822 |
* (bug 5506) Links to files on foreign repositories are now shown consistently |
| 22823 |
as bluelinks e.g. in logs and edit summaries |
| 22824 |
* (bug 16623) Add missing </p> tag in Special:LockDB |
| 22825 |
* (bug 15849) Special:Movepage now throws a more specific error when trying to |
| 22826 |
move a title to an interwiki target |
| 22827 |
* (bug 16638) 8-bit URL fallback encoding now set on additional languages using |
| 22828 |
Arabic script (Persian, Urdu, Sindhi, Punjabi) |
| 22829 |
* (bug 16656) cleanupTitles and friends should now work in load-balanced |
| 22830 |
DB environments when $wgDBserver isn't set. |
| 22831 |
* (bug 3691) Aspect ratio from viewBox attribute is now preserved for SVG |
| 22832 |
images which do not specify width and height attributes. |
| 22833 |
* (bug 15027) Internet domain names and IP addresses can now be indexed and |
| 22834 |
searched sensibly with the default MySQL search backend. |
| 22835 |
* (bug 11733) Fixed parameter validation in importTextFile.php |
| 22836 |
* (bug 16712) Special:NewFiles updated to use "newer"/"older" paging messages |
| 22837 |
for clarity over "previous/next" |
| 22838 |
* (bug 16612) Fixed "noprint" class for Modern skin print style |
| 22839 |
* Section anchors now have an "id" attribute as well as a "name" attribute, |
| 22840 |
even when Tidy is not used |
| 22841 |
* (bug 16026) revision-info, revision-info-current, cannotdelete, |
| 22842 |
redirectedfrom, historywarning and difference messages now use Wiki text |
| 22843 |
rather than raw HTML markup |
| 22844 |
* (bug 13835) Fix rendering of {{filepath:Wiki.png|nowiki}} |
| 22845 |
* (bug 16772) Special:Upload now correctly rejects files with spaces in the |
| 22846 |
file extension (e.g. Foo. jpg). |
| 22847 |
* Image moving over an existing file no longer throws a database error |
| 22848 |
* (bug 16786) Restored "redundant" links recently removed from Classic sidebar |
| 22849 |
* (bug 16850) $wgActionPaths can have query strings now, previously, this broke |
| 22850 |
local URLs |
| 22851 |
* (bug 16376) Mention in deleteBatch.php and moveBatch.php maintenance scripts |
| 22852 |
that STDIN can be used for page list |
| 22853 |
* (bug 16560) Special:Random returns a page from ContentNamespaces, and no |
| 22854 |
longer from NS_MAIN |
| 22855 |
|
| 22856 |
=== API changes in 1.14 === |
| 22857 |
|
| 22858 |
* Registration time of users registered before the DB field was created is now |
| 22859 |
shown as empty instead of the current time. |
| 22860 |
* API search now falls back to fulltext search by default when using Lucene |
| 22861 |
or other engine which doesn't support a separate title search function. |
| 22862 |
This means you can use API search on Wikipedia without explicitly adding |
| 22863 |
&srwhat=text to the query. |
| 22864 |
* Added iiprop=bitdepth to imageinfo and aiprop=bitdepth to allimages |
| 22865 |
* (bug 14713) API-specific permissions (such as 'writeapi' and 'apihighlimits' |
| 22866 |
are now listed on action=help |
| 22867 |
* (bug 15044) Added requestid parameter to api.php to facilitate distinguishing |
| 22868 |
between requests |
| 22869 |
* (bug 15048) Added limit field for multivalue parameters to action=paraminfo |
| 22870 |
output. |
| 22871 |
* When the limit on multivalue parameters is exceeded, a warning is issued |
| 22872 |
* list=search doesn't list missing pages any more |
| 22873 |
* (bug 15178) Added clshow to prop=categories to allow filtering for hidden/ |
| 22874 |
non-hidden categories |
| 22875 |
* (bug 15228) Combining revids= and redirects now throws a warning instead of |
| 22876 |
an error, and still resolves redirects generated by the generator. |
| 22877 |
* list={backlinks,embeddedin,imageusage} now return arrays with keys 0, 1, 2, |
| 22878 |
etc. (AKA lists) instead of arrays with pageIDs as keys (AKA hash tables) |
| 22879 |
for consistency with other list modules. |
| 22880 |
* Added action=watch |
| 22881 |
* (bug 15275) apprefix and related parameters ignore spaces at the end |
| 22882 |
* action=edit no longer throws unknown error 228 when trying to create an |
| 22883 |
empty section with section=new |
| 22884 |
* Database replication lag doesn't cause all action=edit requests to return the |
| 22885 |
nochange flag any more |
| 22886 |
* (bug 15392) ApiFormatBase::formatHTML now uses $wgUrlProtocols. |
| 22887 |
* (bug 15444) action=edit returns "Unknown error: ``AS_END''" where it should |
| 22888 |
return just "Unknown error" |
| 22889 |
* (bug 15448) YAML output returns empty values instead of 0 |
| 22890 |
* (bug 15445) Added action=patrol |
| 22891 |
* (bug 15466) Added action=purge |
| 22892 |
* (bug 15486) action=block ignores autoblock parameter |
| 22893 |
* (bug 15492) added rcprop=loginfo to list=recentchanges |
| 22894 |
* (bug 15527) action=rollback can now revert anonymous editors |
| 22895 |
* (bug 15535) prop=info&inprop=protection doesn't list pre-1.10 protections |
| 22896 |
if the page is also protected otherwise (1.10+ style or cascading) |
| 22897 |
* list=random now has rnredirect parameter, to get random redirects. |
| 22898 |
* Added APIAfterExecute, APIQueryAfterExecute and APIQueryGeneratorAfterExecute |
| 22899 |
hooks which allow for extending core modules in a cleaner way |
| 22900 |
* action=protect checks for invalid protection types and levels |
| 22901 |
* (bug 15673) Added indentation to format=wddxfm output and improved built-in |
| 22902 |
WDDX formatter to resemble PHP's more |
| 22903 |
* (bug 15706) Empty values for apprtype and apprlevel are now silently ignored |
| 22904 |
rather than causing an exception |
| 22905 |
* Added uiprop=preferencestoken to meta=userinfo |
| 22906 |
* (bug 15609) Add inprop=url and inprop=readable to prop=info |
| 22907 |
* Add ApiDisabled and ApiQueryDisabled classes so individual modules can |
| 22908 |
be disabled in LocalSettings.php |
| 22909 |
* (bug 15653) Add prop=duplicatefiles |
| 22910 |
* (bug 15768) Add list=watchlistraw |
| 22911 |
* (bug 15647) action=edit with basetimestamp fails if the page has been deleted |
| 22912 |
and undeleted since the last edit |
| 22913 |
* (bug 15785) Allow for different expiry times for different protections in |
| 22914 |
action=protect |
| 22915 |
* Added allowsduplicates attribute to action=paraminfo output |
| 22916 |
* (bug 15767) apfilterlanglinks returns duplicate results |
| 22917 |
* (bug 15845) Added pageid/fromid parameter to action=delete/move, making |
| 22918 |
manipulation of legacy pages with invalid titles possible |
| 22919 |
* (bug 15881) Empty or invalid parameters cause database errors |
| 22920 |
* The maxage and smaxage parameters are now properly validated |
| 22921 |
* (bug 15945) list=recentchanges doesn't check $wgUseRCPatrol, $wgUseNPPatrol |
| 22922 |
and patrolmarks right |
| 22923 |
* (bug 15985) acfrom and aifrom parameters didn't work when sorting in |
| 22924 |
descending order. |
| 22925 |
* (bug 15995) Add cmstartsortkey and cmendsortkey parameters to |
| 22926 |
list=categorymembers |
| 22927 |
* (bug 16017) list=categorymembers sets invalid continue parameters for |
| 22928 |
sortkeys containing pipes |
| 22929 |
* (bug 16018) Added uccontinue parameter to list=usercontribs so paging |
| 22930 |
works properly when multiple users are queried or a userprefix is used |
| 22931 |
* (bug 16047) Added activeusers attribute to meta=siteinfo&siprop=statistics |
| 22932 |
output |
| 22933 |
* Added redirect resolution to action=parse |
| 22934 |
* (bug 16074) rvprop=content combined with a generator with a high limit causes |
| 22935 |
an error |
| 22936 |
* (bug 16105) Image metadata attributes containing spaces result in invalid XML |
| 22937 |
* (bug 16126) Added siprop=magicwords to meta=siteinfo |
| 22938 |
* (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist |
| 22939 |
* (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends |
| 22940 |
* meta=siteinfo&siprop=interwikimap no longer throws an exception for empty |
| 22941 |
sifilter parameter. |
| 22942 |
* (bug 12760) meta=userinfo&uiprop=ratelimits doesn't list group-specific rate |
| 22943 |
limits |
| 22944 |
* (bug 16398) meta=userinfo&uiprop=rights lists some rights twice in some cases |
| 22945 |
* (bug 16408) Added rvgeneratexml to prop=revisions |
| 22946 |
* (bug 16421) Made list=logevents's leuser accept user names with underscores |
| 22947 |
instead of spaces |
| 22948 |
* (bug 16516) Made rvsection=T-2 work |
| 22949 |
* (bug 16526) Added usprop=emailable to list=users |
| 22950 |
* (bug 16548) list=search threw errors with an invalid error code |
| 22951 |
* (bug 16515) Added pst and onlypst parameters to action=parse |
| 22952 |
* (bug 16541) Added block expiry timestamp to list=logevents output |
| 22953 |
* (bug 16613) action=protect doesn't tell when &cascade was set but cascading |
| 22954 |
protection wasn't allowed |
| 22955 |
* (bug 16626) action=delete now correctly handles empty "reason" param |
| 22956 |
* (bug 15579) clshow considers all categories !hidden |
| 22957 |
* (bug 16647) list=allcategories, prop=categories don't return "hidden" |
| 22958 |
property for hidden categories |
| 22959 |
* New siprop parameter of 'extensions' to list all installed extensions |
| 22960 |
* (bug 16672) Include canonical namespace name in |
| 22961 |
meta=siteinfo&siprop=namespaces. |
| 22962 |
* (bug 16726) siprop=namespacealiases should also list localized aliases |
| 22963 |
* (bug 16730) Added apprfiltercascade parameter to list=allpages to filter |
| 22964 |
cascade-protected pages |
| 22965 |
|
| 22966 |
=== Languages updated in 1.14 === |
| 22967 |
|
| 22968 |
MediaWiki supports over 300 languages. Many localisations are updated |
| 22969 |
regularly. Below only new and removed languages are listed. |
| 22970 |
|
| 22971 |
* Bakhtiari (bqi) (new) |
| 22972 |
* Fiji Hindi (Devanagari script) (hif-deva) (new) |
| 22973 |
* Krio (kri) (new) |
| 22974 |
* Lezghian (lez) (new) |
| 22975 |
* Laz (lzz) (new) |
| 22976 |
* Eastern Mari (mhr) (new) |
| 22977 |
* Niuean (niu) (new) |
| 22978 |
* Oromo (om) (new) |
| 22979 |
* Plautdietsch (pdt) (new) |
| 22980 |
* Western Punjabi (pnb) (new) |
| 22981 |
* Tarantino (roa-tara) (new) |
| 22982 |
* Serbo-Croatian (sh) (new) |
| 22983 |
* Tulu (tcy) (new) |
| 22984 |
|
| 22985 |
|
| 22986 |
== MediaWiki 1.13 == |
| 22987 |
|
| 22988 |
== MediaWiki 1.13.5 == |
| 22989 |
|
| 22990 |
February 22, 2009 |
| 22991 |
|
| 22992 |
This is a maintenance update to the Summer 2008 snapshot release of MediaWiki. |
| 22993 |
|
| 22994 |
MediaWiki is now using a "continuous integration" development model with |
| 22995 |
quarterly snapshot releases. The latest development code is always kept |
| 22996 |
"ready to run", and in fact runs our own sites on Wikipedia. |
| 22997 |
|
| 22998 |
Release branches will continue to receive security updates for about a year |
| 22999 |
from first release, but nonessential bugfixes and feature developments |
| 23000 |
will be made on the development trunk and appear in the next quarterly release. |
| 23001 |
|
| 23002 |
Those wishing to use the latest code instead of a branch release can obtain |
| 23003 |
it from source control: http://www.mediawiki.org/wiki/Download_from_SVN |
| 23004 |
|
| 23005 |
== Changes since 1.13.4 == |
| 23006 |
|
| 23007 |
* (bug 17449) Fixed PostgreSQL installation |
| 23008 |
* (bug 17527) Fixed missing MySQL-specific options in installer |
| 23009 |
|
| 23010 |
== Changes since 1.13.3 == |
| 23011 |
|
| 23012 |
A number of cross-site scripting (XSS) security vulnerabilities were discovered |
| 23013 |
in the web-based installer (config/index.php). These vulnerabilities all |
| 23014 |
require a live installer -- once the installer has been used to install a wiki, |
| 23015 |
it is deactivated. |
| 23016 |
|
| 23017 |
Note that cross-site scripting vulnerabilities can be used to attack any website |
| 23018 |
in the same cookie domain. So if you have an uninstalled copy of MediaWiki on |
| 23019 |
the same site as an active web service, MediaWiki could be used to attack the |
| 23020 |
active service. |
| 23021 |
|
| 23022 |
If you are hosting an old copy of MediaWiki that you have never installed, you |
| 23023 |
are advised to remove it from the web. |
| 23024 |
|
| 23025 |
== Changes since 1.13.2 == |
| 23026 |
|
| 23027 |
David Remahl of Apple's Product Security team has identified a number of |
| 23028 |
security issues in previous releases of MediaWiki. Subsequent analysis by the |
| 23029 |
MediaWiki development team expanded the scope of these vulnerabilities. The |
| 23030 |
issues with a significant impact are as follows: |
| 23031 |
|
| 23032 |
* An XSS vulnerability affecting all MediaWiki installations between 1.13.0 and |
| 23033 |
1.13.2. [CVE-2008-5249] |
| 23034 |
* A local script injection vulnerability affecting Internet Explorer clients for |
| 23035 |
all MediaWiki installations with uploads enabled. [CVE-2008-5250] |
| 23036 |
* A local script injection vulnerability affecting clients with SVG scripting |
| 23037 |
capability (such as Firefox 1.5+), for all MediaWiki installations with SVG |
| 23038 |
uploads enabled. [CVE-2008-5250] |
| 23039 |
* A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki |
| 23040 |
installations since the feature was introduced in 1.3.0. [CVE-2008-5252] |
| 23041 |
|
| 23042 |
XSS (cross-site scripting) vulnerabilities allow an attacker to steal an |
| 23043 |
authorised user's login session, and to act as that user on the wiki. The |
| 23044 |
authorised user must visit a web page controlled by the attacker in order to |
| 23045 |
activate the attack. Intranet wikis are vulnerable if the attacker can |
| 23046 |
determine the intranet URL. |
| 23047 |
|
| 23048 |
Local script injection vulnerabilities are like XSS vulnerabilities, except |
| 23049 |
that the attacker must have an account on the local wiki, and there is no |
| 23050 |
external site involved. The attacker uploads a script to the wiki, which another |
| 23051 |
user is tricked into executing, with the effect that the attacker is able to act |
| 23052 |
as the privileged user. |
| 23053 |
|
| 23054 |
CSRF vulnerabilities allow an attacker to act as an authorised user on the wiki, |
| 23055 |
but unlike an XSS vulnerability, the attacker can only act as the user in a |
| 23056 |
specific and restricted way. The present CSRF vulnerability allows pages to be |
| 23057 |
edited, with forged revision histories. Like an XSS vulnerability, the |
| 23058 |
authorised user must visit the malicious web page to activate the attack. |
| 23059 |
|
| 23060 |
These four vulnerabilities are all fixed in this release. |
| 23061 |
|
| 23062 |
David Remahl also reminded us of some security-related configuration issues: |
| 23063 |
|
| 23064 |
* By default, MediaWiki stores a backup of deleted images in the images/deleted |
| 23065 |
directory. If you do not want these images to be publically accessible, make |
| 23066 |
sure this directory is not accessible from the web. MediaWiki takes some steps |
| 23067 |
to avoid leaking these images, but these measures are not perfect. |
| 23068 |
* Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal |
| 23069 |
errors. This is the default on most shared web hosts. |
| 23070 |
* Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may |
| 23071 |
lead to path disclosure. |
| 23072 |
|
| 23073 |
Other changes in this release: |
| 23074 |
|
| 23075 |
* Avoid fatal error in profileinfo.php when not configured. |
| 23076 |
* Add a .htaccess to deleted images directory for additional protection against |
| 23077 |
exposure of deleted files with known SHA-1 hashes on default installations. |
| 23078 |
* Avoid streaming uploaded files to the user via index.php. This allows |
| 23079 |
security-conscious users to serve uploaded files via a different domain, and |
| 23080 |
thus client-side scripts executed from that domain cannot access the login |
| 23081 |
cookies. Affects Special:Undelete, img_auth.php and thumb.php. |
| 23082 |
* When streaming files via index.php, use the MIME type detected from the |
| 23083 |
file extension, not from the data. This reduces the XSS attack surface. |
| 23084 |
* Blacklist redirects via Special:Filepath. Such redirects exacerbate any |
| 23085 |
XSS vulnerabilities involving uploads of files containing scripts. |
| 23086 |
* Internationalisation updates. |
| 23087 |
|
| 23088 |
== Changes since 1.13.1 == |
| 23089 |
|
| 23090 |
* Security: Work around misconfiguration by requiring strict comparisons for |
| 23091 |
in_array in User::isAllowed(). |
| 23092 |
* (bug 14944) Added $wgShellLocale for configuration of an appropriate locale |
| 23093 |
to use for LC_CTYPE during shell invocation. For servers that don't have |
| 23094 |
en_US.utf8. Also added locale detection during install. |
| 23095 |
* Localisation updates |
| 23096 |
* Security: Fixed XSS vulnerability in useskin parameter. |
| 23097 |
|
| 23098 |
== Changes since 1.13.0 == |
| 23099 |
|
| 23100 |
* (bug 15460) Fixed intermittent deadlock errors and poor concurrent |
| 23101 |
performance for installations without memcached. |
| 23102 |
* (bug 13770) Fixed DOM module detection for installations with both dom |
| 23103 |
and domxml. |
| 23104 |
* (bug 15148) Fixed Special:BlockIP for PostgreSQL |
| 23105 |
* Fixed SQLite support for non-memcached installations |
| 23106 |
* Localisation updates, Achinese (ace) added. |
| 23107 |
|
| 23108 |
== Changes since 1.13.0rc2 == |
| 23109 |
|
| 23110 |
* (bug 13770) Fixed incorrect detection of PHP's DOM module |
| 23111 |
* Fix regression from r37834: accesskey tooltip hint should be given for the |
| 23112 |
minor edit and watch labels on the edit page. |
| 23113 |
* Updated Chinese simplified/traditional conversion tables |
| 23114 |
|
| 23115 |
== Changes since 1.13.0rc1 == |
| 23116 |
|
| 23117 |
* $wgForwardSearchUrl has been removed entirely. Documented setting since 1.4 |
| 23118 |
has been $wgSearchForwardUrl. |
| 23119 |
* (bug 14907) DatabasePostgres::fieldType now defined. |
| 23120 |
* (bug 14966) Fix SearchEngineDummy class for silently non-functional search |
| 23121 |
on Sqlite instead of horribly fatal error breaky one. |
| 23122 |
* (bug 14987) Only fix double redirects on page move when the checkbox is |
| 23123 |
checked |
| 23124 |
* (bug 13376) Use $wgPasswordSender, not $wgEmergencyContact, as return |
| 23125 |
address for page update notification mails. |
| 23126 |
* API: Registration time of users registered before the DB field was created is |
| 23127 |
now shown as empty instead of the current time. |
| 23128 |
* (bug 14904): fragments were lost when redirects were fixed. |
| 23129 |
* Added magic word __STATICREDIRECT__ to suppress the redirect fixer |
| 23130 |
* (bug 15035) Revert English linkTrail to /^([a-z]+)(.*)$/sD, as it was before |
| 23131 |
r36253. Multiple reports of breakage due to old (pre-5.0) PCRE libraries, |
| 23132 |
both bundled with PHP and packaged with distros such as RHEL. |
| 23133 |
* (bug 14944) Shell invocation of external programs such as ImageMagick convert |
| 23134 |
was broken in PHP 5.2.6, if the server had a non-UTF-8 locale. |
| 23135 |
|
| 23136 |
|
| 23137 |
=== Configuration changes in 1.13 === |
| 23138 |
|
| 23139 |
* New option $wgFeed can be set false to turn off syndication feeds |
| 23140 |
* (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved |
| 23141 |
links through each redirect instead of hardcoded 500 |
| 23142 |
* Set $wgUploadSizeWarning to false by default |
| 23143 |
* Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms |
| 23144 |
* Removed $wgAlternateMaster, use $wgLBFactoryConf |
| 23145 |
* (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to |
| 23146 |
$wgUserNotifiedOnAllChanges |
| 23147 |
* (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated |
| 23148 |
for only some namespaces |
| 23149 |
* Removed the emailconfirmed implicit group by default. To re-add it, use: |
| 23150 |
$wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED; |
| 23151 |
in your LocalSettings.php. |
| 23152 |
* (bug 2396) New shared database configuration variables. $wgSharedPrefix allows |
| 23153 |
you to use a shared database with a different prefix. Or you can now use a |
| 23154 |
local database and use prefixes to separate wiki and the shared tables. And |
| 23155 |
the new $wgSharedTables variable allows you to specify a list of tables to |
| 23156 |
share. |
| 23157 |
* Automatic edit summaries can be disabled with $wgUseAutomaticEditSummaries |
| 23158 |
* Duplicates of images are now shown on the image page |
| 23159 |
* $wgRCFilterByAge allows for the list of dates in recent changes special pages |
| 23160 |
to be filtered to only those within the range of $wgRCMaxAge |
| 23161 |
* $wgRCLinkLimits and $wgRCLinkDays allow for customization of the list and |
| 23162 |
limits displayed on the recent changes special pages |
| 23163 |
* The "createpage" permission is no longer required when uploading if the target |
| 23164 |
image page already exists |
| 23165 |
* $wgMaximumMovedPages restricts the number of pages that can be moved at once |
| 23166 |
(default 100) with the new subpage-move functionality of Special:Movepage |
| 23167 |
* Hooks display in Special:Version is now disabled by default, use |
| 23168 |
$wgSpecialVersionShowHooks = true; to enable it. |
| 23169 |
* $wgActiveUserEditCount sets the number of edits that must be performed over |
| 23170 |
a certain number of days to be considered active |
| 23171 |
* $wgActiveUserDays is that number of days |
| 23172 |
* $wgRateLimitsExcludedGroups has been deprecated in favor of |
| 23173 |
$wgGroupPermissions[]['noratelimit']. The former still works, however. |
| 23174 |
* New $wgGroupPermissions option 'move-subpages' added to control bulk-moving |
| 23175 |
subpages along with pages. Assigned to 'user' and 'sysop' by default. |
| 23176 |
* New $wgRC2UDPOmitBots allows user to omit bot edits from UDP output. |
| 23177 |
Default: false |
| 23178 |
* Removed $wgEnableCascadingProtection option. Disabling cascading protection |
| 23179 |
is no longer possible. |
| 23180 |
* $wgMessageCacheType defines now the type of cache used by the MessageCache |
| 23181 |
class, previously it was choosen based on $wgParserCacheType |
| 23182 |
* $wgExtensionAliasesFiles option to simplify adding aliases to special pages |
| 23183 |
provided by extensions, in a similar way to $wgExtensionMessagesFiles |
| 23184 |
* Added $wgXMLMimeTypes, an array of XML mimetypes we can check for |
| 23185 |
with MimeMagic. |
| 23186 |
* Added $wgDirectoryMode, which allows for setting the default CHMOD value when |
| 23187 |
creating new directories. |
| 23188 |
* (bug 14843) $wgCookiePrefix can be set by LocalSettings now, false defaults |
| 23189 |
current behavior. |
| 23190 |
|
| 23191 |
=== New features in 1.13 === |
| 23192 |
|
| 23193 |
* __HIDDENCAT__ on a category page causes the category to be hidden on the |
| 23194 |
article page |
| 23195 |
* Do not show edit permissions errors on a red link click, just redirect to the |
| 23196 |
article. This is so that readers who don't know what a red link is are not |
| 23197 |
confused when they are told they are range-blocked. |
| 23198 |
* Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext |
| 23199 |
image syntax output |
| 23200 |
* (bug 13100) Added 'preloadtitle' parameter to action=edit§ion=new that |
| 23201 |
pre-fills the section title field |
| 23202 |
* (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked |
| 23203 |
* (bug 13130) Moved edit token and autosummary fields above edit tools to |
| 23204 |
reduce broken form submissions |
| 23205 |
* Add --old-redirects-only option to maintenance/refreshLinks.php, to add old |
| 23206 |
redirects to the redirect table |
| 23207 |
* Add links to page and file deletion forms to edit predefined delete reasons |
| 23208 |
* (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload |
| 23209 |
* (bug 2815) Search results for media now use thumbnail instead of text extract |
| 23210 |
* When a page doesn't exist, the tab should say "create", not "edit" |
| 23211 |
* (bug 12882) Added a span with class "patrollink" around "Mark as patrolled" |
| 23212 |
link on diffs |
| 23213 |
* Magic word formatnum can now take raw suffix to undo formatting |
| 23214 |
* Add updatelog table to reliably permit updates that don't change the schema |
| 23215 |
* Add category table to allow better tracking of category membership counts |
| 23216 |
** (bug 1212) Give correct membership counts on the pages of large categories |
| 23217 |
** Use category table for more efficient display of Special:Categories |
| 23218 |
* (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch |
| 23219 |
* (bug 9447) Added hooks for search result headings |
| 23220 |
* Image redirects are now enabled by default |
| 23221 |
* (bug 13450) Email confirmation can now be canceled before the expiration |
| 23222 |
* (bug 13490) Show upload/file size limit on upload form |
| 23223 |
* Redesign of Special:UserRights |
| 23224 |
* Make rev_deleted log entries more intelligible |
| 23225 |
* (bug 6943) Added PAGESINCATEGORY: magic word |
| 23226 |
* (bug 13604) Added Special:ListGroupRights |
| 23227 |
* (bug 6332, 8617) Added message 'mainpage-description' as duplicate of |
| 23228 |
'mainpage' and added it to message 'sidebar' |
| 23229 |
* Automatically add old redirects to the redirect table when needed |
| 23230 |
* (bug 6934) Allow inclusions, links, redirects to be separately toggled on or |
| 23231 |
off on Special:WhatLinksHere |
| 23232 |
* Cache image redirects |
| 23233 |
* (bug 10457) Organize Special:SpecialPages into sections |
| 23234 |
* Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor |
| 23235 |
to modify the output for edit conflicts |
| 23236 |
* Add class="nested" for <fieldset>s so fieldsets inside fieldsets get |
| 23237 |
a slightly less huge margin and padding |
| 23238 |
* (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format |
| 23239 |
* Allow \C and \Q as TeX commands to match \R, \N, \Z |
| 23240 |
* On Special:UserRights, when you can add a group you can't remove or remove |
| 23241 |
one you can't add, a notice is printed to warn you |
| 23242 |
* (bug 12698) Create PAGESIZE parser function, to return the size of a page |
| 23243 |
* Allow the "log in / create account" link in the toolbar to have different |
| 23244 |
text from Special:UserLogin title (new message 'nav-login-createaccount') |
| 23245 |
* Say "log in / create account" if an anonymous user can create an account, |
| 23246 |
otherwise just "log in", consistently across skins |
| 23247 |
* Special:Shortpages and Special:Longpages now returns pages in all content |
| 23248 |
namespaces, not just NS_MAIN. |
| 23249 |
* (bug 889) Improve conflict-handling between shared upload repository |
| 23250 |
and local one |
| 23251 |
* Update documentation links in auto-generated LocalSettings.php |
| 23252 |
* (bug 13584) The new hook SkinTemplateToolboxEnd was added. |
| 23253 |
* (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL] |
| 23254 |
* Custom rollback summaries now accept the same arguments as the default message |
| 23255 |
* (bug 12542) Added hooks for expansion of Special:Listusers |
| 23256 |
* Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest) |
| 23257 |
* More relevant search snippets (turn on $wgAdvancedSearchHighlighting) |
| 23258 |
* (bug 13950) Allow users to watch the user/talk pages of users they block. |
| 23259 |
* (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet |
| 23260 |
* Show image links on Special:Whatlinkshere |
| 23261 |
* Use rel="start", "prev", "next" appropriately on Pager-based pages |
| 23262 |
* Add support for SQLite |
| 23263 |
* AutoAuthenticate hook renamed to UserLoadFromSession |
| 23264 |
* (bug 13232) importScript(), importStylesheet() funcs available to custom JS |
| 23265 |
* (bug 13095) Search by first letters or digits in [[Special:Categories]] |
| 23266 |
* Users moving a page can now move all subpages automatically as well |
| 23267 |
* (bug 14259) Localisation message for upload button on Special:Import is now |
| 23268 |
'import-upload' instead of 'upload' |
| 23269 |
* Add information about user group membership to Special:Preferences |
| 23270 |
* (bug 14146) Wrap usage section on imagepages into <div>s. |
| 23271 |
* New layout for Special:Specialpages. Restricted pages are marked but not |
| 23272 |
separated from other pages in their group. |
| 23273 |
* (bug 14263) Show a diff of the revert on rollback notification page. |
| 23274 |
* (bug 13434) Show a warning when hash identical files exist |
| 23275 |
* Sidebar is now cached for all languages |
| 23276 |
* The User class now contains a public function called isActiveEditor. Figures |
| 23277 |
out if a user is active based on at least $wgActiveUserEditCount number of |
| 23278 |
edits in the last $wgActiveUserDays days. |
| 23279 |
* SpecialSearchResults hook now passes results by reference, so they can be |
| 23280 |
changed by extensions. |
| 23281 |
* Add a new hook LinkerMakeExternalLink to allow extensions to modify the output |
| 23282 |
of external links. |
| 23283 |
* (bug 14132) Allow user to disable bot edits from being output to UDP. |
| 23284 |
* (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a |
| 23285 |
string |
| 23286 |
* (bug 14558) New system message (emailuserfooter) is now added to the footer of |
| 23287 |
e-mails sent with Special:Emailuser |
| 23288 |
* Add support for Hijri (Islamic) calendar |
| 23289 |
* Add a new hook LinkerMakeExternalImage to allow extensions to modify the |
| 23290 |
output of external (hotlinked) images. |
| 23291 |
* (bug 14604) Introduced the following features for the LanguageConverter: |
| 23292 |
Multi-tag support, single conversion flag, remove conversion flag on a single |
| 23293 |
page, description flag, variant name, multi-variant fallbacks. |
| 23294 |
* Add zh-mo and zh-my variants for the zh language |
| 23295 |
* (bugs 4832, 9481, 12890) Special:Recentchangeslinked now has all options that |
| 23296 |
are in Special:Recentchanges |
| 23297 |
* Allow an $error message to be passed to ArticleDelete hook |
| 23298 |
* Allow extensions to modify the user creation form by calling addInputItem(); |
| 23299 |
* Add meta generator tag to HTML output |
| 23300 |
* MediaWikiPerformAction hook is now passed the MediaWiki object |
| 23301 |
* Added blank special page Special:BlankPage for benchmarking, etc. |
| 23302 |
* Foreign repo file descriptions and thumbnails are now cached. |
| 23303 |
* (bug 11732) Allow localisation of edit button images |
| 23304 |
* Allow the search box, toolbox and languages box in the Monobook sidebar to be |
| 23305 |
moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]: |
| 23306 |
SEARCH, TOOLBOX and LANGUAGES |
| 23307 |
* Add a new hook NormalizeMessageKey to allow extensions to replace messages |
| 23308 |
before the database is potentially queried |
| 23309 |
* (bug 9736) Redirects on Special:Fewestrevisions are now marked as such. |
| 23310 |
* New date/time formats in Cs localization according to ČSN and PČP. |
| 23311 |
* Special:Recentchangeslinked now includes changes to transcluded pages and |
| 23312 |
displayed images; also, the "Show changes to pages linked" checkbox now works |
| 23313 |
on category pages too, showing all links that are not categorizations |
| 23314 |
* (bug 4578) Automatically fix redirects broken by a page move |
| 23315 |
|
| 23316 |
=== Bug fixes in 1.13 === |
| 23317 |
|
| 23318 |
* (bug 10677) Add link to the file description page on the shared repository |
| 23319 |
* (bug 13084) Increase size of source/destination filename fields in upload form |
| 23320 |
* (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge |
| 23321 |
* (bug 13140) Show parent categories in category namespace |
| 23322 |
* (bug 13149) Correctly format 'fileexists' message on Upload page |
| 23323 |
* Make the default filepageexists message accurate |
| 23324 |
* (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email |
| 23325 |
* (bug 13022) Fix upload from URL on PHP 5.0.x |
| 23326 |
* (bug 13132) Unable to unprotect pages protected with earlier versions of |
| 23327 |
MediaWiki |
| 23328 |
* (bug 12723) OpenSearch description name now uses more compact language code |
| 23329 |
to avoid passing the length limit as often, is customizable per site via |
| 23330 |
'opensearch-desc' message. |
| 23331 |
* (bug 13135) Special:Userrights now passes IDs through form submission |
| 23332 |
to allow functionality on not-quite-right usernames |
| 23333 |
* (bug 12575) Prevent duplicate patrol log entries from being created |
| 23334 |
* (bug 13174) __HIDDENCAT__ now applies only to category pages |
| 23335 |
* (bug 13031) Add links to user pages in e-mail form |
| 23336 |
* (bug 13147) Description for categoriespagetext (used in Special:Categories) |
| 23337 |
reworded |
| 23338 |
* (bug 11561) Fix fatal error when calling action=revert to non-image page |
| 23339 |
* (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in |
| 23340 |
maintenance/cleanupSpam.php |
| 23341 |
* All skins should have the "mediawiki" class on the body element |
| 23342 |
* (bug 13019) Message cache for some extensions not loaded at time of editing |
| 23343 |
* (bug 13247) Prettified ISBN links |
| 23344 |
* maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option |
| 23345 |
* (bug 13110) Don't show "Permission error" page if the edit is already rolled |
| 23346 |
back when using rollback |
| 23347 |
* (bug 13012) Use content messages for block options when generating the |
| 23348 |
recentchanges entry |
| 23349 |
* (bug 13274) Change links for messages to ucfirst |
| 23350 |
* (bug 13273) Un-hardcode some punctuation (add new messages colon-separator, |
| 23351 |
autocomment-prefix) |
| 23352 |
* Parse MediaWiki message translations with a correct language setting on |
| 23353 |
preview |
| 23354 |
* (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as |
| 23355 |
case-insensitive names. |
| 23356 |
* Adding the fix for lists in RTL wikis to more skins, and fixing the image toc |
| 23357 |
* (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy. |
| 23358 |
* (bug 10721) Duplicate section anchors with differing case now disambiguated |
| 23359 |
for Internet Explorer's sake and standards compliance |
| 23360 |
* (bug 13298) Tighter limits on Special:Newpages limits when embedding |
| 23361 |
* Email subject in content language instead of sending user's UI language |
| 23362 |
* (bug 13251) Allow maintenance rebuild scripts to work with Postgres |
| 23363 |
* (bug 2084) Fixed incorrect regex to match redirects |
| 23364 |
* (bug 3131) Manually-specified upload destination filename is no longer |
| 23365 |
overwritten by browsing for a file after you wrote it. |
| 23366 |
* (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class |
| 23367 |
'generated-sidebar'. |
| 23368 |
* (bug 13265) Media handler is missing 'image/x-bmp' |
| 23369 |
* (bug 13407) MediaWiki:Powersearch is used in two places |
| 23370 |
* (bug 13403) Fix cache invalidation of history pages when old revisions change |
| 23371 |
* (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL |
| 23372 |
* (bug 12801) Fix link in subtitle message in AJAX search |
| 23373 |
* (bug 13428) Fix regression in protection form layout HTML validity |
| 23374 |
* (bug 9403) Sanitize newlines from search term input |
| 23375 |
* (bug 13429) Separate date and time in message sp-newimages-showfrom |
| 23376 |
* (bug 13137) Allow setting 'editprotected' right separately from 'protect', |
| 23377 |
so groups may optionally edit protected pages without having 'protect' perms |
| 23378 |
* Disallow deletion of big pages by means of moving a page to its title and |
| 23379 |
using the "delete and move" option. |
| 23380 |
* (bug 13466, 13632) White space differences not shown in diffs |
| 23381 |
* (bug 1953) Search form now honors namespace selections more reliably |
| 23382 |
* (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility |
| 23383 |
* PHP 5.3 compatibility fix for wfRunHooks() called with no parameters |
| 23384 |
* (bug 6447) Trackbacks now work with transactional tables, if enabled |
| 23385 |
* (bug 6892, 7147) Trackback error handling, optional fields more robust |
| 23386 |
* (bug 6813) Don't break HTML validator when using trackbacks |
| 23387 |
* Fix for size checks on SVG images with global 'stroke-width' attribute |
| 23388 |
* (bug 11874) Inline CSS with !important no longer borken |
| 23389 |
* (bug 1600) Strip extra == section markup == in new-comment field |
| 23390 |
* (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely |
| 23391 |
* (bug 12077) Fix HTML nesting for TOC |
| 23392 |
* (bug 344) Purge cache for talk/article pages when deleting the other tab |
| 23393 |
* (bug 13436) Treat image captions correctly when they include option keywords |
| 23394 |
(like ending with "px" or starting with "upright") |
| 23395 |
* Trackback display formatting fixed |
| 23396 |
* Don't die when single-element arrays are passed to SQL query constructors |
| 23397 |
that have an array index other than 0 |
| 23398 |
* (bug 13522) Fix fatal error in Parser::extractTagsAndParams |
| 23399 |
* (bug 13532) Use proper timestamp call when reverting images |
| 23400 |
* (bug 13543) Updated FAQ link in the installer sidebar |
| 23401 |
* (bug 13540) Date format in confirmation e-mail now matches message language |
| 23402 |
* (bug 13554) PHP Notice in old pre-processor when list item is empty. |
| 23403 |
* (bug 13556) Don't show a blank form if no image is attached in Special:Upload |
| 23404 |
* (bug 13576) maintenance/rebuildrecentchanges.php fails |
| 23405 |
* (bug 13441) Allow Special:Recentchanges to show bots only |
| 23406 |
* (bug 13431) Show true message source in Special:Allmessages&ot=php / xml |
| 23407 |
* (bug 13463) Login successful page doesn't use user's preferred interface |
| 23408 |
language |
| 23409 |
* (bug 13630) Fixed warnings for pass by reference at call time in |
| 23410 |
Special:Revisiondelete when generating the log entry. |
| 23411 |
* (bug 12064) BeforePageDisplay hook is now called for all skins |
| 23412 |
* (bug 13624) Fix regression with manual thumb= parameter on images |
| 23413 |
* (bug 11039) Add missing labels on protection form |
| 23414 |
* (bug 13458) Preview/edit toolbar spacing now works consistently |
| 23415 |
* (bug 13433) Fix action=render on Image: pages |
| 23416 |
* (bug 13678) Fix CSS validation for Monobook |
| 23417 |
* (bug 13684) Links in Special:ListGroupRights should be in content language |
| 23418 |
* (bug 13690) Fix PHP notice on accessing some URLs |
| 23419 |
* Hide (undo) link if user isn't able to edit page |
| 23420 |
* Invalidate cache of pages that includes images via redirects on upload |
| 23421 |
* (bug 13705) Don't show rollback link in page history on incorrect revisions |
| 23422 |
* (bug 13708) Don't set "Search results" title when loading Special:Search |
| 23423 |
without query |
| 23424 |
* (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existent IP addresses |
| 23425 |
* (bug 13728) Don't trim initial whitespace during section edits |
| 23426 |
* (bug 13727) Don't delete log entries from recentchanges on page deletion |
| 23427 |
* (bug 13752) Redirects to sections now work again |
| 23428 |
* (bug 13725) Upload form watch checkbox state set correctly with wpDestFile |
| 23429 |
* (bug 13756) Don't show the form and navigation links of Special:Newpages if |
| 23430 |
the page is included |
| 23431 |
* When hiding things on WhatLinksHere, generated URLs should hide them too |
| 23432 |
* Properly escape search terms with regex chars so they appear highlighted in |
| 23433 |
search results |
| 23434 |
* (bug 13768) pt_title field encoding fixed |
| 23435 |
* Do not display empty columns on Special:UserRights if all groups are |
| 23436 |
changeable or all unchangeable |
| 23437 |
* Fix fatal error on calling PAGESINCATEGORY with invalid category name |
| 23438 |
* (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of |
| 23439 |
before |
| 23440 |
* (bug 13796) Show links to parent pages even if some of them are missing |
| 23441 |
* (bug 13816) Filter by main namespace doesn't work on WhatLinksHere |
| 23442 |
* (bug 13822) Fatal error on some pages when calculating subpage subtitle |
| 23443 |
* (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins |
| 23444 |
* Added 'application/x-dia-diagram' MediaWiki's known MIME types |
| 23445 |
* (bug 13866) skins/common/shared.css - invalid attribute fixing |
| 23446 |
* Hide edit section links on Special:Undelete |
| 23447 |
* (bug 13860) Fix "Justify paragraphs" option for Modern skin |
| 23448 |
* (bug 13168) accessibility links in Modern skin link to wrong anchor id |
| 23449 |
* (bug 13185) No line break after 'subpages' class in Modern skin |
| 23450 |
* (bug 13583) No "poweredby" in Modern skin |
| 23451 |
* (bug 13880) "Printable" link in Modern skin now formats as print mode |
| 23452 |
* (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels |
| 23453 |
* (bug 13891) Show categories box even if all categories are hidden and user has |
| 23454 |
"show hidden categories" option on |
| 23455 |
* (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php |
| 23456 |
* (bug 13913) Special:Whatlinkshere now has correct HTML markup |
| 23457 |
* (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes |
| 23458 |
* (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages |
| 23459 |
* (bug 13924) Fix bad HTML on power search form |
| 23460 |
* (bug 13820) Fix updater for rev_parent_id population |
| 23461 |
* (bug 13925) Fix bad HTML on search results list |
| 23462 |
* (bug 13934) Fixing the link to GNU General Public License Version 2 |
| 23463 |
* Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-) |
| 23464 |
* (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML |
| 23465 |
* (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module |
| 23466 |
errors |
| 23467 |
* (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled |
| 23468 |
* (bug 13615) Update case mappings and normalization to Unicode 5.1.0 |
| 23469 |
Note that case mappings will only be used if mbstring extension is not |
| 23470 |
present. |
| 23471 |
* (bug 14044) Don't increment page view counters on views from bot users |
| 23472 |
* (bug 14042) Calling Database::limitResult() misplaced the comment in the log |
| 23473 |
file |
| 23474 |
* (bug 14047) Fix regression in installer which hid DB-specific options |
| 23475 |
Also makes SQLite path configurable in the installer. |
| 23476 |
* (bug 13546) Follow image redirects on image page |
| 23477 |
* (bug 12644) Template list on edit page now sorted on preview |
| 23478 |
* (bug 14058) Support pipe trick for namespaces and interwikis with "-" |
| 23479 |
* Message name filter on Special:Allmessages now case-insensitive |
| 23480 |
* (bug 13943) Fix image redirect behavior on image pages |
| 23481 |
* (bug 14093) Do 'sysop' => 'protect' magic in Title::isValidMoveOperation |
| 23482 |
* (bug 14063) Power search form missing <label> for redirects check |
| 23483 |
* (bug 14111) Similar filename warning links now lead to correct page |
| 23484 |
* (bug 14082) Fix for complex text input vs AJAX suggestions on some browsers |
| 23485 |
* (bug 13693) Categories sometimes claim to have a negative number of members |
| 23486 |
* (bug 1701) Korean Hangul syllables now broken down properly in Category lists |
| 23487 |
even if the wiki's overall content language is not Korean |
| 23488 |
* (bug 12773) addOnloadHook() now calls functions immediately when scripts are |
| 23489 |
loaded after the primary page completion, instead of dropping them |
| 23490 |
* (bug 14199) Fix deletion form for image redirect pages |
| 23491 |
* (bug 14220) Disabling $wgCheckFileExtensions now works without also |
| 23492 |
disabling $wgStrictFileExtensions |
| 23493 |
* (bug 14241) Pages can no longer be protected to levels you are not in |
| 23494 |
* (bug 14296) Fix local name of ang: (Anglo-Saxon) |
| 23495 |
* (bug 4871) Hardcoded superscript in time zone preferences moved to message |
| 23496 |
* (bug 6957) E-mail confirmation links now using English special page name |
| 23497 |
for better compatibility and keeping the links shorter. Avoids problem |
| 23498 |
with corrupt links in Gmail on IE 6. |
| 23499 |
* (bug 14273) Fix for HTTP Accept header parsing with spaces as from Konqueror |
| 23500 |
* (bug 14312) Update LanguageKaa.php for handling transform issues with i to İ |
| 23501 |
and I to ı |
| 23502 |
* (bug 13826) MediaWiki:Defaultns accepts Wikicode |
| 23503 |
* (bug 14324) Creating an account is again possible with $wgEmailConfirmToEdit |
| 23504 |
set to true |
| 23505 |
* (bug 13034) Interwiki pages can now be reached using Go search button |
| 23506 |
* (bug 14362) Change interwiki names of Erzya and Moksha Wikipedias |
| 23507 |
* (bug 14370) When a grouppage-x message does not exist the entry on the |
| 23508 |
ListGroupRights special page now links to the project namespace page for it, |
| 23509 |
not the main namespace page. |
| 23510 |
* (bug 11659) Urldecode image names in galleries |
| 23511 |
* (bug 14258, 14368) Fix for subpage renames in replication environments |
| 23512 |
* (bug 14367) Failed block no longer adds phantom watchlist entry |
| 23513 |
* (bug 14385) "Move subpages" option no longer tries to move to invalid titles |
| 23514 |
* (bug 14386) Fix subpage namespace oddity when moving a talk page |
| 23515 |
* (bug 11771) Signup form now not shown if in read-only mode. |
| 23516 |
* (bug 12859) $wgRateLimitsExcludedGroups has been deprecated in favor of |
| 23517 |
$wgGroupPermissions[]['noratelimit']. |
| 23518 |
* (Bug 13828) Split parameter $1 of MediaWiki:Missingarticle into $1 (=title) |
| 23519 |
and $2 (=revision numbers) |
| 23520 |
* (bug 14401) Fix Safari access key tooltips for Windows and >3.1 Mac versions |
| 23521 |
* (bug 14432) Fix notice regression in Special:Newpages feed mode |
| 23522 |
* (bug 11951) EditPage::getEditToolbar() is now static. |
| 23523 |
* (bug 14392) Fix regression breaking table prefix in installer |
| 23524 |
* (bug 11084) $wgDBprefix replacement for updater SQL will now work for |
| 23525 |
extension tables using uppercase letters or digits in their names. |
| 23526 |
* (bug 12311) Fix regression with lists at start of undeletion preview |
| 23527 |
* (bug 14496) Fix regression with parseinline on Special:Upload. |
| 23528 |
* We no longer just give up on a missing upload base directory; it's now |
| 23529 |
created automatically if we have sufficient permissions! |
| 23530 |
* (bug 14479) MediaWiki:upload-maxfilesize should have a div id wrapper |
| 23531 |
* (bug 14497) Throw visible errors in installer scripts when SQL files |
| 23532 |
fail due to database permission or other error |
| 23533 |
* (bug 14500) Site feed (Recentchanges) no longer shows up on the actual |
| 23534 |
recent changes page. |
| 23535 |
* (bug 14511) MediaWiki:Delete-legend is no longer double escaped |
| 23536 |
* Generate correct section anchors for numeric headers |
| 23537 |
* (bug 14520) Don't load nonexistent CSS files for Chick/Myskin/Simple skins |
| 23538 |
* (bug 14551) Cancel upload no longer automatically suppresses warnings |
| 23539 |
* (bug 13878) Deprecate Article::getDB() in favor of direct wfGetDB() calls |
| 23540 |
* (bug 4977) Fix for possible squid purging errors when using HTTP purges |
| 23541 |
and multiple servers |
| 23542 |
* (bug 14572) Redirects listed on file links on image pages no longer redirect. |
| 23543 |
* (bug 14537) Change interwiki name for Old Church Slavonic (cu) |
| 23544 |
* (bug 14583) Fix regression in recent changes "limit to certain categories." |
| 23545 |
* (bug 14515) HTML nesting cleanup on edit form |
| 23546 |
* (bug 14647) Removed unused 'townBox' CSS classes |
| 23547 |
* (bug 14687) OutputPage::addStyle() now adds type="text/css" like it should. |
| 23548 |
* OpenSearch cleanup; Firefox now sends you to the search page for empty |
| 23549 |
searches instead of the domain root (which may not even be a wiki). |
| 23550 |
* (bug 3481) Pages moved shortly after creation are shown at their new title |
| 23551 |
on Special:Newpages. |
| 23552 |
* (bug 12716) Trying to unprotect a title that isn't protected no longer |
| 23553 |
generates a log entry. |
| 23554 |
* (bug 14088) Excessively long block expiry times are rejected as invalid, |
| 23555 |
keeps the log page from being distorted. |
| 23556 |
* (bug 14708) Emulate INSERT...IGNORE with standard SQL for Postgres backend. |
| 23557 |
* (bug 14646) Fix some double-escaping of HTML in feed output |
| 23558 |
* (bug 14709) Fix login success message formatting when using cookie check |
| 23559 |
* (bug 14710) Remove "donate" link from default sidebar |
| 23560 |
* (bug 14745) Image moving works on sites that transform thumbnails via 404 |
| 23561 |
* (bug 2186) Document.write() in wikibits caused failures when using |
| 23562 |
application/xhtml+xml. The calls to this have been removed. |
| 23563 |
* (bug 14764) Fix regression in from Article::lastModified(), failed to work |
| 23564 |
on non-mySQL schemas. |
| 23565 |
* (bug 14763) Child classes of Database (DatabasePostgres and DatabaseOracle) |
| 23566 |
had strict standards issues with setFakeSlaveLag() and setFakeMaster(). |
| 23567 |
* (bug 451) Improve the phrase mappings of the Chinese converter arrays. |
| 23568 |
* (bug 12487) Rights log is not fully internationalized |
| 23569 |
* (bug 10837) Language variants no longer override other languages than base |
| 23570 |
* (bug 14778) 'limit' parameter now applies to history feeds as well as |
| 23571 |
history pages |
| 23572 |
* (bug 14845) Bug in prefs javascript: Calling an array item without checking |
| 23573 |
its existance. |
| 23574 |
* Accesskeys for minor edit/watch checkboxes on edit now work in Firefox 3 |
| 23575 |
* (bug 12384) Comments in maintenance/*php |
| 23576 |
* (bug 12441) ./maintenance/generateSitemap.php fix -fspath requiring |
| 23577 |
a trailing slash. |
| 23578 |
* (bug 12568) configuration script now produce valid XHTML. |
| 23579 |
* The accesskey to edit a page is now disabled when editing the page, to pre- |
| 23580 |
vent conflicts with Safari shortcuts. |
| 23581 |
|
| 23582 |
=== API changes in 1.13 === |
| 23583 |
|
| 23584 |
* Fixing main page display in meta=siteinfo |
| 23585 |
* (bug 13128) Added patrolled flag to list=recentchanges |
| 23586 |
* Implemented {bl,ei,iu}redirect (lists links through redirects as well) |
| 23587 |
* (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces |
| 23588 |
* (bug 13157) Added ucuserprefix parameter to list=usercontribs |
| 23589 |
* (bug 12394) Added rctitles parameter to list=recentchanges, making rcid |
| 23590 |
retrieval easier |
| 23591 |
* (bug 13218) Fix inclusion of " character in hyperlinks |
| 23592 |
* Added watch and unwatch parameters to action=delete and action=move |
| 23593 |
* Added action=edit |
| 23594 |
* (bug 11401) Added xmldoublequote to xml formatter |
| 23595 |
* Added rvsection parameter to prop=revisions to allow fetching the content of |
| 23596 |
a certain section only |
| 23597 |
* Introduced list=allimages |
| 23598 |
* (bug 13371) Build page set from image hashes |
| 23599 |
* Mark non-existent messages in meta=allmessages as missing |
| 23600 |
* (bug 13390) One invalid title no longer kills an entire API query |
| 23601 |
* (bug 13419) Fix gblredirect so it actually works |
| 23602 |
* (bug 13418) Disable eiredirect because it's useless |
| 23603 |
* (bug 13395) list=allcategories should use category table |
| 23604 |
* (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now |
| 23605 |
handled properly. |
| 23606 |
* (bug 13444) Add description to list=watchlist |
| 23607 |
* (bug 13482) Disabled search types handled properly |
| 23608 |
* Added inprop=talkid,subjectid to prop=info |
| 23609 |
* Added help text message that specifies whether a module is POST-only |
| 23610 |
* Added createonly parameter to action=edit |
| 23611 |
* Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows |
| 23612 |
* (bug 11719) Remove trailing blanks in YAML output. |
| 23613 |
* (bug 13541) Added siprop=specialpagealiases to meta=siteinfo |
| 23614 |
* Added fallback8bitEncoding and readonly fields to |
| 23615 |
meta=siteinfo&siprop=general output |
| 23616 |
* (bug 13544) Added prop=revid to action=parse |
| 23617 |
* (bug 13603) Added siprop=usergroups to meta=siteinfo |
| 23618 |
* Cleaned up redirect resolution |
| 23619 |
* Added possibility to obtain all external links through list=exturlusage |
| 23620 |
* (bug 13606) Added archivename to iiprop |
| 23621 |
* (bug 11633) Explicitly convert redirect titles to strings due to PHP's |
| 23622 |
very weak typing on array keys. |
| 23623 |
* (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9 |
| 23624 |
* (bug 11673) Return error 'unknown_action' in specified format |
| 23625 |
* (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges |
| 23626 |
* (bug 13544) Added oldid parameter to action=parse to allow for parsing of old |
| 23627 |
revisions |
| 23628 |
* (bug 13718) Return the proper continue parameter for cmsort=timestamp |
| 23629 |
* action=login now returns the correct waiting time in the details property |
| 23630 |
* (bug 13792) Broken titles are now silently skipped in search results. |
| 23631 |
* (bug 13819) exturlusage paging skipped an item |
| 23632 |
* Fixed handling of usernames containing spaces in list=block |
| 23633 |
* (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with |
| 23634 |
format=xml |
| 23635 |
* (bug 13735) Added prop=categoryinfo module |
| 23636 |
* (bug 13945) Retrieve cascading protection sources via inprop=protection |
| 23637 |
* (bug 13965) Hardcoded 51 limit on titles is too limiting |
| 23638 |
* (bug 13993) apfrom doesn't work with apdir=descending |
| 23639 |
* (bug 14018) Introduced alcontinue to list=alllinks to improve paging |
| 23640 |
* (bug 14013) Added rcshow=patrolled to list=recentchanges |
| 23641 |
* (bug 14028) Added language attribute to interwiki map in meta=siteinfo |
| 23642 |
* (bug 14022) Added usprop=registration and auprop=blockinfo |
| 23643 |
* (bug 14021) Removed titles= support from list=backlinks (has been obsolete |
| 23644 |
for ages) |
| 23645 |
* (bug 13829) Expose parse tree via action=expandtemplates |
| 23646 |
* (bug 13606) Allow deletion of images |
| 23647 |
* Added iiprop=mime and aiprop=metadata |
| 23648 |
* Handled unrecognized values for parameters more gracefully |
| 23649 |
* Handled requesting disallowed tokens more gracefully |
| 23650 |
* (bug 14140) URL-encoded page titles are now decoded in edit summaries |
| 23651 |
* (bug 14243) Only accept post requests in action=edit; patch by HardDisk |
| 23652 |
* action=block now returns an ISO8601 timestamp, like all other modules do |
| 23653 |
* Added md5 parameter to action=edit |
| 23654 |
* (bug 14335) Logging in to unified account using API not possible |
| 23655 |
* Added action=emailuser to send an email to a user |
| 23656 |
* (bug 14471) Use HTMLTidy and generate limit report in action=parse |
| 23657 |
* (bug 14459) Added prependtext and appendtext parameters to action=edit |
| 23658 |
* (bug 14526) Unescaped SQL in list=backlinks |
| 23659 |
* Added 'hidden' flag to list=allcategories and prop=categoryinfo output |
| 23660 |
* Added nocreate parameter to action=edit |
| 23661 |
* (bug 14402) Added maxage and smaxage parameters to api.php |
| 23662 |
* Added bkip parameter to list=blocks |
| 23663 |
* (bug 14651) apprefix and similar parameters are now canonicalized |
| 23664 |
* Added clprop=timestamp to prop=categories |
| 23665 |
* (bug 14678) API errors now respects $wgShowExceptionDetails and |
| 23666 |
$wgShowSQLErrors |
| 23667 |
* (bug 14723) Added time zone and writing direction to meta=siteinfo |
| 23668 |
* Added APIQueryInfoTokens and APIQueryRevisionsTokens hooks so extensions |
| 23669 |
can add their own tokens |
| 23670 |
* Added block and unblock tokens to prop=info as well |
| 23671 |
* Added paging (limit and continue parameters) to |
| 23672 |
prop={links,templatelinks,langlinks,extlinks,categories,images} |
| 23673 |
* Added flag "top" to list=usercontribs if the user is the last contributor to |
| 23674 |
the page |
| 23675 |
* list=exturlusage in "list all links" mode can now filter by protocol |
| 23676 |
|
| 23677 |
== MediaWiki 1.12 == |
| 23678 |
|
| 23679 |
== MediaWiki 1.12.4 == |
| 23680 |
|
| 23681 |
February 7, 2009 |
| 23682 |
|
| 23683 |
A number of cross-site scripting (XSS) security vulnerabilities were discovered |
| 23684 |
in the web-based installer (config/index.php). These vulnerabilities all |
| 23685 |
require a live installer -- once the installer has been used to install a wiki, |
| 23686 |
it is deactivated. |
| 23687 |
|
| 23688 |
Note that cross-site scripting vulnerabilities can be used to attack any |
| 23689 |
website in the same cookie domain. So if you have an uninstalled copy of |
| 23690 |
MediaWiki on the same site as an active web service, MediaWiki could be used to |
| 23691 |
attack the active service. |
| 23692 |
|
| 23693 |
If you are hosting an old copy of MediaWiki that you have never installed, you |
| 23694 |
are advised to remove it from the web. |
| 23695 |
|
| 23696 |
== MediaWiki 1.12.3 == |
| 23697 |
|
| 23698 |
* Fixed packaging/distribution error. Many files were missing from the |
| 23699 |
distributed tarball. |
| 23700 |
|
| 23701 |
== MediaWiki 1.12.2 == |
| 23702 |
|
| 23703 |
David Remahl of Apple's Product Security team has identified a number of |
| 23704 |
security issues in previous releases of MediaWiki. Subsequent analysis by the |
| 23705 |
MediaWiki development team expanded the scope of these vulnerabilities. The |
| 23706 |
issues with a significant impact are as follows: |
| 23707 |
|
| 23708 |
* A local script injection vulnerability affecting Internet Explorer clients |
| 23709 |
for all MediaWiki installations with uploads enabled. [CVE-2008-5250] |
| 23710 |
* A local script injection vulnerability affecting clients with SVG scripting |
| 23711 |
capability (such as Firefox 1.5+), for all MediaWiki installations with SVG |
| 23712 |
uploads enabled. [CVE-2008-5250] |
| 23713 |
* A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki |
| 23714 |
installations since the feature was introduced in 1.3.0. [CVE-2008-5252] |
| 23715 |
|
| 23716 |
A local script injection vulnerability allows an attacker with a wiki account |
| 23717 |
to steal another user's login session, and to act as that user on the wiki. The |
| 23718 |
attacker uploads a malicious script file, and tricks the victim into executing |
| 23719 |
it. |
| 23720 |
|
| 23721 |
CSRF vulnerabilities allow an attacker to act as an authorised user on the |
| 23722 |
wiki, but unlike an XSS vulnerability, the attacker can only act as the user in |
| 23723 |
a specific and restricted way. The present CSRF vulnerability allows pages to |
| 23724 |
be edited, with forged revision histories. Like an XSS vulnerability, the |
| 23725 |
authorised user must visit the malicious web page to activate the attack. |
| 23726 |
|
| 23727 |
These three vulnerabilities are all fixed in this release. |
| 23728 |
|
| 23729 |
David Remahl also reminded us of some security-related configuration issues: |
| 23730 |
|
| 23731 |
* By default, MediaWiki stores a backup of deleted images in the images/deleted |
| 23732 |
directory. If you do not want these images to be publically accessible, make |
| 23733 |
sure this directory is not accessible from the web. MediaWiki takes some steps |
| 23734 |
to avoid leaking these images, but these measures are not perfect. |
| 23735 |
* Set display_errors=off in your php.ini to avoid path disclosure via PHP fatal |
| 23736 |
errors. This is the default on most shared web hosts. |
| 23737 |
* Enabling MediaWiki's debugging features, such as $wgShowExceptionDetails, may |
| 23738 |
lead to path disclosure. |
| 23739 |
|
| 23740 |
Other changes in this release: |
| 23741 |
|
| 23742 |
* Avoid fatal error in profileinfo.php when not configured. |
| 23743 |
* Add a .htaccess to deleted images directory for additional protection against |
| 23744 |
exposure of deleted files with known SHA-1 hashes on default installations. |
| 23745 |
* Avoid streaming uploaded files to the user via index.php. This allows |
| 23746 |
security-conscious users to serve uploaded files via a different domain, and |
| 23747 |
thus client-side scripts executed from that domain cannot access the login |
| 23748 |
cookies. Affects Special:Undelete, img_auth.php and thumb.php. |
| 23749 |
* When streaming files via index.php, use the MIME type detected from the file |
| 23750 |
extension, not from the data. This reduces the XSS attack surface. |
| 23751 |
* Blacklist redirects via Special:Filepath. Such redirects exacerbate any XSS |
| 23752 |
vulnerabilities involving uploads of files containing scripts. |
| 23753 |
* Internationalisation updates. |
| 23754 |
|
| 23755 |
== MediaWiki 1.12.1 == |
| 23756 |
|
| 23757 |
Changes since 1.12.0: |
| 23758 |
* (bug [[bugzilla:13522|13522]]) Fix fatal error in Parser::extractTagsAndParams |
| 23759 |
* (bug [[bugzilla:12077|12077]]) Fix HTML nesting for TOC |
| 23760 |
* (bug [[bugzilla:13532|13532]]) Use proper timestamp call when reverting images |
| 23761 |
* (bug [[bugzilla:13649|13649]], [[bugzilla:14084|14084]]) Bad call to |
| 23762 |
wfTimestamp() |
| 23763 |
* (bug [[bugzilla:13770|13770]]) Use Preprocessor_Hash by default to avoid |
| 23764 |
missing DOM module errors |
| 23765 |
* (bug [[bugzilla:13442|13442]]) API: Missing pages in prop=langlinks and |
| 23766 |
prop=extlinks are now handled properly. |
| 23767 |
* (bug [[bugzilla:13482|13482]]) API: Disabled search types handled properly |
| 23768 |
* (bug [[bugzilla:13836|13836]]) API: Fixed fatal errors resulting from |
| 23769 |
combining iiprop=metadata with format=xml |
| 23770 |
* (bug [[bugzilla:11633|11633]]) API: Explicitly convert redirect titles to |
| 23771 |
strings due to PHP's very weak typing on array keys. |
| 23772 |
* API: Fixing main page display in meta=siteinfo |
| 23773 |
* (bug [[bugzilla:11719|11719]]) API: Remove trailing blanks in YAML output. |
| 23774 |
* (bug [[bugzilla:13718|13718]]) API: Return the proper continue parameter for |
| 23775 |
cmsort=timestamp |
| 23776 |
* Security: Work around misconfiguration by requiring strict comparisons for |
| 23777 |
in_array in User::isAllowed(). |
| 23778 |
* Security: Fixed XSS vulnerability in useskin parameter. |
| 23779 |
|
| 23780 |
== MediaWiki 1.12.0 == |
| 23781 |
|
| 23782 |
This is the quarterly branch release of [[MediaWiki]] for Winter 2008. |
| 23783 |
|
| 23784 |
MediaWiki is now using a "continuous integration" development model with |
| 23785 |
quarterly snapshot releases. The latest development code is always kept "ready |
| 23786 |
to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]]. |
| 23787 |
|
| 23788 |
Release branches will continue to receive security updates for about a year |
| 23789 |
from first release, but nonessential bugfixes and feature developments will be |
| 23790 |
made on the development trunk and appear in the next quarterly release. |
| 23791 |
|
| 23792 |
Those wishing to use the latest code instead of a branch release can obtain it |
| 23793 |
from source control: [[Download from SVN]]. |
| 23794 |
|
| 23795 |
Changes since 1.12.0rc1: |
| 23796 |
*(bug [[bugzilla:13359|13359]]) Double-escaping in [[Special:Allpages]]. |
| 23797 |
*Localization updates. |
| 23798 |
|
| 23799 |
== MediaWiki 1.12.0rc1 == |
| 23800 |
|
| 23801 |
This is a release candidate of the Winter 2008 quarterly snapshot release of |
| 23802 |
[[MediaWiki]]. |
| 23803 |
|
| 23804 |
MediaWiki is now using a "continuous integration" development model with |
| 23805 |
quarterly snapshot releases. The latest development code is always kept "ready |
| 23806 |
to run", and in fact runs our own sites on [[wikipedia:|Wikipedia]]. |
| 23807 |
|
| 23808 |
Release branches will continue to receive security updates for about a year |
| 23809 |
from first release, but nonessential bugfixes and feature developments will be |
| 23810 |
made on the development trunk and appear in the next quarterly release. |
| 23811 |
|
| 23812 |
Those wishing to use the latest code instead of a branch release can obtain it |
| 23813 |
from source control: [[Download from SVN]]. |
| 23814 |
|
| 23815 |
This is the Winter 2007 quarterly release. |
| 23816 |
|
| 23817 |
MediaWiki is now using a "continuous integration" development model with |
| 23818 |
quarterly snapshot releases. The latest development code is always kept |
| 23819 |
"ready to run", and in fact runs our own sites on Wikipedia. |
| 23820 |
|
| 23821 |
Release branches will continue to receive security updates for about a year |
| 23822 |
from first release, but nonessential bugfixes and feature developments |
| 23823 |
will be made on the development trunk and appear in the next quarterly release. |
| 23824 |
|
| 23825 |
Those wishing to use the latest code instead of a branch release can obtain |
| 23826 |
it from source control: https://www.mediawiki.org/wiki/Download_from_SVN |
| 23827 |
|
| 23828 |
=== Configuration changes in 1.12 === |
| 23829 |
* Marking edits as bot edits with Special:Contributions?bot=1 now requires the |
| 23830 |
markbotedit permission, rather than the rollback permission previously used. |
| 23831 |
This permission is assigned by default to the sysop group. |
| 23832 |
* MediaWiki now checks if serialized files are out of date. New configuration |
| 23833 |
variable $wgCheckSerialized can be set to false to enable old behavior (i.e. |
| 23834 |
to not check and assume they are always up to date) |
| 23835 |
* The rollback permission can now be rate-limited using the normal mechanism. |
| 23836 |
* New configuration variable $wgExtraLanguageNames |
| 23837 |
* Behavior of $wgAddGroups and $wgRemoveGroups changed. New behavior: |
| 23838 |
* * Granting the userrights privilege allows arbitrary changing of rights. |
| 23839 |
* * Without the userrights privilege, a user will be able to add and/or |
| 23840 |
remove the groups specified in $wgAddGroups and $wgRemoveGroups for |
| 23841 |
any groups they are in. |
| 23842 |
* New permission userrights-interwiki for changing user rights on foreign wikis. |
| 23843 |
* $wgImplicitGroups for groups that are hidden from Special:Listusers, etc. |
| 23844 |
* $wgAutopromote: automatically promote users who match specified criteria |
| 23845 |
* $wgGroupsAddToSelf, $wgGroupsRemoveFromSelf: allow users to add or remove |
| 23846 |
themselves from specified groups via Special:Userrights. |
| 23847 |
* When $wgUseTidy has been enabled, PHP's Tidy module is now used if it is |
| 23848 |
present, in preference to an external Tidy executable which may or may not |
| 23849 |
be present. To force use of external Tidy even when the PHP module is |
| 23850 |
available, set $wgTidyInternal to false. |
| 23851 |
|
| 23852 |
|
| 23853 |
=== New features in 1.12 === |
| 23854 |
* (bug 10735) Add a warning for non-descriptive filenames at Special:Upload |
| 23855 |
* Add {{filepath:}} parser function to get full path to an uploaded file, |
| 23856 |
complementing {{fullurl:}} for pages. |
| 23857 |
* (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema |
| 23858 |
is not set to 'mediawiki', allowing multiple mediawiki instances per user. |
| 23859 |
* (bug 11151) Add descriptive <title> to revision history page |
| 23860 |
* (bug 5412) Add feed links for the site to all pages |
| 23861 |
* (bug 11353) Add ability to retrieve raw section content via action=raw |
| 23862 |
* (bug 6909) Show relevant deletion log lines when uploading a previously |
| 23863 |
deleted file |
| 23864 |
* On SkinTemplate based skins (like MonoBook), omit confusing "edit"/"view |
| 23865 |
source" tab entirely if the page doesn't exist and the user isn't allowed to |
| 23866 |
create it |
| 23867 |
* Clarify instructions given when an exception is thrown |
| 23868 |
* AuthPlugin added strictUserAuth() method to allow per-user override |
| 23869 |
of the strict() authentication behavior. |
| 23870 |
* (bug 7872) Deleted revisions can now be viewed as diffs showing changes |
| 23871 |
against the previous revision, whether currently deleted or live. |
| 23872 |
* Added tooltips for the "Go" and "Search" buttons |
| 23873 |
* (bug 11649) Show input form when Special:Whatlinkshere has no parameters |
| 23874 |
* isValidEmailAddr hook added to User method of that name, to allow, e.g., re- |
| 23875 |
stricting e-mail addresses to a specific domain |
| 23876 |
* Removed "Clear" link in watchlist editor tools, as people were afraid to |
| 23877 |
click it. Existing clear links will fall back to the raw editor, which is |
| 23878 |
very easy to clear your watchlist with. |
| 23879 |
* (bug 1405) Add wgUseNPPatrol option to control patroling for new articles |
| 23880 |
on Special:Newpages |
| 23881 |
* LogLine hook added to allow formatting custom entries in Special:Log. |
| 23882 |
* Support for Iranian calendar |
| 23883 |
* (bug 1401) Allow hiding logged-in users, bots and patrolled pages on |
| 23884 |
Special:Newpages |
| 23885 |
* ChangesListInsertArticleLink hook added for adding extra article info to RC. |
| 23886 |
* MediaWikiPerformAction hook added for diverting control after the main |
| 23887 |
globals have been set up but before any actions have been taken. |
| 23888 |
* BeforeWatchlist hook added for filtering or replacing watchlist. |
| 23889 |
* SkinTemplateTabAction hook added for altering the properties of tab links. |
| 23890 |
* OutputPage::getRedirect public method added. |
| 23891 |
* (bug 11848, 12506) Allow URL parameters 'section', 'editintro' and 'preload' |
| 23892 |
in Special:Mypage and Special:Mytalk |
| 23893 |
* Add ot=raw to Special:Allmessages |
| 23894 |
* Support for Hebrew calendar |
| 23895 |
* Support for Hebrew numerals in dates and times |
| 23896 |
* (bug 11315) Signatures can be configured in [[MediaWiki:Signature]] and |
| 23897 |
[[MediaWiki:Signature-anon]] |
| 23898 |
* Signatures for anonymous users link to Special:Contributions page rather than |
| 23899 |
user page |
| 23900 |
* Added --override switch for disabled pages in updateSpecialPages.php |
| 23901 |
* Provide a unique message (ipb_blocked_as_range) if unblock of a single IP |
| 23902 |
fails |
| 23903 |
because it is part of a blocked range. |
| 23904 |
* (bug 3973) Use a separate message for the email content when an account is |
| 23905 |
created by another user |
| 23906 |
* dumpTextPass.php can spawn fetchText.php as a subprocess, which should restart |
| 23907 |
cleanly if database connections fail unpleasantly. |
| 23908 |
* (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot |
| 23909 |
* (bug 9633) Add a predefined list of delete reasons to the deletion form |
| 23910 |
* Show a warning message when creating/editing a user (talk) page but the user |
| 23911 |
does not exists |
| 23912 |
* (bug 8396) Ignore out-of-date serialised message caches |
| 23913 |
* (bug 12195) Undeleting pages now requires 'undelete' permission |
| 23914 |
* (bug 11810) Localize displayed semicolons |
| 23915 |
* (bug 11657) Support for Thai solar calendar |
| 23916 |
* (bug 943) RSS feed for Recentchangeslinked |
| 23917 |
* Introduced AbortMove hook |
| 23918 |
* (bug 2919) Protection of nonexistent pages with regular protection interface. |
| 23919 |
* Special:Upload now lists permitted/prohibited file extensions. |
| 23920 |
* Split ambiguous filetype-badtype message into two new messages, |
| 23921 |
filetype-unwanted-type and filetype-banned-type. |
| 23922 |
* Added link to the old title in Special:Movepage |
| 23923 |
* On Special:Movepage, errors are now more noticeable. |
| 23924 |
* It is now possible to change rights on other local wikis without the MakeSysop |
| 23925 |
extension |
| 23926 |
* Add HTML ID's mw-read-only-warning and mw-anon-edit-warning to warnings when |
| 23927 |
editing to allow CSS styling. |
| 23928 |
* Parser now returns list of sections |
| 23929 |
* When a user is prohibited from creating a page, a title of "View source" |
| 23930 |
makes no sense, and there should be no "Return to [[Page]]" link. |
| 23931 |
* (bug 12486) Protected titles now give a warning for privileged editors. |
| 23932 |
* (bug 9939) Special:Search now sets focus to search input box when no existing |
| 23933 |
search is active |
| 23934 |
* For Special:Userrights, use GET instead of POST to search for users. |
| 23935 |
* Allow subpage syntax for Special:Userrights, i.e., Special:Userrights/Name. |
| 23936 |
* When submitting changes on Special:Userrights, show the full form again, not |
| 23937 |
just the search box. |
| 23938 |
* Added exception hooks |
| 23939 |
* (bug 12574) Allow bots to specify whether an edit should be marked as a bot |
| 23940 |
edit, via the parameter 'bot'. (Default: '1') |
| 23941 |
* (bug 12536) User should be able to get MediaWiki version from any page |
| 23942 |
* (bug 12622) A JavaScript constant to declare whether api.php is available |
| 23943 |
* Add caching to the AJAX search |
| 23944 |
* Add APCOND_INGROUPS |
| 23945 |
* Add DBA caching to installer |
| 23946 |
* (bug 12585) Added a bunch of parameters to the revertpage message |
| 23947 |
* Support redirects in image namespace |
| 23948 |
* (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki |
| 23949 |
* (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon |
| 23950 |
* Add option to include templates in Special:Export. |
| 23951 |
* (bug 12655) Added $wgUserEmailUseReplyTo config option to put sender |
| 23952 |
address in Reply-To instead of From for user-to-user emails. |
| 23953 |
This protects against SPF problems and privacy-leaking bounce messages |
| 23954 |
when using mailers that set the envelope sender to the From header value. |
| 23955 |
* (bug 11897) Add alias [[Special:CreateAccount]] & [[Special:Userlogin/signup]] |
| 23956 |
for Special:Userlogin?type=signup |
| 23957 |
* (bug 12214) Add a predefined list of delete reasons to the file deletion form |
| 23958 |
* Merged backends for OpenSearch suggestions and AJAX search. |
| 23959 |
Both now accept namespace prefixes, handle 'Media:' and 'Special:' pages, |
| 23960 |
and reject interwiki prefixes. PrefixSearch class centralizes this code, |
| 23961 |
and the backend part can be overridden by the PrefixSearchBackend hook. |
| 23962 |
* (bug 10365) Localization of Special:Version |
| 23963 |
* When installing using Postgres, the Pl/Pgsql language is now checked for |
| 23964 |
and installed when at the superuser level. |
| 23965 |
* The default robot policy for the entire wiki is now configurable via the |
| 23966 |
$wgDefaultRobotPolicy setting. |
| 23967 |
* (bug 12239) Use different separators for autocomments |
| 23968 |
* (bug 12857) Patrol link on new pages should clear floats |
| 23969 |
* (bug 12968) Render redirect wikilinks in a redirect class for customization |
| 23970 |
via user/site CSS. |
| 23971 |
* EditPageBeforeEditButtons hook added for altering the edit buttons below the |
| 23972 |
edit box |
| 23973 |
|
| 23974 |
=== Bug fixes in 1.12 === |
| 23975 |
|
| 23976 |
* Subpages are now indexed for searching properly when using PostgreSQL |
| 23977 |
* (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for |
| 23978 |
ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus] |
| 23979 |
* (bug 7027) Shift handling of deletion permissions-checking to |
| 23980 |
getUserPermissionsErrors. |
| 23981 |
* Login and signup forms are now more correct for right-to-left languages. |
| 23982 |
* (bug 5387) Block log items on RecentChanges don't make use of possible |
| 23983 |
translations |
| 23984 |
* (bug 11211) Pass, as a parameter to the protectedpagetext interface |
| 23985 |
message, the level of protection. |
| 23986 |
* (bug 9611) Supply the blocker and reason for the cantcreateaccounttext |
| 23987 |
message. |
| 23988 |
* (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis |
| 23989 |
where rollback is given to non-sysops. |
| 23990 |
* (bug 8834) Split off permission for editing user JavaScript and CSS from |
| 23991 |
editinterface to a new permission key editusercssjs. |
| 23992 |
* (bug 11266) Set fallback language for Fulfulde (ff) to French |
| 23993 |
* (bug 11179) Include image version deletion comment in public log |
| 23994 |
* Fixed notice when accessing special page without read permission and whitelist |
| 23995 |
is not defined |
| 23996 |
* (bug 9252) Fix for tidy funkiness when using editintro mode |
| 23997 |
* (bug 4021) Fix for MySQL wildcard search |
| 23998 |
* (bug 10699) Fix for MySQL phrase search |
| 23999 |
* (bug 11321) Fix width of gallerybox when option "width=xxx" is used |
| 24000 |
* (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent |
| 24001 |
page |
| 24002 |
* Fix initial statistics when installing: add correct values |
| 24003 |
* (bug 11342) Fix several 'returnto' links in permissions/error pages which |
| 24004 |
linked to the main page instead of targetted page |
| 24005 |
* Strike the link to the redirect rather than using an asterisk in |
| 24006 |
Special:Listredirects |
| 24007 |
* (bug 11355) Fix false positives in Safe Mode and other config detection |
| 24008 |
when boolean settings are disabled with 'Off' via php_admin_value/php_value |
| 24009 |
* (bug 11292) Fixed unserialize errors with Postgres by creating special Blob |
| 24010 |
object. |
| 24011 |
* (bug 11363) Make all metadata fields bytea when using Postgres. |
| 24012 |
* (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make |
| 24013 |
oldimage cascade delete via image table for Postgres, change fa_storage_key |
| 24014 |
TEXT. |
| 24015 |
* (bug 11438) Live Preview chops returned text |
| 24016 |
* Show the right message on account creation when the user is blocked |
| 24017 |
* (bug 11450) Fix creation of objectcache table on upgrade |
| 24018 |
* Fix namespace selection after submit of Special:Newpages |
| 24019 |
* Make input form of Special:Newpages nicer for RTL wikis |
| 24020 |
* (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name |
| 24021 |
* (bug 11474) Fix unintentional fall-through in math error handling |
| 24022 |
* (bug 11478) Fix undefined method call in file deletion interface |
| 24023 |
* (bug 278) Search results no longer highlight incorrect partial word matches |
| 24024 |
* Compatibility with incorrectly detected old-style DJVU mime types |
| 24025 |
* (bug 11560) Fix broken HTML output from weird link nesting in edit comments. |
| 24026 |
Nested links (as in image caption text) still don't work _right_ but they're |
| 24027 |
less wrong |
| 24028 |
* (bug 9718) Remove unnecessary css from main.css causing spacing issues on |
| 24029 |
some browsers. |
| 24030 |
* (bug 11574) Add an interface message loginstart, which, similarly to loginend, |
| 24031 |
appears just before the login form. Patch by MinuteElectron. |
| 24032 |
* Do not cache category pages if using 'from' or 'until' |
| 24033 |
* Created new hook getUserPermissionsErrors, to go with userCan changes. |
| 24034 |
* Diff pages did not properly display css/js pages. |
| 24035 |
* (bug 11620) Add call to User::isValidEmailAddr during accout creation. |
| 24036 |
* (bug 11629) If $wgEmailConfirmToEdit is true, require people to supply an |
| 24037 |
email address when registering. |
| 24038 |
* (bug 11612) Days to show in recent changes cannot be larger than 7 |
| 24039 |
* (bug 11131) Change filearchive width/height columns to int for Postgres |
| 24040 |
* Support plural in undeleted{revisions,revisions-files,files} |
| 24041 |
* (bug 11343) If the database is read-only, ensure that undelete fails. |
| 24042 |
* (bug 11690) Show revert link for page moves in Special:Log to allowed users |
| 24043 |
only |
| 24044 |
* Initial-lowercase prefix checks in namespaceDupes.php now actually work. |
| 24045 |
* Fix regression in LinkBatch.php breaking PHP 5.0 |
| 24046 |
* (bug 11452) wfMsgExt uses sometimes wrong language object for parsing magic |
| 24047 |
words when called with options ''parsemag'' or ''content''. |
| 24048 |
* (bug 11727) Support plural in 'historysize' message |
| 24049 |
* (bug 11744) Incorrect return value from Title::getParentCategories() |
| 24050 |
* (bug 11762) Fix native language name of Akan (ak) |
| 24051 |
* (bug 11722) Fix inconsistent case in unprotect tabs |
| 24052 |
* (bug 11795) Be more paranoid about confirming accept-encoding header is |
| 24053 |
present |
| 24054 |
* (bug 11809) Use formatNum() for more numbers |
| 24055 |
* (bug 11818) Fix native language name of Inuktitut (iu) |
| 24056 |
* Remove all commas when parsing float numbers in sorted tables |
| 24057 |
* Limit text field of deletion, protection and user rights changes reasons to |
| 24058 |
255 characters (already restricted in the database) |
| 24059 |
* In the deletion default reasons, calculate how much text to get from the |
| 24060 |
article text, rather than getting 150 characters (which may be too much) |
| 24061 |
* Add two messages for Special:Blockme which were used but undefined |
| 24062 |
* (bug 11921) Support plural in message number_of_watching_users_pageview |
| 24063 |
* If an IP address is blocked as part of a rangeblock, attempting to unblock |
| 24064 |
the single IP should not unblock the entire range. |
| 24065 |
* (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st) |
| 24066 |
* Make action=render follow redirects by default |
| 24067 |
* If restricted read access was enabled, whitelist didn't work with special |
| 24068 |
pages which had spaces in theirs names |
| 24069 |
* If restricted read access was enabled, requests for non-existing special pages |
| 24070 |
threw an exception |
| 24071 |
* Feeds for recent changes now provide correct URLs for the change, not just |
| 24072 |
the page |
| 24073 |
* Check for if IP is blocked as part of a range when unblocking (see above bug- |
| 24074 |
fix) was faulty. Now fixed. |
| 24075 |
* Fixed wpReason URL parameter to action=delete. |
| 24076 |
* Do not force a password for account creation by email |
| 24077 |
* Ensure that rate-limiting is applied to rollbacks. |
| 24078 |
* Make a better rate-limiting error message (i.e. a normal MW error, |
| 24079 |
rather than an "Internal Server Error"). |
| 24080 |
* Do not present an image bigger than the source when 'frameless' option is used |
| 24081 |
(to be consistent with the 'thumb' option now) |
| 24082 |
* Support {{PLURAL}} for import log |
| 24083 |
* Make sure that the correct log entries are shown on Special:Userrights even |
| 24084 |
for users with special characters in their names |
| 24085 |
* The number of watching users in watchlists was always reported as 1 |
| 24086 |
* namespaceDupes.php no longer dies when coming across an illegal title |
| 24087 |
* (bug 12143) Do not show a link to patrol new pages for non existent pages |
| 24088 |
* (bug 12166) Fix XHTML validity for Special:Emailuser |
| 24089 |
* (bug 11346) Users who cannot edit a page can now no longer unprotect it. |
| 24090 |
* (bug 451) Add a generic Traditional / Simplified Chinese conversion table, |
| 24091 |
instead of a Traditional conversion with Taiwan variant, and a Simplified |
| 24092 |
conversion with China variant. |
| 24093 |
* (bug 12178) Fix wpReason parameter to action=delete, again. |
| 24094 |
* Graceful behavior for updateRestrictions.php if a page already has records |
| 24095 |
in the page_restrictions matching its old page_restrictions field. |
| 24096 |
May help with odd upgrade issues or race condition. |
| 24097 |
* (bug 11993) Remove contentsub "revision history" |
| 24098 |
* (bug 11952) Ensure we quote_ident() all schema names as needed |
| 24099 |
inside of the DatabasePostgres.php file. |
| 24100 |
* (bug 12184) Exceptions now sent to stderr instead of stdout for command-line |
| 24101 |
scripts, making for cleaner reporting during batch jobs. PHP errors will also |
| 24102 |
be redirected in most cases on PHP 5.2.4 and later, switching 'display_errors' |
| 24103 |
to 'stderr' at runtime. |
| 24104 |
* (bug 12148) Text highlight wasn't applied to cleanly deleted and added |
| 24105 |
lines in diff output |
| 24106 |
* (bug 10166) Fix a PHP warning in Language::getMagic |
| 24107 |
* Only mark rollback edits as minor if the user can normally mark edits minor |
| 24108 |
* Escape page names in the move successful page (e.g. for pages with two |
| 24109 |
apostrophes). |
| 24110 |
* (bug 12145) Add localized names of kk-variants |
| 24111 |
* (bug 12259) Localize the numbers in deleted pages on the sysop view |
| 24112 |
* Set proper page title for successful file deletion |
| 24113 |
* (bug 11221) Do not show 'Compare selected versions' button for a history page |
| 24114 |
with one revision only |
| 24115 |
* (bug 12267) Set the default date format to Thai solar calender for the Thai |
| 24116 |
language |
| 24117 |
* (bug 10184) Extensions' stylesheets and scripts should be loaded before |
| 24118 |
user-customized ones (like Common.css, Common.js) |
| 24119 |
* (bug 12283) Special:Newpages forgets parameters |
| 24120 |
* (bug 12031) All namespaces doesn't work in Special:Newpages |
| 24121 |
* (bug 585) Only create searchindex replica table for parser tests if db is |
| 24122 |
MySQL |
| 24123 |
* Allow --record option if parserTests.php to work when using Postgres |
| 24124 |
* (bug 12296) Simplify cache epoch in default LocalSettings.php |
| 24125 |
* (bug 12346) XML fix when body double-click and click handlers are present |
| 24126 |
* Fix regression -- missing feed links in sidebar on Special:Recentchanges |
| 24127 |
* (bug 12371) Handle more namespace case variants in namespaceDupes.php |
| 24128 |
* (bug 12380) Bot-friendly EditPage::spamPage |
| 24129 |
* (bug 8066) Spaces can't be entered in special page aliases |
| 24130 |
* Hide undo link if user can't edit article |
| 24131 |
* (bug 12416) Fix password setting for createAndPromote.php |
| 24132 |
* (bug 3097) Inconsistently usable titles containing HTML character entities |
| 24133 |
are now forbidden. A run of cleanupTitles.php will fix up existing pages. |
| 24134 |
* (bug 12446) Permissions check fix for undelete link |
| 24135 |
* (bug 12451) AJAX title normalization tweaks |
| 24136 |
* When a user creating a page is not allowed to either create the page nor edit |
| 24137 |
it, all applicable reasons are now shown. |
| 24138 |
* (bug 11428) Allow $wgScript inside $wgArticlePath when emulating PATH_INFO |
| 24139 |
Fixes 'root'-style rewrite configurations |
| 24140 |
* (bug 12493) Removed hardcoded MAX_FILE_SIZE from Special:Import upload form |
| 24141 |
* (bug 12489) Special:Userrights listed in restricted section again |
| 24142 |
* (bug 12553) Fixed invalid XHTML in edit conflict screen |
| 24143 |
* (bug 12505) Fixed section=0 with action=raw |
| 24144 |
* (bug 12614) Do not log user rights change that didn't change anything |
| 24145 |
* (bug 12584) Don't reset cl_timestamp when auto-updating sort key on move |
| 24146 |
* (bug 12588) Fix selection in namespace selector on Special:Newpages |
| 24147 |
* Use only default options when generating RSS and Atom syndication links. |
| 24148 |
This should help prevent infinite link loops that some software may follow, |
| 24149 |
and will generally keep feed behavior cleaner. |
| 24150 |
* (bug 12608) Unifying the spelling of getDBkey() in the code. |
| 24151 |
* (bug 12611) Bot flag ignored in recent changes |
| 24152 |
* (bug 12617) Decimal and thousands separators for Romanian |
| 24153 |
* (bug 12567) Fix for misformatted read-only messages on edit, protect. |
| 24154 |
Also added proper read-only checks to several special pages. |
| 24155 |
Have removed read-only checks from the general user permission framework. |
| 24156 |
* Creating a site with a name containing '#' is no longer permitted, since the |
| 24157 |
name will not work (but $wgSiteName is not checked if manually set). |
| 24158 |
* (bug 12695) Suppress dvips verbiage from web server error log |
| 24159 |
* (bug 12716) Unprotecting a non-protected page leaves a log entry |
| 24160 |
* Log username blocks with canonical form of name instead of input form |
| 24161 |
* (bug 11593, 12719) Fixes for overzealous invocation of thumb.php. |
| 24162 |
Non-image handlers and full-size images may now decline it, fixing |
| 24163 |
mystery failures when using $wgThumbnailScriptPath. |
| 24164 |
* (bug 12327) Comma in username no longer disrupts mail headers |
| 24165 |
* (bug 6436) Localization of Special:Import XML parser Error message(s). |
| 24166 |
* Security fix for API on MSIE |
| 24167 |
* (bug 12768) Database query syntax error in maintenance/storage/compressOld.inc |
| 24168 |
* (bug 12753) Empty captions in MediaWiki:Sidebar result in PHP errors |
| 24169 |
* (bug 12790) Page protection is not logged when edit-protection is used |
| 24170 |
and move-protection is not |
| 24171 |
* (bug 12793) Fix for restricted namespaces/pages in Special:Export |
| 24172 |
* Fix for Special:Export so it doesn't ignore the page named '0' |
| 24173 |
* Don't display rollback link if the user doesn't have all required permissions |
| 24174 |
* The comment of a time-limited protection now contains the date in the default |
| 24175 |
format |
| 24176 |
* (bug 12880) wfLoadExtensionMessages does not use $fallback from MessagesXx.php |
| 24177 |
* (bug 12885) Correction for Russian convertPlural function |
| 24178 |
* (bug 12768) Make DatabasePostgres->hasContraint() schema aware. |
| 24179 |
* (bug 12735) Truncate usernames in comments using mb_ functions. |
| 24180 |
* (bug 12892) Poor tab indexing on "delete file" form |
| 24181 |
* (bug 12660) When creating an account by e-mail, do not send the creator's IP |
| 24182 |
address |
| 24183 |
* (bug 12931) Fix wrong global variable in SpecialVersion |
| 24184 |
* (bug 12919) Use 'deletedrevision' message as content when deleting an old file |
| 24185 |
version |
| 24186 |
* (bug 12952) Using Nosuchusershort instead of Nosuchuser when account creation |
| 24187 |
is disabled |
| 24188 |
* (bug 12869) Magnify icon alignment should be adjusted using linked CSS |
| 24189 |
* Fixing message cache updates for MediaWiki messages moves |
| 24190 |
* (bug 12815) Signature timestamps were always in UTC, even if the timezone code |
| 24191 |
in parentheses after them claimed otherwise |
| 24192 |
* (bug 12732) Fix installer and searching to handle built-in tsearch2 for |
| 24193 |
Postgres. |
| 24194 |
* (bug 12784) Change "bool" types to smallint to handle Postgres 8.3 strictness. |
| 24195 |
* (bug 12301) Allow maintenance/findhooks.php to search hooks in multiple |
| 24196 |
directories. |
| 24197 |
* (bug 7681, 11559) Cookie values no longer override GET and POST variables. |
| 24198 |
* (bug 5262) Fully-qualified $wgStylePath no longer corrupted on XML feeds |
| 24199 |
* (bug 3269) Inaccessible titles ending in '/.' or '/..' now forbidden. |
| 24200 |
* (bug 12935, 12981) Fully-qualify archive URLs in delete, revert messages |
| 24201 |
* (bug 12938) Fix template expansion and 404 returns for action=raw with section |
| 24202 |
* (bug 11567) Fix error checking for PEAR::Mail. UserMailer::send() now returns |
| 24203 |
true-or-WikiError, which seems to be the calling convention expected by half |
| 24204 |
its callers already |
| 24205 |
* (bug 12846) IE rtl.css issue in RTL wikis special:Preferences when selecting |
| 24206 |
an LTR user language |
| 24207 |
* (bug 13005) DISPLAYTITLE does not work on preview |
| 24208 |
* (bug 13004) Fix error on Postgres searches that return too many results. |
| 24209 |
|
| 24210 |
== Parser changes in 1.12 == |
| 24211 |
|
| 24212 |
For help with migration to the MediaWiki 1.12 parser, please visit: |
| 24213 |
|
| 24214 |
http://meta.wikimedia.org/wiki/Migration_to_the_new_preprocessor |
| 24215 |
|
| 24216 |
The parser pass order has changed from |
| 24217 |
|
| 24218 |
* Extension tag strip and render |
| 24219 |
* HTML normalisation and security |
| 24220 |
* Template expansion |
| 24221 |
* Main section... |
| 24222 |
|
| 24223 |
to |
| 24224 |
|
| 24225 |
* Template and extension tag parse to intermediate representation |
| 24226 |
* Template expansion and extension rendering |
| 24227 |
* HTML normalisation and security |
| 24228 |
* Main section... |
| 24229 |
|
| 24230 |
The main effect of this for the user is that the rules for uncovered syntax |
| 24231 |
have changed. |
| 24232 |
|
| 24233 |
Uncovered main-pass syntax, such as HTML tags, are now generally valid, whereas |
| 24234 |
previously in some cases they were escaped. For example, you could have "<ta" in |
| 24235 |
one template, and "ble>" in another template, and put them together to make a |
| 24236 |
valid <table> tag. Previously the result would have been "<table>". |
| 24237 |
|
| 24238 |
Uncovered preprocessor syntax is generally not recognised. For example, if you |
| 24239 |
have "{{a" in Template:A and "b}}" in Template:B, then "{{a}}{{b}}" will be |
| 24240 |
converted to a literal "{{ab}}" rather than the contents of Template:Ab. This |
| 24241 |
was the case previously in HTML output mode, and is now uniformly the case in |
| 24242 |
the other modes as well. HTML-style comments uncovered by template expansion |
| 24243 |
will not be recognised by the preprocessor and hence will not prevent template |
| 24244 |
expansion within them, but they will be stripped by the following HTML security |
| 24245 |
pass. |
| 24246 |
|
| 24247 |
Bug 5678 has been fixed. This has a number of user-visible effects related to |
| 24248 |
the removal of this double-parse. Please see the wiki page for examples. |
| 24249 |
|
| 24250 |
Message transformation mode has been removed, and replaced with "preprocess" |
| 24251 |
mode. This means that some MediaWiki namespace messages may need to be updated, |
| 24252 |
especially ones which took advantage of the terribly counterintuitive behavior |
| 24253 |
of the former message mode. |
| 24254 |
|
| 24255 |
The header identification routines for section edit and for numbering section |
| 24256 |
edit links have been merged. This removes a significant failure mode and fixes a |
| 24257 |
whole category of bugs (tracked by bug #4899). Wikitext headings uncovered by |
| 24258 |
template expansion will still be rendered into a heading tag, and will get an |
| 24259 |
entry in the TOC, but will not have a section edit link. HTML-style headings |
| 24260 |
will also not have a section edit link. Valid wikitext headings present in the |
| 24261 |
template source text will get a template section edit link. This is a major |
| 24262 |
break from previous behavior, but I believe the effects are almost entirely |
| 24263 |
beneficial. |
| 24264 |
|
| 24265 |
The main motivation for making these changes was performance. The new two-pass |
| 24266 |
preprocessor can skip "dead branches" in template expansion, such as unfollowed |
| 24267 |
#switch cases and unused defaults for template arguments. This provides a |
| 24268 |
significant performance improvement in template-heavy test cases taken from |
| 24269 |
Wikipedia. Parser function hooks can participate in this performance improvement |
| 24270 |
by using the new SFH_OBJECT_ARGS flag during registration. |
| 24271 |
|
| 24272 |
The pre-expand include size limit has been removed, since there's no efficient |
| 24273 |
way to calculate such a figure, and it would now be meaningless for performance |
| 24274 |
anyway. The "preprocessor node count" takes its place, with a generous default |
| 24275 |
limit. |
| 24276 |
|
| 24277 |
The context in which XML-style extension tags are called has changed, so |
| 24278 |
extensions which make use of the parser state may need compatibility changes. |
| 24279 |
|
| 24280 |
The new preprocessor syntax has been documented in Backus-Naur Form at: |
| 24281 |
|
| 24282 |
https://www.mediawiki.org/wiki/Preprocessor_ABNF |
| 24283 |
|
| 24284 |
The ExpandTemplates extension now has the ability to generate an XML parse |
| 24285 |
tree from wikitext source. This parse tree corresponds closely to the grammar |
| 24286 |
documented on that page. |
| 24287 |
|
| 24288 |
=== API changes in 1.12 === |
| 24289 |
|
| 24290 |
Full API documentation is available at https://www.mediawiki.org/wiki/API |
| 24291 |
|
| 24292 |
* (bug 11275) Enable descending sort in categorymembers |
| 24293 |
* (bug 11308) Allow the API to output the image metadata |
| 24294 |
* (bug 11296) Temporary fix for escaping of ampersands inside links in |
| 24295 |
pretty-printed |
| 24296 |
help document. |
| 24297 |
* (bug 11405) Expand templates implementation in the API |
| 24298 |
* (bug 11218) Add option to feedwatchlist to display multiple revisions for each |
| 24299 |
page. |
| 24300 |
* (bug 11404) Provide name of exception caught in error code field of internal |
| 24301 |
api error messages. |
| 24302 |
* (bug 11534) rvendid doesn't work |
| 24303 |
* Fixed rvlimit of the revisions query to only enforce the lower query limit if |
| 24304 |
revision content is requested. |
| 24305 |
* Include svn revision number (if install is checked-out from svn) in siteinfo |
| 24306 |
query. |
| 24307 |
* (bug 11173) Allow limited wikicode rendering via api.php |
| 24308 |
* (bug 11572) API should provide interface for expanding templates |
| 24309 |
* (bug 11569) Login should return the cookie prefix |
| 24310 |
* (bug 11632) Breaking change: Specify the type of a change in the recentchanges |
| 24311 |
list as 'edit', 'new', 'log' instead of 0, 1, 2, respectively. |
| 24312 |
* Compatibility fix for PHP 5.0.x. |
| 24313 |
* Add rctype parameter to list=recentchanges that filters by type |
| 24314 |
* Add apprtype and apprlevel parameters to filter list=allpages by protection |
| 24315 |
types and levels |
| 24316 |
* Add apdir parameter to enable listing all pages from Z to A |
| 24317 |
* (bug 11721) Use a different title for results than for the help page. |
| 24318 |
* (bug 11562) Added a user_registration parameter/field to the list=allusers |
| 24319 |
query. |
| 24320 |
* (bug 11588) Preserve document structure for empty dataset in backlinks query. |
| 24321 |
* Outputting list of all user preferences rather than having to request them by |
| 24322 |
name |
| 24323 |
* (bug 11206) api.php should honor maxlag |
| 24324 |
* Make prop=info check for restrictions in the old format too. |
| 24325 |
* Add apihighlimits permission, default for sysops and bots |
| 24326 |
* Add limit=max to use maximal limit |
| 24327 |
* Add action=parse to render parser output. Use it instead of action=render |
| 24328 |
which has been removed |
| 24329 |
* Add rvtoken=rollback to prop=revisions |
| 24330 |
* Add meta=allmessages to get messages from site's messages cache. |
| 24331 |
* Use bold and italics highlighting only in API help |
| 24332 |
* Added action={block,delete,move,protect,rollback,unblock,undelete} and |
| 24333 |
list={blocks,deletedrevs} |
| 24334 |
* Fixed sessionid attribute in action=login |
| 24335 |
* Standardized limits. Revisions and Deletedrevisions formerly using |
| 24336 |
200 / 10000, now 500 / 5000, in line with other modules. |
| 24337 |
* Added list=allcategories module |
| 24338 |
* (bug 12321) API list=blocks reveals private data |
| 24339 |
* Fix output of wfSajaxSearch |
| 24340 |
* (bug 12413) meta=userinfo missing <query> tag |
| 24341 |
* Add list of sections to action=parse output |
| 24342 |
* Added action=logout |
| 24343 |
* Added cascade flag to prop=info&inprop=protections |
| 24344 |
* Added wlshow parameter to list=watchlist, similar to rcshow |
| 24345 |
(list=recentchanges) |
| 24346 |
* Added support for image thumbnailing to prop=imageinfo |
| 24347 |
* action={login,block,delete,move,protect,rollback,unblock,undelete} now must be |
| 24348 |
POSTed |
| 24349 |
* prop=imageinfo interface changed: iihistory replaced by iilimit, iistart and |
| 24350 |
iiend parameters |
| 24351 |
* Added amlang parameter to meta=allmessages |
| 24352 |
* Added apfilterlanglinks parameter to list=allpages, replacing |
| 24353 |
query.php?what=nolanglinks |
| 24354 |
* (bug 12718) Added action=paraminfo module that provides information about API |
| 24355 |
modules and their parameters |
| 24356 |
* Added iiurlwidth and iiurlheight parameters to prop=imageinfo |
| 24357 |
* Added format=txt and format=dbg, imported from query.php |
| 24358 |
* Added uiprop=editcount to meta=userinfo |
| 24359 |
* Added list=users which fetches user information |
| 24360 |
* Added list=random which fetches a list of random pages |
| 24361 |
* Added page parameter to action=parse to facilitate parsing of existing pages |
| 24362 |
* Added uiprop=ratelimits to meta=userinfo |
| 24363 |
* Added siprop=namespacealiases to meta=siteinfo |
| 24364 |
* Made multiple values for ucuser possible in list=usercontribs |
| 24365 |
* (bug 12944) Added cmstart and cmend parameters to list=categorymembers |
| 24366 |
* Allow queries to have a where range that does not match the range field |
| 24367 |
|
| 24368 |
== MediaWiki 1.11 == |
| 24369 |
|
| 24370 |
== MediaWiki 1.11.2 == |
| 24371 |
|
| 24372 |
March 2, 2008 |
| 24373 |
|
| 24374 |
This is a security release of the Fall 2007 snapshot release of MediaWiki. |
| 24375 |
Possible cross-site information leaks using the callback parameter for |
| 24376 |
JSON-formatted results in the API are prevented by dropping user credentials. |
| 24377 |
|
| 24378 |
MediaWiki release versions prior to 1.11 are not vulnerable, as they do not |
| 24379 |
include the callback feature which allows client-side JavaScript on other sites |
| 24380 |
to reach API data. |
| 24381 |
|
| 24382 |
Changes in this release: |
| 24383 |
|
| 24384 |
* User credentials are dropped for API JSON requests using a callback |
| 24385 |
* Edit tokens are not reported for API JSON requests using a callback |
| 24386 |
|
| 24387 |
== MediaWiki 1.11.1 == |
| 24388 |
|
| 24389 |
January 23, 2008 |
| 24390 |
|
| 24391 |
This is a security and bugfix release of the Fall 2007 snapshot release of |
| 24392 |
MediaWiki. A potential XSS injection vector affecting api.php only for |
| 24393 |
Microsoft Internet Explorer users has been closed. |
| 24394 |
|
| 24395 |
Changes in this release: |
| 24396 |
* (bug [[bugzilla:11450|11450]]) Fix creation of objectcache table on upgrade |
| 24397 |
* (bug [[bugzilla:11462|11462]]) Fix typo in LanguageGetSpecialPageAliases hook |
| 24398 |
name |
| 24399 |
* Fix regression in LinkBatch.php breaking PHP 5.0 |
| 24400 |
* Security fix for API on MSIE |
| 24401 |
|
| 24402 |
To work around the vulnerability without upgrading, you may disable the API if |
| 24403 |
you don't need it: |
| 24404 |
:[[Manual:$wgEnableAPI|$wgEnableAPI]] = false; |
| 24405 |
|
| 24406 |
Not vulnerable versions: |
| 24407 |
* 1.12 or later |
| 24408 |
* 1.11 >= 1.11.1 |
| 24409 |
* 1.10 >= 1.10.3 |
| 24410 |
* 1.9 >= 1.9.5 |
| 24411 |
* 1.8 any version (if $wgEnableAPI has been left off) |
| 24412 |
|
| 24413 |
Vulnerable versions: |
| 24414 |
* 1.11 <= 1.11.0rc1 |
| 24415 |
* 1.10 <= 1.10.2 |
| 24416 |
* 1.9 <= 1.9.4 |
| 24417 |
* 1.8 any version (if $wgEnableAPI has been switched on) |
| 24418 |
|
| 24419 |
MediaWiki 1.7 and below are not affected as they do not include the API |
| 24420 |
functionality, however the BotQuery extension is similarly vulnerable unless |
| 24421 |
updated to the latest SVN version. |
| 24422 |
|
| 24423 |
== MediaWiki 1.11.0 == |
| 24424 |
|
| 24425 |
September 10, 2007 |
| 24426 |
|
| 24427 |
This is the Fall 2007 snapshot release of MediaWiki. |
| 24428 |
|
| 24429 |
MediaWiki is now using a "continuous integration" development model with |
| 24430 |
quarterly snapshot releases. The latest development code is always kept "ready |
| 24431 |
to run", and in fact runs our own sites on Wikipedia. |
| 24432 |
|
| 24433 |
Release branches will continue to receive security updates for about a year |
| 24434 |
from first release, but nonessential bugfixes and feature developments will be |
| 24435 |
made on the development trunk and appear in the next quarterly release. |
| 24436 |
|
| 24437 |
Those wishing to use the latest code instead of a branch release can obtain it |
| 24438 |
from source control: [[Download from SVN]] |
| 24439 |
|
| 24440 |
This is the Summer 2007 branch release of MediaWiki. |
| 24441 |
|
| 24442 |
MediaWiki is now using a "continuous integration" development model with |
| 24443 |
quarterly snapshot releases. The latest development code is always kept |
| 24444 |
"ready to run", and in fact runs our own sites on Wikipedia. |
| 24445 |
|
| 24446 |
Release branches will continue to receive security updates for about a year |
| 24447 |
from first release, but nonessential bugfixes and feature developments |
| 24448 |
will be made on the development trunk and appear in the next quarterly release. |
| 24449 |
|
| 24450 |
Those wishing to use the latest code instead of a branch release can obtain |
| 24451 |
it from source control: https://www.mediawiki.org/wiki/Download_from_SVN |
| 24452 |
|
| 24453 |
== Changes since 1.11.0rc1 == |
| 24454 |
|
| 24455 |
A possible HTML/XSS injection vector in the API pretty-printing mode has been |
| 24456 |
found and fixed. |
| 24457 |
|
| 24458 |
The vulnerability may be worked around in an unfixed version by simply |
| 24459 |
disabling the API interface if it is not in use, by adding this to |
| 24460 |
[[Manual:LocalSettings.php|LocalSettings.php]]:<br /> |
| 24461 |
<code>[[Manual:$wgEnableAPI|$wgEnableAPI]] = false;</code> <br /> |
| 24462 |
(This is the default setting in 1.8.x.) |
| 24463 |
|
| 24464 |
Not vulnerable versions: |
| 24465 |
* 1.11 >= 1.11.0 |
| 24466 |
* 1.10 >= 1.10.2 |
| 24467 |
* 1.9 >= 1.9.4 |
| 24468 |
* 1.8 >= 1.8.5 |
| 24469 |
|
| 24470 |
Vulnerable versions: |
| 24471 |
* 1.11 <= 1.11.0rc1 |
| 24472 |
* 1.10 <= 1.10.1 |
| 24473 |
* 1.9 <= 1.9.3 |
| 24474 |
* 1.8 <= 1.8.4 (if [[Manual:$wgEnableAPI|$wgEnableAPI]] has been switched on) |
| 24475 |
|
| 24476 |
MediaWiki 1.7 and below are not affected as they do not include the faulty |
| 24477 |
function, however the [[Extension:BotQuery|BotQuery extension]] is similarly |
| 24478 |
vulnerable unless updated to the latest SVN version. |
| 24479 |
|
| 24480 |
== Configuration changes since 1.10 == |
| 24481 |
|
| 24482 |
* $wgThumbUpright - Adjust width of upright images when parameter 'upright' is |
| 24483 |
used |
| 24484 |
* $wgAddGroups, $wgRemoveGroups - Finer control over who can assign which |
| 24485 |
usergroups |
| 24486 |
* $wgEnotifImpersonal, $wgEnotifUseJobQ - Bulk mail options for large sites |
| 24487 |
* $wgShowHostnames - Expose server host names through the API and HTML comments |
| 24488 |
* $wgSaveDeletedFiles has been removed, the feature is now enabled |
| 24489 |
unconditionally |
| 24490 |
|
| 24491 |
== New features since 1.10 == |
| 24492 |
|
| 24493 |
* (bug 8868) Separate "blocked" message for autoblocks |
| 24494 |
* Adding expiry of block to block messages |
| 24495 |
* Links to redirect pages in categories are wrapped in |
| 24496 |
<span class="redirect-in-category"></span> |
| 24497 |
* Introduced 'ImageOpenShowImageInlineBefore' hook; see docs/hooks.txt for |
| 24498 |
more information |
| 24499 |
* (bug 9628) Show warnings about slave lag on Special:Contributions, |
| 24500 |
Special:Watchlist |
| 24501 |
* (bug 8818) Expose "wpDestFile" as parameter $1 to "uploaddisabledtext" |
| 24502 |
* Introducing new image keyword 'upright' and corresponding variable |
| 24503 |
$wgThumbUpright. This allows better proportional view of upright images |
| 24504 |
related to landscape images on a page without nailing the width of upright |
| 24505 |
images to a fix value which makes views for anon unproportional and user |
| 24506 |
preferences useless |
| 24507 |
* (bug 6072) Introducing 'border' keyword to the [[Image:]] syntax |
| 24508 |
* Introducing 'frameless' keyword to [[Image:]] syntax which respects the |
| 24509 |
user preferences for image width like 'thumb' but without a frame. |
| 24510 |
* (bug 7960) Link to "what links here" for each "what links here" entry |
| 24511 |
* Added support for configuration of an arbitrary number of commons-style |
| 24512 |
file repositories. |
| 24513 |
* Added a Content-Disposition header to thumb.php output |
| 24514 |
* Improved thumb.php error handling |
| 24515 |
* Display file history on local image description pages of shared images |
| 24516 |
* Added $wgArticleRobotPolicies |
| 24517 |
* (bug 10076) Additional parameter $7 added to MediaWiki:Blockedtext |
| 24518 |
containing, the ip, ip range, or username whose block is affecting the |
| 24519 |
* (bug 7691) Show relevant lines from the deletion log when re-creating a |
| 24520 |
previously deleted article |
| 24521 |
* Added variables 'wgRestrictionEdit' and 'wgRestrictionMove' for JS to header |
| 24522 |
* (bug 9898) Allow viewing all namespaces in Special:Newpages |
| 24523 |
* (bug 10139) Introduce 'EditSectionLink' and 'EditSectionLinkForOther' hooks; |
| 24524 |
see docs/hooks.txt for details |
| 24525 |
* (bug 9769) Provide "watch this page" toggle on protection form |
| 24526 |
* (bug 9886) Provide clear example "stub link" in Special:Preferences |
| 24527 |
* (bug 10055) Populate email address and real name properties of User objects |
| 24528 |
passed to the 'AbortNewAccount' hook |
| 24529 |
* Show result of Special:Booksources in wiki content language always, it's |
| 24530 |
normally better maintained than the generic list from the standard message |
| 24531 |
files |
| 24532 |
* (bug 7997) Allow users to be blocked from using Special:Emailuser |
| 24533 |
* (bug 8989) Blacklist 'mhtml' and 'mht' files from upload |
| 24534 |
* (bug 8760) Allow wiki links in "protectexpiry" message |
| 24535 |
* (bug 5908) Add "DEFAULTSORTKEY" and "DEFAULTCATEGORYSORT" aliases for |
| 24536 |
"DEFAULTSORT" magic word |
| 24537 |
* (bug 10181) Support the XCache object caching mechanism |
| 24538 |
* (bug 9058) Introduce '--aconf' option for all maintenance scripts, to provide |
| 24539 |
a path to the AdminSettings.php file |
| 24540 |
* (bug 8781) Remind users to check file permissions for LocalSettings.php |
| 24541 |
post-installation |
| 24542 |
* Use shared.css for all skins and oldshared.css in place of common.css for |
| 24543 |
pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki: |
| 24544 |
Common.css and MediaWiki:Monobook.css. |
| 24545 |
* (bug 8869) Introduce Special:Uncategorizedtemplates |
| 24546 |
* (bug 8734) Different log message when article protection level is changed |
| 24547 |
* (bug 8458, 10338) Limit custom signature length to $wgMaxSigChars Unicode |
| 24548 |
characters |
| 24549 |
* (bug 10096) Added an ability to query interwiki map table |
| 24550 |
* On reupload, add a null revision to the image description page |
| 24551 |
* Group log output by date |
| 24552 |
* Kurdish interface latin/arabic writing system with transliteration |
| 24553 |
* Support wiki text in all query page headers |
| 24554 |
* Add 'Orphanedpages' as an alias to Special:Lonelypages |
| 24555 |
* (bug 9328) Use "revision-info-current" message in place of "revision-info" |
| 24556 |
when viewing the current revision of a page, if available |
| 24557 |
* (bug 8890) Enable wiki text for "license" message |
| 24558 |
* Throw a showstopper exception when a hook function fails to return a value. |
| 24559 |
Forgetting to give a 'true' return value is a very common error which tends |
| 24560 |
to cause hard-to-track-down interactions between extensions. |
| 24561 |
* Use $wgJobClasses to determine the correct Job to instantiate for a particular |
| 24562 |
queued task; allows extensions to introduce custom jobs |
| 24563 |
* (bug 10326) AJAX-based page watching and unwatching has been cleaned up and |
| 24564 |
enabled by default. |
| 24565 |
* Added option to install to MyISAM |
| 24566 |
* (bug 9250) Remove hardcoded minimum image name length of three characters |
| 24567 |
* Fixed DISPLAYTITLE behavior to reject titles which don't normalise to the |
| 24568 |
same title as the current page, and enabled by default |
| 24569 |
* Wrap site CSS and JavaScript in a <pre> tag, like user JS/CSS |
| 24570 |
* (bug 10196) Add classes and dir="ltr" to the <pre>s on CSS and JS pages (new |
| 24571 |
classes: mw-code, mw-css, mw-js) |
| 24572 |
* (bug 6711) Add $wgAddGroups and $wgRemoveGroups to allow finer control over |
| 24573 |
usergroup assignment. |
| 24574 |
* Introduce 'UserEffectiveGroups' hook; see docs/hooks.txt for more information |
| 24575 |
* (bug 10387) Detect and handle '.php5' extension environments at install time |
| 24576 |
* Introduce 'ShowRawCssJs' hook; see docs/hooks.txt for more information |
| 24577 |
* (bug 10404) Show rights log for the selected user in Special:Userrights |
| 24578 |
* New javascript for upload page that will show a warning if a file with the |
| 24579 |
"destination filename" already exists. |
| 24580 |
* Add 'editsection-brackets' message to allow localization (or removal) of the |
| 24581 |
brackets in the "[edit]" link for sections |
| 24582 |
* (bug 10437) Move texvc styling to shared.css |
| 24583 |
* Introduce "raw editing" mode for the watchlist, to allow bulk additions, |
| 24584 |
removals, and convenient exporting of watchlist contents |
| 24585 |
* Show "undo" links in page histories |
| 24586 |
* Option to jump to specified time period in user contributions |
| 24587 |
* Improved feedback on "rollback success" page |
| 24588 |
* Show distinct 'namespaceprotected' message to users when namespace protection |
| 24589 |
prevents page editing |
| 24590 |
* (bug 9936) Per-edit suppression of preview-on-first edit with "preview=no" |
| 24591 |
* Allow showing a one-off preview on first edit with "preview=yes" |
| 24592 |
* (bug 9151) Remove timed redirects on "Return to X" pages for accessibility. |
| 24593 |
* Link to user logs in toolbox when viewing a user page |
| 24594 |
* (bug 10508) Allow HTML attributes on <gallery> |
| 24595 |
* (bug 1962) Allow HTML attributes on <math> |
| 24596 |
* (bug 10530) Introduce optional "sp-contributions-explain" message for |
| 24597 |
additional explanation in Special:Contributions |
| 24598 |
* (bug 10520) Preview licences during upload via AJAX (toggle with |
| 24599 |
$wgAjaxLicensePreview) |
| 24600 |
* New Parser::setTransparentTagHook for parser extension and template |
| 24601 |
compatibility |
| 24602 |
* Introduced 'ContributionsToolLinks' hook; see docs/hooks.txt for more |
| 24603 |
information |
| 24604 |
* Add a message if category is empty |
| 24605 |
* Add CSS compatibility for Opera 9.5 |
| 24606 |
* Remove largely untested handheld stylesheet, which was causing more trouble |
| 24607 |
than good. Proper handheld support will be added at a future date. For now, |
| 24608 |
display should be acceptable either with CSS turned off or when using a so- |
| 24609 |
phisticated handheld browser. |
| 24610 |
* (bug 3173) Option to offer exported pages as a download, rather than |
| 24611 |
displaying inline, as in most browsers |
| 24612 |
* Pass the user as an argument to 'isValidPassword' hook callbacks; see |
| 24613 |
docs/hooks.txt for more information |
| 24614 |
* Introduce 'UserGetRights' hook; see docs/hooks.txt for more information |
| 24615 |
* (bug 9595) Pass new Revision to the 'ArticleInsertComplete' and |
| 24616 |
'ArticleSaveComplete' hooks; see docs/hooks.txt for more information |
| 24617 |
* (bug 9575) Accept upload description from GET parameters |
| 24618 |
* Skip the difference engine cache when 'action=purge' is used while requesting |
| 24619 |
a difference page, to allow refreshing the cache in case of errors |
| 24620 |
* (bug 10701) Link to Special:Listusers in default Special:Statistics messages |
| 24621 |
* Improved file history presentation |
| 24622 |
* (bug 10739) Users can now enter comments when reverting files |
| 24623 |
* Improved handling of permissions errors |
| 24624 |
* (bug 10793) "Mark patrolled" links will now be shown for users with |
| 24625 |
patrol permissions on all eligible diff pages |
| 24626 |
* (bug 10655) Show standard tool links for blocked users in block log messages |
| 24627 |
* Show standard tool links for blocked users in Special:Ipblocklist |
| 24628 |
* Miscellaneous aesthetic improvements to Special:Ipblocklist |
| 24629 |
* (bug 10826) Added link trail with Cyrillic characters for Mongolian language |
| 24630 |
* (bug 10859) Introduce 'UserGetImplicitGroups' hook; see docs/hooks.txt for |
| 24631 |
more information |
| 24632 |
* (bug 10832) Include user information when viewing a deleted revision |
| 24633 |
* (bug 10872) Fall back to sane defaults when generating protection selector |
| 24634 |
labels for custom restriction levels |
| 24635 |
* Show edit count in user preferences |
| 24636 |
* Improved support for audio/video extensions |
| 24637 |
* (bug 10937) Distinguish overwritten files in upload log |
| 24638 |
* Introduce 'ArticleUpdateBeforeRedirect' hook; see docs/hooks.txt for more |
| 24639 |
information |
| 24640 |
* Confirmation is now required when deleting old versions of files |
| 24641 |
* (bug 7535) Users can now enter comments when deleting old versions of files |
| 24642 |
* (bug 11001) Submit Special:Newpages as a GET, rather than a POST request |
| 24643 |
* The <strong></strong> around links to watched pages in change lists now |
| 24644 |
has a class - "mw-watched" |
| 24645 |
* (bug 9002) Provide a "view/restore deleted edits" link on Special:Upload |
| 24646 |
when a destination filename is provided that corresponds with previous |
| 24647 |
deleted files |
| 24648 |
* Make the "invalid special page" message clearer |
| 24649 |
* Add accesskey 's' and tooltip to 'upload file' button at Special:Upload |
| 24650 |
* Introduced 'SkinAfterBottomScripts' hook; see docs/hooks.txt for |
| 24651 |
more information |
| 24652 |
* (bug 11095) Honour "preview on first edit" preference when preloading |
| 24653 |
text for a non-existent page |
| 24654 |
* (bug 11022) Use a more accurate page title for Special:Whatlinkshere and |
| 24655 |
Special:Recentchangeslinked |
| 24656 |
* Add link to user contributions in normal watchlist edit mode |
| 24657 |
* (bug 9426) Add 'newsectionheaderdefaultlevel' message to allow |
| 24658 |
modification of the heading formatting for new sections when section=new |
| 24659 |
argument is supplied |
| 24660 |
* (bug 10836) Add 'newsectionsummary' message to allow modification of the |
| 24661 |
text that prefixes a new section link in Recent Changes |
| 24662 |
|
| 24663 |
== Bugfixes since 1.10 == |
| 24664 |
|
| 24665 |
* (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi |
| 24666 |
* (bug 9670) Follow redirects when render edit section links to transcluded |
| 24667 |
templates. |
| 24668 |
* (bug 6204) Fix incorrect unindentation with $wgMaxTocLevel |
| 24669 |
* (bug 3431) Suppress "next page" link in Special:Search at end of results |
| 24670 |
* Don't show unblock form if the user doesn't have permission to use it |
| 24671 |
(cosmetic change, no vulnerabilities existed) |
| 24672 |
* Subtitle success message when unblocking a block ID instead of a pseudo link |
| 24673 |
like [[User:#123|#123]] |
| 24674 |
* Use the standard HTTP fetch functions when retrieving remote wiki pages |
| 24675 |
through transwiki, so we can take advantage of cURL goodies if available |
| 24676 |
* Disable user JavaScript on Special:Userlogin, Special:Resetpass and |
| 24677 |
Special:Preferences, to avoid a compromised script sniffing passwords, etc. |
| 24678 |
* (bug 9854, 3770) Clip overflow text in gallery boxes for visual cleanliness |
| 24679 |
instead of letting it flow outside the box or trigger ugly scroll bars. |
| 24680 |
* Tooltips for print version and permalink |
| 24681 |
* Links to the MediaWiki namespace for system messages having their default |
| 24682 |
values are no longer shown as nonexistent (e.g., in red) |
| 24683 |
* Special:Ipblocklist differentiates between empty list and no search results. |
| 24684 |
* (bug 5375) profiling does not respect read-only mode. |
| 24685 |
* (bug 7070) monobook/user.gif has antialias artifacts |
| 24686 |
* (bug 9123) Safer way when applying $wgLocalTZoffset |
| 24687 |
* (bug 9896) Documentation for $wgSquidServers and X-FORWARDED-FOR |
| 24688 |
* (bug 9417) Uploading new versions of images when using Postgres no longer |
| 24689 |
throws warnings. |
| 24690 |
* (bug 9908) Using tsearch2 with Postgres 8.1 no longer gives an error. |
| 24691 |
* (bug 1438) Fix for diff table layout on very wide lines. |
| 24692 |
Diff style rules have been broken out to common/diff.css, |
| 24693 |
and the dupes removed from the default skin files. |
| 24694 |
Skins can still override the default rules. |
| 24695 |
* (bug 1229) Balance columns in diff display evenly |
| 24696 |
* Right-align diff line numbers in RTL language display |
| 24697 |
* (bug 9332) Fix instructions in tests/README |
| 24698 |
* (bug 9813) Reject usernames containing '#' to avoid silent truncation |
| 24699 |
of fragments during the normalisation process |
| 24700 |
* (bug 7989) RSS feeds content now use black text when using white background. |
| 24701 |
* (bug 9971) Typo in a french language message. |
| 24702 |
* (bug 9973) Changed size was shown in advanced recentchanges collapsible items |
| 24703 |
with $wgRCShowChangedSized = false. |
| 24704 |
* Fix PHP strict standards warning in enhanced recent changes. |
| 24705 |
* (bug 5850) Added hexadecimal html entities comments for $digitTransformTable |
| 24706 |
entries. |
| 24707 |
* (bug 7432) Change language name for Aromanian (roa-rup) |
| 24708 |
* (bug 908) Unexistent special pages now generate a red link. |
| 24709 |
* (bug 7899) Added \hline and \vline to the list of allowed TeX commands |
| 24710 |
* (bug 7993) support mathematical symbol classes |
| 24711 |
* (bug 10007) Allow Block IP to work with Postgrs again. |
| 24712 |
* Add Google Wireless Transcoder to the Unicode editing blacklist |
| 24713 |
* (bug 10083) Fix for Special:Version breakage on PHP 5.2 with some hooks |
| 24714 |
* (bug 3624) TeX: \ker, \hom, \arg, \dim treated like \sin & \cos |
| 24715 |
* (bug 10132, 10134) Restore back-compatibility Image::imageUrl() function |
| 24716 |
* (bug 10113) Fix double-click for view source on protected pages |
| 24717 |
* (bug 10117) Special:Wantedpages doesn't handle invalid titles in result |
| 24718 |
set [now prints out a warning] |
| 24719 |
* (bug 10118) Introduced Special:Mostlinkedtemplates, report which lists |
| 24720 |
templates with a high number of inclusion links |
| 24721 |
* (bug 10104) Fixed Database::getLag() for PostgreSQL and Oracle |
| 24722 |
* (bug 9820) session.save_path check no longer halts installation, but |
| 24723 |
warns of possible bad values |
| 24724 |
* (bug 9978) Fixed session.save_path validation when using extended |
| 24725 |
configuration format, e.g. "5;/tmp" |
| 24726 |
* Don't generate a diff link in the patrol log if the page doesn't exist |
| 24727 |
* (bug 10067) Translations for former skins removed from message files |
| 24728 |
* (bug 9993) Force $wgShowExceptionDetails on during installation |
| 24729 |
* (bug 9980) Validate administrator username and password during |
| 24730 |
installation |
| 24731 |
* (bug 9383) Don't set a default value for BLOB column in rc-deleted |
| 24732 |
database patch |
| 24733 |
* (bug 10149) Don't show full template list on section-0 edit |
| 24734 |
* (bug 9909) Ensure access to binary fields in the math table use encodeBlob() |
| 24735 |
and decodeBlob() |
| 24736 |
* (bug 6743) Don't link broken image links to the upload form when uploads |
| 24737 |
are disabled |
| 24738 |
* (bug 9679) Improve documentation for $wgSiteNotice |
| 24739 |
* (bug 10215) Show custom editing introduction when editing existing pages |
| 24740 |
* (bug 10223) Fix edit link in noarticletext localizations for fr, oc |
| 24741 |
* (bug 10247) Fix IP address regex to avoid false positive IPv6 matches |
| 24742 |
* (bug 9948) Workaround for diff regression with old Mozilla versions |
| 24743 |
* (bug 10265) Fix regression in category image gallery paging |
| 24744 |
* (bug 8577) Fix some weird misapplications of time zones. |
| 24745 |
{{CURRENT*}} functions now consistently use UTC as intended, while |
| 24746 |
{{LOCAL*}} functions return local time per server config or $wgLocaltimezone. |
| 24747 |
Signature dates for Japanese and other languages including weekday now show |
| 24748 |
the correct day to match the rest of the time in local time. |
| 24749 |
* Escape the output of magic variables that return page name or part of it |
| 24750 |
* (bug 10309) Initialise parser state properly in extractSections(), fixes |
| 24751 |
some cases where section edits broke because tags were improperly stripped |
| 24752 |
* Avoid PHP notice errors when doing HTTP proxy purges for an empty list |
| 24753 |
* As intended, *skip* the HTTP proxy purges when doing HTCP purges |
| 24754 |
* (bug 9696) Fix handling of brace transformations in "pagemovedtext" |
| 24755 |
* (bug 10325) Fix regression in form action on Special:Listusers |
| 24756 |
* Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving |
| 24757 |
overlong key errors. |
| 24758 |
* Fixed zero-padding issues with MySQL 5 binary schema |
| 24759 |
* (bug 10344) Don't follow a redirect after changing its protection level |
| 24760 |
* (bug 10333) Correct date format in Slovenian |
| 24761 |
* (bug 10160) Show error message for unknown namespace on Special:Allpages and |
| 24762 |
Special:Prefixindex; making forms prettier for RTL wikis. |
| 24763 |
* (bug 10334) Replace normal spaces before percent (%) signs with non-breaking |
| 24764 |
spaces |
| 24765 |
* (bug 10372) namespaceDupes.php no longer ignores namespace aliases |
| 24766 |
* (bug 10198) namespaceDupes.php no longer ignores interwiki prefixes |
| 24767 |
* namespaceDupes.php should work better for initial-lowercase wikis |
| 24768 |
* (bug 10377) "Permanent links" to revisions still work if the page is moved |
| 24769 |
and the redirect deleted |
| 24770 |
* (bug 7071) Properly handle an 'oldid' passed to view or edit that doesn't |
| 24771 |
match the given title. Fixes inconsistencies with talk, history, edit links. |
| 24772 |
* (bug 10397) Fix AJAX watch error fallback when we receive a bogus result |
| 24773 |
* (bug 10396) Fix AJAX error when $wgScriptPath/index.php is not valid; |
| 24774 |
using $wgScript now included in JS info |
| 24775 |
* Use native XMLHttpRequest class in preference to ActiveX on IE 7; this |
| 24776 |
avoids the "ActiveX "Do you want to allow ActiveX?" prompt when something |
| 24777 |
security settings are cranked this way and AJAX-y gets used. |
| 24778 |
* Delay AJAX watch initialization until click so IE 6 with ugly security |
| 24779 |
settings doesn't prompt you until you use the link. |
| 24780 |
* (bug 10401) Provide non-redirecting link to original title in Special:Movepage |
| 24781 |
* Fix broken handling of log views for page titles consisting of one |
| 24782 |
or more zeros, e.g. "0", "00" etc. |
| 24783 |
* Fix read permission check for special pages with subpage parameters, e.g. |
| 24784 |
Special:Confirmemail |
| 24785 |
* Fix read permission check for unreadable page titles which are numerically |
| 24786 |
equivalent to a whitelisted title |
| 24787 |
* '?>' closing tag removed from all files to help avoid problems with extraneous |
| 24788 |
whitespace (broken XML feeds, etc.) |
| 24789 |
* Don't use garbled parser cache output when viewing custom CSS or JavaScript |
| 24790 |
pages |
| 24791 |
* (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations |
| 24792 |
* Fix empty message checks for message names containing & |
| 24793 |
This corrects some odd behavior with sidebar items and custom namespaces |
| 24794 |
containing ampersands. |
| 24795 |
* (bug 10375) Change thousands separator character to for Latin (la) |
| 24796 |
* (bug 10477) Fix AJAX watch for Farsi on Firefox: JavaScript encoding tweak |
| 24797 |
* (bug 10496) Fix broken DISTINCT option logic in database backend |
| 24798 |
* Fix CSS media declaration for "screen, projection"; was causing some |
| 24799 |
validation issues |
| 24800 |
* (bug 10495) $wgMemcachedDebug set twice in includes/DefaultSettings.php |
| 24801 |
* (bug 10316) Prevent inconsistent cached skin settings in gen=js by setting |
| 24802 |
the intended skin directly in the URL. |
| 24803 |
* (bug 9903) Don't mark redirects in categories as stubs |
| 24804 |
* (bug 6965) Cannot include "Template:R" with {{R}} (magic word conflict) |
| 24805 |
* Padding parser functions now work with strings like '0' that evaluate to false |
| 24806 |
* (bug 10332) Title->userCan( 'edit' ) may return false positive |
| 24807 |
* Fix bug with <nowiki> in front of links for wikis where linkPrefixExtension is |
| 24808 |
true |
| 24809 |
* (bug 10552) Suppress rollback link in history for single-revision pages |
| 24810 |
* (bug 10538) Gracefully handle invalid input on move success page |
| 24811 |
* Fix for Esperanto double-x-encoding in move success page |
| 24812 |
* (bug 10526) Fix toolbar/insertTags behavior for IE 6/7 and Opera (8+) |
| 24813 |
Now matches the selection behavior on Mozilla / Safari. |
| 24814 |
Patch by Alex Smotrov. |
| 24815 |
* Don't show non-functional toolbar buttons on Opera 7 anymore |
| 24816 |
* (bug 9151) Fix relative subpage links with section fragments |
| 24817 |
* (bug 10560) Adding a space between category letter heading and "continues" |
| 24818 |
* (bug 4650) Keep impossibly large/small counts off Special:Statistics |
| 24819 |
* (bug 10608) PHP notice when installing with PostgreSQL |
| 24820 |
* (bug 10615) Fix for transwiki import when CURL not available |
| 24821 |
* (bug 8054) Return search page for empty search requests with ugly URLs |
| 24822 |
* (bug 10572) Force refresh after clearing visitation timestamps on watchlist |
| 24823 |
* (bug 10631) Warn when illegal characters are removed from filename at upload |
| 24824 |
* Fix several JavaScript bugs under MSIE 5/Macintosh |
| 24825 |
* (bug 10591) Use Arabic numerals (0,1,2...) for the Malayam language |
| 24826 |
* (bug 10642) Fix shift-click checkbox behavior for Opera 9.0+ and 6.0 |
| 24827 |
* Work around Safari bug with pages ending in ".gz" or ".tgz" |
| 24828 |
* Removed obsolete maintenance/changeuser.sql script; use RenameUser extension |
| 24829 |
* (bug 2735) "Preview" shown in title bar for action=submit on special pages |
| 24830 |
* Removed "restore" links from the deletion log embedded in Special:Undelete |
| 24831 |
* Improved error reporting and robustness for file delete/undelete. |
| 24832 |
* Improved speed of file delete by storing the SHA-1 hash in image/oldimage |
| 24833 |
* Fixed leading zero in base 36 SHA-1 hash |
| 24834 |
* Protection form no longer produces JavaScript errors |
| 24835 |
* (bug 10741) File histories show "delete" links for non-sysops |
| 24836 |
* (bug 10744) Treat "noarticletext" and "noarticletextanon" as wiki text when |
| 24837 |
used on a non-existent page with "action=info" |
| 24838 |
* Fix escaping of raw message text when used on a non-existent page with |
| 24839 |
"action=info" |
| 24840 |
* (bug 10683) Fix inconsistent handling of URL-encoded titles in links |
| 24841 |
used in redirects (i.e. they now work) |
| 24842 |
* (bug 8878) Changes to $dateFormats in German localization (removing unused, |
| 24843 |
nonexistent formats, putting time after date) |
| 24844 |
* (bug 10769) Database::update() should return boolean result |
| 24845 |
* Fix preference checkbox display for right-to-left languages which caused |
| 24846 |
them to be hidden in IE in some cases |
| 24847 |
* Fix upload form display in right-to-left languages |
| 24848 |
* Fixed regression in blocking of username '0' |
| 24849 |
* (bug 9437) Don't overwrite edit form submission handler when setting up |
| 24850 |
edit box scroll position preserve/restore behavior |
| 24851 |
* (bug 10805) Fix "undo" link when viewing the diff of the most recent |
| 24852 |
change to a page using "diff=0" |
| 24853 |
* (bug 10765) img_auth.php will now refuse logged-out requests where |
| 24854 |
$wgWhitelistRead is undefined, instead of (incorrectly) honouring them |
| 24855 |
* Fixed img_auth.php file name extraction for whitelist checking |
| 24856 |
* Tweak spacing of email preference display |
| 24857 |
* Table sorting JavaScript prefers textContent over innerText to allow hidden |
| 24858 |
sort keys to work on Safari |
| 24859 |
* (bug 4530) Fix local name of Kurdish language |
| 24860 |
* (bug 10830) Fix local name of Haitian Creole language |
| 24861 |
* Fix invalid XHTML in Special:Protectedpages |
| 24862 |
* Fix comments in contributions and log pages for right-to-left languages |
| 24863 |
* Make installer include_path-independent, so it should work on hosts which |
| 24864 |
disable user setting of PHP include_path setting |
| 24865 |
* glob() is horribly unreliable and doesn't work on some systems, including |
| 24866 |
free.fr shared hosting. No longer using it in Language::getLanguageNames() |
| 24867 |
* (bug 10763) Fix multi-insert logic for PostgreSQL |
| 24868 |
* Fix invalid XHTML when viewing a deleted revision |
| 24869 |
* Fix syntax error in translations of magic words in Romanian language |
| 24870 |
* (bug 8737) Fix warnings caused by incorrect use of `/dev/null` when piping |
| 24871 |
process error output under Windows |
| 24872 |
* (bug 7890) Don't list redirects to special pages in Special:BrokenRedirects |
| 24873 |
* (bug 10783) Resizing PNG-24 images with GD no longer causes all alpha |
| 24874 |
channel transparency to be lost and transparent pixels to be turned black |
| 24875 |
* (bug 9339) General error pages were transforming messages and their parameters |
| 24876 |
in the wrong order |
| 24877 |
* (bug 9026) Incorrect heading numbering when viewing Special:Statistics with |
| 24878 |
"auto-numbered headings" enabled |
| 24879 |
* Fixed invalid XHTML in Special:Upload |
| 24880 |
* (bug 11013) Make sure dl() is available before attempting to use it to check |
| 24881 |
available databases in installer |
| 24882 |
* Resizing transparent GIF images with GD now retains transparency by skipping |
| 24883 |
resampling |
| 24884 |
* (bug 11065) Fix regression in handling of wiki-formatted EXIF metadata |
| 24885 |
* Double encoding broke Special:Newpages for some languages |
| 24886 |
* Adding a newline before the statistics footer, to prevent parsing problems |
| 24887 |
* Preventing the TOC from appearing in Special:Statistics |
| 24888 |
* (bug 11082) Fix check for fully-specced table names in Database::tableName |
| 24889 |
* (bug 11067) Fix regression in upload conflict thumbnail display |
| 24890 |
* (bug 10985) Resolved cached entries on Special:DoubleRedirects were being |
| 24891 |
suppressed, breaking paging - now strikes out "fixed" results |
| 24892 |
* (bug 8393) <sup> and <sub> need to be preserved (without attributes) for |
| 24893 |
entries in the table of contents |
| 24894 |
* (bug 11114) Fix regression in read-only mode error display during editing |
| 24895 |
* Force non-MySQL databases to use an ORDER BY in SpecialAllpages to ensure |
| 24896 |
that the first page_title is truly the first page title. |
| 24897 |
* (bug 10836) Change the summary on creating of new section |
| 24898 |
* Inclusion of Special:Wantedpages now works again |
| 24899 |
|
| 24900 |
== API changes since 1.10 == |
| 24901 |
|
| 24902 |
Full API documentation is available at https://www.mediawiki.org/wiki/API |
| 24903 |
|
| 24904 |
* New properties: links, templates, images, langlinks, categories, external |
| 24905 |
links |
| 24906 |
* Breaking Change: imagelinks renamed into imageusage (il->iu) |
| 24907 |
* Bug fix: incorrect generator behavior in some cases |
| 24908 |
* JSON format allows an optional callback function to wrap the result. |
| 24909 |
* Login module disabled until a more secure solution can be implemented |
| 24910 |
* (bug 9938) Querying by revision identifier returns the most recent revision |
| 24911 |
for the corresponding page, rather than the requested revision |
| 24912 |
* (bug 8772) Filter page revision queries by user |
| 24913 |
* (bug 9927) User contributions queries do not accept IP addresses |
| 24914 |
* Watchlist feed now reports a proper feed item when the user is not logged in |
| 24915 |
* Watchlist feed date bug fixed - automatically shows one last day |
| 24916 |
* Watchlist feed now allows to specify number of hours to monitor |
| 24917 |
* list=allpages now returns a list instead of a map in JSON format |
| 24918 |
* Breaking Change: in json, revisions are now returned as a list, not as a map. |
| 24919 |
* Add: prop=info can show page is new flag, current page length, and visit |
| 24920 |
counter. |
| 24921 |
* Change: Query watchlist now shows flags only when explicitly requested with |
| 24922 |
wlparam=flags |
| 24923 |
* rc_this_oldid (textid) is no longer accessible from query watchlist |
| 24924 |
* action=usercontribs: additional filtering by ucshow=; selection of needed |
| 24925 |
fields with ucprop=; the textid (rev_text_id) is no longer being exposed |
| 24926 |
* (bug 9970) Breaking Change: backlinks, embeddedin and imageusage now return |
| 24927 |
lists in JSON instead of a map, and do not return anything when titles do |
| 24928 |
not exist |
| 24929 |
* (bug 9121) Introduced indexpageids query parameter to list the page_id |
| 24930 |
values of all returned page items |
| 24931 |
* (bug 10147) Now interwiki titles are not processed but added to a separate |
| 24932 |
"interwiki" section of the output. |
| 24933 |
* Added categorymembers list to query for pages in a category. |
| 24934 |
* (bug 10260) Show page protection status |
| 24935 |
* (bug 10392) Include MediaWiki version details in version output |
| 24936 |
* (bug 10411) Site language in meta=siteinfo |
| 24937 |
* (bug 10391) action=help doesn't return help if format is fancy markup |
| 24938 |
* backlinks, embeddedin and imageusage lists should use (bl|ei|iu)title |
| 24939 |
parameter instead of titles. Titles for these lists is obsolete and might stop |
| 24940 |
working soon. |
| 24941 |
* Added prop=imageinfo - gets image properties and upload history |
| 24942 |
* (bug 10211) Added db server replication lag information in meta=siteinfo |
| 24943 |
* Added external url search within wiki pages (list=exturlusage) |
| 24944 |
* Added link enumeration (list=alllinks) |
| 24945 |
* Added registered users enumeration (list=allusers) |
| 24946 |
* Added full text search in titles and content (list=search) |
| 24947 |
* (bug 10684) Expanded list=allusers functionality |
| 24948 |
* Possible breaking change: prop=revisions no longer includes pageid for |
| 24949 |
rvprop=ids |
| 24950 |
* Added rvprop=size to prop=revisions (The size will not be shown if it is NULL |
| 24951 |
in the database) |
| 24952 |
* list=allpages now allows to filter by article min/max size and protection |
| 24953 |
status |
| 24954 |
* Added site statistics (siprop=statistics for meta=siteinfo) |
| 24955 |
* (bug 10902) Unable to fetch user contributions from IP addresses |
| 24956 |
* `list=usercontribs` no longer requires that the user exist |
| 24957 |
* (bug 10971) `aufrom` parameter doesn't work with spaces |
| 24958 |
* Fix username handling issue with `auprefix` parameter |
| 24959 |
* Treat underscores as spaces for `aufrom` and `auprefix` parameters |
| 24960 |
* Added edit/delete/... token retrieval to prop=info |
| 24961 |
* Added meta=userinfo - logged-in user information, group membership, rights |
| 24962 |
* (bug 11072) Fix regression in API image history query |
| 24963 |
* (bug 11115) Adding SHA1 hash to imageinfo query |
| 24964 |
* (bug 10898) API does not return an edit token for non-existent pages |
| 24965 |
* (bug 10890) Timestamp support for categorymembers query |
| 24966 |
* (bug 10980) Add exclude redirects on backlinks |
| 24967 |
* IPv6 titles in User namespace are normalized (run cleanupTitles.php to fix any |
| 24968 |
old stray pages) |
| 24969 |
|
| 24970 |
== Maintenance script changes since 1.10 == |
| 24971 |
|
| 24972 |
* Add support for wgMaxTocLevel option in parserTests |
| 24973 |
* (bug 6823) Disable article view counter in maintenance/dumpHTML.php |
| 24974 |
* Fix maintenance/importImages.php so it doesn't barf PHP errors when no |
| 24975 |
suitable files are found, and make the list of extensions an option (defaults |
| 24976 |
to $wgFileExtensions) |
| 24977 |
* Add option to maintenance/createAndPromote.php to give the user bureaucrat |
| 24978 |
permissions (--bureaucrat) |
| 24979 |
* Allow overwriting existing files with a conflicting name using |
| 24980 |
maintenance/importImages.php |
| 24981 |
* (bug 10266) Use native newlines when rebuilding a messages file. |
| 24982 |
|
| 24983 |
== Languages updated since 1.10 == |
| 24984 |
|
| 24985 |
* Afrikaans (af) |
| 24986 |
* Arabic (ar) |
| 24987 |
* Bikol (bcl) |
| 24988 |
* Bulgarian (bg) |
| 24989 |
* Catalan (ca) |
| 24990 |
* Danish (da) |
| 24991 |
* German (de) |
| 24992 |
* Greek (el) |
| 24993 |
* Esperanto (eo) |
| 24994 |
* Spanish (es) |
| 24995 |
* Estonian (et) |
| 24996 |
* Extremaduran (ext) |
| 24997 |
* Farsi (fa) |
| 24998 |
* Finnish (fi) |
| 24999 |
* Vöro (fiu-vro) |
| 25000 |
* French (fr) |
| 25001 |
* Français Cadien (frc) (new) |
| 25002 |
* Franco-Provençal/Arpetan (frp) |
| 25003 |
* Galician (gl) |
| 25004 |
* Hakka (hak) |
| 25005 |
* Hebrew (he) |
| 25006 |
* Upper Sorbian (hsb) |
| 25007 |
* Haitian (ht) |
| 25008 |
* Indonesian (id) |
| 25009 |
* Icelandic (is) |
| 25010 |
* Italian (it) |
| 25011 |
* Japanese (ja) |
| 25012 |
* Georgian (ka) |
| 25013 |
* Kabyle (kab) |
| 25014 |
* Kazakh (kk) |
| 25015 |
* Korean (ko) |
| 25016 |
* Kinaray-a (krj) (new) |
| 25017 |
* Kurdish (ku) |
| 25018 |
* Latin (la) |
| 25019 |
* Lao (lo) |
| 25020 |
* Lithuanian (lt) |
| 25021 |
* Latviešu (lv) |
| 25022 |
* Malayalam (ml) |
| 25023 |
* Bahasa Melayu (ms) |
| 25024 |
* Burmese (my) |
| 25025 |
* Low German (nds) |
| 25026 |
* Dutch (nl) |
| 25027 |
* Norwegian (no) |
| 25028 |
* Occitan (oc) |
| 25029 |
* Punjabi (Gurmukhi) (pa) |
| 25030 |
* Polish (pl) |
| 25031 |
* Piedmontese (pms) |
| 25032 |
* Portuguese (pt) |
| 25033 |
* Romani (rmy) |
| 25034 |
* Romanian (ro) |
| 25035 |
* Aromanian (roa-rup) |
| 25036 |
* Russian (ru) |
| 25037 |
* Sakha (sah) |
| 25038 |
* Sango (se) (new) |
| 25039 |
* Slovak (sk) |
| 25040 |
* Slovenian (sl) |
| 25041 |
* Shona (sn) |
| 25042 |
* Somali (so) |
| 25043 |
* Albanian (sq) |
| 25044 |
* Sundanese (su) |
| 25045 |
* Swedish (sv) |
| 25046 |
* Tamil (ta) |
| 25047 |
* Thai (th) |
| 25048 |
* Tigrinya (ti) |
| 25049 |
* Setswana (tn) |
| 25050 |
* Tok Pisin (tpi) |
| 25051 |
* Uyghur (ug) |
| 25052 |
* Volapük (vo) |
| 25053 |
* Winaray (war) (new) |
| 25054 |
* Yiddish (yi) |
| 25055 |
* Old Chinese / Late Middle Chinese (zh-classical) |
| 25056 |
* Chinese (PRC) (zh-cn) |
| 25057 |
* Chinese (Taiwan) (zh-tw) |
| 25058 |
* Cantonese (zh-yue) |
| 25059 |
|
| 25060 |
== MediaWiki 1.10 == |
| 25061 |
|
| 25062 |
== MediaWiki 1.10.4 == |
| 25063 |
|
| 25064 |
March 2, 2008 |
| 25065 |
|
| 25066 |
* Correction for API path fix, broken in 1.10.3 |
| 25067 |
|
| 25068 |
== MediaWiki 1.10.3 == |
| 25069 |
|
| 25070 |
January 23, 2008 |
| 25071 |
|
| 25072 |
This is a security update to the Winter 2007 quarterly release. A potential |
| 25073 |
XSS injection vector affecting api.php only for Microsoft Internet Explorer |
| 25074 |
users has been closed. |
| 25075 |
|
| 25076 |
|
| 25077 |
To work around the vulnerability without upgrading, you may disable the API if |
| 25078 |
you don't need it: |
| 25079 |
|
| 25080 |
:[[Manual:$wgEnableAPI|$wgEnableAPI]] = false; |
| 25081 |
|
| 25082 |
Not vulnerable versions: |
| 25083 |
* 1.12 or later |
| 25084 |
* 1.11 >= 1.11.1 |
| 25085 |
* 1.10 >= 1.10.3 |
| 25086 |
* 1.9 >= 1.9.5 |
| 25087 |
* 1.8 any version (if $wgEnableAPI has been left off) |
| 25088 |
|
| 25089 |
Vulnerable versions: |
| 25090 |
* 1.11 <= 1.11.0rc1 |
| 25091 |
* 1.10 <= 1.10.2 |
| 25092 |
* 1.9 <= 1.9.4 |
| 25093 |
* 1.8 any version (if $wgEnableAPI has been switched on) |
| 25094 |
|
| 25095 |
MediaWiki 1.7 and below are not affected as they do not include the API |
| 25096 |
functionality, however the BotQuery extension is similarly vulnerable unless |
| 25097 |
updated to the latest SVN version. |
| 25098 |
|
| 25099 |
== MediaWiki 1.10.2 == |
| 25100 |
September 10, 2007 |
| 25101 |
|
| 25102 |
This is a security fix update to the Spring 2007 quarterly release snapshot. A |
| 25103 |
possible HTML/XSS injection vector in the API pretty-printing mode has been |
| 25104 |
found and fixed. |
| 25105 |
|
| 25106 |
The vulnerability may be worked around in an unfixed version by simply |
| 25107 |
disabling the API interface if it is not in use, by adding this to |
| 25108 |
LocalSettings.php: |
| 25109 |
:[[Manual:$wgEnableAPI|$wgEnableAPI]] = false; |
| 25110 |
|
| 25111 |
Not vulnerable versions: |
| 25112 |
* 1.11 >= 1.11.0 |
| 25113 |
* 1.10 >= 1.10.2 |
| 25114 |
* 1.9 >= 1.9.4 |
| 25115 |
* 1.8 >= 1.8.5 |
| 25116 |
|
| 25117 |
Vulnerable versions: |
| 25118 |
* 1.11 <= 1.11.0rc1 |
| 25119 |
* 1.10 <= 1.10.1 |
| 25120 |
* 1.9 <= 1.9.3 |
| 25121 |
* 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on) |
| 25122 |
|
| 25123 |
MediaWiki 1.7 and below are not affected as they do not include the faulty |
| 25124 |
function, however the BotQuery extension is similarly vulnerable unless updated |
| 25125 |
to the latest SVN version. |
| 25126 |
|
| 25127 |
== MediaWiki 1.10.1 == |
| 25128 |
July 13, 2007 |
| 25129 |
|
| 25130 |
This is a bugfix update to the Spring 2007 quarterly release snapshot. A number |
| 25131 |
of fixes to improve compatibility with PostgreSQL, some versions of MySQL, and |
| 25132 |
some PHP configurations are included. |
| 25133 |
|
| 25134 |
Changes since 1.10.0: |
| 25135 |
|
| 25136 |
* (bug [[bugzilla:9417|9417]]) Uploading new versions of images when using |
| 25137 |
Postgres no longer throws warnings. |
| 25138 |
* (bug [[bugzilla:9908|9908]]) Using tsearch2 with Postgres 8.1 no longer gives |
| 25139 |
an error. |
| 25140 |
* (bug [[bugzilla:9973|9973]]) Changed size was shown in advanced recentchanges |
| 25141 |
collapsible items with $wgRCShowChangedSized = false. |
| 25142 |
* Fixed installation on MyISAM or old InnoDB with charset=utf8, was giving |
| 25143 |
overlong key errors. |
| 25144 |
* Fixed zero-padding issues with MySQL 5 binary schema |
| 25145 |
* (bug [[bugzilla:9820|9820]]) session.save_path check no longer halts |
| 25146 |
installation, but warns of possible bad values |
| 25147 |
* (bug [[bugzilla:9978|9978]]) Fixed session.save_path validation when using |
| 25148 |
extended configuration format, e.g. "5;/tmp" |
| 25149 |
|
| 25150 |
== MediaWiki 1.10.0 == |
| 25151 |
May 9, 2007 |
| 25152 |
|
| 25153 |
This is the quarterly release snapshot for Spring 2007. See below for a full |
| 25154 |
list of changes since the 1.9.x series. |
| 25155 |
|
| 25156 |
Changes since 1.10.0rc2: |
| 25157 |
|
| 25158 |
* (bug [[bugzilla:9808|9808]]) Fix regression that ignored user 'rclimit' |
| 25159 |
option for Special:Contributions |
| 25160 |
|
| 25161 |
== MediaWiki 1.10.0rc2 == |
| 25162 |
May 4, 2007 |
| 25163 |
|
| 25164 |
THIS IS A RELEASE CANDIDATE MADE AVAILABLE FOR TESTING! |
| 25165 |
A FINAL 1.10.0 RELEASE WILL APPEAR WITHIN A FEW DAYS. |
| 25166 |
|
| 25167 |
Changes since 1.10.0rc1: |
| 25168 |
* Various l10n fixes and updates |
| 25169 |
* Fix for upgrade of page_restrictions table |
| 25170 |
* (bug [[bugzilla:9780|9780]]) Fix normalization of titles with initial colon |
| 25171 |
followed by whitespace |
| 25172 |
* Fix for regression in upload: wrong size info saved into image table |
| 25173 |
* Avoid cyclic stub problems when authorization hooks do funny things with the |
| 25174 |
user and the database at load time |
| 25175 |
|
| 25176 |
== MediaWiki 1.10.0rc1 == |
| 25177 |
This is the Spring 2007 branch release of MediaWiki. |
| 25178 |
|
| 25179 |
MediaWiki is now using a "continuous integration" development model with |
| 25180 |
quarterly snapshot releases. The latest development code is always kept |
| 25181 |
"ready to run", and in fact runs our own sites on Wikipedia. |
| 25182 |
|
| 25183 |
Release branches will continue to receive security updates for about a year |
| 25184 |
from first release, but nonessential bugfixes and feature developments |
| 25185 |
will be made on the development trunk and appear in the next quarterly release. |
| 25186 |
|
| 25187 |
Those wishing to use the latest code instead of a branch release can obtain |
| 25188 |
it from source control: https://www.mediawiki.org/wiki/Download_from_SVN |
| 25189 |
|
| 25190 |
== Configuration changes == |
| 25191 |
|
| 25192 |
* A new switch $wgCommandLineDarkBg used by maintenance scripts |
| 25193 |
(parserTests.php). It lets you specify if your terminal use a dark background, |
| 25194 |
the colorized output will be made lighter making things easier to read. |
| 25195 |
* The minimum permissions needed to edit a page in each namespace can now be |
| 25196 |
customized via the $wgNamespaceProtection array. By default, editing pages in |
| 25197 |
the MediaWiki namespace requires "editinterface" permission, as before. |
| 25198 |
* Allow restriction of autoconfirmed permission by edit count. New global |
| 25199 |
setting $wgAutoConfirmCount (defaulting to zero, naturally). |
| 25200 |
* Added rate limiter for Special:Emailuser |
| 25201 |
* Private logs can now be created using $wgLogRestrictions |
| 25202 |
* (Bug 8590) limited HTML is now always enabled ($wgUserHtml = true). |
| 25203 |
* Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally. |
| 25204 |
|
| 25205 |
== New features since 1.9 == |
| 25206 |
|
| 25207 |
* (bug 6937) Introduce "statistics-footer" message, appended to |
| 25208 |
Special:Statistics |
| 25209 |
* (bug 6638) List block flags in block log entries |
| 25210 |
* (bugs 5051, 5376) Tooltips and accesskeys no longer require JavaScript |
| 25211 |
* Added SkinTemplateOutputPageBeforeExec hook before SkinTemplate::outputPage() |
| 25212 |
starts page output |
| 25213 |
(http://lists.wikimedia.org/pipermail/wikitech-l/2007-January/028554.html) |
| 25214 |
* Introduce "cascading protection" -- implicit protection on pages transcluded |
| 25215 |
into a page protected with this option enabled |
| 25216 |
* (bug 8567) Added hook RawPageViewBeforeOutput just before the text is blown |
| 25217 |
out in action=raw, so extensions might influence the output. |
| 25218 |
* (bug 3446) Add user preference to hide page content below diffs, can be |
| 25219 |
overridden by adding diffonly=1 or diffonly=0 to the URL of the diff page |
| 25220 |
* Add 'purge' privilege to replace the hardcoded check for login state in |
| 25221 |
determining whether action=purge can be done via GET. Switching the |
| 25222 |
permission on for anons can be helpful for benchmarking. |
| 25223 |
* (bug 7842) Link back to deleted revision list from deleted revision preview |
| 25224 |
* (bug 8619) Add user-aware "unblock" link to Special:Blockip |
| 25225 |
* (bug 8522) Provide a "delete" link on Special:Brokenredirects for users with |
| 25226 |
the appropriate permission |
| 25227 |
* (bug 8628) Add user-aware block list link to Special:Blockip |
| 25228 |
* (bug 8621) Log revisions marked as patrolled |
| 25229 |
* Introduce "BookInformation" hook; see docs/hooks.txt for more details |
| 25230 |
* Add title prefix search for Special:Undelete |
| 25231 |
* Remove full-archive list from Special:Undelete |
| 25232 |
* (bug 8136) Introduce 'ArticleUndelete' hook; see docs/hooks.txt for more info |
| 25233 |
* (bug 8712) Expose user groups as a JavaScript global |
| 25234 |
* Introduce 'CustomEditor' hook; see docs/hooks.txt for more information |
| 25235 |
* New special page, Special:Protectedpages, which shows all protected pages |
| 25236 |
and their protection status (full protection status is not pulled out due |
| 25237 |
to performance considerations, so it just shows "full protected" or |
| 25238 |
"semi protected". |
| 25239 |
* (bug 4133) Allow page protections to be made with an expiry date, in the same |
| 25240 |
format as block expiry dates. Existing protections are assumed to be infinite, |
| 25241 |
as are protections made with the new field left blank. |
| 25242 |
* (bug 8535) Allow certain vertical alignment attributes to be used as image |
| 25243 |
keywords |
| 25244 |
* (bug 6987) Allow perrow, widths, and heights attributes for <gallery> |
| 25245 |
* (bug 3678) Allow disabling MediaWiki:Aboutsite in the same way as |
| 25246 |
MediaWiki:Disclaimers; Also means that if any of the footer links are |
| 25247 |
disabled in the wiki's default language (by setting to "-"), they'll also |
| 25248 |
be disabled in other languages too (e.g. if the user specifies uselang=fr). |
| 25249 |
* Sort log types in Special:Log |
| 25250 |
* Added a classname ("mw-toolbar-editbutton") and unique IDs to the edit |
| 25251 |
toolbar buttons |
| 25252 |
* Hide irrelevant block options in Special:Blockip based on whether an |
| 25253 |
IP address/range or username is listed. (Dynamic using JS.) |
| 25254 |
* (bug 9032) Make quickbarSettings localizable through Special:Allmessages |
| 25255 |
* (bug 7782) Standardisation of file info at image description pages. |
| 25256 |
* (bug 1035) View contributions / recentchanges for an IP range. |
| 25257 |
* (bug 8747) When unwatching pages from Special:Watchlist/edit, put the |
| 25258 |
confirmation messages in a proper list with a CSS class and id. |
| 25259 |
* (bug 9118) Show relevant log fragments on deletion confirmatio page |
| 25260 |
* (bug 9009) Add username entry field to Special:Contributions |
| 25261 |
* (bug 1723) Article size in history |
| 25262 |
* (bug 9223) Disallow magic tilde sequences in page titles and usernames |
| 25263 |
* (bug 6997) Link from Special:log/block to unblock form |
| 25264 |
* (bug 9117) Link from Special:log/delete to undelete form |
| 25265 |
* Link from Special:log/protect to change protection form |
| 25266 |
* (bug 1196) Add IPv6 support added to blocks, more consistancy for IPv6 |
| 25267 |
contribs |
| 25268 |
* (bug 3984) Searching in logs by title% |
| 25269 |
* Show thumbnail of existing image if image exists already under this filename |
| 25270 |
* (bug 5546) Watchlist reflects logged actions like move, protection, undelete |
| 25271 |
* Support protocols other than HTTP in LinkFilter, use $wgUrlProtocols |
| 25272 |
* (bug 3069) Warning on upload of scaled down images |
| 25273 |
* Warning on upload of images with uppercase extension if image with lowercase |
| 25274 |
extension exists |
| 25275 |
* (bug 4624) Namespace selection for Special:Whatlinkshere |
| 25276 |
* Introduce PageHistoryBeforeList and PageHistoryLineEnding hooks; see |
| 25277 |
docs/hooks.txt for more information |
| 25278 |
* (bug 9397) Introduce "sp-contributions-footer" and |
| 25279 |
"sp-contributions-footer-anon" messages, shown at the end of |
| 25280 |
Special:Contributions as appropriate for the target |
| 25281 |
* (bug 8421) Expose current action in JavaScript globals (as 'wgAction') |
| 25282 |
* (bug 9069) Use galleries in query pages dedicated to images |
| 25283 |
* (bug 9177) Installer now warns of various conditions affecting |
| 25284 |
session.save_path which can lead to broken session storage |
| 25285 |
* (bug 9046) Special page to list pages without language links |
| 25286 |
* (bug 9508) Special page to list articles with the fewest revisions |
| 25287 |
* Introduce 'FileUpload' hook; see docs/hooks.txt for more information |
| 25288 |
* Introduce 'SearchUpdate' hook; see docs/hooks.txt for more information |
| 25289 |
* Introduce 'mywatchlist' message; used on personal menu to link to watchlist |
| 25290 |
page |
| 25291 |
* Introduce magic word {{NUMBEROFEDITS}} |
| 25292 |
* Introduced media handlers for file-type specific operations. |
| 25293 |
* Improved error reporting for image thumbnailing |
| 25294 |
* Added sharpening option for ImageMagick thumbnailing |
| 25295 |
* (bug 9656) Autosummaries will be generated for deletion of pages longer than |
| 25296 |
500 characters |
| 25297 |
* Predefined block reasons added to Special:Blockip |
| 25298 |
* (bug 9196) Installer now check that zend.ze1_compatibility_mode is off |
| 25299 |
* (bug 9697) Introduce 'InternalParseBeforeLinks' hook; see docs/hooks.txt for |
| 25300 |
more information |
| 25301 |
* 'contribsub' message changed to 'contribsub2' with two parameters to permit |
| 25302 |
better localization. Change is reverse-compatible and can be ignored for |
| 25303 |
most wikis. |
| 25304 |
* Adding a 'reason' field to Special:Userrights |
| 25305 |
|
| 25306 |
== Bugfixes since 1.9 == |
| 25307 |
|
| 25308 |
* (bug 7292) Fix site statistics when moving pages in/out of content namespaces |
| 25309 |
* (bug 8531) Correct local name of Lingála |
| 25310 |
* Made the PLURAL: parser function return singular on -1 by default |
| 25311 |
* Fixed up the AjaxSearch |
| 25312 |
* Fix SpecialVersion->formatCredits input. Version and Url parameters should be |
| 25313 |
null to be treated properly with isset. |
| 25314 |
* Page restrictions moved into a new, dedicated table |
| 25315 |
* Correct tooltip accesskey hint for Opera on the Macintosh |
| 25316 |
(uses Shift-Esc-, not Ctrl-). |
| 25317 |
* (bug 8002) Math should render left-to-right even in right-to-left wikis |
| 25318 |
* Pass e-mail and real name fields to AuthPlugin::addUser, as additional |
| 25319 |
optional fields, which may be considered useful at registration time. |
| 25320 |
* PostgreSQL upgrade scripts fixed and updated |
| 25321 |
* (bug 8613) Fix error when viewing "Recent Changes" and using Postgres. |
| 25322 |
* Initialise site_stats table at upgrade time if data was missing |
| 25323 |
* (bug 7250) Updated Unicode normalization tables to Unicode 5.0 |
| 25324 |
* Unmaintained Oracle support files have been removed. |
| 25325 |
* Use browser default for printing size, don't force to 11pt |
| 25326 |
* (bug 8632) Fix regression in page protection null edit update |
| 25327 |
* (bug 8407) Disallow indexing of "printable" versions |
| 25328 |
* (bug 8643) Correctly escape the page-specific CSS class for non-Monobook skins |
| 25329 |
* (bug 8629) Document $wgFilterCallback |
| 25330 |
* (bug 1000) Clarify warning about memory_limit in installer |
| 25331 |
* Suppress PHP warning about set_time_limit in installer when safe mode is on |
| 25332 |
* (bug 3000) Fall back to SCRIPT_NAME plus QUERY_STRING when REQUEST_URI is |
| 25333 |
not available, as on IIS with PHP-CGI |
| 25334 |
* Missing interwiki row for English Wikipedia restored (as "wikipedia:") |
| 25335 |
* use configured cache servers for mctest.php |
| 25336 |
* bucket details in mcc.php |
| 25337 |
* fix input validation and remove debugging code in compressOld |
| 25338 |
* full ID range for moveToExternal |
| 25339 |
* fix resolveStubs.php for compatibility with older serialized data |
| 25340 |
* maximum line length for bar graphs in getLagTimes.php |
| 25341 |
* recognize specieswiki in rebuildInterwiki.inc |
| 25342 |
* profile unicode cleanup in Xml |
| 25343 |
* log slow parses in Article.php |
| 25344 |
* profile wfMsgReal |
| 25345 |
* log mkdir failures |
| 25346 |
* profile AutoLoader |
| 25347 |
* rebuild empty DjVu metadata containing '' |
| 25348 |
* security fix for DjVu metadata retrieval |
| 25349 |
* Undelete page list can use plural marker |
| 25350 |
* (bug 8638) Fix update from 1.4 and earlier |
| 25351 |
* (bug 8641) Fix order of updates to ipblocks table |
| 25352 |
* (bug 8678) Fix detection of self-links for numeric titles in Parser |
| 25353 |
* (bug 6171) Magically close tags in tables when not using Tidy. |
| 25354 |
* Sanitizer now correctly escapes lonely '>' occurring before the first wikitag. |
| 25355 |
* Ignore self closing on closing tags ( '</div />' now gives '</div>') |
| 25356 |
* (bug 8673) Minor fix for web service API content-type header |
| 25357 |
* Fix API revision list on PHP 5.2.1; bad reference assignment |
| 25358 |
* (bug 8688) Handle underscores/spaces in Special:Blockip and |
| 25359 |
Special:Ipblocklist in a consistent manner |
| 25360 |
* (bug 8701) Check database lock status when blocking/unblocking users |
| 25361 |
* ParserOptions and ParserOutput classes are now in their own files |
| 25362 |
* (bug 8708) Namespace translations for Zealandic language |
| 25363 |
* Renamed constructor methods to PHP 5 __construct reserved name |
| 25364 |
* (bug 8715) Warn users when editing an interface message whether or not the |
| 25365 |
message page exists |
| 25366 |
* ar: fix the 'create a new page' on search page when no exact match found |
| 25367 |
* (bug 8703) Corrected talk and image namespace name for Limburgish (li) |
| 25368 |
* (bug 8671) Expose "wpDestFile" as a parameter to "uploadtext" |
| 25369 |
* (bug 8403) Respect bad image list exceptions in galleries on wiki pages |
| 25370 |
* Allow sending per-user contribution requests to "contributions" query group |
| 25371 |
* (bug 3717) Update user count for AuthPlugin account autocreation |
| 25372 |
* (bug 8719) Firefox release notes lie! Fix tooltips for Firefox 2 on x11; |
| 25373 |
accesskeys default settings appear to be same as Windows. |
| 25374 |
* Added an option to make Linker::userToolLinks() show the contribs link |
| 25375 |
red when the user has no edits. Linker::userToolLinksRedContribs() is an |
| 25376 |
alias to that which should be used to make it more self documentating. |
| 25377 |
* (bug 8749) Bring MySQL 5 table defs back into sync |
| 25378 |
* (bug 8751) Set session cookies to HTTPS-only to match other cookies |
| 25379 |
* (bug 8652) Catch exceptions generated by malformed XML in multipage media |
| 25380 |
* (bug 8782) Help text in Makefile |
| 25381 |
* (bug 8777) Suppress 'previous' link on Special:Allpages when at first page |
| 25382 |
* (bug 8774) Fix path for GNU FDL rights icon on new installs |
| 25383 |
* Fix multipage selector drop-down for DjVu images to work when title |
| 25384 |
is passed as a query string parameter; we have to pass the title as |
| 25385 |
a form parameter or it gets dropped from the form submission URL |
| 25386 |
* (bug 8819) Fix full path disclosure in with skins dependencies |
| 25387 |
* Fixed bug affecting HTML formatting in sortable table column titles |
| 25388 |
* Merged table sorting code into wikibits.js |
| 25389 |
* (bug 8711) Stop floats in previews from spilling into edit area |
| 25390 |
* (bug 8858) Safer handling when $wgImageLimits is changed. Added a note |
| 25391 |
in DefaultSettings to make it clear. |
| 25392 |
* (bug 4268) Fixed data-loss bug in compressOld batch text compression |
| 25393 |
affecting pages which had null edits (move, protect, etc) as second |
| 25394 |
edit in a batch group. Isolated and patched by Travis Derouin. |
| 25395 |
* Fix for paths in 1.4->1.5 special-case updater script |
| 25396 |
* (bug 8789) AJAX search: IE users can now use the return key |
| 25397 |
* (bug 6844) Use <ins> and <del> tags to emphase the differences |
| 25398 |
* (bug 6684) Fix improper javascript array iteration |
| 25399 |
* (bug 4347) use MailAddress object for reply-to |
| 25400 |
* Add AlphabeticPager abstract class |
| 25401 |
* Use faster AlphabeticPager for Special:Categories |
| 25402 |
* (bug 8875) Show printable link in MonoBook sidebar for locally nonexistent |
| 25403 |
pages; perhaps useful for categories and shared images |
| 25404 |
* Clean up session checks to better handle the case where the session was |
| 25405 |
opened during the current request. May help with some caching corner |
| 25406 |
cases. |
| 25407 |
* (bug 8897) Fix whitespace removal for interlanguage links with link prefix |
| 25408 |
* Add 'ParserTestTables' hook to expand the list of temporary tables copied |
| 25409 |
by the parser test harness; use for extensions which require the presence |
| 25410 |
of other tables while they work. |
| 25411 |
* Message names changed for AlphabeticPager introduced with r19758 |
| 25412 |
for better localisations. |
| 25413 |
* (bug 8944) The deprecated is_a() function is used in StubObjects.php |
| 25414 |
* (bug 8992) Fix a remaining raw use of REQUEST_URI in history |
| 25415 |
* (bug 8999) User.php gives "undefined user editcount" PHP notice. |
| 25416 |
* (bug 8984) Fix a database error in Special:Recentchangeslinked |
| 25417 |
when using the Postgres database. |
| 25418 |
* Moved the main ob_start() from the default LocalSettings.php to WebStart.php. |
| 25419 |
The ob_start() section should preferably be removed from older |
| 25420 |
LocalSettings.php files. |
| 25421 |
* Give Content-Length header for HTTP/1.0 clients. |
| 25422 |
* Partial support for Flash cross-domain-policy filtering. |
| 25423 |
* Lazy-initialize site_stats row on load when empty. Somewhat kinder to |
| 25424 |
dump-based installations, avoiding PHP warnings when NUMBEROFARTICLES |
| 25425 |
and such are used. |
| 25426 |
* Add 'charset' to Content-Type headers on various HTTP error responses |
| 25427 |
to forestall additional UTF-7-autodetect XSS issues. PHP sends only |
| 25428 |
'text/html' by default when the script didn't specify more details, |
| 25429 |
which some inconsiderate browsers consider a license to autodetect |
| 25430 |
the deadly, hard-to-escape UTF-7. |
| 25431 |
This fixes an issue with the Ajax interface error message on MSIE when |
| 25432 |
$wgUseAjax is enabled (not default configuration); this UTF-7 variant |
| 25433 |
on a previously fixed attack vector was discovered by Moshe BA from BugSec: |
| 25434 |
http://www.bugsec.com/articles.php?Security=24 |
| 25435 |
* Trackback responses now specify XML content type |
| 25436 |
* (bug 9044) Send a comment with action=raw pages in CSS/JS output mode |
| 25437 |
to work around IE/Mac bug where empty pages time out verrrrryyyyy slowly, |
| 25438 |
particularly with new keepalive-friendly HTTP on Wikipedia |
| 25439 |
* (bug 8919) Suppress paging links and related messages where there are no |
| 25440 |
rows to list for query pages |
| 25441 |
* (bug 9057) Standardize MediaWiki: namespace for oc |
| 25442 |
* (bug 8132) Suppress "Pages in this category" heading in categories when |
| 25443 |
there are none |
| 25444 |
* (bug 8958) Handle search operators better when using tsearch2 (Postgres) |
| 25445 |
* (bug 8799) Use redirect table for Special:BrokenRedirects and |
| 25446 |
Special:DoubleRedirects |
| 25447 |
* (bug 8918) Enable PLURAL option for MediaWiki:showingresults and |
| 25448 |
MediaWiki:showingresultsnum |
| 25449 |
* (bug 9122) Fix minor display issue in RTL with section edit link margin |
| 25450 |
* (bug 5805) Enable PLURAL option for some messages of watchlist and statistic |
| 25451 |
* (bug 3953) Work around poor display of parenthesis in the in other |
| 25452 |
languages section of MonoBook skin |
| 25453 |
* (bug 8539) Enable PLURAL option for another message of recentchanges. |
| 25454 |
* (bug 8728) MediaWiki:Badfiletype split into 3 messages |
| 25455 |
* (bug 9131) Allow SpecialContributions to work with Postgres |
| 25456 |
* (bug 9155) Allow footer info to wrap in Monobook |
| 25457 |
* (bug 8847) Strip spurious #fragments from request URI to fix redirect |
| 25458 |
loops on some server configurations |
| 25459 |
* (bug 9097) column "pr_pagetype" does not exist |
| 25460 |
* (bug 9217) Balance wfProfile calls in Skin::outputPage |
| 25461 |
* (bug 9222) PostgreSQL updater should not be version-specific |
| 25462 |
* Fix fallback implementation of mb_strlen so it works and isn't insanely |
| 25463 |
slow for large strings, since it's used for page edit lengths |
| 25464 |
* (bug 8815) Setting password in initUser() breaks LdapAuthentication plugin |
| 25465 |
* (bug 9256) Add a quick note to index.php header comments |
| 25466 |
* Make Special:Listusers caseinsensitive for first letter |
| 25467 |
* Default tidy.conf has been moved from extensions module into includes. |
| 25468 |
* Ignore lonely ''''' |
| 25469 |
* (bug 9244) When calling edit page for nonexistent section, generate error |
| 25470 |
inside of just discarding edits, since edit links sometimes go to the wrong |
| 25471 |
place. |
| 25472 |
* (bug 9019) No warning during upload if image description page exists, but no |
| 25473 |
image |
| 25474 |
* (bug 8582) Allow thumbnailing when imagesize has a space. |
| 25475 |
* (bug 8716) Change math_inputhash and math_outputhash to bytea for Postgres |
| 25476 |
* (bug 9343) Correct internal name for Wolof language |
| 25477 |
* (bug 9363) Fix Postgres error on Recentchangeslinked |
| 25478 |
* (bug 5142) Fixed call of hook ArticleViewHeader |
| 25479 |
* (bug 4777) Separate prev/next messages for Special:Whatlinkshere |
| 25480 |
* Merge approx 15 missing Wikipedia language codes into wikipedia-interwiki.sql |
| 25481 |
based on Jeff Merkey's mediawiki-1.9.3.WG-20070316.tar.gz.bz2 archive. |
| 25482 |
* (bug 9411) Fix for shared image descriptions using query-string titles |
| 25483 |
* (bug 4756) Add user tool links for self created accounts at special:log |
| 25484 |
instead of sometimes broken block links from newuserlog extension |
| 25485 |
* (bug 5817) Special:Recentchangeslinked now shows red link for nonexistent |
| 25486 |
target page instead of silently redirecting |
| 25487 |
* (bug 8914) Don't transform colons in {{anchorencode:}} |
| 25488 |
* (bug 9241) Handle edit section links and include size links for cached |
| 25489 |
templates the same as the first transclusion. |
| 25490 |
* (bug 9466) "Rollback failed" page doesn't format edit comment |
| 25491 |
* (bug 9472) Invalid XHTML on cached special pages |
| 25492 |
* (bug 9472) Invalid XHTML on Special:Newpages |
| 25493 |
* (bug 4764) "My contributions" not bold when viewing own contributions |
| 25494 |
* (bug 9194) Add {{PLURAL:...}} to navigation bar of Special:Whatlinkshere |
| 25495 |
* (bug 9033) Use a more specific error message when users are not able/allowed |
| 25496 |
to edit page protection levels due to a block, database lock or permissions |
| 25497 |
* Fixed $wgFeedLimit |
| 25498 |
* (bug 9270) Corrected help namespace name for Dutch Lower Saxon (nds-nl) |
| 25499 |
* (bug 929, 4215) Expose "rcdays" user preference in Special:Preferences |
| 25500 |
* (bug 9554) Extension-provided group name messages not used |
| 25501 |
* (bug 9565) Translate template namespace name for Hindi (hi) |
| 25502 |
* (bug 8599) Correct localized names of zh-variants |
| 25503 |
* (bug 3366) Require skins based on SkinTemplate to override the skinname |
| 25504 |
property. |
| 25505 |
* (bug 9220) Removed obsoletes functions in install-utils.inc. |
| 25506 |
* Removed obsoletes Title::getRelatedCache and Title:touchArray |
| 25507 |
* (bug 7285) Check MySQL username length during install |
| 25508 |
* (bug 6910) Correct date/time formats in Vietnamese (vi) |
| 25509 |
* (bug 9608) Correctly use ORDER BY in dumpLinks.php |
| 25510 |
* (bug 9609) Correctly use ORDER BY in SpecialWhatlinkshere.php |
| 25511 |
* Special:Random and Special:Randomredirect now try harder to send the user to |
| 25512 |
a random page, and will give an error message if none really can be found |
| 25513 |
instead of sending the user to the main page like they used to |
| 25514 |
* Fix object variable used for displaying "not-patrolled" CSS class on list |
| 25515 |
* Fixed interaction of page parameter to ImagePage with the HTML file cache |
| 25516 |
* Fixed MIME type for SVG files, will be silently changed from image/svg |
| 25517 |
to image/svg+xml after loading from the database. |
| 25518 |
* Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump |
| 25519 |
instead. |
| 25520 |
* Fixed odd behavior in ImagePage on DjVu thumbnailing errors |
| 25521 |
* (bug 5439) "Go" title search will now jump to shared/foreign Image: and |
| 25522 |
MediaWiki: pages that have not been locally edited. |
| 25523 |
* (bug 9630) Limits links in Whatlinkshere forgot about namespace filter |
| 25524 |
* Fixed upgrade for the non-standard MySQL schemas |
| 25525 |
* Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the |
| 25526 |
various problems that occur when it is on. |
| 25527 |
* (bug 9585) Fix regression in tidy usage in Special:Undelete previews |
| 25528 |
* (bug 3826) Normalize some invalid cookie name characters when setting |
| 25529 |
up $wgCookiePrefix. Completes application of patch by Anders Kaseorg. |
| 25530 |
* (bug 9649) Fix RTL form alignment for Special:Movepage |
| 25531 |
* (bug 9582) Members of bot group now mark edits patrolled by default |
| 25532 |
* (bug 9669) Fix limit ordering for rebuildrecentchanges; broken since |
| 25533 |
converted from 1.4 to 1.5 schema |
| 25534 |
* (bug 9682) Revert PHP 5.1 dependency on warning suppression for SVN info |
| 25535 |
* (bug 5959) Anchors dropped from stub links |
| 25536 |
* (bug 3348) Some additional weak password checks: password which is same |
| 25537 |
as username will now be rejected. |
| 25538 |
* (bug 8602) Converted Special:Contributions to use an IndexPager. The |
| 25539 |
interpretation of the offset parameter has changed, and the go parameter |
| 25540 |
has been removed. |
| 25541 |
* (bug 6204) Fixes for indentation with $wgMaxTocLevel: |
| 25542 |
- don't emit too many list close tags after an invisible header |
| 25543 |
- don't emit too many final list close tags if last header is invisible |
| 25544 |
- don't emit TOC when there are no visible headers |
| 25545 |
* (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE |
| 25546 |
when certain plugins are present which alter the user agent |
| 25547 |
|
| 25548 |
|
| 25549 |
== Maintenance == |
| 25550 |
|
| 25551 |
* New script maintenance/language/checkExtensioni18n.php used to check i18n |
| 25552 |
progress in the extension repository. |
| 25553 |
* Running maintenance/parserTests.php with '--record' option, will now |
| 25554 |
automatically attempt to create the required tables |
| 25555 |
* --purge option to do additional parser-cache purging for purgeList.php |
| 25556 |
* Fix hardcoded background color in parserTests.php |
| 25557 |
* parserTests.php : removed the 'light' option for --color argument, replacing |
| 25558 |
it with a new global switch : $wgCommandLineDarkBg |
| 25559 |
* (bug 8780) Clarify message for command-line scripts if LocalSettings.php |
| 25560 |
exists but is not readable |
| 25561 |
* dumpBackup / importDump now work with PostgreSQL |
| 25562 |
* (bug 8975) Use "Maintenance script" as the default username for |
| 25563 |
importImages.php and importTextFile.php scripts |
| 25564 |
* (bug 8933) Fix maintenance/reassignEdits.php script |
| 25565 |
* (bug 9440) Added "mediawikiwiki" interwiki prefix to MediaWiki.org |
| 25566 |
* (bug 2979) Import now gracefully skips invalid titles with a warning |
| 25567 |
* Restore '--norc' option for maintenance/importTextFile.php |
| 25568 |
* Help information for maintenance/importTextFile.php now easier to read on |
| 25569 |
consoles |
| 25570 |
* Doxygen documentation now show the revision number of each file, generate |
| 25571 |
graphs using dot and include a search engine. |
| 25572 |
|
| 25573 |
|
| 25574 |
== Languages updated == |
| 25575 |
|
| 25576 |
* Arabic (ar) |
| 25577 |
* Aramaic (arc) |
| 25578 |
* Aymara (ay) |
| 25579 |
* Belarusian normative (be) |
| 25580 |
* Belarusian alternative (be-x-old) |
| 25581 |
* Bulgarian (bg) |
| 25582 |
* Bihara (bh) |
| 25583 |
* Breton (br) |
| 25584 |
* Catalan (ca) |
| 25585 |
* Czech (cs) |
| 25586 |
* Danish (da) |
| 25587 |
* German (de) |
| 25588 |
* Greek (el) |
| 25589 |
* Esperanto (eo) |
| 25590 |
* Spanish (es) |
| 25591 |
* Estonian (et) |
| 25592 |
* Basque (eu) |
| 25593 |
* Finnish (fi) |
| 25594 |
* Võro (fiu-vro) |
| 25595 |
* French (fr) |
| 25596 |
* Hebrew (he) |
| 25597 |
* Hindi (hi) |
| 25598 |
* Upper Sorbian (hsb) |
| 25599 |
* Hungarian (hu) |
| 25600 |
* Armenian (hy) |
| 25601 |
* Indonesian (id) |
| 25602 |
* Italian (it) |
| 25603 |
* Japanese (ja) |
| 25604 |
* Javanese (jv) |
| 25605 |
* Georgian (ka) |
| 25606 |
* Kabyle (kab) |
| 25607 |
* Kazakh (kk) |
| 25608 |
* Korean (ko) |
| 25609 |
* Kashmiri (ks) |
| 25610 |
* Ripuarian (ksh) |
| 25611 |
* Latin (la) |
| 25612 |
* Luganda (lg) |
| 25613 |
* Limburgish (li) |
| 25614 |
* Lithuanian (lt) |
| 25615 |
* Latvian (lv) |
| 25616 |
* Marathi (mr) |
| 25617 |
* Low Saxon (nds) |
| 25618 |
* Dutch Lower Saxon (nds-nl) |
| 25619 |
* Nepali (ne) |
| 25620 |
* Nepal Bhasa (new) |
| 25621 |
* Dutch (nl) |
| 25622 |
* Occitan (oc) |
| 25623 |
* Pali (pi) |
| 25624 |
* Polish (pl) |
| 25625 |
* Romanian (ro) |
| 25626 |
* Russian (ru) |
| 25627 |
* Sanskrit (sa) |
| 25628 |
* Sicilian (scn) |
| 25629 |
* Slovak (sk) |
| 25630 |
* Sundanese (su) |
| 25631 |
* Swedish (sv) |
| 25632 |
* Tahitian (ty) |
| 25633 |
* Ukrainian (uk) |
| 25634 |
* Urdu (ur) |
| 25635 |
* Uzbek (uz) |
| 25636 |
* Vietnamese (vi) |
| 25637 |
* Zealandic (zea) |
| 25638 |
* Old Chinese / Late Middle Chinese (zh-classical) |
| 25639 |
* Chinese (PRC) (zh-cn) |
| 25640 |
* Chinese (Taiwan) (zh-tw) |
| 25641 |
* Cantonese (zh-yue) |
| 25642 |
|
| 25643 |
== Compatibility == |
| 25644 |
|
| 25645 |
MediaWiki 1.10 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported. |
| 25646 |
|
| 25647 |
PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing: |
| 25648 |
http://bugs.php.net/bug.php?id=34879 |
| 25649 |
Upgrade affected systems to PHP 5.1 or higher. |
| 25650 |
|
| 25651 |
MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. |
| 25652 |
At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases. |
| 25653 |
|
| 25654 |
|
| 25655 |
== Upgrading == |
| 25656 |
|
| 25657 |
1.10 has several database changes since 1.9, and will not work without schema |
| 25658 |
updates. |
| 25659 |
|
| 25660 |
If upgrading from before 1.7, you may want to run refreshLinks.php to ensure |
| 25661 |
new database fields are filled with data. |
| 25662 |
|
| 25663 |
If you are upgrading from MediaWiki 1.4.x or earlier, some major database |
| 25664 |
changes are made, and there is a slightly higher chance that things could |
| 25665 |
break. Don't forget to always back up your database before upgrading! |
| 25666 |
|
| 25667 |
See the file UPGRADE for more detailed upgrade instructions. |
| 25668 |
|
| 25669 |
= MediaWiki release notes = |
| 25670 |
Security reminder: MediaWiki does not require PHP's register_globals |
| 25671 |
setting since version 1.2.0. If you have it on, turn it *off* if you can. |
| 25672 |
|
| 25673 |
= MediaWiki 1.9 = |
| 25674 |
|
| 25675 |
== MediaWiki 1.9.6 == |
| 25676 |
|
| 25677 |
March 2, 2008 |
| 25678 |
|
| 25679 |
* Correction for API path fix, broken in 1.9.5 |
| 25680 |
|
| 25681 |
== MediaWiki 1.9.5 == |
| 25682 |
|
| 25683 |
January 23, 2008 |
| 25684 |
|
| 25685 |
This is a security update to the Winter 2007 quarterly release. A potential XSS |
| 25686 |
injection vector affecting api.php only for Microsoft Internet Explorer users |
| 25687 |
has been closed. |
| 25688 |
|
| 25689 |
|
| 25690 |
To work around the vulnerability without upgrading, you may disable the API if |
| 25691 |
you don't need it: |
| 25692 |
|
| 25693 |
:[[Manual:$wgEnableAPI|$wgEnableAPI]] = false; |
| 25694 |
|
| 25695 |
Not vulnerable versions: |
| 25696 |
* 1.12 or later |
| 25697 |
* 1.11 >= 1.11.1 |
| 25698 |
* 1.10 >= 1.10.3 |
| 25699 |
* 1.9 >= 1.9.5 |
| 25700 |
* 1.8 any version (if $wgEnableAPI has been left off) |
| 25701 |
|
| 25702 |
Vulnerable versions: |
| 25703 |
* 1.11 <= 1.11.0rc1 |
| 25704 |
* 1.10 <= 1.10.2 |
| 25705 |
* 1.9 <= 1.9.4 |
| 25706 |
* 1.8 any version (if $wgEnableAPI has been switched on) |
| 25707 |
|
| 25708 |
MediaWiki 1.7 and below are not affected as they do not include the API |
| 25709 |
functionality, however the BotQuery extension is similarly vulnerable unless |
| 25710 |
updated to the latest SVN version. |
| 25711 |
|
| 25712 |
== MediaWiki 1.9.4 == |
| 25713 |
|
| 25714 |
September 10, 2007 |
| 25715 |
|
| 25716 |
This is a security and bug fix update to the Winter 2007 quarterly release. |
| 25717 |
Minor compatibility fixes for IIS 5 are included. |
| 25718 |
|
| 25719 |
* (bug [[bugzilla:8847|8847]]) Strip spurious #fragments from request URI to |
| 25720 |
fix redirect loops on some server configurations |
| 25721 |
* A possible HTML/XSS injection vector in the API pretty-printing mode has been |
| 25722 |
found and fixed. |
| 25723 |
|
| 25724 |
The vulnerability may be worked around in an unfixed version by simply |
| 25725 |
disabling the API interface if it is not in use, by adding this to |
| 25726 |
LocalSettings.php: |
| 25727 |
|
| 25728 |
:[[Manual:$wgEnableAPI|$wgEnableAPI]] = false; |
| 25729 |
|
| 25730 |
Not vulnerable versions: |
| 25731 |
* 1.11 >= 1.11.0 |
| 25732 |
* 1.10 >= 1.10.2 |
| 25733 |
* 1.9 >= 1.9.4 |
| 25734 |
* 1.8 >= 1.8.5 |
| 25735 |
|
| 25736 |
Vulnerable versions: |
| 25737 |
* 1.11 <= 1.11.0rc1 |
| 25738 |
* 1.10 <= 1.10.1 |
| 25739 |
* 1.9 <= 1.9.3 |
| 25740 |
* 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on) |
| 25741 |
|
| 25742 |
MediaWiki 1.7 and below are not affected as they do not include the faulty |
| 25743 |
function, however the BotQuery extension is similarly vulnerable unless updated |
| 25744 |
to the latest SVN version. |
| 25745 |
|
| 25746 |
== MediaWiki 1.9.3 == |
| 25747 |
|
| 25748 |
February 20, 2007 |
| 25749 |
|
| 25750 |
This is a security and bug-fix update to the Winter 2007 quarterly release. |
| 25751 |
Minor compatibility fixes for IIS and PostgreSQL are included. |
| 25752 |
|
| 25753 |
An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7 |
| 25754 |
charset autodetection was located in the AJAX support module, affecting MSIE |
| 25755 |
users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled. |
| 25756 |
|
| 25757 |
If you are using an extension based on the optional Ajax module, either disable |
| 25758 |
it or upgrade to a version containing the fix: |
| 25759 |
|
| 25760 |
* 1.9: fixed in 1.9.3 |
| 25761 |
* 1.8: fixed in 1.8.4 |
| 25762 |
* 1.7: fixed in 1.7.3 |
| 25763 |
* 1.6: fixed in 1.6.10 |
| 25764 |
|
| 25765 |
There is no known danger in the default configuration, with ''$wgUseAjax'' off. |
| 25766 |
|
| 25767 |
* ([[mediazilla:8992|8992]]) Fix a remaining raw use of REQUEST_URI in history |
| 25768 |
* ([[mediazilla:8984|8984]]) Fix a database error in |
| 25769 |
Special:Recentchangeslinked when using the PostgreSQL database. |
| 25770 |
* Add ''charset'' to Content-Type headers on various HTTP error responses to |
| 25771 |
forestall additional UTF-7-autodetect XSS issues. PHP sends only ''text/html'' |
| 25772 |
by default when the script didn't specify more details, which some |
| 25773 |
inconsiderate browsers consider a license to autodetect the deadly, |
| 25774 |
hard-to-escape UTF-7. This fixes an issue with the Ajax interface error message |
| 25775 |
on MSIE when ''$wgUseAjax'' is enabled (not default configuration); this UTF-7 |
| 25776 |
variant on a previously fixed attack vector was discovered by Moshe BA from |
| 25777 |
BugSec: [http://www.bugsec.com/articles.php?Security=24 |
| 25778 |
http://www.bugsec.com/articles.php?Security=24] |
| 25779 |
* Trackback responses now specify XML content type |
| 25780 |
|
| 25781 |
== MediaWiki 1.9.2 == |
| 25782 |
|
| 25783 |
February 4, 2007 |
| 25784 |
|
| 25785 |
This is a bug-fix update that fixes some installation and other minor issues |
| 25786 |
with the 1.9.1 release as well as a security issue which was introduced in the |
| 25787 |
1.9 branch. |
| 25788 |
|
| 25789 |
JavaScript code which regenerated the "sortable tables" feature did not |
| 25790 |
properly sanitize input, leading to an HTML injection vulnerability. |
| 25791 |
|
| 25792 |
* ([[mediazilla:8774|8774]]) Fix path for GNU FDL rights icon on new installs |
| 25793 |
* ([[mediazilla:8819|8819]]) Fix full path disclosure with skins dependencies |
| 25794 |
* ([[mediazilla:8819|8819]]) Fixed data-loss bug in compressOld batch text |
| 25795 |
compression affecting pages which had null edits (move, protect, etc) as second |
| 25796 |
edit in a batch group. Isolated and patched by Travis Derouin. |
| 25797 |
* Security fix for sortable tables JavaScript |
| 25798 |
|
| 25799 |
== MediaWiki 1.9.1 == |
| 25800 |
|
| 25801 |
January 24, 2007 |
| 25802 |
|
| 25803 |
This is a bug-fix update that fixes some installation and upgrade issues with |
| 25804 |
the original 1.9.0 release. |
| 25805 |
|
| 25806 |
* ([[mediazilla:3000|3000]]) Fall back to SCRIPT_NAME plus QUERY_STRING when |
| 25807 |
REQUEST_URI is not available, as on IIS with PHP-CGI |
| 25808 |
* Security fix for DjVu images. (Only affects servers where .djvu file uploads |
| 25809 |
are enabled and ''$wgDjvuToXML'' is set.) |
| 25810 |
* ([[mediazilla:8638|8638]]) Fix update from 1.4 and earlier |
| 25811 |
* ([[mediazilla:8641|8641]]) Fix order of updates to ipblocks table for updates |
| 25812 |
from <=1.7 |
| 25813 |
* ([[mediazilla:8673|8673]]) Minor fix for web service API content-type header |
| 25814 |
* Fix API revision list on PHP 5.2.1; bad reference assignment |
| 25815 |
* Fixed up the AjaxSearch |
| 25816 |
* Exclude settings files when generating documentation. That could expose the |
| 25817 |
database user and password to remote users. |
| 25818 |
* ar: fix the 'create a new page' on search page when no exact match found |
| 25819 |
* Correct tooltip accesskey hint for Opera on the Macintosh (uses Shift-Esc-, |
| 25820 |
not Ctrl-). |
| 25821 |
* ([[mediazilla:8719|8719]]) Firefox release notes lie! Fix tooltips for |
| 25822 |
Firefox 2 on x11; accesskeys default settings appear to be same as Windows. |
| 25823 |
|
| 25824 |
== Changes since 1.8 == |
| 25825 |
|
| 25826 |
* (bug 8200) Make category lists sorted by name when using Postgres. |
| 25827 |
* (bug 7841) Support 'IGNORE' inserts for Postgres, fixes watchlist |
| 25828 |
adding problem. |
| 25829 |
* (bug 6835) Removing the includes/Parser.php::getTemplateArgs() function, |
| 25830 |
because it seems to be unused. |
| 25831 |
* (bug 7139) Increasing the visual width of the edit summary field on larger |
| 25832 |
screen sizes, for the default monobook skin. |
| 25833 |
* Fix PHP notice and estimates for dumpBackup.php and friends |
| 25834 |
* Improved register_globals paranoia checks |
| 25835 |
* (bug 7545) Fix PHP version check on install |
| 25836 |
* Disable PHP exception backtrace printing unless $wgShowExceptionDetails |
| 25837 |
is set. Backtraces may contain sensitive information in function call |
| 25838 |
parameters. |
| 25839 |
* (bug 6164) Avoid smashing Cite state if message transformation triggers |
| 25840 |
during bad image list check, by skipping message transformation. |
| 25841 |
This isn't a good permanent fix. |
| 25842 |
* (bug 6918) Stopped borders and backgrounds from showing through floated |
| 25843 |
tables in Monobook |
| 25844 |
* (bug 6868) Un-hardcode section edit link style |
| 25845 |
* (bug 3205) Stop right floats from stacking horizontally in non-Monobook skins |
| 25846 |
* Added global $wgStyleVersion to centralize bumping CSS and JS file versions |
| 25847 |
for cache-friendly style and script updating |
| 25848 |
* (bug 7562) Fix non-ASCII namespaces on Windows/XAMPP servers |
| 25849 |
* Friendlier check for PHP 5 in command-line scripts; it's common for parallel |
| 25850 |
PHP 4 and 5 installations to interfere on the command-line. |
| 25851 |
* Fix regression in autoconfirm permission check |
| 25852 |
* (bug 3015) Add CSS ids to subcategory and page sections on category pages |
| 25853 |
* (bug 7587) Fix erroneous id for specialpage tab, enabling informative popup |
| 25854 |
* (bug 7599) Fix thumbnail purging, PHP notices on HTCP image page purge |
| 25855 |
* (bug 7581) Update language name for cbk-zam |
| 25856 |
* (bug 7444) Update namespace translations for Telugu (te), kept old values as |
| 25857 |
alias for compatibility |
| 25858 |
* (bug 4525) Move section links down visually to same level as headings |
| 25859 |
(editsection links are now inside the heading elements) |
| 25860 |
* Workaround for http://bugs.php.net/bug.php?id=31892 , PATH_INFO and hence |
| 25861 |
URLs of the style /index.php/Main_Page were broken on some CGI installations. |
| 25862 |
* (bug 7623) Validate custom HTML id's correctly in Monobook interface |
| 25863 |
* (bug 2241) Fix collision of 'w' and 'd' accesskeys |
| 25864 |
* (bug 5795) CSS class added to body based on page name for page-specific |
| 25865 |
styling |
| 25866 |
* (bug 6276) Stopped search field from getting too large in Cologne Blue |
| 25867 |
* (bug 7644) User creations that are aborted by hooks shouldn't be counted |
| 25868 |
against account creations per day limit |
| 25869 |
* (bug 7636) Show Firefox 2 users correct accesskey prefix |
| 25870 |
* (bug 6427) Block blocked IPs from using the mail password function |
| 25871 |
to allow blocking of flooders |
| 25872 |
* Include common.css from classic-style skins in main HTML with the bump URL |
| 25873 |
* (bug 7607) Add Karakalpak (kaa) to Names.php and stub message file for |
| 25874 |
linktrail |
| 25875 |
* (bug 7582) Add 'tog-nolangconversion' to MessagesEn.php. |
| 25876 |
This key is need for languages with variants (zh, sr, kk) |
| 25877 |
* (bug 7606) MediaWiki messages for "rss" and "atom" missing |
| 25878 |
* (bug 7609) Add some more '*-summary' messages to MessagesEn.php with empty |
| 25879 |
strings to allow better localisation via Special:Allmessages. Mark this new |
| 25880 |
messages as optional for localisation. |
| 25881 |
* Fix user_newpass upgrade for prefixed tables (reported by Fyren) |
| 25882 |
* (bug 7663) Include language variant switcher links on Nostalgia skin |
| 25883 |
* (bug 6531) Fix PHP fatal error on installation page with bad username input. |
| 25884 |
* (bug 6977) Remove 404 link for autogenerated database documentation. |
| 25885 |
* (bug 7369) Allow "Show Changes" without requiring edit token. |
| 25886 |
* (bug 7687) Fix movetalk box checks itself when confirming a delete and move. |
| 25887 |
* (bug 7684) Obey watchcreated preference for Special:Upload watch checkbox |
| 25888 |
* (bug 7686) Include id attribute on delete form confirmation button |
| 25889 |
* Allow compound interwiki prefixes in $wgImportSources |
| 25890 |
* (bug 7304) Added redirect table to store redirect targets. |
| 25891 |
* Added querycachetwo table (similar to querycache but has two titles) |
| 25892 |
* PageArchive can now return a Revision object for more convenient processing |
| 25893 |
of deleted revision data |
| 25894 |
* Added 'UndeleteShowRevision' hook in Special:Undelete |
| 25895 |
* Error message on attempt to view invalid or missing deleted revisions |
| 25896 |
* Remove unsightly "_" from namespace in Special:Allpages, Special:Prefixindex |
| 25897 |
* (bug 3224) Allow minor edits by bots to skip new message notification on |
| 25898 |
user talk pages. This can be disabled by adjusting the 'nominornewtalk' |
| 25899 |
permission. Patch by Werdna. |
| 25900 |
* (bug 7741) MATH: fixed broken syntax of underbrace etc. Fixed arrays |
| 25901 |
* Fix purging for updated SVG files |
| 25902 |
* (bug 7745) Add id attribute to search button in Monobook |
| 25903 |
* (bug 7749) MATH: added some more LaTeX symbols, e.g. parallel, diamond, ast... |
| 25904 |
* (bug 7304) Added code in Article.php to keep redirect table up to date. |
| 25905 |
* Made special page names case-insensitive and localisable. Care has been taken |
| 25906 |
to maintain backwards compatibility. |
| 25907 |
* Used special page subpages in a few more places, instead of query parameters. |
| 25908 |
* (bug 7758) Added wrapper span to "templates used" explanation to allow CSS |
| 25909 |
styling (class="mw-templatesUsedExplanation"). |
| 25910 |
* Added {{#special:}} parser function, to give the local default title for |
| 25911 |
special pages |
| 25912 |
* (bug 7766) Remove redundant / from AJAX requests, can break some servers |
| 25913 |
* Add tab links from extensions to classic-based skins (SkinTemplateTab hook) |
| 25914 |
Provides better cross-skin compatibility for extensions using the modern |
| 25915 |
skin hooks, such as Oversight |
| 25916 |
* Moved variant language links on Cologne Blue and Nostalgia to before the |
| 25917 |
login/logout link |
| 25918 |
* Fix for parser tests with MySQL 5 in strict mode |
| 25919 |
* Added block option "enable autoblocks" |
| 25920 |
* Amend Special:Ipblocklist to note when a block has autoblock DISABLED. |
| 25921 |
* (bug 7780) Fix regression in editing redirects |
| 25922 |
* Add whitespace above "templates included on this page" using CSS, not |
| 25923 |
hardcoded line break. |
| 25924 |
* Remove entries from redirect table on article deletion |
| 25925 |
* (bug 7788) Force section headers in new section links for users who have |
| 25926 |
'prompt for blank edit summaries' on. |
| 25927 |
* (bug 1133) Special:Emailuser: add an option to send yourself a copy of your |
| 25928 |
mail. |
| 25929 |
* (bug 461) Allow "Categories:" link at bottom of pages to be customized via |
| 25930 |
pagecategorieslink message. |
| 25931 |
* Sort the list of skins in "My Preferences" -> Skins by alphabetical order. |
| 25932 |
* (bug 7785) Postgres compatibility for timestamps in RC feeds |
| 25933 |
* (bug 7550) Normalize user parameter normally on Special:Log |
| 25934 |
* (bug 7294) Fix PATH search for diff3 on install |
| 25935 |
* Various fixes related to the blocking change re: autoblocks. On inserting |
| 25936 |
an IP block, the ipb_enable_autoblock field is now automagically blanked, |
| 25937 |
because it doesn't make any sense for an IP. Additionally, IP blocks |
| 25938 |
without the ipb_enable_autoblock option no longer show up as "autoblock |
| 25939 |
disabled" on Special:Ipblocklist. |
| 25940 |
* (bug 7774) MATH: aded more amstex functions |
| 25941 |
* (bug 1182) MATH: fixed inconsistent rendering of upper case Greek letters in |
| 25942 |
TeX |
| 25943 |
* Fix regression in streaming page dump generation |
| 25944 |
* (bug 7801) Add support for parser function hooks in parser tests |
| 25945 |
* checkUsernames.php now uses wfDebugLog instead of hardcoded path to log |
| 25946 |
* (bug 7810) Update talk namespaces for Occitan |
| 25947 |
* Allow case-sensitive URLs to be used for uploading from URLs. |
| 25948 |
* (bug 1109) Correct fix for compressed 304 responses when additional output |
| 25949 |
buffers have been installed within the compression handler |
| 25950 |
* (bug 7819) Move automatic redirect edit summary after pre-save transform |
| 25951 |
to work properly with subst: fun |
| 25952 |
* (bug 7826) Fix typos in two English messages. |
| 25953 |
* (bug 5365) Stop users being prompted to enter an edit summary for null edits, |
| 25954 |
if they have selected that option in preferences. |
| 25955 |
* (bug 5936) Show an 'm' to the left of the edit summary on diff pages for minor |
| 25956 |
edits. |
| 25957 |
* (bug 7820) Improve error reporting for uploads via URL. |
| 25958 |
* (bug 5149) When autoblocks are enabled, retroactively apply an autoblock to |
| 25959 |
the most recently used IP of a user when they are blocked. |
| 25960 |
* Add an index on (rc_user_text,rc_timestamp) on the recentchanges table. This |
| 25961 |
will make CheckUser.php and the new retroactive autoblock functionality |
| 25962 |
faster. |
| 25963 |
* Fix regression in Special:Undelete for revisions deleted under MediaWiki 1.4 |
| 25964 |
with compression or legacy encoding |
| 25965 |
* (bug 6737) Fixes for MySQL 5 schema in strict mode |
| 25966 |
* Approximate height for client-side scaling fallback instead of passing -1 |
| 25967 |
into the HTML output. |
| 25968 |
* Make the DNSBL to check for proxy blocking configurable via $wgSorbsUrl |
| 25969 |
* Add experimental recording/reporting mode to parser tests runner, to |
| 25970 |
compare changes against the previous run. |
| 25971 |
Additional tables 'testrun' and 'testitem' are in maintenance/testRunner.sql, |
| 25972 |
source this and pass --record option to parserTests.php |
| 25973 |
* Make the set of default parser test input files extensible via |
| 25974 |
$wgParserTestFiles. This can now be appended to by extensions or local |
| 25975 |
configuration files so that extension or custom tests can be automatically |
| 25976 |
run along with the main batch. |
| 25977 |
* Run PHP install version checks on update.php so command-line updaters see |
| 25978 |
new version requirements |
| 25979 |
* Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive |
| 25980 |
as of MW 1.8 than it used to be. Install or upgrade now aborts with a |
| 25981 |
warning and a request to upgrade. |
| 25982 |
* (bug 6440) Updated indexes to improve backlinking queries (links, templates, |
| 25983 |
images) |
| 25984 |
* Switched 'anon-only' block mode to default for IP blocks |
| 25985 |
* (bug 3687, 7892) Add distinct heading for media files in category display, |
| 25986 |
with count. |
| 25987 |
* (bug 1578) Add different icons for external links to audio, video, or PDF in |
| 25988 |
Monobook. |
| 25989 |
* Made autoblocks block account creation if the user block has that option |
| 25990 |
enabled. |
| 25991 |
* Add auto-summaries to blankings and large removals without summaries. |
| 25992 |
* (bug 7811) Allow preview of edit summaries. |
| 25993 |
* (bug 6839) Wikibits.js minor changes to make JS-lint happier. |
| 25994 |
* (bug 7932) Make sure that edit toolbar clears floats so it appears correctly. |
| 25995 |
* (bug 6873) When viewing old revisions, add link to diff to current version. |
| 25996 |
* (bug 3315) Provide rollback link directly on history page. |
| 25997 |
* Replace 'old-revision-navigation' message with 'revision-info' and |
| 25998 |
'revision-nav' messages, wrapped in divs with appropriate id's. |
| 25999 |
* (bug 4178) MediaWiki:Common.js will now be included for all users if |
| 26000 |
$wgUseSiteJs is enabled, in addition to (if applicable) MediaWiki:Monobook.js |
| 26001 |
and user JS subpages. |
| 26002 |
* (bug 7918) "Templates used on this page" changes during preview to reflect |
| 26003 |
any added or removed templates, and works as expected for section edits. |
| 26004 |
* (bug 7919) "Templates used on this page" is now shown for read-only pages. |
| 26005 |
* (bug 7688) When viewing diff, section anchors in autosummary jump to section |
| 26006 |
on current page instead of loading the latest version. |
| 26007 |
* (bug 7970) Use current connection explicitly on Database::getServerVersion |
| 26008 |
* (bug 2001) Tables with class="sortable" can now be dynamically sorted via |
| 26009 |
JavaScript. |
| 26010 |
* Added autosummary for new pages with 500 or less characters, and refactor |
| 26011 |
the autosummary code so it's all done in one function. doEdit is getting too |
| 26012 |
big! |
| 26013 |
* (bug 7554) The correct MIME type for SVG images is now displayed on the |
| 26014 |
image page (image/svg+xml, not image/svg). |
| 26015 |
* (bug 7883) Added autoblock whitelisting feature, using which specific ranges |
| 26016 |
can be protected from autoblocking. These ranges are specified, in list |
| 26017 |
format, in the autoblock_whitelist system message. |
| 26018 |
* Added placeholders for text injection by hooks to EditPage.php |
| 26019 |
* (bug 8009) Automatic edit summary for redirects is not filled for edits in |
| 26020 |
existing pages |
| 26021 |
* Installer support for experimental MySQL 4.1/5.0 binary-safe schema |
| 26022 |
* Use INSERT IGNORE for db-based BagOStuff add/insert, for more memcache-like |
| 26023 |
behavior when keys already exist on add (instead of dying with an error...) |
| 26024 |
* Add a hook 'UploadForm:initial' before the upload form is generated, and two |
| 26025 |
member variable for text injection into the form, which can be filled by the |
| 26026 |
hooks. |
| 26027 |
* (bug 6295) Add a "revision patching" functionality, where an edit can be |
| 26028 |
undone |
| 26029 |
(with a functionality similar to diff rev1 rev2 | patch -R rev3 -o rev3). |
| 26030 |
This is triggered by including &undo=revid in an edit URL. A link to a URL |
| 26031 |
that will undo a given edit is shown on NEW revision headers on diff pages. |
| 26032 |
The link leads to a "Show Changes" page showing what will be done to undo the |
| 26033 |
edit. |
| 26034 |
* Fix display of link in "already rolled back" message for image/category pages |
| 26035 |
* (bug 6016) Left-aligned images should stack vertically, like right-aligned |
| 26036 |
images, not horizontally. |
| 26037 |
* Patch from LeonWP: added UploadForm:BeforeProcessing hook in SpecialUpload.php |
| 26038 |
* Add AuthPluginSetup hook to override $wgAuth after configuration |
| 26039 |
* Fix regression in authentication hook auto-creation on login |
| 26040 |
* (bug 8110) Allow spaces in ISBNs |
| 26041 |
* (bug 8024) Introduce "send me copies of emails I send to others" preference |
| 26042 |
* Added 'EditPage::attemptSave' hook before an article is saved. |
| 26043 |
* (bug 8083) Applied patch for sk localisation |
| 26044 |
* Add a backslash character to the edit token, to prevent edits via certain |
| 26045 |
broken proxies that mangle such characters in form submissions |
| 26046 |
* (bug 7461) Allow overwriting pages using importTextFile.php |
| 26047 |
* (bug 7946) importTextFile.php doesn't perform pre-save transform |
| 26048 |
* (bug 8117) {{REVISIONTIMESTAMP}} showed weird default if $wgLocalTZoffset set; |
| 26049 |
now uses current time for previews and if timestamp can't be loaded from DB |
| 26050 |
* {{REVISIONTIMESTAMP}} now uses site local timezone instead of user timezone |
| 26051 |
to ensure consistent behavior |
| 26052 |
* {{REVISIONTIMESTAMP}} and friends should now work on non-MySQL backends |
| 26053 |
* (bug 7671) Observe canonical media namespace prefix in Linker::formatComment |
| 26054 |
* Added js variable wgCurRevisionId to the output |
| 26055 |
* (bug 8141) Cleanup of Parser::doTableStuff, patch by AzaTht |
| 26056 |
* (bug 8042) Make miser mode caching limits settable via $wgQueryCacheLimit |
| 26057 |
instead of hardcoding to 1000 |
| 26058 |
* Enable QueryPage classes to override list formatting |
| 26059 |
* (bug 5485) Show number of intervening revisions in diff view |
| 26060 |
* (bug 8100) Fix XHTML validity in Taiwanese localization |
| 26061 |
* Added redirect to section feature. Use it wisely. |
| 26062 |
* Added a configuration variable allowing the "break out of framesets" feature |
| 26063 |
to be switched on and off ($wgBreakFrames). Off by default. |
| 26064 |
* Allow Xml::check() $attribs parameter to override 'value' attribute |
| 26065 |
* DB schema change: added two columns (rc_old_len and rc_new_len) to the |
| 26066 |
recentchanges table to store the text lengths before and after the edit |
| 26067 |
* (bug 1085) Made Special:Recentchanges show the character difference between |
| 26068 |
the changed revisions |
| 26069 |
* Removed a redundant <strong> tag from diff pages that was causing display |
| 26070 |
issues for some users |
| 26071 |
* (bug 8203) The keyboard shortcut for "log out" was removed, because users |
| 26072 |
were pressing it when they intended to press the shortcut for "preview". |
| 26073 |
* (bug 8148) Handle non-removable output buffers gracefully when cleaning |
| 26074 |
buffers for HTTP 304 responses, StreamFile, and Special:Export. |
| 26075 |
Duplicated code merged into wfResetOutputBuffers() and wfClearOutputBuffers() |
| 26076 |
* Special:AllPages : 'next page' link now point to the first title of the next |
| 26077 |
chunk instead of pointing to the last title of current chunk. |
| 26078 |
* (bug 4673) Special:AllPages : add a 'previous' link (new message 'prevpage') |
| 26079 |
* (bug 8121) wfRandom() was not between 0 and 1 |
| 26080 |
* Add static method Parser::createAssocArgs($args), so parser functions can |
| 26081 |
use the same code to parse arguments as the templates do. |
| 26082 |
* Change behavior of logins using the temporary e-mailed password (as stored |
| 26083 |
in user_newpassword hash field). Instead of just logging in silently and |
| 26084 |
leaving the previous user_password field in place indefinitely, the user |
| 26085 |
is now prompted to set a new password. |
| 26086 |
|
| 26087 |
The password-changing form is at Special:Resetpass; currently it's only |
| 26088 |
usable for changing from the temporary password during login, but it |
| 26089 |
could perhaps be generalized, replacing the subform in preferences. |
| 26090 |
|
| 26091 |
Once the new password is set successfully, the temporary password is wiped |
| 26092 |
so it cannot be used to login a second time, and the login process |
| 26093 |
is completed. |
| 26094 |
* Suppress 'mail new password' button on login form if $wgAuth forbids |
| 26095 |
changing user passwords; it wouldn't work very well... |
| 26096 |
* Consolidate password length checks and $wgAuth manipulation into |
| 26097 |
User::setPassword() to avoid duplicate code in different places |
| 26098 |
that set passwords. |
| 26099 |
* User::setPassword() now throws PasswordError exceptions if the password |
| 26100 |
is illegal or cannot be set via $wgAuth. These can be caught and a human- |
| 26101 |
readable error message displayed by UI code. |
| 26102 |
* Added Title::isSubpage() |
| 26103 |
* (bug 8241) Don't consider user pages of User:Foo.css to be CSS subpages |
| 26104 |
* Set an explicit class on framed thumbnail inner divs and images, changed some |
| 26105 |
CSS to use these instead of using descendent selectors. |
| 26106 |
* Accept null parameter to User::setPassword() as indicating the password |
| 26107 |
field should be cleared to an unusable state. Login will only be possible |
| 26108 |
after the password is reset, for instance by e-mail. |
| 26109 |
* (bug 6394) Invalidate the password set for "by e-mail" account creations |
| 26110 |
to avoid accidental empty password creations. |
| 26111 |
* Made the show change size function work on page moves, page creations, and |
| 26112 |
log entries. Also fixed it in the javascript recentchanges. |
| 26113 |
* (bug 8239) correctly get 50 new contributions when clicking '(50 next)' |
| 26114 |
* (bug 2259) Fix old regression where e-mail addresses were no longer |
| 26115 |
confirmed on login with mailed password. |
| 26116 |
* Add a notification about the confirmation mail sent during account |
| 26117 |
creation, so people don't immediately go off to request a second one. |
| 26118 |
* Add a warning on Special:Confirmemail if a code was already sent and has |
| 26119 |
not yet expired. |
| 26120 |
* Add user_editcount field to provide data for heuristics on account use. |
| 26121 |
Incremented on edit, with lazy initialization from past revision data. |
| 26122 |
Can batch-initialize with maintenance/initEditCount.php (not yet friendly |
| 26123 |
to replication environments, this will do all accounts in one query). |
| 26124 |
* Allow raw SQL subsections in Database::update() SET portion as well as |
| 26125 |
for WHERE portion. Handy for increments and such. |
| 26126 |
* User::getOption now accept a default value to override default user values |
| 26127 |
this makes it consistent with WebRequest::get* methods. Corrected code in |
| 26128 |
various places accordingly. |
| 26129 |
* (bug 8264) Fix JavaScript global vars for XHTML mode |
| 26130 |
* Make $wgSiteNotice value wikitext again, for consistency with editable |
| 26131 |
MediaWiki:Sitenotice and MediaWiki:Anonnotice. |
| 26132 |
* (bug 8044) When redirecting from the canonical name of the special page |
| 26133 |
to the localised one, parameters/subpages are omitted |
| 26134 |
* (bug 8164) Special:Booksources should use GET for form submission |
| 26135 |
* Rewrite Special:Booksources to clean up interface and remove redundant code |
| 26136 |
* (bug 7925) Change Special:Allmessages message name filter javascript to be |
| 26137 |
a bit more responsive and easier on the CPU |
| 26138 |
* (bug 4488) Support watching pages on deletion; introduces new user preference |
| 26139 |
* Minor restructuring of Special:Preferences; "watch pages I edit" and "watch |
| 26140 |
pages I create" options now accessible under "Watchlist" options |
| 26141 |
* (bug 8153) <nowiki> doesn't work in site notice |
| 26142 |
* (bug 6690) wfMsgNoTrans() transforms messages |
| 26143 |
* (bug 8274) Wrap edit tools in a <div> with a specified class |
| 26144 |
* Detect PHP 5.0.x 64-bit bug and abort in WebStart.php; too many things break |
| 26145 |
mysteriously otherwise (detection code copied from install-utils.inc) |
| 26146 |
* (bug 8295) Change handling of <center> tags in doBlockLevels() to match that |
| 26147 |
of <div> |
| 26148 |
* (bug 8110) Make magic ISBN linking stricter: only match ten-digit sequences |
| 26149 |
(plus optional ISBN-13 prefix) with no immediately following alphanumeric |
| 26150 |
character, disallow multiple consecutive internal redirects |
| 26151 |
* (bug 2785) Accept optional colon prefix in links when formatting comments |
| 26152 |
* Don't show "you can view and copy the source of this page" message for |
| 26153 |
pages which don't exist |
| 26154 |
* (bug 8310) Blank line added to top of 'post' when page is blank |
| 26155 |
* (bug 8109) Template parameters ignored in "recentchangestext" |
| 26156 |
* Gracefully skip redirect-to-fragment on WebKit versions less than 420; |
| 26157 |
it messes up on current versions of Safari but is ok in the latest |
| 26158 |
nightlies. Checking the version number will allow it to automatically |
| 26159 |
work when new releases of Safari appear. |
| 26160 |
* Fix regression in thumb styles; size and padding didn't match with |
| 26161 |
new arrangement. |
| 26162 |
* (bug 8333) Fix quick user data update on login password change on |
| 26163 |
replication database setups. User data is now pulled from master |
| 26164 |
instead of slave in User::loadFromDatabase, ensuring that it is |
| 26165 |
fresh and accurate when read and then saved back into cache. |
| 26166 |
This was breaking with the Special:Rename operation which |
| 26167 |
automatically logs the user in with the new password after changing |
| 26168 |
it; pulling from slave meant the record was often not the updated |
| 26169 |
one. |
| 26170 |
* (bug 8335) Set image width to the first valid parameter found. |
| 26171 |
* (bug 8350) Fix watchlist viewing bug when using Postgres. |
| 26172 |
* (bug 6603) When warning about invalid file extensions, output the bit |
| 26173 |
of the extension we actually checked |
| 26174 |
* (bug 7669) Drop defaults on BLOB/TEXT columns for better compatibility |
| 26175 |
with MySQL's strict mode, often enabled by the Windows installer. |
| 26176 |
The defaults are ignored anyway when strict mode is off... |
| 26177 |
* (bug 7685) Use explicit values for ar_text and ar_flags when deleting, |
| 26178 |
for better compatibility with MySQL's strict mode |
| 26179 |
* Update default interwiki values to reflect changed location of ursine: |
| 26180 |
* (bug 5411) Remove autopatrol preference |
| 26181 |
* Users who have the "autopatrol" permission will have their edits marked as |
| 26182 |
patrolled automatically |
| 26183 |
* Users who do not have the "autopatrol" permission will no longer be able |
| 26184 |
to mark their own edits as patrolled |
| 26185 |
* Introduce 'PingLimiter' hook; see docs/hooks.txt for more information |
| 26186 |
* (bug 532) Tweaked alt text for some interface messages |
| 26187 |
* (bug 8231) Gave useful alt text to the main <img> on image pages |
| 26188 |
* (bug 371) Remove alt text for "Enlarge" icon on thumbnails |
| 26189 |
* Initialize user_editcount to 0 instead of NULL for newly created accounts |
| 26190 |
* (bug 3696) Strip LRM and RLM characters from titles to work around the |
| 26191 |
problem some people have where titles cut-and-pasted from lists include |
| 26192 |
the bidi override characters appended to the lists. |
| 26193 |
A more thorough blacklist for forbidden and translatable characters would |
| 26194 |
be wise, though, as might a cleaner method for the lists in the first place. |
| 26195 |
* Fix regression in email password resets on read-restricted sites |
| 26196 |
* Set tabindex on fields in deletion form so you don't have to tab through |
| 26197 |
the links in the sitenotice |
| 26198 |
* (bug 8271) Show full time and date on viewer for individual deleted |
| 26199 |
revisions |
| 26200 |
* (bug 8214) Output file size limit and actual file size in appropriate units |
| 26201 |
on Special:Upload |
| 26202 |
* (bug 8016) Purge objectcache table during upgrade processes - use the |
| 26203 |
--nopurge option to prevent this when running maintenance/update.php |
| 26204 |
* (bug 7612) Remove superfluous link to Special:Categories from result items |
| 26205 |
on Special:Mostcategories |
| 26206 |
* {{PLURAL:}} now handles formatted numbers correctly |
| 26207 |
* (bug 8331) Added the change size value to watchlists; therefore made |
| 26208 |
watchlists use RecentChange::newFromRow() instead of newFromCurRow() |
| 26209 |
* (bug 8351) Fix undo for simple reverts |
| 26210 |
* (bug 6856) User::clearNotification() does not respect read-only mode |
| 26211 |
* (bug 6853) Use a checkbox on the installer form to indicate that a superuser |
| 26212 |
account should be used; this is clearer than the old check which relied on |
| 26213 |
the password never being an obscure value |
| 26214 |
* Remove old unused watchlist cache, which was a leftover from the old schema |
| 26215 |
where watchlists were more expensive to generate |
| 26216 |
* Minor cosmetic changes to Special:Userrights |
| 26217 |
* Added wgCanonicalSpecialPageName to JavaScript variables |
| 26218 |
* Fix image deleting when using Postgres. |
| 26219 |
* Output both source and destination titles in maintenance/moveBatch.php |
| 26220 |
* Added basic parser tests for language variants |
| 26221 |
* Enable selflinks and categories to be written in some of the language variants |
| 26222 |
* Prevent conversion of JavaScript code in language variants |
| 26223 |
* Output software version number in maintenance/parserTests.php |
| 26224 |
* (bug 7169) Use Ajax to watch/unwatch articles if enabled |
| 26225 |
* Make variant table caching a little more robust, using main language code |
| 26226 |
in cache key. Probably this is still a bit wonky, though. Was breaking |
| 26227 |
parser tests when Chinese tables were getting loaded into Serbian code. |
| 26228 |
* (bug 8380) Be nicer about blank lines in deleteBatch.php |
| 26229 |
* (bug 8401) Fix regression in SORBS lookup for some DNS setups |
| 26230 |
* Use raw file descriptor in posix_isatty() check to avoid warning on |
| 26231 |
Linux systems with at least some versions of PHP |
| 26232 |
* (bug 5908) Allow overriding the default category sort key for all items on |
| 26233 |
a page using {{DEFAULTSORT}} |
| 26234 |
* (bug 6449) Throw a more definitive error message when installation fails |
| 26235 |
due to an invalid database name |
| 26236 |
* (bug 5827) Use full text for option link labels on Special:Watchlist |
| 26237 |
* (bug 8018) Allow hiding minor edits from the watchlist |
| 26238 |
* (bug 8427) MonoBook RTL IE 7.0 tweaks failed when sidebar's navigation |
| 26239 |
section is renamed; no longer relies on first section name |
| 26240 |
* Stabilize client-side table sorting even if the underlying Javascript sort() |
| 26241 |
implementation is unstable |
| 26242 |
* Add hook for extensions to add user information to the panel in preferences, |
| 26243 |
next to the user name and ID. |
| 26244 |
* (bug 8392) Display protection status of transcluded pages in the edit page |
| 26245 |
template list. Patch by Fyren, with i18n naming tweak. |
| 26246 |
* Fix for interwiki transclusion where target wiki uses query string for title |
| 26247 |
* Resolve namespaces on interwiki Title objects using canonical namespace names |
| 26248 |
if possible (should not happen, though, outside interwiki transclusion... and |
| 26249 |
maybe not even then, but it does) |
| 26250 |
* (bug 8447) Fix SQL typo breaking non-default $wgHitcounterUpdateFreq |
| 26251 |
* Do not allow previews of deleted images to be cached |
| 26252 |
* Add global variable $wgDefaultLanguageVariant used to set the default language |
| 26253 |
variant of a wiki to something different than the main language code |
| 26254 |
* Add 'variant' option to parserTests - runs test with the given variant as |
| 26255 |
preferred, utilize it for more parser tests of language variants code |
| 26256 |
* (bug 6503) Fix bug that stopped certain irrelevant links from being hidden |
| 26257 |
for printing |
| 26258 |
* Avoid PHP warning in Creative Commons metadata when a creative commons |
| 26259 |
license is not actually set up |
| 26260 |
* (bug 8463) Don't print external link icons for Monobook |
| 26261 |
* (bug 8461) Support watching pages on move |
| 26262 |
* (bug 8041) Work around bug with debug_backtrace when Zend Optimizer is |
| 26263 |
loaded by skipping the function. Use wfDebugBacktrace() wrapper function. |
| 26264 |
* Reduce config file clutter by setting various script and upload paths |
| 26265 |
based on $IP or $wgScriptPath in Setup.php. They can still be explicitly |
| 26266 |
overridden in LocalSettings.php if desired... |
| 26267 |
* Attempt to detect redirect loops for the canonical title redirect, and |
| 26268 |
give some hints to the poor confused administrator. |
| 26269 |
* Introduce new flag 'R' - raw output for language variant escape tags |
| 26270 |
* Advise users when updates for a query page have been disabled using |
| 26271 |
$wgDisableQueryPageUpdate |
| 26272 |
* (bug 8413) Improve comments for $wgNamespaceRobotPolicies |
| 26273 |
* (bug 8330) Show "bytes" suffix on recent changes diff counter |
| 26274 |
optionally... if set in rc-changes-size message (default empty for now) |
| 26275 |
* (bug 8489) Support basic links in <gallery> caption attribute |
| 26276 |
* (bug 8485) Correct Lingala number formatting |
| 26277 |
* The MediaWiki namespace is no longer pre-filled with default messages on |
| 26278 |
install. All default messages will be removed from the MediaWiki namespace |
| 26279 |
on upgrade. |
| 26280 |
* Recentchanges RSS/Atom feeds now use a separate message for the description |
| 26281 |
to avoid cluttering it with useless wiki formatting |
| 26282 |
* (bug 8417) Handle EXIF unknown dates |
| 26283 |
* (bug 8372) Return nothing on empty <math> tags. |
| 26284 |
* New maintenance script to show the cached statistics : showStats.php. |
| 26285 |
* Count deleted edits when regenerating total edits in maintenance/initStats.php |
| 26286 |
* (bug 3706) Allow users to be exempted from IP blocks. The ipblock-exempt |
| 26287 |
permission key has been added to enable this behavior, by default assigned to |
| 26288 |
sysops. |
| 26289 |
* (bug 7948) importDump.php now warn that Recentchanges need to be rebuild. |
| 26290 |
* (bug 7667) allow XHTML namespaces customization |
| 26291 |
* (bug 8531) Correct local name of Lingála (patch by Raymond) |
| 26292 |
* Fix regression with default lock file and cache directories; threw visible |
| 26293 |
warning with open_basedir |
| 26294 |
|
| 26295 |
|
| 26296 |
== 1.8 Compatibility changes == |
| 26297 |
|
| 26298 |
=== Zend Optimizer === |
| 26299 |
|
| 26300 |
A bug in some versions of PHP 5 and Zend Optimizer which was triggered under |
| 26301 |
MediaWiki 1.8.x has been worked around by disabling some internal debugging |
| 26302 |
features when Zend Optimizer is loaded. This should solve some common |
| 26303 |
"blank page" problems. |
| 26304 |
|
| 26305 |
=== PHP 5.0 64-bit === |
| 26306 |
|
| 26307 |
MediaWiki now checks for a condition where PHP 5.0.x corrupts array data |
| 26308 |
on 64-bit systems and warns you to upgrade PHP to solve the problem. This |
| 26309 |
bug causes Special: pages to fail on affected systems under MediaWiki 1.8 |
| 26310 |
and higher, and subtler data corruption on earlier versions. |
| 26311 |
|
| 26312 |
The only known workaround is to upgrade PHP to 5.1 or later, which you |
| 26313 |
probably should do anyway for security reasons! |
| 26314 |
|
| 26315 |
=== MySQL 5 === |
| 26316 |
|
| 26317 |
MediaWiki should now install and run correctly on MySQL 5.0 and higher when |
| 26318 |
MySQL's "strict mode" is enabled. (This is now the default for many Windows |
| 26319 |
installations, though it seems to remain off by default on Unix.) |
| 26320 |
|
| 26321 |
This fixes errors about "cannot default default value for BLOB/TEXT fields". |
| 26322 |
|
| 26323 |
=== ImageMagick === |
| 26324 |
|
| 26325 |
Note that ImageMagick older than 6.x may no longer work for image resizing |
| 26326 |
due to use of the -thumbnail option. |
| 26327 |
|
| 26328 |
|
| 26329 |
== 1.8 Behavior changes == |
| 26330 |
|
| 26331 |
=== Localized special pages === |
| 26332 |
|
| 26333 |
The names of Special: pages can now be localized, so links and URLs to them |
| 26334 |
are more legible in languages that aren't English. |
| 26335 |
|
| 26336 |
Not all languages have included localized names yet. |
| 26337 |
|
| 26338 |
=== E-mail password === |
| 26339 |
|
| 26340 |
Users are now required to set a new password for themselves when they first |
| 26341 |
log in with a newly generated e-mailed password. |
| 26342 |
|
| 26343 |
Requesting passwords frequently is prevented to reduce abusive mailbombing. |
| 26344 |
|
| 26345 |
=== Undo revision === |
| 26346 |
|
| 26347 |
An "undo" link now appears in diff view for easier reverting of older edits. |
| 26348 |
When GNU diff3 is available for edit conflict merging, this can make it much |
| 26349 |
easier to "undo" the changes of an older edit when there are surrounding |
| 26350 |
changes elsewhere in the page. |
| 26351 |
|
| 26352 |
The changes must be manually reviewed and approved, as with conventional |
| 26353 |
full-revision reverts. |
| 26354 |
|
| 26355 |
=== Blocking === |
| 26356 |
|
| 26357 |
User blocks can be set to disable the automatic blocking of IP addresses the |
| 26358 |
account logs in with. |
| 26359 |
|
| 26360 |
|
| 26361 |
== 1.8 Database changes == |
| 26362 |
|
| 26363 |
* new 'redirect' table stores data on page redirects |
| 26364 |
* new 'querycachetwo' table used for some cached special pages |
| 26365 |
* 'ipblocks' table adds 'ipb_enable_autoblock' |
| 26366 |
* 'recentchanges' table adds 'rc_old_len', 'rc_new_len' for size tracking |
| 26367 |
* 'user' table has added 'user_newpass_time' and 'user_editcount' fields |
| 26368 |
* some indexes have been updated on 'recentchanges' |
| 26369 |
|
| 26370 |
== 1.8 Configuration changes == |
| 26371 |
|
| 26372 |
Several configuration options have changed since 1.8: |
| 26373 |
|
| 26374 |
=== $wgEnableAPI === |
| 26375 |
|
| 26376 |
The experimental machine API interface is now enabled by default, read-only. |
| 26377 |
You can disable it by setting $wgEnableAPI = false; in LocalSettings.php. |
| 26378 |
|
| 26379 |
=== $wgPathInfo === |
| 26380 |
|
| 26381 |
The use of PATH_INFO (the text after the script name in 'index.php/Blah') |
| 26382 |
is controlled by the $wgUsePathInfo setting. This is now explicitly disabled |
| 26383 |
for CGI, apache2filter, and ISAPI configurations of PHP, for more consistency |
| 26384 |
with the autodetection from the installer. |
| 26385 |
|
| 26386 |
In some rarer configurations you may have to switch $wgUsePathInfo from false |
| 26387 |
to true or, perhaps, from true to false to make things work properly if bad |
| 26388 |
PATH_INFO data comes through the server. |
| 26389 |
|
| 26390 |
The wiki now tries to detect this condition and should show you an error |
| 26391 |
message describing what to change instead of sending the browser into an |
| 26392 |
infinite redirect loop. |
| 26393 |
|
| 26394 |
=== $wgScript and other path settings === |
| 26395 |
|
| 26396 |
The following configuration variables are now automatically set in Setup.php |
| 26397 |
if they are not overridden in LocalSettings.php: |
| 26398 |
|
| 26399 |
from $wgScriptPath: |
| 26400 |
+ $wgScript |
| 26401 |
| \- $wgArticlePath |
| 26402 |
+ $wgRedirectScript |
| 26403 |
+ $wgStylePath |
| 26404 |
+ $wgUploadPath |
| 26405 |
\- $wgLogo |
| 26406 |
+ $wgMathPath |
| 26407 |
|
| 26408 |
from $IP: |
| 26409 |
- $wgStyleDirectory |
| 26410 |
+ $wgUploadDirectory |
| 26411 |
\- $wgMathDirectory |
| 26412 |
+ $wgTmpDirectory |
| 26413 |
|
| 26414 |
Newly generated configuration files will by default include only $wgScriptPath |
| 26415 |
(hardcoded from the installer) and $IP (detected at runtime). |
| 26416 |
|
| 26417 |
Old configuration files which specify all these values explicitly should |
| 26418 |
continue to work just fine, but if you use the defaults you can remove them |
| 26419 |
to reduce clutter. |
| 26420 |
|
| 26421 |
=== $wgGroupPermissions === |
| 26422 |
|
| 26423 |
The sysop group now holds the "autopatrol" and "ipblock-exempt" rights by |
| 26424 |
default. |
| 26425 |
|
| 26426 |
"autopatrol" replaces the preference for marking ones own edits patrolled |
| 26427 |
by default; users holding this permission will automatically have their |
| 26428 |
edits patrolled, while others cannot mark their own edits as patrolled |
| 26429 |
even if they have patrolling rights. |
| 26430 |
|
| 26431 |
"ipblock-exempt" excludes the user from IP blocks; accounts which are blocked |
| 26432 |
explicitly by name will still be blocked, however. This is given to sysops |
| 26433 |
to minimize annoyance from accidental "collateral damage"; remember that a |
| 26434 |
sysop will be able to lift the block if they desire. |
| 26435 |
|
| 26436 |
The bot group now holds the "nominornewtalk" right. A user with this right |
| 26437 |
will not trigger new message notifications when making minor edits to user |
| 26438 |
talk pages. This is meant to minimize annoyance from maintenance bot |
| 26439 |
processes. |
| 26440 |
|
| 26441 |
=== $wgUseWatchlistCache === |
| 26442 |
|
| 26443 |
Watchlist caching has been removed. The feature was not maintained, and has |
| 26444 |
been unnecessary since switching to the 'recentchanges' database table |
| 26445 |
reduced server pressure for Wikipedia's watchlists. |
| 26446 |
|
| 26447 |
=== $wgBreakFrames === |
| 26448 |
|
| 26449 |
MediaWiki in the past attempted to detect when it was embedded in a frameset |
| 26450 |
and "break out" of it, assuming it to be hostile. |
| 26451 |
|
| 26452 |
This behavior is now disabled by default, but can be reenabled by setting |
| 26453 |
$wgBreakFrames to true in LocalSettings.php. |
| 26454 |
|
| 26455 |
|
| 26456 |
== 1.8 New settings == |
| 26457 |
|
| 26458 |
=== $wgVariantArticlePath === |
| 26459 |
|
| 26460 |
For languages with script variant support (Chinese, Serbian, and others), |
| 26461 |
it's possible to use alternate URL paths to select the variant for article |
| 26462 |
display, setting $wgVariantArticlePath. |
| 26463 |
|
| 26464 |
Documentation for this setting would be useful. |
| 26465 |
|
| 26466 |
=== $wgMaxMsgCacheEntrySize === |
| 26467 |
|
| 26468 |
The message cache can now skip items larger than a given size; this allows |
| 26469 |
it to better handle the primary caching case when large CSS and JS blobs are |
| 26470 |
present. |
| 26471 |
|
| 26472 |
=== $wgStyleVersion === |
| 26473 |
|
| 26474 |
When making significant changes to skin stylesheets and JavaScript files, |
| 26475 |
you can append a string to this variable to tweak the generated URLs, |
| 26476 |
forcing newly rendered pages to bring in a fresh version despite server- |
| 26477 |
or browser-side caching. |
| 26478 |
|
| 26479 |
Normally this will be set in the course of MediaWiki development, but |
| 26480 |
if doing development on a custom skin you may wish to poke it as well. |
| 26481 |
|
| 26482 |
=== $wgRCShowChangedSize === |
| 26483 |
|
| 26484 |
Special:Recentchanges and Special:Watchlist now show the number of bytes |
| 26485 |
added or removed to an article to give an idea of the size of the edit. |
| 26486 |
This information was previously available only in the IRC update feeds. |
| 26487 |
|
| 26488 |
To disable this site-wide, set $wgRCShowChangedSize to false. |
| 26489 |
(Individual users can suppress the data in custom CSS.) |
| 26490 |
|
| 26491 |
Adjust $wgRCChangedSizeThreshold to trigger highlighting of particularly |
| 26492 |
large changes. |
| 26493 |
|
| 26494 |
The formatting of the size figure can be adjusted through the |
| 26495 |
[[MediaWiki:Rc-change-size]] message. |
| 26496 |
|
| 26497 |
=== $wgQueryCacheLimit === |
| 26498 |
|
| 26499 |
The number of rows stored for "expensive" special pages in miser mode |
| 26500 |
can now be adjusted up or down from the default 1000. |
| 26501 |
|
| 26502 |
=== $wgDisableQueryPageUpdate === |
| 26503 |
|
| 26504 |
Individual "expensive" special pages can be skipped in processing by |
| 26505 |
updateSpecialPages if added to this list. |
| 26506 |
|
| 26507 |
=== $wgSorbsUrl === |
| 26508 |
|
| 26509 |
The base hostname for the DNS-based proxy blacklist can now be overridden |
| 26510 |
when $wgEnableSorbs is set, to use a different blacklist instead of SORBS. |
| 26511 |
The blacklist would need to respond the same was as SORBS; any positive |
| 26512 |
response will be taken as a proxy. |
| 26513 |
|
| 26514 |
=== $wgAjaxWatch === |
| 26515 |
|
| 26516 |
Experimental AJAX mode for the watch/unwatch tabs to execute inline. |
| 26517 |
Does not include the UI messages describing how to reach the watchlist, |
| 26518 |
so you may not want it on a general-audience site just yet. |
| 26519 |
|
| 26520 |
=== $wgParserTestFiles === |
| 26521 |
|
| 26522 |
MediaWiki's parser test suite can now be expanded with additional test |
| 26523 |
files. Custom extensions can add their test files to this array, and |
| 26524 |
they will be run along with the main tests by maintenance/parserTests.php |
| 26525 |
|
| 26526 |
= MediaWiki 1.8= |
| 26527 |
|
| 26528 |
== MediaWiki 1.8.5 == |
| 26529 |
|
| 26530 |
September 10, 2007 |
| 26531 |
|
| 26532 |
This is a security fix update to the Fall 2006 quarterly release snapshot. A |
| 26533 |
possible HTML/XSS injection vector in the API pretty-printing mode has been |
| 26534 |
found and fixed. |
| 26535 |
|
| 26536 |
The vulnerability may be worked around in an unfixed version by simply |
| 26537 |
disabling the API interface if it is not in use, by adding this to |
| 26538 |
LocalSettings.php: |
| 26539 |
|
| 26540 |
:[[Manual:$wgEnableAPI|$wgEnableAPI]] = false; |
| 26541 |
|
| 26542 |
(This is the default setting in 1.8.x.) |
| 26543 |
|
| 26544 |
Not vulnerable versions: |
| 26545 |
* 1.11 >= 1.11.0 |
| 26546 |
* 1.10 >= 1.10.2 |
| 26547 |
* 1.9 >= 1.9.4 |
| 26548 |
* 1.8 >= 1.8.5 |
| 26549 |
|
| 26550 |
Vulnerable versions: |
| 26551 |
* 1.11 <= 1.11.0rc1 |
| 26552 |
* 1.10 <= 1.10.1 |
| 26553 |
* 1.9 <= 1.9.3 |
| 26554 |
* 1.8 <= 1.8.4 (if $wgEnableAPI has been switched on) |
| 26555 |
|
| 26556 |
MediaWiki 1.7 and below are not affected as they do not include the faulty |
| 26557 |
function, however the BotQuery extension is similarly vulnerable unless updated |
| 26558 |
to the latest SVN version. |
| 26559 |
|
| 26560 |
== MediaWiki 1.8.4 == |
| 26561 |
|
| 26562 |
February 20, 2007 |
| 26563 |
|
| 26564 |
This is a security and bug-fix update to the Fall 2006 quarterly release. |
| 26565 |
|
| 26566 |
An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7 |
| 26567 |
charset autodetection was located in the AJAX support module, affecting MSIE |
| 26568 |
users on MediaWiki 1.6.x and up when the optional setting |
| 26569 |
[[Manual:$wgUseAjax|$wgUseAjax]] is enabled. |
| 26570 |
|
| 26571 |
If you are using an extension based on the optional Ajax module, either disable |
| 26572 |
it or upgrade to a version containing the fix: |
| 26573 |
* 1.9: fixed in 1.9.3 |
| 26574 |
* 1.8: fixed in 1.8.4 |
| 26575 |
* 1.7: fixed in 1.7.3 |
| 26576 |
* 1.6: fixed in 1.6.10 |
| 26577 |
|
| 26578 |
There is no known danger in the default configuration, with $wgUseAjax off. |
| 26579 |
|
| 26580 |
* (bug [[bugzilla:8819|8819]]) Fix full path disclosure with skins dependencies |
| 26581 |
* Add 'charset' to Content-Type headers on various HTTP error responses to |
| 26582 |
forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by |
| 26583 |
default when the script didn't specify more details, which some inconsiderate |
| 26584 |
browsers consider a license to autodetect the deadly, hard-to-escape UTF-7. |
| 26585 |
This fixes an issue with the Ajax interface error message on MSIE when |
| 26586 |
[[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this |
| 26587 |
UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA |
| 26588 |
from BugSec: http://www.bugsec.com/articles.php?Security=24 |
| 26589 |
* Trackback responses now specify XML content type |
| 26590 |
|
| 26591 |
== MediaWiki 1.8.3 == |
| 26592 |
|
| 26593 |
January 9, 2007 |
| 26594 |
|
| 26595 |
MediaWiki 1.8.3 fixes several issues in the Fall 2006 snapshot release: |
| 26596 |
|
| 26597 |
* ([[mediazilla:7831|7831]]) Regression in AutoAuthenticate hook |
| 26598 |
* Run PHP install version checks on update.php so command-line updaters see new |
| 26599 |
version requirements |
| 26600 |
* Do a check for the PHP 5.0.x 64-bit bug, since this is much more disruptive |
| 26601 |
as of MW 1.8 than it used to be. Install or upgrade now aborts with a warning |
| 26602 |
and a request to upgrade. |
| 26603 |
* XSS fix in AJAX module |
| 26604 |
|
| 26605 |
An XSS injection vulnerability was located in the AJAX support module, |
| 26606 |
affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is |
| 26607 |
enabled. |
| 26608 |
|
| 26609 |
There is no danger in the default configuration, with $wgUseAjax off. |
| 26610 |
|
| 26611 |
If you are using an extension based on the optional AJAX module, either disable |
| 26612 |
it or upgrade to a version containing the fix: |
| 26613 |
|
| 26614 |
== MediaWiki 1.8.2 == |
| 26615 |
|
| 26616 |
October 13, 2006 |
| 26617 |
|
| 26618 |
MediaWiki 1.8.2 fixes several issues in the Fall 2006 snapshot release: |
| 26619 |
|
| 26620 |
* ([[mediazilla:7565|7565]]) Fixed typos in German localisation |
| 26621 |
* ([[mediazilla:7562|7562]]) Fix non-ASCII namespaces on Windows/XAMPP servers |
| 26622 |
|
| 26623 |
== MediaWiki 1.8.1 == |
| 26624 |
|
| 26625 |
October 11, 2006 |
| 26626 |
|
| 26627 |
MediaWiki 1.8.1 fixes several issues in the Fall 2006 snapshot release: |
| 26628 |
|
| 26629 |
* Fix PHP notice and estimates for dumpBackup.php and friends |
| 26630 |
* Improved register_globals paranoia checks |
| 26631 |
* ([[mediazilla:7545|7545]]) Fix PHP version check on install |
| 26632 |
* Experimental web API disabled by default |
| 26633 |
* Disable PHP exception backtrace printing unless $wgShowExceptionDetails is |
| 26634 |
set. Backtraces may contain sensitive information in function call parameters. |
| 26635 |
|
| 26636 |
== MediaWiki 1.8.0 == |
| 26637 |
|
| 26638 |
October 10, 2006 |
| 26639 |
|
| 26640 |
This is the quarterly release snapshot for Fall 2006. While the code has been |
| 26641 |
running on Wikipedia for some time, installation and upgrade bits may be less |
| 26642 |
well tested. Bug fix releases may follow in the coming days or weeks. |
| 26643 |
|
| 26644 |
MediaWiki is now using a "continuous integration" development model with |
| 26645 |
quarterly snapshot releases. The latest development code is always kept "ready |
| 26646 |
to run", and in fact runs our own sites on Wikipedia. |
| 26647 |
|
| 26648 |
Release branches will continue to receive security updates for about a year |
| 26649 |
from first release, but nonessential bugfixes and feature development happen |
| 26650 |
will be made on the development trunk and appear in the next quarterly release. |
| 26651 |
|
| 26652 |
Those wishing to use the latest code instead of a branch release can obtain it |
| 26653 |
from source control: [[Download from SVN]] |
| 26654 |
|
| 26655 |
== Configuration changes == |
| 26656 |
* $wgUseETag, to enable/disable sending of HTTP ETag headers (default: disabled) |
| 26657 |
* $wgLegalTitleChars now includes '+' by default for better compatibility with |
| 26658 |
importing data dumps from Wikipedia |
| 26659 |
* $wgDefaultUserOptions now includes all default option settings instead of |
| 26660 |
only overrides. |
| 26661 |
|
| 26662 |
== Major new features == |
| 26663 |
* ([[mediazilla:7098|7098]]) Add an option to disable/enable sending of HTTP |
| 26664 |
ETag headers, as it seems to result in broken behaviour in combination with |
| 26665 |
Squid 2.6 (disabled by default). |
| 26666 |
* ([[mediazilla:550|550]]) Allow blocks on anonymous users only. |
| 26667 |
* ([[mediazilla:6420|6420]]) Render thumbnails for DJVU images, support |
| 26668 |
multipage DJVU display on image pages. Added new 'page=' thumbnail option to |
| 26669 |
select a page from a multipage djvu for thumbnail generation. |
| 26670 |
* Full Postgres support is now enabled. It requires version 8.1 or better, and |
| 26671 |
needs to have both plpgsql and tsearch2 already installed. |
| 26672 |
* ([[mediazilla:6386|6386]]) fix grammatical errors in danish naming of talk |
| 26673 |
namespaces. |
| 26674 |
|
| 26675 |
== Changes since 1.7 == |
| 26676 |
|
| 26677 |
* Introduced AjaxResponse object, superceding AjaxCachePolicy |
| 26678 |
* Changes to sajax_do_call: optionally accept an element to fill instead of a |
| 26679 |
callback function; take the target function or element as a third parameter; |
| 26680 |
pass the full XMLHttpRequest object to the handler function, instead of just |
| 26681 |
the resultText value; use HTTP response codes to report errors. |
| 26682 |
* (bug 6562) Removed unmaintained ParserXml.php for now |
| 26683 |
* History paging overlap bug fixed |
| 26684 |
* (bug 6586) Regression in "unblocked" subtitle |
| 26685 |
* Don't put empty-page message into view-source when page text is blank |
| 26686 |
* (bug 6587) Remove redundant "allnonarticles" message |
| 26687 |
* Block improvements: Allow blocks on anonymous users only. Optionally allow |
| 26688 |
or disallow account creation from blocked IP addresses. Prevent duplicate |
| 26689 |
blocks. Fixed the problem of expiry and unblocking erroneously affecting |
| 26690 |
multiple blocks. Fixed confusing lack of error message when a blocked user |
| 26691 |
attempts to create an account. Fixed inefficiency of Special:Ipblocklist in |
| 26692 |
the presence of large numbers of blocks; added indexes and implemented an |
| 26693 |
indexed pager. |
| 26694 |
* (bug 6448) Allow filtering of Special:Newpages according to username |
| 26695 |
* (bug 6618) Improve permissions/error detection in Special:Lockdb |
| 26696 |
* Quick hack for extension testing: parser test doesn't create new message |
| 26697 |
cache object. |
| 26698 |
* (bug 6299) Maintain parser's revision ID across recursive calls to fix |
| 26699 |
{{REVISIONID}} when Cite extension is used |
| 26700 |
* (bug 6622) Removed deprecated function Image::newFromTitle |
| 26701 |
* (bug 6627) Fix regression in Special:Ipblocklist with table prefix |
| 26702 |
* Removed forced dereferencements (new() returns a reference in PHP5) |
| 26703 |
* Note about $wgUploadSizeWarning using byte |
| 26704 |
* (bug 6592) Add most viewed pages summary to Special:Statistics |
| 26705 |
* Pre-strip characters ignored in IDNs from URLs so they can't be used |
| 26706 |
to break the blacklists for regular URLs |
| 26707 |
* Fix regression in blocking of user accounts |
| 26708 |
* (bug 6635) Fix regression searching for range blocks on Ipblocklist |
| 26709 |
* Fix regression searching Ipblocklist with ugly URLs |
| 26710 |
* (bug 6639) Use a consistent default for upload directories |
| 26711 |
* Preserve entered reason when reporting unconfirmed lock on Special:Lockdb |
| 26712 |
* (bug 6642) Don't offer to unlock the database when it isn't locked |
| 26713 |
* cleanupTitles.php changed from --dry-run option to --fix, so default |
| 26714 |
behavior is now a non-invasive check as with namespaceDupes.php |
| 26715 |
* (bug 6660) Fix behavior of EditPage::blockedPage() when the article does |
| 26716 |
not exist; now doesn't show the source box if the user hasn't provided it |
| 26717 |
(blocked mid-edit) and the page doesn't exist |
| 26718 |
* Improve default value of "blockedtext" |
| 26719 |
* (bug 6680) Added localisation for Dutch bookstore list (nl) |
| 26720 |
* Renamed maintainace script redundanttrans.php to unusedMessages.php - clearer |
| 26721 |
usage |
| 26722 |
* Fix regression which allowed some blocked users to create additional accounts |
| 26723 |
* (bug 6657) Fix Hungarian linktrail |
| 26724 |
* (bug 6751) Fix preview of blanked section with edit on first preview option |
| 26725 |
* (bug 5456) Separate MediaWiki:Search into messages for both noun and verb, |
| 26726 |
introduced 'MediaWiki:Searchbutton' |
| 26727 |
* Made lines from initialiseMessages() appear as list items during installation |
| 26728 |
* Moved the bulk of the localisation data from the Language*.php files to the |
| 26729 |
Messages*.php files. Deleted most of the Languages*.php files. |
| 26730 |
* Introduced "stub global" framework to provide deferred initialisation of core |
| 26731 |
modules. |
| 26732 |
* Removed placeholder values for $wgTitle and $wgArticle, these variables will |
| 26733 |
now be null during the initialisation process, until they are set by index.php |
| 26734 |
or another entry point. |
| 26735 |
* Added DBA cache type, for BDB-style caches. |
| 26736 |
* Removed custom date format functions, replacing them with a format string in |
| 26737 |
the style of PHP's date(). Used string identifiers instead of integer |
| 26738 |
identifiers, in both the language files and user preferences. Migration should |
| 26739 |
be transparent in most cases. |
| 26740 |
* Simplified the initialisation API for LoadBalancer objects. |
| 26741 |
* Removed the broken altencoding feature. |
| 26742 |
* Moved default user options and toggles from Language to User. Language objects |
| 26743 |
are still able to define default preference overrides and extra user toggles, |
| 26744 |
via a slightly different interface. |
| 26745 |
* Don't include the date option in the parser cache rendering hash unless |
| 26746 |
$wgUseDynamicDates is enabled. |
| 26747 |
* Merged LanguageUtf8 with Language. Removed LanguageUtf8.php. |
| 26748 |
* Removed inclusion of language files from the bottom of Language.php. This is |
| 26749 |
now consistently done from Language::factory(). |
| 26750 |
* Add the name of the executing maintenance script to the debug log. Start the |
| 26751 |
profiler during maintenance scripts. |
| 26752 |
* Added "serialized" directory, for storing precompiled data in serialized form. |
| 26753 |
* Fix regression in auto-set NS_PROJECT_TALK namespace |
| 26754 |
* Fix regression in ordering of namespaces |
| 26755 |
* (bug 6806, 6030) Added several global JS variables for article path, user |
| 26756 |
name, page title, etc. |
| 26757 |
* hooks registered with addOnloadHook are now called at the one of the html body |
| 26758 |
by all skins. |
| 26759 |
* Split ajax aided search from core ajax framework. Use wgUseAjax to enable the |
| 26760 |
framework and wgAjaxSearch to enable the suggest feature for the search box. |
| 26761 |
* Added experimental installer for extensions. |
| 26762 |
See maintenance/installExtension.php |
| 26763 |
* Added Tajic (tg) language file. |
| 26764 |
* (bug 6903) Added Cantonese localisation (zh-yue) |
| 26765 |
* Fix regression in Korean and Japanese date formatting (day of week) |
| 26766 |
* (bug 6919) Add English alias magic words for Tatar (tt) language file. |
| 26767 |
* (bug 6753) Fixed broken Kazakh linktrail (kk) |
| 26768 |
* (bug 6700) Added Kazakh language variants to Names.php |
| 26769 |
* (bug 6827) some i18n specific maintenance scripts fails after merge of |
| 26770 |
localisation-work branch |
| 26771 |
* Throwed an exception for the deprecated functions OutputPage::sysopRequired |
| 26772 |
and OutputPage::developerRequired - use OutputPage::permissionRequired |
| 26773 |
instead. |
| 26774 |
* Removed the deprecated functions User::isSysop, User::isBureaucrat and |
| 26775 |
User::isDeveloper - use User::isAllowed instead. |
| 26776 |
* (bug 769) OutputPage::permissionRequired() should suggest groups with the |
| 26777 |
needed permission |
| 26778 |
* (bug 6971) Fix regression in Special:Export history view |
| 26779 |
* Revamped Special:Imagelist |
| 26780 |
* (bug 7000) updated MessagesPl.php |
| 26781 |
* (bug 6946) Fix unexpected behavior change with GET hits to Special:Export |
| 26782 |
* (bug 1866) Improve navigation on Special:Listusers; user now a starting |
| 26783 |
point as with Special:Allpages, rather than a pure limit. |
| 26784 |
* Clean up tab order on Special:Blockip |
| 26785 |
* (bug 5969) Clean up tab order on Special:Userlogin forms |
| 26786 |
* (bug 3512) namespaceDupes now handles spaces and initial caps properly |
| 26787 |
* (bug 7037) Fix regression in login tab order |
| 26788 |
* (bug 7031) Report missing email on 'email password' instead of false success |
| 26789 |
* (bug 7010) Don't send email notifications for watched talk pages when user |
| 26790 |
has selected to receive only updates for their own talk page |
| 26791 |
* Added {{CURRENTHOUR}} |
| 26792 |
* Added [[:Image:Foo.png]] style links to the pagelinks table |
| 26793 |
* Avoid duplicate revision imports with Special:Import |
| 26794 |
* (bug 7054) Validate email address before sending email confirmation message |
| 26795 |
* (bug 7061) Format title on "from (page)" links on Special:Allpages |
| 26796 |
* (bug 7044) Introduce "padleft" and "padright" colon functions |
| 26797 |
* Pass page title as parameters to "linkshere" and "nolinkshere" and update |
| 26798 |
default message text |
| 26799 |
* Allows to upload from publicy accessible URL. Set $wgAllowCopyUploads = true; |
| 26800 |
in LocalSettings.php |
| 26801 |
Limited to $wgMaxUploadSize (default:100MB); URL upload is limited to sysops |
| 26802 |
by default, and displayed as a second line if appropriate |
| 26803 |
* (bug 832) Return to user page after emailing a user |
| 26804 |
* (bug 366) Add local-system-timezone equivalents for date/time variables |
| 26805 |
* (bug 7109) Fix Atom feed version number in header links |
| 26806 |
* (bug 7075) List registered parser function hooks on Special:Version |
| 26807 |
* (bug 7059) Introduce "anchorencode" colon function |
| 26808 |
* Include SVN revision number in {{CURRENTVERSION}} output, where applicable |
| 26809 |
* Fix bug in wfRunHooks which caused corruption of objects in the hook list |
| 26810 |
* (bug 4979) Use simplified email addresses when running on Windows |
| 26811 |
* (bug 4434) Show block log fragment on Special:Blockip |
| 26812 |
* [[MediaWiki:Disambiguationspage]] may optionally contain wiki links to any |
| 26813 |
number of disambiguation templates. |
| 26814 |
* [[Special:Disambiguations]] now shows pages in NS:0 that link to any pages |
| 26815 |
that embed any of the templates listed at [[MediaWiki:Disambiguationspage]]. |
| 26816 |
* Fix formatting of titles on Special:Undelete |
| 26817 |
* (bug 7026) Fix action=raw&templates=expand |
| 26818 |
* (bug 6976) Add namespace and direction classes to classic skins |
| 26819 |
* (bug 7144) Don't "return to main" from OutputPage::loginToUse() if the user |
| 26820 |
can't read the main page in the first place |
| 26821 |
* (bug 7188) Fix minor borkage in HTMLForm |
| 26822 |
* (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in |
| 26823 |
Special:Upload |
| 26824 |
* Add a quickie script dumpSisterSites.php for generating a page list in the |
| 26825 |
format for WSR-1 SisterSites support |
| 26826 |
* (bug 7223) Monobook.js is used for site content, should not be localized |
| 26827 |
* Set default disabled values for DjVu render options |
| 26828 |
* Added Xml::option() for generating <option>s easily |
| 26829 |
* Localized page numbers in drop-down for DjVu page selection |
| 26830 |
* Fixed linktrail for vi |
| 26831 |
* (bug 6893) "Call to a member function exists() on a non-object" on |
| 26832 |
trackback.php with bad input |
| 26833 |
* (bug 6886) PHP undefined offset on bad input to Special:Revisiondelete |
| 26834 |
* (bug 6887) PHP error for call to getId() on bad input to |
| 26835 |
Special:Revisiondelete |
| 26836 |
* (bug 6888) PHP error for call to getTimestamp() on bad input to |
| 26837 |
Special:Revisiondelete |
| 26838 |
* (bug 7252) Use dvipng support in texvc math rastrization. dvipng is required |
| 26839 |
if texvc is rebuilt. |
| 26840 |
* (bug 7279) Use wfBaseName in place of basename() in more places |
| 26841 |
* Clear newtalk marker on diff links with explicit current revision number |
| 26842 |
* (bug 7064) Replace hard-coded empty message checks with wfEmptyMsg calls |
| 26843 |
* (bug 6777) Remove some PHP 4 compat cruft |
| 26844 |
* Add --user, --comment, and --license options to importImages.php |
| 26845 |
* (bug 6216) The immobile namespace message does not mention the source page |
| 26846 |
* (bug 7299) Normalize username filter on Special:Newpages |
| 26847 |
* (bug 7306) RTL text in an LTR wiki breaks appearance of Special:Recentchanges |
| 26848 |
* (bug 7312) Don't emit SET NAMES utf8 if connection failed |
| 26849 |
* (bug 7305) Proper compare for bot check on RC notify, should fix overrides |
| 26850 |
that force edits by non-bot users to bot mode |
| 26851 |
* Set Vary: Cookie on action=raw generated CSS and JS, to ensure that user |
| 26852 |
preferences don't get stuck in proxy caches for other people |
| 26853 |
* (bug 7324) Fix error message for failure of Database::sourceFile() |
| 26854 |
* (bug 7309) Plurals: use singular form for zero in French and Brazilian |
| 26855 |
Portuguese |
| 26856 |
* Add page_no_title_convert field to support language variant conversion |
| 26857 |
for page titles which shouldn't be converted on display/linking |
| 26858 |
* Lazy extraction of text chunks in Revision objects, may reduce hits to |
| 26859 |
external storage when actual text content is not used |
| 26860 |
* Added experimental $wgRevisionCacheExpiry to cache extracted revision text |
| 26861 |
in $wgMemc, to further reduce hits to external storage. |
| 26862 |
Set to 0 (disabled) by default. |
| 26863 |
* Minor changes to the installer. |
| 26864 |
* Remove ":" for 'youremail' and 'yourrealname' in |
| 26865 |
includes/templates/Userlogin.php so that ":" could be used in i18n for |
| 26866 |
Special:Preferences (like 'username' and 'uid'). |
| 26867 |
* Fix layout for Special:Preferences->Date and Time (position for |
| 26868 |
'timezonetext'). |
| 26869 |
* Updates to language variant code for Serbian et al |
| 26870 |
* (bug 6756) Enabling RTL direction for kk-cn |
| 26871 |
* (bug 6701) Kazakh language variants in MessagesEn.php |
| 26872 |
* (bug 7335) SVN revision check in Special:Version fails on SVN 1.4 working copy |
| 26873 |
* (bug 6518) Replaced 'lastmodified' with 'lastmodifiedat' and 'lastmodifiedby' |
| 26874 |
with 'lastmodifiedatby' with separated parameters for date and time to allow |
| 26875 |
better localisation. Updated all message files to display the old format for |
| 26876 |
compatibility. |
| 26877 |
* (bug 7357) Make supposedly static methods of Skin actually static |
| 26878 |
* Added info text to Special:Deadendpages and Special:Lonelypages |
| 26879 |
* Fix regression in cachability of generated CSS and JS for MonoBook skin, |
| 26880 |
while avoiding clobbering of different users' cached data |
| 26881 |
* (bug 6849) Block @ from usernames; interferes with multi-database tools and |
| 26882 |
was meant to be banned years ago... For now existing accounts will not be |
| 26883 |
prevented fromm login. |
| 26884 |
* (bug 6092) Introduce magic words {{REVISIONDAY}}, {{REVISIONDAY2}, |
| 26885 |
{{REVISIONMONTH}}, {{REVISIONYEAR}} and {{REVISIONTIMESTAMP}} |
| 26886 |
* (bug 7425) Preceeding whitespace in [[...]] breaks subpages |
| 26887 |
* Try to reconnect after transitory database errors in dumpTextPass.php |
| 26888 |
* (bug 6023) Fixed mismatch of 0/NULL for wl_notificationtimestamp; now |
| 26889 |
notification mails are working after 'Mark all pages visited' button on |
| 26890 |
Special:Watchlist is clicked |
| 26891 |
* Made {{INT:}} a core parser function instead of a special case. The syntax |
| 26892 |
and behavior is largely unchanged. |
| 26893 |
* (bug 7448) Fixing the native name for Ewe (ee) |
| 26894 |
* (bug 6864) Replace message 'editing' with new message 'editinguser' in |
| 26895 |
Special:Userrights to allow better localisation |
| 26896 |
* Add '*-summary' for special pages to MessagesEn.php to allow |
| 26897 |
customizing/translation directly through Special:Allmessages |
| 26898 |
* (bug 6130, bug 5818) Replaced message 'go' with the new message |
| 26899 |
'searcharticle' in skins to allow better localisation |
| 26900 |
* Add + to $wgLegalTitleChars by default. Some sites may have occasional |
| 26901 |
problems with hard-to-reach pages, but it should be less trouble than |
| 26902 |
"I can't import dumps from Wikipedia" complaints |
| 26903 |
* (bug 7460) Revert broken patch for bug 7226 which slows down |
| 26904 |
Special:Allmessages by a factor of 16 |
| 26905 |
* Committed a bunch of live hacks from Wikimedia servers |
| 26906 |
* (bug 6889) PHP notices in thumb.php with missing params |
| 26907 |
* Cleaner error behavior on thumb.php with invalid page selection |
| 26908 |
* (bug 6617) Validate timestamps on Special:Undelete |
| 26909 |
* Do fewer unnecessary full writes of user rows; only update user_touched |
| 26910 |
for watch/unwatch, group membership change, and login operations |
| 26911 |
* Restructured the languages directory, to avoid problems when people |
| 26912 |
untar MW 1.8 over the top of a 1.7 installation. |
| 26913 |
* (bug 6890) SQL query error on bad input to Pager lists |
| 26914 |
due to negative LIMIT clause, caused by integer wraparound. |
| 26915 |
* Fixed various bugs related to table prefixes, especially the interaction |
| 26916 |
between table prefixes and memcached, which was formerly completely broken. |
| 26917 |
* (bug 7004) PHP iconv() notice on bad password input to Special:Userlogin. |
| 26918 |
* (bug 6826) Extend pre-save transform context link ("pipe trick") |
| 26919 |
syntax to pages with commas in title |
| 26920 |
* Use ImageMagick -thumbnail option instead of -resize to avoid including |
| 26921 |
excessive metadata in thumbs (requires ImageMagick 6.0.0 or newer). |
| 26922 |
* (bug 7499) Corrections to Swedish talk namespace names |
| 26923 |
* (bug 7508) Added option to compress HTML pages by dumpHTML.php |
| 26924 |
* (bug 7519) Add plural in SpecialWatchlist |
| 26925 |
* (bug 7459) Magic word variables are always case sensitive |
| 26926 |
* Replaced {{SERVER}}{{localurl:xxx}} with {{fullurl:xxx}} in localisation files |
| 26927 |
* Fix regression in Special:Watchlist text header |
| 26928 |
* (bug 7510) Update article counts etc on undelete |
| 26929 |
* (bug 7520) Update article counts on XML import |
| 26930 |
* (bug 7526) Make $wgDefaultUserOptions work again |
| 26931 |
* (bug 7472) Localize Help namespace for Basque |
| 26932 |
* (bug 7529) Including a non-existent category in an article places that article |
| 26933 |
in the category |
| 26934 |
* (bug 4528) Lack of important LaTeX functions stackrel, rightleftharpoon |
| 26935 |
* (bug 6721) missing symbols ulcorner, urcorner, llcorner, lrcorner, |
| 26936 |
twoheadrightarrow, twoheadleftarrow |
| 26937 |
* (bug 7367) Hyphens sometimes erroneously appended to equations when not |
| 26938 |
converted to PNG |
| 26939 |
* Add "title" to the opensearch link to allow automatic adding of the search |
| 26940 |
engine in Firefox 2 |
| 26941 |
* (bug 7537) Add php5 to $wgFileBlacklist |
| 26942 |
* (bug 6929) Restore AutoAuthenticate hook |
| 26943 |
|
| 26944 |
== Languages updated == |
| 26945 |
* Albanian (sq) |
| 26946 |
* Bashkir (ba) |
| 26947 |
* Bavarian (bar) stub file |
| 26948 |
* Belarusian (be) |
| 26949 |
* Bishnupriya (bpy) stub file |
| 26950 |
* Brazilian Portuguese (pt-br) |
| 26951 |
* Cantonese (zh-yue) |
| 26952 |
* Catalan (ca) |
| 26953 |
* Czech (cs) |
| 26954 |
* Dutch (nl) |
| 26955 |
* English (en) |
| 26956 |
* Finnish (fi) |
| 26957 |
* French (fr) |
| 26958 |
* Georgian (ka) |
| 26959 |
* German (de) |
| 26960 |
* Hebrew (he) |
| 26961 |
* Hungarian (hu) |
| 26962 |
* Indonesian (id) |
| 26963 |
* Japanese (ja) |
| 26964 |
* Korean (ko) |
| 26965 |
* Latin (la) |
| 26966 |
* Lojban (jbo) |
| 26967 |
* Macedonian (mk) |
| 26968 |
* Mazandarani (mzn) |
| 26969 |
* Polish (pl) |
| 26970 |
* Portuguese (pt) |
| 26971 |
* Ripuarian (ksh) |
| 26972 |
* Romani (rmy) |
| 26973 |
* Russian (ru) |
| 26974 |
* Slovak (sk) |
| 26975 |
* Spanish (es) |
| 26976 |
* Tajic (tg) |
| 26977 |
* Tatar (tt) |
| 26978 |
* Telugu (te) |
| 26979 |
* Uzbek (uz) |
| 26980 |
* Yiddish (yi) |
| 26981 |
|
| 26982 |
== Compatibility == |
| 26983 |
MediaWiki 1.8 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported. |
| 26984 |
|
| 26985 |
MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At |
| 26986 |
this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases. |
| 26987 |
|
| 26988 |
== Upgrading == |
| 26989 |
Some minor database changes have been made since 1.7: |
| 26990 |
* new fields and indexes on ipblocks |
| 26991 |
* index change on recentchanges |
| 26992 |
|
| 26993 |
Several changes from 1.5 and 1.6 do require updates to be run on upgrade. To |
| 26994 |
ensure that these tables are filled with data, run refreshLinks.php after the |
| 26995 |
upgrade. |
| 26996 |
|
| 26997 |
If you are upgrading from MediaWiki 1.4.x or earlier, some major database |
| 26998 |
changes are made, and there is a slightly higher chance that things could |
| 26999 |
break. Don't forget to always back up your database before upgrading! |
| 27000 |
|
| 27001 |
=== Caveats === |
| 27002 |
Some output, particularly involving user-supplied inline HTML, may not produce |
| 27003 |
100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType |
| 27004 |
= "application/xhtml+xml"; to test for remaining problem cases, but this is not |
| 27005 |
recommended on live sites. (This must be set for MathML to display properly in |
| 27006 |
Mozilla.) |
| 27007 |
|
| 27008 |
= MediaWiki 1.7= |
| 27009 |
|
| 27010 |
== MediaWiki 1.7.3 == |
| 27011 |
|
| 27012 |
February 20, 2007 |
| 27013 |
|
| 27014 |
This is a security and bug-fix update to the Summer 2006 quarterly release. |
| 27015 |
|
| 27016 |
An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7 |
| 27017 |
charset autodetection was located in the AJAX support module, affecting MSIE |
| 27018 |
users on MediaWiki 1.6.x and up when the optional setting |
| 27019 |
[[Manual:$wgUseAjax|$wgUseAjax]] is enabled. |
| 27020 |
|
| 27021 |
If you are using an extension based on the optional Ajax module, either disable |
| 27022 |
it or upgrade to a version containing the fix: |
| 27023 |
|
| 27024 |
* 1.9: fixed in 1.9.3 |
| 27025 |
* 1.8: fixed in 1.8.4 |
| 27026 |
* 1.7: fixed in 1.7.3 |
| 27027 |
* 1.6: fixed in 1.6.10 |
| 27028 |
|
| 27029 |
There is no known danger in the default configuration, with |
| 27030 |
[[Manual:$wgUseAjax|$wgUseAjax]] off. |
| 27031 |
|
| 27032 |
* Add 'charset' to Content-Type headers on various HTTP error responses to |
| 27033 |
forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by |
| 27034 |
default when the script didn't specify more details, which some inconsiderate |
| 27035 |
browsers consider a license to autodetect the deadly, hard-to-escape UTF-7. |
| 27036 |
This fixes an issue with the Ajax interface error message on MSIE when |
| 27037 |
[[Manual:$wgUseAjax|$wgUseAjax]] is enabled (not default configuration); this |
| 27038 |
UTF-7 variant on a previously fixed attack vector was discovered by Moshe BA |
| 27039 |
from BugSec: http://www.bugsec.com/articles.php?Security=24 |
| 27040 |
* Trackback responses now specify XML content type |
| 27041 |
|
| 27042 |
== MediaWiki 1.7.2 == |
| 27043 |
|
| 27044 |
January 9, 2007 |
| 27045 |
|
| 27046 |
* Note about $wgUploadSizeWarning using byte |
| 27047 |
* Update to German bookstore list (de) |
| 27048 |
* (bug [[bugzilla:6680|6680]]) Added localisation for Dutch bookstore list (nl) |
| 27049 |
* (bug [[bugzilla:6708|6708]]) Minor updates to Russian translation (ru) |
| 27050 |
* (bug [[bugzilla:6730|6730]]) Clearer usage of message 'titlematch' in German |
| 27051 |
translation (de) |
| 27052 |
* Added direction mark to Special:Listredirects |
| 27053 |
* XSS fix in AJAX module |
| 27054 |
|
| 27055 |
An XSS injection vulnerability was located in the AJAX support module, |
| 27056 |
affecting MediaWiki 1.6.x and up when the optional setting |
| 27057 |
[[Manual:$wgUseAjax|$wgUseAjax]] is enabled. |
| 27058 |
|
| 27059 |
There is no danger in the default configuration, with |
| 27060 |
[[Manual:$wgUseAjax|$wgUseAjax]] off. |
| 27061 |
|
| 27062 |
If you are using an extension based on the optional AJAX module, either disable |
| 27063 |
it or upgrade to a version containing the fix: |
| 27064 |
|
| 27065 |
* 1.9: fixed in 1.9.0rc2 |
| 27066 |
* 1.8: fixed in 1.8.3 |
| 27067 |
* 1.7: fixed in 1.7.2 |
| 27068 |
* 1.6: fixed in 1.6.9 |
| 27069 |
|
| 27070 |
|
| 27071 |
== MediaWiki 1.7.1 == |
| 27072 |
|
| 27073 |
July 8, 2006 |
| 27074 |
|
| 27075 |
MediaWiki 1.7.1 is a security and bugfix maintenance release of the Summer 2006 |
| 27076 |
snapshot: |
| 27077 |
|
| 27078 |
A potential HTML/JavaScript-injection vulnerability in a debugging script has |
| 27079 |
been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS |
| 27080 |
overwrite vulnerability are affected. |
| 27081 |
|
| 27082 |
As a workaround for existing installs, profileinfo.php may simply be deleted if |
| 27083 |
it's not being used. |
| 27084 |
|
| 27085 |
* Fix for 'emailconfirmed' implicit user group |
| 27086 |
* Fix for upgrades on some versions of MySQL 4.0.x |
| 27087 |
* Fixed potential XSS in profileinfo.php |
| 27088 |
* Installer now shows clear error message about old PHP versions rather than a |
| 27089 |
confusing parse error |
| 27090 |
|
| 27091 |
== MediaWiki 1.7.0 == |
| 27092 |
July 6, 2006 |
| 27093 |
|
| 27094 |
This is the quarterly release snapshot for Summer 2006. While the code |
| 27095 |
has been running on Wikipedia for some time, installation and upgrade |
| 27096 |
bits may be less well tested. Bug fix releases may follow in the coming |
| 27097 |
days or weeks. |
| 27098 |
|
| 27099 |
MediaWiki is now using a "[[w:en:Continuous_integration|continuous |
| 27100 |
integration]]" development model with |
| 27101 |
quarterly snapshot releases. The latest development code is always kept |
| 27102 |
"ready to run", and in fact runs our own sites on Wikipedia. |
| 27103 |
|
| 27104 |
Release branches will continue to receive security updates for about a year |
| 27105 |
from first release, but nonessential bugfixes and feature development happen |
| 27106 |
will be made on the development trunk and appear in the next quarterly release. |
| 27107 |
|
| 27108 |
Those wishing to use the latest code instead of a branch release can obtain |
| 27109 |
it from source control: [[Download from SVN]] |
| 27110 |
|
| 27111 |
== Changes since 1.6 == |
| 27112 |
|
| 27113 |
* (bug 5458) Fix double-URL encoding in block log link in contribs and contribs |
| 27114 |
link in block log |
| 27115 |
* (bug 5462) Bogus missing patch warning in updater |
| 27116 |
* (bug 5461) Use of deprecated "showhideminor" in Special:Recentchangeslinked |
| 27117 |
* PHP warning when allow_call_time_pass_reference is off |
| 27118 |
* Update to Finnish localization |
| 27119 |
* (bug 5467) Link to page histories in watchlist edit mode |
| 27120 |
* Further additions to Hebrew localisation |
| 27121 |
* (bug 5476) Invalid xhtml in German localization |
| 27122 |
* (bug 5479) Id translation for preferences tabs caption |
| 27123 |
* (bug 5493) Id translation for special pages |
| 27124 |
* Added skinname and style path parameters to CBT version of MonoBook |
| 27125 |
* Include subversion revision number in Special:Version if available |
| 27126 |
* (bug 5344) Fix regression that broke slashes in extension tag parameters |
| 27127 |
* Improve Special:Log performance on big log sets |
| 27128 |
* (bug 5507) Changed mediawiki:logouttext from plain to wikitext |
| 27129 |
* (bug 4760) Prevent creation of entries in protection log when protection |
| 27130 |
levels haven't changed |
| 27131 |
* (bug 861) Show page protection/unprotection events in histories |
| 27132 |
* (bug 5499) Don't clear the tag strip state when asked not to clear state. |
| 27133 |
Fixes regression with use of <ref> in a template breaking <nowiki> etc. |
| 27134 |
* Minor improvements to English language files |
| 27135 |
* Display the anon talk page info message on anon talk pages again |
| 27136 |
(moved outside the parser cache) |
| 27137 |
* Optional {{DISPLAYTITLE|title with markup}} magic word |
| 27138 |
Deactivated by default, set "$wgAllowDisplayTitle = true" in LocalSettings.php |
| 27139 |
to activate |
| 27140 |
* Cleaned SpecialContributions a bit |
| 27141 |
* Added a table to track interlanguage links |
| 27142 |
* (bug 5544) Fix redirect arrow in Special:Listredirects for right-to-left |
| 27143 |
languages |
| 27144 |
* Replace "doubleredirectsarrow" with a content language check that picks the |
| 27145 |
appropriate arrow |
| 27146 |
* (bug 5537) Add stub language file for Samogitian (bat-smg); inherits |
| 27147 |
Lithuanian (lt) |
| 27148 |
* Don't force edit summaries when a user is editing their own user/talk page |
| 27149 |
* (bug 5510) Warning produced when using {{SUBPAGENAME}} in some namespaces |
| 27150 |
* (bug 385) Installer support for PostgreSQL, fixes for PG compatibility |
| 27151 |
* PersistentObject removed; it doesn't do anything and was broken besides. |
| 27152 |
All extensions using it have been corrected. |
| 27153 |
* Propagate ISBN number for Booksources in LanguageNo.php |
| 27154 |
* (bug 5548) Improvements to Indonesian localisation [patch: Ivan Lanin] |
| 27155 |
* Add TALKSPACE, SUBJECTSPACE, TALKPAGENAME, SUBJECTPAGENAME (and encoded forms |
| 27156 |
for all) magic words |
| 27157 |
* (bug 5403) Fix Special:Newpages RSS/Atom feeds |
| 27158 |
* Reject malformed addresses in X-Forwarded-For entries |
| 27159 |
* (bug 3359) Add hooks on completion of file upload |
| 27160 |
* (bug 5559) Improve detection of ImageMagick [patch: Greg Turnquist] |
| 27161 |
* (bug 5475) New pages feeds ignore "limit" argument |
| 27162 |
* (bug 5184) CSS misapplied to elements in Special:Allmessages due to |
| 27163 |
conflicting anchor identifiers |
| 27164 |
* (bug 5519) Allow sidebar cache to be disabled; disable it by default. |
| 27165 |
* Maintenance script to import the contents of a text file into a wiki page |
| 27166 |
* Add $wgReservedUsernames configuration directive to block account creation/use |
| 27167 |
* (bug 5576) Remove debugging hack in session check |
| 27168 |
* (bug 5426) Lowercase treatment of titles in rights log leads to broken links |
| 27169 |
on Special:Log |
| 27170 |
* Minor improvements to French localisation files |
| 27171 |
* (bug 5181) Update "nogomatch" for Slovak |
| 27172 |
* (bug 5594) Id translation up to # Login and logout pages section |
| 27173 |
* (bug 5536) Use content language for editing help link |
| 27174 |
* Improvements to German localisation files |
| 27175 |
* (bug 5570) Problems using <special page>/parameter link form for long titles |
| 27176 |
* (bug 3884) Add $user parameter to AddNewUser hook, call it for by-email |
| 27177 |
registrations as well as self-registrations. |
| 27178 |
* (bug 4327) Report age of cached data sets in query pages |
| 27179 |
* (bug 4662) Fix Safari check in wikibits.js |
| 27180 |
* (bug 4663) Edit toolbar enabled in compatible versions of Safari |
| 27181 |
* (bug 5572) Edit toolbar enabled in compatible versions of Konqueror (3.5+) |
| 27182 |
* (bug 5235) Edit toolbar tooltips no longer show JavaScript junk in Opera |
| 27183 |
* Edit toolbar now works in pure XHTML mode (application/xhtml+xml) |
| 27184 |
* Add watchlist clear function to allow quick purging of all items |
| 27185 |
* (bug 5625) Additional namespace translations for Welsh |
| 27186 |
* Add meta tag and JavaScript variables to cached special pages which provides |
| 27187 |
the timestamp of the last update, in YYYYMMDDHHMMSS format. |
| 27188 |
* (bug 5628) More translations for MessagesHr.php |
| 27189 |
* (bug 5595) Localisation for Bosnian language (bs) |
| 27190 |
* (bug 2910) Default view preferences for watchlists |
| 27191 |
* Add "hide bot edits from the watchlist" user preference |
| 27192 |
* (bug 5250) Introduce Special:Unusedtemplates |
| 27193 |
* Add user preference setting for an extended watchlist, showing all recent |
| 27194 |
edits up to a certain edit, and not just the latest edit. |
| 27195 |
* Made MessageRo.php more general |
| 27196 |
* (bug 5640) Indonesian localisation improvements |
| 27197 |
* (bug 5592) Actions are logged with the default language for the |
| 27198 |
wiki, not the language of the user performing the operation. |
| 27199 |
* (bug 5644) Error in LanguageBs.php file |
| 27200 |
* (bug 5646) Compare for identical types in wfElement() |
| 27201 |
* (bug 5472) Language::userAdjust()->minDiff not initialized on else condition |
| 27202 |
* (bug 5386) LanguageMk.php: updated namespaces translations |
| 27203 |
* (bug 5422) Stub for Romani (rmy) language which extends ro |
| 27204 |
* Fix linktrail for LanguageSr |
| 27205 |
* (bug 5664) Fix Bosnian linktrail |
| 27206 |
* (bug 3825) Namespace filtering on Special:Newpages |
| 27207 |
* (bug 1922) When Special:Wantedpages is cached, mark links to pages |
| 27208 |
which have since been created |
| 27209 |
* (bug 5659) Change grammar hacks for Bosnian Wikimedia namespaces. |
| 27210 |
This sort of special casing should be removed and fixed properly. |
| 27211 |
* Remove useless whitespace from Special:Brokenredirects header |
| 27212 |
* Treat "allmessagesnotsupporteddb" as wikitext when echoing; change default |
| 27213 |
text |
| 27214 |
* (bug 5497) Regression in HTML normalization in 1.6 (unclosed <li>,<dd>,<dt>) |
| 27215 |
* (bug 5709) Allow customisation of separator for categories |
| 27216 |
* (bug 5684) Introduce Special:Randomredirect |
| 27217 |
* (bug 5611) Add a name attribute to the text box containing source text in |
| 27218 |
read-only pages |
| 27219 |
* Indicate when a protected page is an interface message ("protectedinterface") |
| 27220 |
* (bug 4259) Indicate when a protected page being edited is an interface message |
| 27221 |
("editinginterface") |
| 27222 |
* (bug 4834) Fix XHTML output when using $wgMaxTocLevel |
| 27223 |
* Pass login link to "whitelistedittext" containing 'returnto' parameter |
| 27224 |
* (bug 5728): mVersion missing from User::__sleep() leading to constant cache |
| 27225 |
miss |
| 27226 |
* Updated maintenance/transstat.php so it can show duplicate messages |
| 27227 |
* Improvements to update scripts; print out the version, check for superuser |
| 27228 |
credentials before attempting a connection, and produce a friendlier error if |
| 27229 |
the connection fails |
| 27230 |
* (bug 5005) Fix XHTML <gallery> output. |
| 27231 |
* (bug 5315) "Expires: -1" HTTP header made strictly valid (using 1970 date). |
| 27232 |
* (bug 4825) note in DefaultSettings.php about 'profiling' table creation |
| 27233 |
* Remove unneeded extra whitespace at top of Special:Categories |
| 27234 |
* (bug 5679) time units are now using local numerals |
| 27235 |
* (bug 5751) Updates to Portuguese localisation files |
| 27236 |
* (bug 5741) Introduce {{NUMBEROFUSERS}} magic word |
| 27237 |
* (bug 93) <nowiki> tags and tildes in templates |
| 27238 |
* The returnto parameter is now actually used by SpecialUserlogin.php |
| 27239 |
* Parser can now know that it is parsing an interface message |
| 27240 |
* (bug 4737) MediaWiki:Viewcount supports {{PLURAL}} now |
| 27241 |
* Fix bug in wfMsgExt under PHP 5.1.2 |
| 27242 |
* (bug 5761) Project talk namespace broken in Xal, Os, Udm and Cv |
| 27243 |
* Rewrite reassignEdits script to be more efficient; support optional updates to |
| 27244 |
recent changes table; add reporting and silent modes |
| 27245 |
* Cleaned up formatNum usage in langfiles |
| 27246 |
* (bug 5716) Warn when a user tries to upload a file which was previously |
| 27247 |
deleted |
| 27248 |
* (bug 5565) Add a class attribute to the table on Special:Allpages |
| 27249 |
* "lang=xx" option for parser test cases to set content language |
| 27250 |
* (bug 5764) Friulian translation updated |
| 27251 |
* (bug 5757) Fix premature cutoff in LanguageConverter with extra end markers |
| 27252 |
* (bug 5516) Show appropriate "return to" link on blocked page |
| 27253 |
* (bug 5377) Do not auto-login when creating an account as another user |
| 27254 |
* (bug 5284) Special redirect pages should remember parameters |
| 27255 |
* Suppress 7za output on dumpBackup |
| 27256 |
* (bug 5338) Reject extra initial colons in title |
| 27257 |
* (bug 5487) Escape self-closed HTML pair tags |
| 27258 |
* Add "raw suffix" magic word for some magic words, e.g. {{NUMBEROFUSERS|R}} |
| 27259 |
will produce a count minus formatting |
| 27260 |
* Fix Parser::cleanSig() to use Parser::startExternalParse() and choose an |
| 27261 |
appropriate output format given the scope of the clean |
| 27262 |
* (bug 5593) Change "bureaucrat log" to "rights log" |
| 27263 |
* Show a boilerplate "(none)" in place of a blank within the log action text for |
| 27264 |
user rights |
| 27265 |
* (bug 137) Commented out translations for copyrightwarning which mention GNU |
| 27266 |
FDL |
| 27267 |
* (bug 5723) Don't count pages linked to from the MediaWiki namespace as |
| 27268 |
"wanted" |
| 27269 |
* (bug 5696) Add a third parameter, $3, to "rcnote", passing the current time |
| 27270 |
formatted according to the current user's settings |
| 27271 |
* (bug 5780) Thousands and decimal separators for Norwegian |
| 27272 |
* Updated initStats maintenance script |
| 27273 |
* (bug 5767) Fix date formats in Vietnamese locale |
| 27274 |
* (bug 361) URL in URL, they were almost fixed. Now they are. |
| 27275 |
* (bug 4876) Add __NEWSECTIONLINK__ magic word to force the "new section" |
| 27276 |
link/tab to show up on specific pages on demand |
| 27277 |
* Bidi-aid on list pages |
| 27278 |
* (bug 5782) Allow entries in the bad image list to use canonical namespace |
| 27279 |
names |
| 27280 |
* (bug 5789) Treat "loginreqpagetext" as wikitext |
| 27281 |
* Sanitizer: now handles nested <li> in <ul> or <ol> |
| 27282 |
* (bug 5796) We require MySQL >=4.0.14 |
| 27283 |
* Add 'EmailConfirmed' hook |
| 27284 |
* New findhooks.php script to find undocumented hooks. |
| 27285 |
* Silently ignore errors on profiling table update. |
| 27286 |
* (bug 5801) Correct handling of underscores in Special:Listusers |
| 27287 |
* Clean up Special:Listusers; add an "(all)" label to the group selection box |
| 27288 |
* (bug 5812) Use appropriate link colour in Special:Mostlinked |
| 27289 |
* (bug 5802) {{CURRENTMONTHNAME}} variable broken in Vietnamese locale |
| 27290 |
* (bug 5817) Appropriate handling for Special:Recentchangeslinked where the |
| 27291 |
target page doesn't exist |
| 27292 |
* Special:Randompage now additionally accepts English namespace name as |
| 27293 |
parameter |
| 27294 |
* (bug 2981) Really fixed linktrail for Tamil (ta) |
| 27295 |
* Disallow substituting Special pages when included into a page |
| 27296 |
* (bug 5587) Clean up the languages from references to the Groups special page |
| 27297 |
* Added new group-X and group-X-member messages |
| 27298 |
* Rewritten removeUnusedAccounts to be more efficient, print names of inactive |
| 27299 |
accounts |
| 27300 |
* Redirect Special:Userlist to Special:Listusers |
| 27301 |
* Introduce $wgAllowTitlesInSVG, which allows the <title> attribute in uploaded |
| 27302 |
files bearing the image/svg MIME type. Disabled by default due to the vast |
| 27303 |
majority of web servers being hideously misconfigured. See DefaultSettings.php |
| 27304 |
for more details. |
| 27305 |
* Changed default LocalSettings.php to append the previous include path when |
| 27306 |
setting it |
| 27307 |
* (bug 5837) Use "members" for the value descriptor in Special:Categories, |
| 27308 |
Special:Wantedcategories and Special:Mostlinkedcategories. |
| 27309 |
* (bug 3309) Allow comments when undeleting pages |
| 27310 |
* Clean up Special:Undelete a bit |
| 27311 |
* (bug 5805) messages nbytes, ncategories can now use {{plural:}} |
| 27312 |
* Clean up Special:Imagelist a bit |
| 27313 |
* (bug 5838) Namespace names for Nds-NL |
| 27314 |
* (bug 5749) Added Tyvan language files |
| 27315 |
* (bug 5791) Fix SQL syntax in Special:BrokenRedirects, was causing incorrect |
| 27316 |
data to show |
| 27317 |
* (bug 5839) Prevent access to Special:Confirmemail for logged-out users |
| 27318 |
* (bug 5853) Update for Portuguese messages (pt) |
| 27319 |
* (bug 5851) Use Cyrillic for Kirghiz language name |
| 27320 |
* (bug 5841) Allow the 'EditFilter' hook to return a non-fatal error message |
| 27321 |
* (bug 5846) Link to individual group description pages in Special:Listusers |
| 27322 |
* (bug 5857) Update for German localisation (de) |
| 27323 |
* (bug 5858) Update for Russian language (ru) |
| 27324 |
* (bug 5860) Update for Indonesian language (id) |
| 27325 |
* (bug 1120) Update for Czech language (Cs) |
| 27326 |
* Added many missing formatNum calls |
| 27327 |
* Added grammar function to Belarusian (be) |
| 27328 |
* (bug 5819) Add 'PersonalUrls' hook |
| 27329 |
* (bug 5862) Update of Belarusian language (be) |
| 27330 |
* (bug 5886) Update for Portuguese messages (pt) |
| 27331 |
* (bug 5586) <gallery> treated text as links |
| 27332 |
* (bug 5878) Update for Indonesian language (id) |
| 27333 |
* (bug 5697) Update for Malay language (ms) |
| 27334 |
* (bug 5890) Update for German language (de) |
| 27335 |
* (bug 5889) Name for Sindhi language should appear as سنڌي |
| 27336 |
* --force-normal parameter on dump scripts to force check for ICU extension |
| 27337 |
* (bug 5895) Update for Dutch language (nl) |
| 27338 |
* (bug 5891) Linktrail for Polish language (pl) |
| 27339 |
* User::isBureaucrat , User::isDeveloper , User::isSysop deprecated in |
| 27340 |
v1.6 now die with a backtrace. They will be removed in v1.8 |
| 27341 |
* dumpTextPass now skips goes to database for entries that were blank in the |
| 27342 |
previous dump, as this may indicate a broken dump. |
| 27343 |
* dumpTextPass progress includes percentage of items prefetched |
| 27344 |
* dumpTextPass can now use 7zip files for prefetch |
| 27345 |
* (bug 5915) Update to Indonesian localisation (id) |
| 27346 |
* (bug 5913) Update for German localisation (de) |
| 27347 |
* (bug 5905) Plural support for Bosnian localisation (bs) |
| 27348 |
* Groups which won't hit the rate limiter now configurable with |
| 27349 |
$wgRateLimitsExcludedGroups |
| 27350 |
* (bug 5806) {{plural:}} support instead of "twin" MediaWiki messages |
| 27351 |
* (bug 5931) Update for Polish language (pl) |
| 27352 |
* Ignore the user and user talk namespaces on Special:Wantedpages |
| 27353 |
* Introduce NUMBEROFPAGES magic word |
| 27354 |
* (bug 5833) Introduce CURRENTVERSION magic word |
| 27355 |
* (bug 5370) Allow throttling of password reminder requests with the rate |
| 27356 |
limiter |
| 27357 |
* (bug 5683) Respect parser output marked as uncacheable when saving |
| 27358 |
* (bug 5918) Links autonumbering now work for all defined protocols |
| 27359 |
* (bug 5935) Improvement to German localisation (de) |
| 27360 |
* (bug 5937) Register links from gallery captions with the parent parser output |
| 27361 |
object so that link tables receive those updates too |
| 27362 |
* (bug 5845) Introduce BASEPAGENAME and BASEPAGENAMEE magic words |
| 27363 |
* (bug 5941) Use content language when getting the administrator page title for |
| 27364 |
Special:Statistics |
| 27365 |
* (bug 5949) Update to Indonesian localisation (id) |
| 27366 |
* (bug 5862) Update of Belarusian translation (be) |
| 27367 |
* (bug 5950) Improvements to French localisation |
| 27368 |
* (bug 5805) {{plural:}} support for counters in some special pages |
| 27369 |
* (bug 5952) Improvement to German localisation (de) |
| 27370 |
* Rename conflicting metadata help message to "metadata_help" (was "metadata") |
| 27371 |
and treat it as wiki text |
| 27372 |
* Improve preferences input filtering |
| 27373 |
* Maintenance script to import multiple files into the wiki |
| 27374 |
* (bug 5957) Update for Hebrew language (he) |
| 27375 |
* (bug 5962) Update for Italian language (it) |
| 27376 |
* (bug 5961) Update for Portuguese localisation (pt) |
| 27377 |
* (bug 5849) Remove some hard-coded references to "Wikipedia" in messages |
| 27378 |
* (bug 5967) Improvement to German localisation (de) |
| 27379 |
* (bug 5962) Update for Italian language (it) |
| 27380 |
* Suppress images in galleries which appear on the bad image list (when |
| 27381 |
rendering for a wiki page; galleries in special pages and categories are |
| 27382 |
unaffected) |
| 27383 |
* Maintenance script to remove orphaned revisions from the database |
| 27384 |
* (bug 5991) Update for Russian language (ru) |
| 27385 |
* (bug 6001) PAGENAMEE and FULLPAGENAMEE don't work in FULLURL and LOCALURL |
| 27386 |
magic words |
| 27387 |
* (bug 5958) Switch Uzbek language name to use latin script |
| 27388 |
* (bug 839) Add URLENCODE magic word |
| 27389 |
* (bug 6004) Update for Polish language (pl) |
| 27390 |
* (bug 5971) Improvement to German localisation (de) |
| 27391 |
* (bug 4873) Don't overwrite the subtitle navigation when viewing a redirect |
| 27392 |
page that isn't current |
| 27393 |
* (bug 2203) Namespace updates for Thai |
| 27394 |
* Fix breakage in parser test suite which caused incorrect reporting of the |
| 27395 |
failure of {{NUMBEROFFILES}}. Now initialises the site_stats table with some |
| 27396 |
dumb data. Updated the expected output for {{NUMBEROFARTICLES}} to reflect |
| 27397 |
this. |
| 27398 |
* (bug 6009) Use {{ns:project}} in messages where appropriate |
| 27399 |
* (bug 6012) Update to Indonesian localisation (id) |
| 27400 |
* (bug 6017) Update list of bookstores in German localisation files |
| 27401 |
* (bug 5187) Allow programmatically bypassing username validation, for scripts |
| 27402 |
* (bug 6025) SpecialImport: wrong message when no file selected |
| 27403 |
* (bug 6015) EditPage: add spacing in the boxes "edit is minor" and "watch this" |
| 27404 |
* (bug 6018) Userrights: new message when no user specified ('nouserspecified') |
| 27405 |
* (bug 2015) Add "\sim" to ~ conversion for HTML rendering |
| 27406 |
* (bug 6029) Improvement to German localisation (de) |
| 27407 |
* (bug 5015) Update be: magic words |
| 27408 |
* (bug 3974) Add parameter for site URL to "passwordremindertext" |
| 27409 |
* (bug 6039) Update for Portuguese localisation (pt) |
| 27410 |
* (bug 764) Add CREATE TEMPORARY TABLES to default database permissions |
| 27411 |
* Big update to Swedish localisation (sv) |
| 27412 |
* Use appropriate HTML functions to create the tool links on image pages, so |
| 27413 |
they don't look garbled when tidy isn't on |
| 27414 |
* (bug 5511) Fix URL-encoding of usernames in links on Special:Ipblocklist |
| 27415 |
* (bug 6046) Update to Indonesian localisation (id) #15 |
| 27416 |
* (bug 5523) $wgNoFollowNsExceptions to allow disabling rel="nofollow" in |
| 27417 |
specially-selected namespaces. |
| 27418 |
* (bug 6055) Fix for HTML/JS injection bug in variable handler (found by Nick |
| 27419 |
Jenkins) |
| 27420 |
* Reordered wiki table handling and __TOC__ extraction in the parser to better |
| 27421 |
handle some overlapping tag cases. |
| 27422 |
* Only the first __TOC__ is now turned into a TOC |
| 27423 |
* (bug 4610) Indicate patrolled status on watchlists and allow users to mark |
| 27424 |
changes as patrolled using the diff links there |
| 27425 |
* Add 'DiffViewHeader' hook called before diff page output |
| 27426 |
* (bug 6051) Improvement to German localisation (de) |
| 27427 |
* (bug 6054) Update to Indonesian localisation (id) #16 |
| 27428 |
* Add {{CURRENTTIMESTAMP}} magic word |
| 27429 |
* (bug 6061) Improper escaping in some html forms |
| 27430 |
* (bug 6065) Remove underscore when using NAMESPACE and TALKSPACE magics. |
| 27431 |
* (bug 6074) Correct squid purging of offsite upload URLs |
| 27432 |
* To simplify the lives of extension developers, the logging type arrays |
| 27433 |
can now be appended to directly by an extension setup function. It is |
| 27434 |
no longer necessary to write four separate functions just to add a |
| 27435 |
custom log type. |
| 27436 |
* (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages) |
| 27437 |
* Added $wgGrammarForms global |
| 27438 |
* Fixed hardcoded 'done.' when removing watchlist entries. |
| 27439 |
* (bug 5962) Update for Italian language (it) |
| 27440 |
* (bug 6086) Remove vestigial attempt to call Article::validate() |
| 27441 |
* wfHostname() function for consistent server hostname use in debug messages |
| 27442 |
* Send thumbnailing error messages to 'thumbnail' log group |
| 27443 |
* wfShellexec() now accepts an optional parameter to receive the exit code |
| 27444 |
* Failed, but not zero-length, thumbnail renderings are now removed. |
| 27445 |
Should help clean up when rsvg fails in weird ways. |
| 27446 |
* (bug 6081) Change description for Turkmen language |
| 27447 |
* Increase robustness of parser placeholders; fixes some glitches when |
| 27448 |
adjacent to identifier-ish constructs such as URLs. |
| 27449 |
* Shut up the parser test whining about files in a temp directory. |
| 27450 |
* (bug 6098) Add Aragonese language support (an) |
| 27451 |
* (bug 6101) Update for Russian language (ru) |
| 27452 |
* Add $wgIgnoreImageErrors to suppress error messages for thumbnail rendering |
| 27453 |
problems. If errors are transitory, this should reduce annoying messages |
| 27454 |
making it into cached display. |
| 27455 |
* (bug 6103) Wrap self-links in a CSS class ("selflink") |
| 27456 |
* (bug 6102) For consistency with other markup, normalize all HTML-encoded |
| 27457 |
character entities in URLs, not just ampersands. This allows use of eg |
| 27458 |
= when making URLs for template parameters. |
| 27459 |
* Markup anality: escape </ as <\/ in toolbar javascript for pure correctness |
| 27460 |
under HTML-compatible browsers. |
| 27461 |
* (bug 5077) Added hook 'BeforePageDisplay' to SkinTemplate::outputPage |
| 27462 |
* Replace fatally changed 'uploadnewversion' with 'uploadnewversion-linktext' |
| 27463 |
* (bug 472) Syndication feeds for the last few edits of page history |
| 27464 |
* Format edit comments in Recent Changes feed |
| 27465 |
* Switch incorrectly ordered column headers on Recent Changes feed diffs |
| 27466 |
* (bug 6117) Use message for history feed description, add German localization |
| 27467 |
* (bug 1017) fixed thumbnails of animated gifs. |
| 27468 |
* Add APC as object caching option |
| 27469 |
* Update to Albanian localization (sq) |
| 27470 |
* (bug 6099) Introduce {{DIRECTIONMARK}} magic word (with {{DIRMARK}} as an |
| 27471 |
alias) |
| 27472 |
* Use optimized php5-only microtime() |
| 27473 |
* Add possibility to store local message cache as PHP executable script |
| 27474 |
* Fix profiling table definition |
| 27475 |
* (bug 6040) Run pre-save transform before calculating the diff. when doing a |
| 27476 |
"show changes" operation in the editor |
| 27477 |
* (bug 4033) Respect $wgStyleDirectory when checking available skins |
| 27478 |
* Remove hideous backslashes from MessagesBr.php |
| 27479 |
* Fix APC object cache issues, add functionality to installer |
| 27480 |
* (bug 6133) Update strip state as we work. This mostly fixes extensions |
| 27481 |
used in Cite.php <ref> tags when Tidy is on. |
| 27482 |
* (bug 6139) Workaround for transclusion oddities in Vietnamese upload text |
| 27483 |
* (bug 6136) Update to Catalan language (ca) |
| 27484 |
* Update to Japanese localization (ja) |
| 27485 |
* Add /usr/local/bin to the diff3 search paths in the installer |
| 27486 |
* (bug 6106) Update to Indonesian localisation (id) #17 |
| 27487 |
* (bug 6125) Add links to edit old versions to diff views |
| 27488 |
* (bug 5127) Auto edit summary when creating/editing redirect page |
| 27489 |
* (bug 3926) Introduce {{#language:}} magic word |
| 27490 |
* Fix section links from edit comments for [[:Image:Bla.jpg]] in section titles |
| 27491 |
* (bug 6126) Allow fallback to customized primary language when user language |
| 27492 |
message contains '-'; fixes licenses selector on Commons configuration after |
| 27493 |
recent addition of the message to Messages.php |
| 27494 |
* (bug 5527) Batch up job queue insertions for, hopefully, better survivability |
| 27495 |
of lock contention etc. Duplicates are now removed at pop time instead of |
| 27496 |
at insert time. |
| 27497 |
* When showing the "blah has been undeleted" page, make sure it's a blue link |
| 27498 |
* parserTests.php accepts a --file parameter to run an alternate test sutie |
| 27499 |
* parser tests can now test extensions using !!hooks sections |
| 27500 |
* Fix oddity with open tag parameters getting stuck on </li> |
| 27501 |
* (bug 5384) Fix <!-- comments --> in <ref> extension |
| 27502 |
* Nesting of different tag extensions and comments should now work more |
| 27503 |
consistently and more safely. A cleaner, one-pass tag strip lets the |
| 27504 |
'outer' tag either take source (<nowiki>-style) or pass it down to |
| 27505 |
further parsing (<ref>-style). There should no longer be surprise |
| 27506 |
expansion of foreign extensions inside HTML output, or differences |
| 27507 |
in behavior based on the order tags are loaded. |
| 27508 |
* (bug 885) Pre-save transform no longer silently appends close tags |
| 27509 |
* Pre-save transform no longer changes the case of close tags |
| 27510 |
* (bug 6164) Fix regression with <gallery> resetting <ref> state |
| 27511 |
* Hackaround for IE 7 wrapping bug in MonoBook footer |
| 27512 |
* New message sp-newimages-showfrom replaces rclistfrom on special:newimages |
| 27513 |
* Improve handling of ;: definition list construct with overlapping or |
| 27514 |
nested HTML tags |
| 27515 |
* (bug 6171) Fix sanitizing of HTML-elements with an optional closing |
| 27516 |
tag. The sanitizer still needs to learn how to make well-formed XML |
| 27517 |
in this case. |
| 27518 |
* Fix fatal error when specifying illegal name for manual thumbnail |
| 27519 |
* (bug 6184) Use shinier Linker::userLink() to make user links in |
| 27520 |
Special:Undelete |
| 27521 |
* (bug 6170) Update for Kashubian translation (csb) |
| 27522 |
* (bug 6191) Update to Indonesian translation (id) #18 |
| 27523 |
* (bug 6114) Update to Walloon localization (wa) |
| 27524 |
* Added $wgNamespaceRobotPolicies to allow customisation of robot policies on a |
| 27525 |
per-namespace basis. |
| 27526 |
* Add <ol> to the list of block elements for doBlockLevels; avoids <p>s being |
| 27527 |
interspersed into your ordered lists. |
| 27528 |
* (bug 5021) Transcluding the same special page twice now works |
| 27529 |
* Add 'SiteNoticeBefore' and 'SiteNoticeAfter' hooks |
| 27530 |
* (bug 6182) Date passed in "sp-newimages-showfrom" not adjusted to user time |
| 27531 |
preferences |
| 27532 |
* (bug 2587) Fix for section editing with comment prefix |
| 27533 |
* (bug 2607) Fix for section editing with mix of wiki and HTML headings |
| 27534 |
* (bug 3342) Fix for section editing with headings wrapped in <noinclude> |
| 27535 |
* (bug 3476) Fix for section editing with faux headings in extensions |
| 27536 |
* (bug 5272) Fix for section editing with HTML-heading subsections |
| 27537 |
* Fix for bogus wiki headings improperly detected with following text |
| 27538 |
* Fix for HTML headings improperly not detected with preceding/following text |
| 27539 |
* Section extraction and replacement functions merged into one implementation |
| 27540 |
on the Parser object, so they can't get out of sync with each other. |
| 27541 |
* Edit security precautions in raw HTML mode, etc |
| 27542 |
* (bug 6197) Update to Indonesian translation (id) #19 |
| 27543 |
* (bug 6175) Improvement to German translation (de) |
| 27544 |
* Redirect Special:Logs to Special:Log |
| 27545 |
* (bug 6206) Linktrail for Swedish localization (se) |
| 27546 |
* (bug 3202) Attributes now allowed on <pre> tags |
| 27547 |
* Sanitizer::validateTagAttributes now available to discard illegal/unsafe |
| 27548 |
attribute values from an array. |
| 27549 |
* (bug 3837) Leave <center> as is instead of doing an unsafe text replacement |
| 27550 |
to <div class="center">. <center> is perfectly valid in the target doctype |
| 27551 |
(XHTML 1.0 Transitional), while the replacement didn't catch all cases and |
| 27552 |
could even result in invalid output from valid input. |
| 27553 |
* (bug 4280) Use 'noindex,nofollow' instead of 'noindex,follow' for default |
| 27554 |
meta robots tag on diff view and special pages. Should reduce impact of |
| 27555 |
robots on scrolling special pages, diffs etc on sites where robots.txt |
| 27556 |
doesn't forbid access. |
| 27557 |
* Regression fix: suppress warning about session failure when clicking to |
| 27558 |
edit with 'preview on first edit' enabled. |
| 27559 |
* (bug 6230) Regression fix: <nowiki> in [URL link text] |
| 27560 |
* Added AutoLoader.php, which loads classes without need of require_once() |
| 27561 |
* (bug 5981) Add plural function Slovenian (sl) |
| 27562 |
* (bug 5945) Introduce {{CONTENTLANGUAGE}} magic word |
| 27563 |
* {{PLURAL}} can now take up to five forms |
| 27564 |
* (bug 6243) Fix email for usernames containing dots when using PEAR::Mail |
| 27565 |
* Remove a number of needless {{ns:project}}-type transforms from messages |
| 27566 |
files. These usages already have separate label text. Such transforms are |
| 27567 |
wasteful on each page view. |
| 27568 |
* Update to Yiddish localization (yi) |
| 27569 |
* (bug 6254) Update to Indonesian translation (id) #20 |
| 27570 |
* (bug 6255) Fix transclusions starting with "#" or "*" in HTML attributes |
| 27571 |
* Whitespace now normalized more or less properly in HTML attributes |
| 27572 |
* Fix regression(?) in behavior of initial-whitespace-pre in <center> |
| 27573 |
* (bug 6260) Update to Interlingua localization (ia) |
| 27574 |
* Update to Vlax Romany localization (rmy) |
| 27575 |
* Update to Latin translation (la) |
| 27576 |
* Update to Dutch translation (nl) |
| 27577 |
* Avoid some notices in page history with bad input |
| 27578 |
* Use double quoted consistently on attributes in linker output; preparing |
| 27579 |
for new normalization code when tidy not in use |
| 27580 |
* Replace "nogomatch" with "noexactmatch" and place the magic colon in the |
| 27581 |
messages themselves. Some minor tweaks to the actual message content. |
| 27582 |
* Introduce $wgContentNamespaces which allows for articles to exist in |
| 27583 |
namespaces other than the main namespace, and still be counted as valid |
| 27584 |
content in the site statistics. |
| 27585 |
* (bug 5932) Introduce {{PAGESINNAMESPACE}} magic word |
| 27586 |
* Disable $wgAllowExternalImages by default. |
| 27587 |
* (bug 2700) Nice things like link completion and signatures now work in |
| 27588 |
<gallery> tags. |
| 27589 |
* Cancel output buffering in StreamFile; when used inside gzip buffering this |
| 27590 |
could cause funny timeout behavior as the Content-Length was wrong. |
| 27591 |
* Return correct content-type header with 304 responses for StreamFile; |
| 27592 |
it confuses Safari if you let it return "text/html". |
| 27593 |
* (bug 6280) Correct GRAMMAR for Slovenian localisation (sl) |
| 27594 |
* (bug 6162) Change date format for Dutch Low Saxon (nds-nl) |
| 27595 |
* (bug 6296) Update to Indonesian localisation (id) #21 |
| 27596 |
* Introduce EditFormPreloadText hook, see docs/hooks.txt for more information |
| 27597 |
* (bug 4054) Add "boteditletter" to recent changes flags |
| 27598 |
* Update to Catalan localization (ca) |
| 27599 |
* (bug 2099) Deleted image files can now be archived and undeleted. |
| 27600 |
Set $wgSaveDeletedFiles on and an appropriate directory path in |
| 27601 |
$wgFileStore['deleted']['directory'] |
| 27602 |
* (bug 6324) Fix regression in enhanced RC alignment |
| 27603 |
* Introduce {{NUMBEROFADMINS}} magic word |
| 27604 |
* Update to Slovak translation (sk) |
| 27605 |
* Update to Alemannic localization (gsw) |
| 27606 |
* (bug 6300) Bug fixes for sr: variants |
| 27607 |
* namespaceDupes.php can now accept an arbitrary prefix, for checking rogue |
| 27608 |
interwikis and such. Not yet fully automated. |
| 27609 |
* (bug 6344) Add Special:Uncategorizedimages page |
| 27610 |
* (bug 6357) Update to Russian translation (ru) |
| 27611 |
* Workaround possible bug in Firefox nightlies by properly removing the |
| 27612 |
Content-Encoding header instead of sending explicit 'identity' value |
| 27613 |
in StreamFile |
| 27614 |
* (bug 6304) Show timestamp for current revision in diff pages |
| 27615 |
* Vertically align current version with old version header in diff display |
| 27616 |
* (bug 6174) Remove redundant "emailforlost" message |
| 27617 |
* (bug 6189) Show an error to an unprivileged user trying to create account |
| 27618 |
* (bug 6365) Show user information in the "old revision" navigation links |
| 27619 |
* Introduce 'FetchChangesList' hook; see docs/hooks.txt for more information |
| 27620 |
* (bug 6345) Update to Indonesian localisation (id) #22 |
| 27621 |
* (bug 6279) Add genitive month names to Slovenian localisation |
| 27622 |
* (bug 6351) Update to German translation (de) |
| 27623 |
* Respect language directionality when displaying arrow in |
| 27624 |
Special:Brokenredirects |
| 27625 |
* Remove unused "validation" table definitions from the schema files |
| 27626 |
* (bug 6398) Work around apparent PCRE bug breaking section editing when |
| 27627 |
massively-indented preformatted text immediately followed a header |
| 27628 |
* (bug 6392) Fix misbehaving <br /> in preferences form |
| 27629 |
* Add translated magic words to Hebrew localization |
| 27630 |
* (bug 6396) Change name for Chuvash language |
| 27631 |
* Introduce optional (off by default) language selector bar for user login |
| 27632 |
and registration. Customisable via the "loginlanguagelinks" message, the |
| 27633 |
links will preserve "returnto" values. If the user creates an account while |
| 27634 |
using such a link, then the language in use will be saved as their language |
| 27635 |
preference. |
| 27636 |
* Make sure '~~~' '~~~~' '~~~~~' are removed in Nickname preference. |
| 27637 |
* Rename "ipusuccess" to "unblocked", change the format (now wiki text) |
| 27638 |
* (bug 2316) Add "caption" attribute to <gallery> tag |
| 27639 |
* Allow setting the skin object that ImageGallery will use; needed during parse |
| 27640 |
operations (the skin must come from the ParserOptions, not $wgUser) |
| 27641 |
* Fix notice in MacBinary detection debug data for files of certain lengths |
| 27642 |
* (bug 6131) Add type detection for DjVu files, allowing them to be uploaded |
| 27643 |
with validity checking and size detection. No inline thumbnailing yet, |
| 27644 |
but could be added in the future. |
| 27645 |
* (bug 6423) Don't update newtalk flag if page content didn't change (null edits |
| 27646 |
were causing the newtalk flag to trigger inappropriately) |
| 27647 |
* Parser functions are now set using magic words. |
| 27648 |
* (bug 6428) Incorrect form action URL on Special:Newimages with hidebots = 0 |
| 27649 |
set |
| 27650 |
* (bug 4990) Show page source to blocked users on edits, or their modified |
| 27651 |
version if blocked during an edit |
| 27652 |
* (bug 5903) When requesting the raw source of a non-existent message page, |
| 27653 |
return blank content (as opposed to the message key) |
| 27654 |
* Improve default blank content of MediaWiki:Common.css and |
| 27655 |
MediaWiki:Monobook.css |
| 27656 |
* (bug 6434) Allow customisation of submit button text on Special:Export |
| 27657 |
* (bug 6314) Add user tool links on page histories |
| 27658 |
* Fix display of file-type icons in galleries when $wgIgnoreImageErrors is off |
| 27659 |
* (bug 6438) Update to Indonesian translation (id) #23 |
| 27660 |
* Adding the language code parameter to the hook "LanguageGetMagic", to allow |
| 27661 |
localizble extensions magic words. |
| 27662 |
* Update to Romanian translation (ro) |
| 27663 |
* Update to Esperanto translation (eo) |
| 27664 |
* Check for preg_match() existence when installing and die out whining about |
| 27665 |
PCRE if it's not there, instead of throwing a fatal error |
| 27666 |
* (bug 672) Add MathAfterTexvc hook |
| 27667 |
* Update to Piedmontese localization (pms) |
| 27668 |
* dumpBackup can optionally compress via dbzip2 |
| 27669 |
* (bug 2483) Run link updates on change via XML import |
| 27670 |
* (bug 2481) List imported pages during Special:Import |
| 27671 |
* (bug 2482) Log and RC entries for Special:Import events |
| 27672 |
* Allow fetching all revisions from transwiki Special:Import |
| 27673 |
* Allow fetching all revisions from Special:Export GET request |
| 27674 |
* Disable output buffering on Special:Export; should help with streaming |
| 27675 |
large numbers of history items. |
| 27676 |
* Allow setting a maximum number of revisions for history Special:Export; |
| 27677 |
pages with more than $wgExportMaxHistory revisions are excluded from |
| 27678 |
export when history is requested. |
| 27679 |
* Fix transwiki import of pages with space in name |
| 27680 |
* Save null edit when importing pages through Special:Import |
| 27681 |
* Update to Korean translation (ko) |
| 27682 |
* Show a more specific message when an anonymous user tries to access |
| 27683 |
Special:Watchlist |
| 27684 |
* (bug 3278) Paging links in Special:Prefixindex |
| 27685 |
* Added Latvian localization (lv) |
| 27686 |
* (bug 6472) Fix regression in Special:Export with multiple pages |
| 27687 |
* Update to Macedonian translation (mk) |
| 27688 |
* Allow page moves over historyless self-redirects. Such are usually created |
| 27689 |
as part of namespace rearrangements, and it's easier to clean them up if |
| 27690 |
we can move over them. |
| 27691 |
* Show some error results in moveBatch.php |
| 27692 |
* (bug 6479) Allow specification of the skin to use during HTML dumps |
| 27693 |
* (bug 6461) Link to page histories in Special:Newpages |
| 27694 |
* (bug 6484) Don't do message transformations when preloading messages for |
| 27695 |
editing |
| 27696 |
* (bug 6201) Treat spaces as underscores in parameters to {{ns:}} |
| 27697 |
* (bug 6006) Allow hiding the password change fields using an authentication |
| 27698 |
plugin |
| 27699 |
* (bug 6489) Use appropriate link colour on Special:Shortpages |
| 27700 |
* Added formatnum magic word |
| 27701 |
* Added Javanese localization (jv) |
| 27702 |
* (bug 6491) Apply bad image list in category galleries |
| 27703 |
* (bug 6488) Show relevant log fragment in Special:Movepage |
| 27704 |
* Fix potential PHP notice in Special:Blockme when $wgBlockOpenProxies is true |
| 27705 |
* Use mysql_real_escape_string instead of addslashes for string escaping in |
| 27706 |
the MySQL Database class. This may fix some rare breakage with binary fields. |
| 27707 |
Note that MediaWiki does not support the multibyte character sets where a |
| 27708 |
"dumb" byte replacement can be actively dangerous; UTF-8 is always safe |
| 27709 |
in this regard due to the bit patterns which make head and tail bytes |
| 27710 |
distinct. |
| 27711 |
* (bug 6497) Use $wgMetaNamespaceTalk for Esperanto if set |
| 27712 |
* (bug 6498) Use localized forms for image size in Special:Undelete |
| 27713 |
* (bug 6485) Update to Indonesian translation (id) #24 |
| 27714 |
* Extension messages translation is now possible. |
| 27715 |
* Add target namespace override selector for transwiki imports. |
| 27716 |
$wgImportTargetNamespace specifies the default, to be used for |
| 27717 |
Wiktionary's 'Transwiki:' namespace etc. |
| 27718 |
* (bug 6506) Update to German localisation (de) |
| 27719 |
* (bug 502) Avoid silly tabs on bad title by using virtual special page |
| 27720 |
* (bug 6511) Add diff links to old revision navigation bar |
| 27721 |
* (bug 6511) Replace 'oldrevisionnavigation' message with |
| 27722 |
'old-revision-navigation' |
| 27723 |
* Fix regression in Polish genitive month forms |
| 27724 |
* (bug 4037) Make input handling in Special:Allpages and Special:Prefixindex |
| 27725 |
more consistent: Accept just a namespace prefix and a colon, reject input |
| 27726 |
with interwiki prefixes, otherwise do what Title::makeTitleSafe() does. |
| 27727 |
* (bug 6516) Update to Russian translation |
| 27728 |
* New 'allpagesbadtitle' message for Special:Allpages, based on 'badtitletext'. |
| 27729 |
* Rename "searchquery" to "searchsubtitle" and support wiki text in it |
| 27730 |
* Introduce updateArticleCount maintenance script which uses a better check that |
| 27731 |
reflects what Article::isCountable() tests for |
| 27732 |
* Introduce 'BadImage' hook; see docs/hooks.txt for more information |
| 27733 |
* Add "searchsubtitleinvalid" message for searches that are not valid titles. |
| 27734 |
* (bug 5962) Update to Italian localisation |
| 27735 |
* (bug 6530) Update to Indonesian localisation (id) #25 |
| 27736 |
* (bug 6523) Fix SVG issue in rebuildImages.php |
| 27737 |
* (bug 6512) Link to page-specific logs on page histories |
| 27738 |
* (bug 6504) Allow configuring session name with $wgSessionName |
| 27739 |
* (bug 6185) Add standard user tool links to log page views |
| 27740 |
* Update to Venetian translation (vec) |
| 27741 |
* Update to Slovenian translation (sl) |
| 27742 |
* Add standard user tool links to deleted revision list |
| 27743 |
* Separate out EditPage's getContent bits from regular Article getContent. |
| 27744 |
Cleans up read-only-mode warning on empty pages and neats up some code. |
| 27745 |
* (bug 6565) Strict JavaScript writing |
| 27746 |
* (bug 6570) Update to Indonesian localisation (id) #26 |
| 27747 |
* Added Telugu translation (te) |
| 27748 |
* Update to Catalan translation (ca) |
| 27749 |
* (bug 6560) Avoid PHP notice when trimming ISBN whitespace |
| 27750 |
* Added namespace translation to Kannada (ka) |
| 27751 |
* (bug 6566) Improve input validation on timestamp conversion |
| 27752 |
* Implicit group "emailconfirmed" for all users whose email addresses are |
| 27753 |
confirmed |
| 27754 |
* (bug 6577) Avoid multiline parser breakage on <pre> with newline in attribute |
| 27755 |
* (bug 6771) Make old revisions of MediaWiki pages available with action=raw |
| 27756 |
|
| 27757 |
|
| 27758 |
== Compatibility == |
| 27759 |
MediaWiki 1.7 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported. |
| 27760 |
|
| 27761 |
If you are unable to run PHP 5, you may have to stick with 1.6 for now. |
| 27762 |
|
| 27763 |
MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. |
| 27764 |
At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases. |
| 27765 |
|
| 27766 |
Experimental Oracle support has been dropped as it is unmaintained. |
| 27767 |
|
| 27768 |
== Upgrading == |
| 27769 |
Several changes to the database have been made from 1.6: |
| 27770 |
|
| 27771 |
* A new "langlinks" table tracks interlanguage links |
| 27772 |
* A new "filearchive" table stores information on deleted files |
| 27773 |
* A new "querycache_info" table stores information on query page updates |
| 27774 |
|
| 27775 |
To ensure that these tables are filled with data, run refreshLinks.php after |
| 27776 |
the upgrade. |
| 27777 |
|
| 27778 |
If you are upgrading from MediaWiki 1.4.x or earlier, some major database |
| 27779 |
changes are made, and there is a slightly higher chance that things could |
| 27780 |
break. Don't forget to always back up your database before upgrading! |
| 27781 |
|
| 27782 |
== Configuration changes == |
| 27783 |
|
| 27784 |
Some configuration options have changed: |
| 27785 |
* $wgAllowExternalImages now defaults to off for increased security. |
| 27786 |
* $wgLocalTZoffset was in hours, it is now using minutes. |
| 27787 |
* Extensions may register special pages via the $wgSpecialPages array without |
| 27788 |
forcing an early load of the SpecialPage.php class file. |
| 27789 |
|
| 27790 |
== Major new features == |
| 27791 |
|
| 27792 |
* Deleted files can now be archived and undeleted, if you set up an appropriate |
| 27793 |
non-web-accessible directory. Set $wgSaveDeletedFiles on and an appropriate |
| 27794 |
directory path in $wgFileStore['deleted']['directory'] |
| 27795 |
* Experimental PostgreSQL support has been updated. It may or may not be in |
| 27796 |
usable shape; those interested in PostgreSQL are encouraged to follow 1.8 |
| 27797 |
development. |
| 27798 |
|
| 27799 |
=== Caveats === |
| 27800 |
Some output, particularly involving user-supplied inline HTML, may not |
| 27801 |
produce 100% valid or well-formed XHTML output. Testers are welcome to |
| 27802 |
set $wgMimeType = "application/xhtml+xml"; to test for remaining problem |
| 27803 |
cases, but this is not recommended on live sites. (This must be set for |
| 27804 |
MathML to display properly in Mozilla.) |
| 27805 |
|
| 27806 |
= MediaWiki 1.6 = |
| 27807 |
|
| 27808 |
== MediaWiki 1.6.12 == |
| 27809 |
|
| 27810 |
February 7, 2009 |
| 27811 |
|
| 27812 |
This is a security update to the Spring 2006 quarterly release. |
| 27813 |
|
| 27814 |
A number of cross-site scripting (XSS) security vulnerabilities were discovered |
| 27815 |
in the web-based installer (config/index.php). These vulnerabilities all |
| 27816 |
require a live installer -- once the installer has been used to install a |
| 27817 |
wiki, it is deactivated. |
| 27818 |
|
| 27819 |
Note that cross-site scripting vulnerabilities can be used to attack any |
| 27820 |
website in the same cookie domain. So if you have an uninstalled copy of |
| 27821 |
MediaWiki on the same site as an active web service, MediaWiki could be used to |
| 27822 |
attack the active service. |
| 27823 |
|
| 27824 |
If you are hosting an old copy of MediaWiki that you have never installed, you |
| 27825 |
are advised to remove it from the web. |
| 27826 |
|
| 27827 |
== MediaWiki 1.6.11 == |
| 27828 |
|
| 27829 |
December 15, 2008 |
| 27830 |
|
| 27831 |
This is a security update to the Spring 2006 quarterly release. |
| 27832 |
|
| 27833 |
David Remahl of Apple's Product Security team has identified a number of |
| 27834 |
security issues in previous releases of MediaWiki. Subsequent analysis by the |
| 27835 |
MediaWiki development team expanded the scope of these vulnerabilities. The |
| 27836 |
issues with a significant impact are as follows: |
| 27837 |
|
| 27838 |
* An XSS vulnerability affecting Internet Explorer clients for all MediaWiki |
| 27839 |
installations with uploads enabled. [CVE-2008-5250] |
| 27840 |
* An XSS vulnerability affecting clients with SVG scripting capability (such as |
| 27841 |
Firefox 1.5+), for all MediaWiki installations with SVG uploads enabled. |
| 27842 |
[CVE-2008-5250] |
| 27843 |
* A CSRF vulnerability affecting the Special:Import feature, for all MediaWiki |
| 27844 |
installations since the feature was introduced in 1.3.0. [CVE-2008-5252] |
| 27845 |
|
| 27846 |
XSS (cross-site scripting) vulnerabilities allow an attacker to steal an |
| 27847 |
authorised user's login session, and to act as that user on the wiki. The |
| 27848 |
authorised user must visit a web page controlled by the attacker in order to |
| 27849 |
activate the attack. Intranet wikis are vulnerable if the attacker can |
| 27850 |
determine the intranet URL, even if the attacker cannot access it. |
| 27851 |
|
| 27852 |
CSRF vulnerabilities allow an attacker to act as an authorised user on the |
| 27853 |
wiki, but unlike an XSS vulnerability, the attacker can only act as the user in |
| 27854 |
a specific and restricted way. The present CSRF vulnerability allows pages to |
| 27855 |
be edited, with forged revision histories. Like an XSS vulnerability, the |
| 27856 |
authorised user must visit the malicious web page to activate the attack. |
| 27857 |
|
| 27858 |
Rather than backport our SVG validation code to this ancient branch, we have |
| 27859 |
instead disabled SVG uploads. To enable SVG uploads, please upgrade to |
| 27860 |
MediaWiki 1.13.3 or later. |
| 27861 |
|
| 27862 |
The other two issues have been fixed. |
| 27863 |
|
| 27864 |
== MediaWiki 1.6.10 == |
| 27865 |
|
| 27866 |
February 20, 2007 |
| 27867 |
|
| 27868 |
This is a security and bug-fix update to the Spring 2006 quarterly release. |
| 27869 |
|
| 27870 |
An XSS injection vulnerability based on Microsoft Internet Explorer's UTF-7 |
| 27871 |
charset autodetection was located in the AJAX support module, affecting MSIE |
| 27872 |
users on MediaWiki 1.6.x and up when the optional setting $wgUseAjax is enabled. |
| 27873 |
|
| 27874 |
If you are using an extension based on the optional Ajax module, either disable |
| 27875 |
it or upgrade to a version containing the fix: |
| 27876 |
|
| 27877 |
* 1.9: fixed in 1.9.3 |
| 27878 |
* 1.8: fixed in 1.8.4 |
| 27879 |
* 1.7: fixed in 1.7.3 |
| 27880 |
* 1.6: fixed in 1.6.10 |
| 27881 |
|
| 27882 |
There is no known danger in the default configuration, with $wgUseAjax off. |
| 27883 |
|
| 27884 |
* ([[mediazilla:8819|bug 8819]]) Fix full path disclosure with skins |
| 27885 |
dependencies |
| 27886 |
* Add 'charset' to Content-Type headers on various HTTP error responses to |
| 27887 |
forestall additional UTF-7-autodetect XSS issues. PHP sends only 'text/html' by |
| 27888 |
default when the script didn't specify more details, which some inconsiderate |
| 27889 |
browsers consider a license to autodetect the deadly, hard-to-escape UTF-7. |
| 27890 |
This fixes an issue with the Ajax interface error message on MSIE when |
| 27891 |
$wgUseAjax is enabled (not default configuration); this UTF-7 variant on a |
| 27892 |
previously fixed attack vector was discovered by Moshe BA from BugSec: |
| 27893 |
http://www.bugsec.com/articles.php?Security=24 |
| 27894 |
* Trackback responses now specify XML content type |
| 27895 |
|
| 27896 |
== MediaWiki 1.6.9 == |
| 27897 |
|
| 27898 |
January 9, 2007 |
| 27899 |
|
| 27900 |
* ([[mediazilla:6621|bug 6621]]) Backported German translation for |
| 27901 |
'eauthentsent' |
| 27902 |
|
| 27903 |
* ([[mediazilla:6680|bug 6680]]) Added localisation for Dutch bookstore list |
| 27904 |
(nl) |
| 27905 |
* ([[mediazilla:6730|bug 6730]]) Clearer usage of message 'titlematch' in |
| 27906 |
German translation (de) |
| 27907 |
* XSS fix in AJAX module |
| 27908 |
|
| 27909 |
An XSS injection vulnerability was located in the AJAX support module, |
| 27910 |
affecting MediaWiki 1.6.x and up when the optional setting $wgUseAjax is |
| 27911 |
enabled. |
| 27912 |
|
| 27913 |
There is no danger in the default configuration, with $wgUseAjax off. |
| 27914 |
|
| 27915 |
If you are using an extension based on the optional AJAX module, either disable |
| 27916 |
it or upgrade to a version containing the fix: |
| 27917 |
|
| 27918 |
* 1.9: fixed in 1.9.0rc2 |
| 27919 |
* 1.8: fixed in 1.8.3 |
| 27920 |
* 1.7: fixed in 1.7.2 |
| 27921 |
* 1.6: fixed in 1.6.9 |
| 27922 |
|
| 27923 |
== MediaWiki 1.6.8 == |
| 27924 |
|
| 27925 |
July 8, 2006 |
| 27926 |
|
| 27927 |
MediaWiki 1.6.8 is a security and bugfix maintenance release of the Spring 2006 |
| 27928 |
snapshot: |
| 27929 |
|
| 27930 |
A potential HTML/JavaScript-injection vulnerability in a debugging script has |
| 27931 |
been fixed. Only versions and configurations of PHP vulnerable to the $GLOBALS |
| 27932 |
overwrite vulnerability are affected. |
| 27933 |
|
| 27934 |
As a workaround for existing installs, profileinfo.php may simply be deleted if |
| 27935 |
it's not being used. |
| 27936 |
|
| 27937 |
* ([[mediazilla:5957|bug 5957]]) Updates to Hebrew translation (he) |
| 27938 |
* Respect language directionality when displaying arrow in |
| 27939 |
Special:Brokenredirects |
| 27940 |
* ([[mediazilla:6415|bug 6415]]) Typo in Parser.php |
| 27941 |
* Fixed potential XSS in profileinfo.php |
| 27942 |
|
| 27943 |
== MediaWiki 1.6.7 == |
| 27944 |
|
| 27945 |
June 6, 2006 |
| 27946 |
|
| 27947 |
MediaWiki 1.6.7 is a security and bugfix maintenance release of the Spring 2006 |
| 27948 |
snapshot: |
| 27949 |
|
| 27950 |
An HTML/JavaScript-injection vulnerability in the edit form has been closed. |
| 27951 |
This vulnerability was new in 1.6.0; MediaWiki versions 1.5.x or earlier are |
| 27952 |
not affected. |
| 27953 |
|
| 27954 |
Extensions, comments, and <nowiki><nowiki></nowiki> sections are now handled in |
| 27955 |
a one-pass way which is more reliable and safer. Under earlier versions of |
| 27956 |
MediaWiki, certain extensions could be abused to inject HTML/JavaScript into |
| 27957 |
the page. |
| 27958 |
|
| 27959 |
Additional precautions are made against offsite form submissions when the |
| 27960 |
restricted raw HTML mode is enabled. |
| 27961 |
|
| 27962 |
Some small localization and user interface updates are also included. |
| 27963 |
|
| 27964 |
*([[MediaZilla:6051|bug 6051]]) Improvement to German localisation (de) |
| 27965 |
*([[MediaZilla:6017|bug 6017]]) Update bookstore list for German language (de) |
| 27966 |
*([[MediaZilla:6138|bug 6138]]) Minor grammar tweak in "loginreqlink" |
| 27967 |
*([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he) |
| 27968 |
*Increase robustness of parser placeholders; fixes some glitches when adjacent |
| 27969 |
to identifier-ish constructs such as URLs. |
| 27970 |
*([[MediaZilla:5384|bug 5384]]) Fix <nowiki><!-- comments --> in <ref></nowiki> |
| 27971 |
extension |
| 27972 |
*Nesting of different tag extensions and comments should now work more |
| 27973 |
consistently and more safely. A cleaner, one-pass tag strip lets the 'outer' |
| 27974 |
tag either take source (<nowiki><nowiki></nowiki>-style) or pass it down to |
| 27975 |
further parsing (<nowiki><ref></nowiki>-style). There should no longer be |
| 27976 |
surprise expansion of foreign extensions inside HTML output, or differences in |
| 27977 |
behavior based on the order tags are loaded. |
| 27978 |
*([[MediaZilla:885|bug 885]]) Pre-save transform no longer silently appends |
| 27979 |
close tags |
| 27980 |
*Pre-save transform no longer changes the case of close tags |
| 27981 |
*Edit security precautions in raw HTML mode, etc |
| 27982 |
|
| 27983 |
== MediaWiki 1.6.6 == |
| 27984 |
|
| 27985 |
May 23, 2006 |
| 27986 |
|
| 27987 |
MediaWiki 1.6.6 is a security and bugfix maintenance release. |
| 27988 |
|
| 27989 |
An XSS injection vector in brace replacement has been fixed, as have some |
| 27990 |
potential problems with table parsing. Upgrading is strongly recommended for |
| 27991 |
all users of 1.6. MediaWiki versions 1.5 and earlier are not affected. |
| 27992 |
|
| 27993 |
Additionally some localization and user interface updates are included. |
| 27994 |
|
| 27995 |
* Correct "revertpage" message in English |
| 27996 |
* ([[MediaZilla:5507|bug 5507]]) Logouttext now uses wiki markup |
| 27997 |
* (bugs [[MediaZilla:5857|5857]], [[MediaZilla:5957|5957]]) Update for German |
| 27998 |
localisation (de) |
| 27999 |
* ([[MediaZilla:5586|bug 5586]]) <nowiki><gallery></nowiki> treated text as |
| 28000 |
links |
| 28001 |
* ([[MediaZilla:5957|bug 5957]]) Update for Hebrew language (he) |
| 28002 |
* ([[MediaZilla:6025|bug 6025]]) SpecialImport: wrong message when no file |
| 28003 |
selected |
| 28004 |
* ([[MediaZilla:6015|bug 6015]]) EditPage: add spacing in the boxes "edit is |
| 28005 |
minor" and "watch this" |
| 28006 |
* ([[MediaZilla:6018|bug 6018]]) Userrights: new message when no user specified |
| 28007 |
('nouserspecified') |
| 28008 |
* ([[MediaZilla:6055|bug 6055]]) Fix for HTML/JS injection bug in variable |
| 28009 |
handler (found by Nick Jenkins) |
| 28010 |
* Reordered wiki table handling and <nowiki>__TOC__</nowiki> extraction in the |
| 28011 |
parser to better handle some overlapping tag cases. |
| 28012 |
* Only the first <nowiki>__TOC__</nowiki> is now turned into a TOC. |
| 28013 |
* ([[MediaZilla:361|bug 361]]) URL in URL, they were almost fixed. Now they are. |
| 28014 |
|
| 28015 |
== MediaWiki 1.6.5 == |
| 28016 |
|
| 28017 |
May 2, 2006 |
| 28018 |
|
| 28019 |
* Rolled back the buggy patch for [[MediaZilla:5497|bug 5497]]. |
| 28020 |
|
| 28021 |
== MediaWiki 1.6.4 == |
| 28022 |
|
| 28023 |
May 2, 2006 |
| 28024 |
|
| 28025 |
* Further improvements to Hebrew localisation |
| 28026 |
* ([[MediaZilla:5544|bug 5544]]) Fix redirect arrow in Special:Listredirects |
| 28027 |
for right-to-left languages |
| 28028 |
* Replace "doubleredirectsarrow" with a content language check that picks the |
| 28029 |
appropriate arrow |
| 28030 |
* Remove live debugging hack which caused errors with certain database names |
| 28031 |
* ([[MediaZilla:5510|bug 5510]]) Warning produced when using |
| 28032 |
<nowiki>{{SUBPAGENAME}}</nowiki> in some namespaces |
| 28033 |
* ([[MediaZilla:5548|bug 5548]]) Improvements to Indonesian localisation |
| 28034 |
[patch: Ivan Lanin] |
| 28035 |
* ([[MediaZilla:5403|bug 5403]]) Fix Special:Newpages RSS/Atom feeds |
| 28036 |
* ([[MediaZilla:3359|bug 3359]]) Add hooks on completion of file upload |
| 28037 |
* ([[MediaZilla:5184|bug 5184]]) CSS misapplied to elements in |
| 28038 |
Special:Allmessages due to conflicting anchor identifiers |
| 28039 |
* ([[MediaZilla:5519|bug 5519]]) Allow sidebar cache to be disabled; disable it |
| 28040 |
by default. |
| 28041 |
* Add $wgReservedUsernames configuration directive to block account creation/use |
| 28042 |
* ([[MediaZilla:5576|bug 5576]]) Remove debugging hack in session check |
| 28043 |
* ([[MediaZilla:5181|bug 5181]]) Update "nogomatch" for Slovak |
| 28044 |
* ([[MediaZilla:5594|bug 5594]]) Id translation up to '# Login and logout |
| 28045 |
pages' section |
| 28046 |
* ([[MediaZilla:5536|bug 5536]]) Use content language for editing help link |
| 28047 |
* Minor improvements to English language files |
| 28048 |
* Improvements to German localisation files |
| 28049 |
* ([[MediaZilla:5628|bug 5628]]) Translations for MessagesHr.php |
| 28050 |
* (bugs [[MediaZilla:5595|5595]], [[MediaZilla:5644|5644]]) Localisation for |
| 28051 |
Bosnian language (bs) |
| 28052 |
* ([[MediaZilla:5592|bug 5592]]) Actions are logged with the default language |
| 28053 |
for the wiki, not the language of the user performing the operation. |
| 28054 |
* ([[MediaZilla:5646|bug 5646]]) Compare for identical types in wfElement() |
| 28055 |
* Fix for concurrency problem in job queue (image description page invalidation) |
| 28056 |
* ([[MediaZilla:5497|bug 5497]]) regeression in HTML normalization in 1.6 |
| 28057 |
(unclosed <nowiki><li>,<dd>,<dt></nowiki>) |
| 28058 |
* ([[MediaZilla:5709|bug 5709]]) Allow customisation of separator for categories |
| 28059 |
* ([[MediaZilla:4834|bug 4834]]) Fix XHTML output when using $wgMaxTocLevel |
| 28060 |
* Improvements to update scripts; print out the version, check for superuser |
| 28061 |
credentials before attempting a connection, and produce a friendlier error if |
| 28062 |
the connection fails |
| 28063 |
* ([[MediaZilla:5005|bug 5005]]): Fix XHTML <nowiki><gallery></nowiki> output. |
| 28064 |
* ([[MediaZilla:5315|bug 5315]]) "Expires: -1" HTTP header made strictly valid |
| 28065 |
(using 1970 date). |
| 28066 |
* ([[MediaZilla:4825|bug 4825]]): note in DefaultSettings.php about 'profiling' |
| 28067 |
table creation |
| 28068 |
* Remove unneeded extra whitespace at top of Special:Categories |
| 28069 |
* Rewrite reassignEdits script to be more efficient; support optional updates |
| 28070 |
to recent changes table; add reporting and silent modes |
| 28071 |
* Updated initStats maintenance script |
| 28072 |
* ([[MediaZilla:5723|bug 5723]]) Don't count pages linked to from the MediaWiki |
| 28073 |
namespace as "wanted" |
| 28074 |
* ([[MediaZilla:5789|bug 5789]]) Treat "loginreqpagetext" as wikitext |
| 28075 |
* ([[MediaZilla:5796|bug 5796]]) We require MySQL >=4.0.14 |
| 28076 |
|
| 28077 |
== MediaWiki 1.6.3 == |
| 28078 |
|
| 28079 |
April 10, 2006 |
| 28080 |
|
| 28081 |
* Fix disappearing red-linked items in the watchlist editing view |
| 28082 |
* ([[MediaZilla:5512|bug 5512]]) Spacing in "page has a history" deletion |
| 28083 |
warning |
| 28084 |
* ([[MediaZilla:5508|bug 5508]]) Switch ENGINE in table statements back to |
| 28085 |
TYPE; fixes regression where some versions of MySQL 4.0.x wouldn't work |
| 28086 |
* Added note about [[Manual:$wgUrlProtocols|$wgUrlProtocols]] format change |
| 28087 |
|
| 28088 |
== MediaWiki 1.6.2 == |
| 28089 |
|
| 28090 |
April 8, 2006 |
| 28091 |
|
| 28092 |
* Further improvements to Hebrew localisation |
| 28093 |
* Fix 'copyright' message for Romanian |
| 28094 |
* ([[MediaZilla:5476|bug 5476]]) Invalid xhtml in German localization |
| 28095 |
* ([[MediaZilla:5479|bug 5479]]) Id translation for preferences tabs caption |
| 28096 |
* ([[MediaZilla:5493|bug 5493]]) Id translation for special pages |
| 28097 |
* Additional path fixes in the updater |
| 28098 |
* ([[MediaZilla:5344|bug 5344]]) Fix regression that broke slashes in extension |
| 28099 |
tag parameters |
| 28100 |
|
| 28101 |
== MediaWiki 1.6.1 == |
| 28102 |
|
| 28103 |
April 5, 2006 |
| 28104 |
|
| 28105 |
Some minor issues in the 1.6.0 release have been corrected: |
| 28106 |
* ([[MediaZilla:5458|bug 5458]]) Fix double-URL encoding in block log link in |
| 28107 |
contribs and contribs link in block log |
| 28108 |
* ([[MediaZilla:5462|bug 5462]]) Bogus missing patch warning in updater |
| 28109 |
* ([[MediaZilla:5461|bug 5461]]) Use of deprecated "showhideminor" in |
| 28110 |
Special:Recentchangeslinked |
| 28111 |
* PHP warning when allow_call_time_pass_reference is off |
| 28112 |
* Update to Finnish localization |
| 28113 |
|
| 28114 |
== MediaWiki 1.6.0 == |
| 28115 |
|
| 28116 |
April 5, 2006 |
| 28117 |
|
| 28118 |
MediaWiki is now using a "continuous integration" development model with |
| 28119 |
quarterly snapshot releases. The latest development code is always kept "ready |
| 28120 |
to run", and in fact runs our own sites on Wikipedia. |
| 28121 |
|
| 28122 |
Release branches will continue to receive security updates for about a year |
| 28123 |
from first release, but nonessential bugfixes and feature development will take |
| 28124 |
place on the development trunk and will appear in the next quarterly release. |
| 28125 |
|
| 28126 |
Those wishing to use the latest code instead of a branch release can [[Download |
| 28127 |
from SVN|obtain it from source control]]. |
| 28128 |
|
| 28129 |
=== What's new in 1.6 === |
| 28130 |
|
| 28131 |
'''User interface:''' |
| 28132 |
* The account creation form has been separated from the user login form. |
| 28133 |
* Page protection/unprotection uses a new, expanded form |
| 28134 |
|
| 28135 |
'''Templates:''' |
| 28136 |
* Categories and "what links here" now update as expected when adding or |
| 28137 |
removing links in a template. |
| 28138 |
* Template parameters can now have default values, as <nowiki>{{{name|default |
| 28139 |
value}}}</nowiki> |
| 28140 |
|
| 28141 |
'''Uploads:''' |
| 28142 |
* Optional support for rasterizing SVG images to PNG for inline display |
| 28143 |
|
| 28144 |
'''Feeds:''' |
| 28145 |
* Feed generation upgraded to Atom 1.0 |
| 28146 |
* Diffs in RSS and Atom feeds are now colored for improved readability. |
| 28147 |
|
| 28148 |
'''Database:''' |
| 28149 |
* MySQL 3.23.x support dropped; 4.0 or later required |
| 28150 |
* Experimental support for Unicode mode of MySQL 4.1/5.0 (moderately tested) |
| 28151 |
* Experimental Oracle support (not well tested!) |
| 28152 |
|
| 28153 |
'''Anti-spam extension support:''' |
| 28154 |
* [[meta:SpamBlacklist extension|SpamBlacklist extension]] now has support for |
| 28155 |
automated cleanup. |
| 28156 |
* Support for a [[meta:ConfirmEdit extension|captcha extension]] to restrict |
| 28157 |
automated spam edits. |
| 28158 |
|
| 28159 |
Numerous bug fixes and other behind-the-scenes changes have been made; see the |
| 28160 |
file HISTORY for a complete change list. |
| 28161 |
|
| 28162 |
== Changes since 1.5 == |
| 28163 |
|
| 28164 |
* (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete |
| 28165 |
|
| 28166 |
Code quality: |
| 28167 |
* Use strval() to make sure we don't accidentally get null on bad revision |
| 28168 |
text loads or other fields mucking up XML export output |
| 28169 |
* Clean up duplicate code for selection of changeslist style |
| 28170 |
* Correct blob caching to reduce redundant blob loads on backups |
| 28171 |
* (bug 3182) Clear link cache during import to prevent memory leak |
| 28172 |
* Fixed possible infinite loop in formatComment |
| 28173 |
* Wrap message page insertions in a transaction to speed up installation |
| 28174 |
* Avoid notice warning on edit with no User-Agent header |
| 28175 |
* (bug 3649) Remove obsolete, broken moveCustomMessages script |
| 28176 |
* Avoid numerous redundant latest-revision lookups in history |
| 28177 |
* Require PHP 4.3.2 or higher strictly now. |
| 28178 |
* Tweak infinite-template-handling loop for PHP 5.1.1 string handling change |
| 28179 |
* Remove unused OutputPage::addCookie() |
| 28180 |
* Fix for short_open_tag off again; please don't break this, guys |
| 28181 |
* (bug 4507) Adjust FULLPAGENAMEE escaping to standard form |
| 28182 |
* (bug 5302) Merge the two #p-search .pBody statements in monobook css. |
| 28183 |
|
| 28184 |
Database: |
| 28185 |
* Finally dropped MySQL 3.23.x support |
| 28186 |
* Oracle support |
| 28187 |
* (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX |
| 28188 |
* Update all stats fields on recount.sql |
| 28189 |
* (bug 3227) Fix SQL injection introduced in experimental code |
| 28190 |
* Fix table prefix usage in Block::enumBlocks |
| 28191 |
* (bug 3448) Set page_len on undelete |
| 28192 |
* (bug 3506) Avoid MySQL error when Listusers returns no results |
| 28193 |
* Skip update of disused 'rc_cur_time' field (todo: discard the field) |
| 28194 |
* (bug 3735) Fix to run under MySQL 5's strict mode |
| 28195 |
* (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode |
| 28196 |
NOTE: Enabling this may break existing wikis, and still doesn't |
| 28197 |
work for all Unicode characters due to MySQL limitations. |
| 28198 |
* MySQL 5.0 strict mode fix for moving unwatched pages |
| 28199 |
* Ability to set the table name for external storage servers |
| 28200 |
* Update ipblocks table in MySQL 5 table defs |
| 28201 |
* Removed FulltextStoplist.php, no longer used (was for MySQL 3.x workaround) |
| 28202 |
* Added templatelinks table, to track template inclusions. User-visible effects |
| 28203 |
will be: |
| 28204 |
* (inclusion) tag for inclusions in Special:Whatlinkshere |
| 28205 |
* More accurate list of used templates on the edit page |
| 28206 |
* More reliable cache invalidation when templates outside the template |
| 28207 |
namespace are changed |
| 28208 |
* Respect database prefix in dumpHTML.inc |
| 28209 |
* Removed read-only check from Database::query() |
| 28210 |
* Added externallinks table, to track links to arbitrary URLs |
| 28211 |
* Added job table, for deferred processing of jobs. The immediate application is |
| 28212 |
to complete the link table refresh operation when templates are changed. |
| 28213 |
* Don't change the password of the MySQL root user. |
| 28214 |
|
| 28215 |
Documentation: |
| 28216 |
* (bug 3306) Document $wgLocalTZoffset |
| 28217 |
|
| 28218 |
Hooks: |
| 28219 |
(list not complete) |
| 28220 |
* Move ArticleSave hook execution into Article insert/update functions, |
| 28221 |
so they get called on non-EditPage actions that use these functions |
| 28222 |
to create or update pages. |
| 28223 |
* Added EditFilter hook, and output callback on EditPage::showEditForm() |
| 28224 |
for a place to add in captcha-type extensions in the edit flow |
| 28225 |
* (bug 3684) Fix typo in fatal error backtraces in Hooks.php |
| 28226 |
* Fix for hook callbacks on objects containing no fields |
| 28227 |
* Add a hook for additional user creation throttle / limiter extensions |
| 28228 |
* Use $wgOut->parse() in wfGetSiteNotice() instead of creating a new parser |
| 28229 |
instance. This allows use of extension hooks if required. |
| 28230 |
* Added AutoAuthenticate hook for external User object suppliers |
| 28231 |
* Added 'PageRenderingHash' hook for changing the parser cache hash key |
| 28232 |
from an extension that changes rendering based on nonstandard options. |
| 28233 |
* Add 'GetInternalURL' hook to match the GetFullURL and GetLocalURL ones |
| 28234 |
* (bug 4456) Add hook for marking article patrolled |
| 28235 |
* Add UserRights hook, fires after a user's group memberships are changed |
| 28236 |
|
| 28237 |
Images: |
| 28238 |
* Support SVG rendering with rsvg |
| 28239 |
* Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide |
| 28240 |
* (bug 3127) Render large SVGs at image page size correctly |
| 28241 |
* Fix scaling of non-integer SVG unit sizes |
| 28242 |
* (bug 2800) Don't scale up small images on |thumb| without explicit size |
| 28243 |
* Use the real file link instead of the default-size rasterized version for |
| 28244 |
large SVG images on image description page |
| 28245 |
* Include the file name/type/size line for non-resized images |
| 28246 |
* (bug 3489) PHP 5.1 compat problem with captioned images |
| 28247 |
* (bug 3643) Fix image page display of large images with resizing disabled |
| 28248 |
* Added a limit to the size of image files which can be thumbnailed |
| 28249 |
* (bug 3806) Gracefully fall back to client-side scaling on |thumb| image |
| 28250 |
that passes $wgMaxImageArea |
| 28251 |
* (bug 153) Adjust thumbnail size calculations to match consistently; |
| 28252 |
patch by David Benbennick |
| 28253 |
* (bug 4162) Add $wgThumbnailEpoch timestamp to force old thumbs to |
| 28254 |
be rerendered on demand, sitewide |
| 28255 |
* (bug 1850) Additional fixes so existing local and remote images |
| 28256 |
get a blue link even if there's no local description page |
| 28257 |
* Avoid FATAL ERROR when creating thumbnail of non-existing image |
| 28258 |
* (bug 4207) Wrong image size when using 100x200px syntax to scale image up |
| 28259 |
patch by David Benbennick |
| 28260 |
* Don't delete thumbnails when refreshing exif metadata. This caused thumbs |
| 28261 |
to vanish mysteriously from time to time for files that didn't have metadata. |
| 28262 |
* (bug 4426) Add link to user_talk page on image pages |
| 28263 |
* Support a custom convert command for thumbnailing. See DefaultSettings.php |
| 28264 |
and the comments for $wgCustomConvertCommand, for more information. |
| 28265 |
* UserCan hook now allows advisory return values, rather than mandatory ones. |
| 28266 |
|
| 28267 |
Installer: |
| 28268 |
* (bug 3782) Throw fatal installation warning if mbstring.func_overload on. |
| 28269 |
Why do people invent these crazy options that change language semantics? |
| 28270 |
* Fixed installer bugs 921 and 3914 (issues with using root and so forth) |
| 28271 |
* (bug 4258) Use ugly urls for ISAPI by default |
| 28272 |
patch by Rob Church |
| 28273 |
* Improve installer |
| 28274 |
* Use a superuser account (such as root), if specifed, to create tables |
| 28275 |
* Don't overwrite conservative permissions on the mySQL user with ALL |
| 28276 |
permissions, if said user exists |
| 28277 |
* Changes to some of the wording of explanations for fields |
| 28278 |
* (bug 1734) granting db permissions failed with db usernames containg '-' |
| 28279 |
* Add basic check for session support in PHP and die if not present |
| 28280 |
|
| 28281 |
Maintenance: |
| 28282 |
* Fix problem reported on mailing list where re-initialising stats didn't work |
| 28283 |
(can't insert duplicate rows with the same id field) |
| 28284 |
* Added --conf option to command line scripts, allowing the user to specify a |
| 28285 |
different LocalSettings.php. |
| 28286 |
* Maintenance script to delete unused text records |
| 28287 |
* Maintenance script to delete non-current revisions |
| 28288 |
* Maintenance script to wipe a page and all revisions from the database |
| 28289 |
* Maintenance script to reassign edits from one user to another |
| 28290 |
* Maintenance script to find and remove links to a given domain |
| 28291 |
(cleanupSpam.php) |
| 28292 |
* Fix --report interval option for dumpTextPass |
| 28293 |
|
| 28294 |
i18n / Languages: |
| 28295 |
* Partial support for Basque language (from wikipedia and meta) |
| 28296 |
* (bug 3141) Partial support for Breton language (thanks Fulup). |
| 28297 |
* Support for venitian language |
| 28298 |
* (bug 1334) LanguageGa.php update |
| 28299 |
* Finnish date format was hardcoded, now implemented properly |
| 28300 |
* (bug 3190) Added some date format choices for language sr |
| 28301 |
* (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil) |
| 28302 |
* (bug 3204) Fix typo breaking special pages in fy localization |
| 28303 |
* (bug 3177) Estonian date formats not implemented in LanguageEt.php |
| 28304 |
* (bug 1020) Changing user interface language does not work immediately |
| 28305 |
* (bug 3271) Updated LanguageNn.php for HEAD |
| 28306 |
* Experimental feature to allow translation of block expiry times |
| 28307 |
Implementation only for Finnish currently |
| 28308 |
* (bug 3304) Language file for Croatian (LanguageHr.php) |
| 28309 |
* (bug 2143) Update Vietnamese interface |
| 28310 |
* (bug 3063) Remove some hardcodings from Hebrew localisation |
| 28311 |
* (bug 3408) Bulgarian formatNum corrected |
| 28312 |
* (bug 1512) Disable x-code interp on Esperanto URLs for now, it does more |
| 28313 |
harm than good under current system by breaking incoming URLs with "ux". |
| 28314 |
(Editing is not affected, just URLs.) |
| 28315 |
* (bug 1423) LanguageJa.php update |
| 28316 |
* Fix language name for dv |
| 28317 |
* (bug 3503) Update LanguageSq.php from sq.wikipedia.org messages |
| 28318 |
* (bug 3629) Fix date & time format for Frisian |
| 28319 |
* (bug 3334) Namespace changes for Polish |
| 28320 |
* (bug 3580) Change default Dutch language file to more neutral |
| 28321 |
* (bug 3656) LanguageHr.php - added convertPlural |
| 28322 |
* (bug 3414) LanguageBe.php - added convertPlural |
| 28323 |
* (bug 3163) Full translation of LanguageBr |
| 28324 |
* (bug 3617) Update for portuguese language (pt) |
| 28325 |
* Namespaces hacks on LanguagePl |
| 28326 |
* (bug 3682) LanguageSr.php - added convertPlural |
| 28327 |
* (bug 3694) LanguageTr.php update |
| 28328 |
* (bug 3711) Removed invisible unicode characters from LanguageHu |
| 28329 |
* (bug 2981) Linktrail for Tamil (ta) |
| 28330 |
* (bug 3722) Update of Arabic language (ar) Namespace changes |
| 28331 |
* Removed hardcoded Norwegian (no) project namespaces |
| 28332 |
* (bug 2324) image for redirects should be without text and oriented according |
| 28333 |
to content language |
| 28334 |
* (bug 3666) Don't spew PHP warnings in prefs on unrecognized site language |
| 28335 |
* (bug 3817) Use localized date formats in preferences; 'no preference' option |
| 28336 |
localizable as 'datedefault' message. Tweaked lots of languages files... |
| 28337 |
* (bug 2721) Regression: Use European number separators for vi: wikis |
| 28338 |
* (bug 3961) minor languageDe changes |
| 28339 |
* (bug 1984) LanguageKo.php (Korean) update |
| 28340 |
* (bug 3804) update of LanguageWa.php file |
| 28341 |
* (bug 3886) Update for Portuguese language (pt) |
| 28342 |
* (bug 4020) Update namespaces for ms |
| 28343 |
* (bug 3922) bidi embedding overrides on category links |
| 28344 |
* (bug 4061) Update of Slovene namespace names (LanguageSl.php) |
| 28345 |
* (bug 4064) LanguageDe comma changes |
| 28346 |
* (bug 3922) Further tweaks to bidi overrides in category list for old |
| 28347 |
versions of Safari and Konqueror |
| 28348 |
* Fix custom namespaces on wikis set for Portuguese |
| 28349 |
* (bug 4153) Fix block length localizations in Greek |
| 28350 |
* (bug 3844) ab: av: ba: ce: & kv: now inherit from LanguageRu.php |
| 28351 |
ii: & za: now inherit from LanguageZn_cn.php |
| 28352 |
* (bug 4165) Correct validation for user language selection (data taint) |
| 28353 |
* (bug 4192) Remove silly 'The Free Encyclopedia' default sitesubtitle |
| 28354 |
* Use content-lang for sitenotice |
| 28355 |
* (bug 4233) Update LanguageJa.php |
| 28356 |
* (bug 4279) Small correction to LanguageDa.php |
| 28357 |
* (bug 4108, 4336) Remove trailing whitespace from various messages, which |
| 28358 |
mucks up message updating to create dupe entries |
| 28359 |
* (bug 4389) Fix math options on zh-hk and zh-tw (but not localized) |
| 28360 |
* (bug 4392) Update of LanguageSr.php |
| 28361 |
* (bug 4382) Frisian numeric format |
| 28362 |
* (bug 4424) Update for Spanish language (es) 100% messages translated |
| 28363 |
* (bug 4425) Typos in Polish translation |
| 28364 |
* (bug 4436) Update for Turkish language (tr) |
| 28365 |
* (bug 4413) Update of Farsi language file (LanguageFa.php) |
| 28366 |
* Update for LanguageSr (Serbian): magic words |
| 28367 |
* (bug 137) MediaWiki:Copyrightwarning hardcoding |
| 28368 |
* (bug 4457) Update for Portuguese language (pt) |
| 28369 |
* convertPlural breakage fixed a little |
| 28370 |
* (bug 4144) Support for Sudanese language (Basa Sunda) |
| 28371 |
* Big cleanup: |
| 28372 |
- Removed obsolote, badly or untranslated messages |
| 28373 |
- Removed references to wikipedia/wikimedia etc in messages |
| 28374 |
- Other cleanup, like removing html and javascript and extension calls |
| 28375 |
- Removed hardcoded namespaces: Tt, Ms, Ia, Ga, Fo, Bn, Csb, He, Nv, Oc, Tlh |
| 28376 |
- Removed some useless backwards compatibility hacks |
| 28377 |
- Fixed formatnum on many languages |
| 28378 |
* wgAmericanDates check produced incorrect results in languages that don't have |
| 28379 |
a such distinction |
| 28380 |
* (bug 4548) Update for Portuguese language (pt): time format |
| 28381 |
* (bug 4530) Use consistent name for Kurdish |
| 28382 |
* Tweak default "upload disabled" text |
| 28383 |
* (bug 4504) Use site language for namespace name resolution |
| 28384 |
* (bug 4510) Correct Barnes & Noble bookstore URLs |
| 28385 |
* (bug 3991) Allow the operation of wikicode on Protect move only text |
| 28386 |
* (bug 4267) Switch dv sd ug ks arc languages to RTL |
| 28387 |
* Default main page content improved per bug 4690 |
| 28388 |
* (bug 4615) Update for Portuguese language (pt) |
| 28389 |
* Separated MessagesSl.php as the other languages. |
| 28390 |
* (bug 4960) Add additional namespaces variants to Yiddish for compatibility |
| 28391 |
* (bug 4805) Removed more wikipedia-references from MessagesUk.php |
| 28392 |
* (bug 5015) Update magic words translation in LanguageBe.php |
| 28393 |
* (bug 4859) Update for Portuguese messages (pt) |
| 28394 |
* (bug 4788) One string for MessagesPl |
| 28395 |
* Restriction types now use restriction-* messages instead of ui messages |
| 28396 |
* (bug 4685) Slovenian LanguageSl.php hardcodes project namespace |
| 28397 |
* (bug 5097) Fix Hungarian language (hu): thousands separator |
| 28398 |
* (bug 5098) Update for Portuguese messages (pt) |
| 28399 |
* (bug 5113) Spelling error in French language file |
| 28400 |
* (bug 5105) Magic words for LanguageAr.php |
| 28401 |
* (bug 3993) Variants for Serbian language |
| 28402 |
* Typo in English messages file |
| 28403 |
* (bug 4114) Spacing in watchlist rows (in editing mode) |
| 28404 |
* Update default "exporttext" to reflect that Special:Import exists |
| 28405 |
* (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews |
| 28406 |
fix |
| 28407 |
* (bug 5357) Add the icon near the user name also in RTL interfaces |
| 28408 |
* (bug 5156) Update for Hebrew language (he) |
| 28409 |
* (bug 4497,4704,5010) Added some new language codes. |
| 28410 |
* (bug 5362) Piedmontese added |
| 28411 |
* (bug 5349) Update for Portuguese messages (pt) |
| 28412 |
* (bug 3573) Finished full Greek translation: namespaces |
| 28413 |
* (bug 5288) Initial localisation for Az |
| 28414 |
* (bug 4361) Fix "allmessagesnotsupportedui" so it doesn't refer to nonexisting |
| 28415 |
page |
| 28416 |
* Tweak wording of "allmessagesnotsupporteddb" |
| 28417 |
|
| 28418 |
Parser: |
| 28419 |
* (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits |
| 28420 |
* (bug 3210) Fix Media: links with remote image URL path |
| 28421 |
* (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST: |
| 28422 |
* (bug 3412) Clean up date format handling so ~~~~-sigs work with default |
| 28423 |
format as designed. Documentation comments updated. |
| 28424 |
* Fix Parser::unstrip on PHP 5.1.0RC4 |
| 28425 |
* (bug 3797) Don't expand variables and sigs in comments |
| 28426 |
* Allow parser cache on redirect targets |
| 28427 |
* Run wikitext-escaping on plaintext sigs (no wiki markup, just name) |
| 28428 |
* Check for unbalanced HTML tags on raw sigs (markup allowed, but show |
| 28429 |
a warning in prefs and use default sig if not balanced) |
| 28430 |
* Respect <noinclude> and <includeonly> during {{subst:}} expansion as well as |
| 28431 |
ordinary templates. |
| 28432 |
* Support <includeonly> in templates loaded through preload= parameter |
| 28433 |
* (bug 3979) Save correct {{REVISIONID}} into parser cache on edit |
| 28434 |
* Substitute {{REVISIONID}} correctly in diff display |
| 28435 |
* (bug 1850) Allow red-links on image pages linked with [[:image:foo]] |
| 28436 |
* Fix XML validity checks in parser tests on PHP 5.1 |
| 28437 |
* (bug 4377) "[" is not valid in URLs |
| 28438 |
* (bug 4453) fix for __TOC__ dollar-number breakage |
| 28439 |
* Convert unnecessary URL escape codes in external links to their equivalent |
| 28440 |
character before doing anything with them. This prevents certain kinds of |
| 28441 |
spam filter evasion. |
| 28442 |
* (bug 4783) : Fix for "{{ns:0}} does not render" |
| 28443 |
* Improved support for interwiki transclusion |
| 28444 |
* (bug 1850) Image link to nonexistent file fixed. |
| 28445 |
* (bug 5167) Add {{SUBPAGENAME}} and {{SUBPAGENAMEE}} variables |
| 28446 |
* (bug 4949) Missing : in "addedwatchtext" for English and Spanish |
| 28447 |
* Allow user-defined functions, which work in a similar way to {{GRAMMAR:}} |
| 28448 |
etc. Registered via an interface similar to tag hooks. |
| 28449 |
|
| 28450 |
Upload: |
| 28451 |
* (bug 2527) Always set destination filename when new file is selected |
| 28452 |
* (bug 3076) Support MacBinary-encoded uploads from IE/Mac |
| 28453 |
* (bug 2554) Tell users they are uploading too large file |
| 28454 |
* Support for a license selection box on Special:Upload, configurable from |
| 28455 |
MediaWiki:Licenses |
| 28456 |
* Add 'reupload' and 'reupload-shared' permission keys to restrict new uploads |
| 28457 |
overwriting existing files; default is the old behavior (allowed). |
| 28458 |
|
| 28459 |
Security: |
| 28460 |
* (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE |
| 28461 |
* (bug 3280) Respect 'move' group permission on page moves |
| 28462 |
* (bug 2613) Clear saved passwords from the form |
| 28463 |
* IP privacy fix for blocklist search on autoblocks |
| 28464 |
* Security fix for <math> |
| 28465 |
* Security fix for tables |
| 28466 |
* Security fix for Special:Upload license selection list |
| 28467 |
* Add UploadVerification hook for custom file upload validation/security checks |
| 28468 |
* Blacklist additional MSIE CSS safety tricks |
| 28469 |
* Fix meta robots tag on Special:Version again to avoid listing vulnerable |
| 28470 |
versions for convenient harvesting by automated worms |
| 28471 |
* Sanitizer CSS comment processing order fix |
| 28472 |
* Forbid usernames that can be interpreted as titles with namespaces, as that |
| 28473 |
leads to hard-to-manage names. |
| 28474 |
* (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength |
| 28475 |
* Add createpage and createtalk permission keys, allowing a quick |
| 28476 |
switch to disable page creation for anonymous users. |
| 28477 |
* (bug 675) Add page protection level for unregistered/new accounts |
| 28478 |
* User::isNewbie now uses the registration date and $wgAutoconfirmAge |
| 28479 |
* Add 'deletedhistory' permission key for ability to view deleted history |
| 28480 |
list via Special:Undelete. Default is off, replicating the 1.5 behavior, |
| 28481 |
but it can be turned back on for random users to replicate the previous |
| 28482 |
1.6 dev behavior. |
| 28483 |
* Set cookies to secure mode based on use of HTTPS or $wgCookieSecure |
| 28484 |
* (bug 4371) Disallow tilde character in signatures |
| 28485 |
* Removed broken wgAllowAnonymousMinor and added new group right minoredit |
| 28486 |
* Added detection for WMF files (application/x-msmetafile), added this |
| 28487 |
MIME type to the default blacklist. Prevented inline display of images |
| 28488 |
which are not of known image types. This is in response to |
| 28489 |
https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability |
| 28490 |
* Blocked users can no longer roll back, change the protection of, or |
| 28491 |
delete/undelete pages |
| 28492 |
* Protect against spoofing of X-Forwarded-For header |
| 28493 |
* XSS issue : now sanitize search query input (fixed in 1.5rc3) |
| 28494 |
* Remove deprecated $wgOnlySysopsCanPatrol references; use |
| 28495 |
User::isAllowed( 'patrol' ) |
| 28496 |
per bug 5282. Patch by Alan Harder. |
| 28497 |
* Prevent registration/login with the username "MediaWiki default" |
| 28498 |
|
| 28499 |
Special Pages: |
| 28500 |
* Rearranged Special:Movepage form to reduce confusion between destination |
| 28501 |
title and reason input boxes |
| 28502 |
* (bug 1956) Hide bot uploads from Special:Newimages |
| 28503 |
* (bug 3220) Fix escaping of block URLs in Recentchanges |
| 28504 |
* (bug 3284) Ipblocklist paging, substring search |
| 28505 |
* Allow filtering of robot edits in Special:Watchlist by setting |
| 28506 |
$wgFilterRobotsWL = true. |
| 28507 |
* Fix interlanguage links on special pages when extra namespaces configured |
| 28508 |
* (bug 3475) anon contrib links on Special:Newpages |
| 28509 |
* Special:Import/importDump fixes: report XML parse errors, accept <minor/> |
| 28510 |
* (bug 2369) Add separate message for input box on Special:Prefixindex |
| 28511 |
* (bug 3798) DoubleRedirects no longer has hard coded arrows |
| 28512 |
* (bug 3803) Fix links on Special:Wantedcategories with miser mode off |
| 28513 |
* Fix Special:BrokenRedirects on MySQL 5.0 |
| 28514 |
* (bug 3807) Fix 'all' in namespaces drop-down on contribs, rc |
| 28515 |
* Fail gracefully on invalid namespace in Special:Newpages |
| 28516 |
* (bug 3762) Define missing Special:Import UI messages |
| 28517 |
* (bug 3761) Avoid deprecation warnings in Special:Import |
| 28518 |
* (bug 2894) Enhanced Recent Changes link fixes |
| 28519 |
* (bug 4059) fix 'hide minor edits' on Recentchangeslinked |
| 28520 |
* (bug 146) List number of category members in Special:Categories |
| 28521 |
(patch by Joel Nothman) |
| 28522 |
* (bug 4090) Fix diff links in Special:Recentchangeslinked |
| 28523 |
* (bug 4093) '&bot=1' in Special:Contributions now propagate to other links |
| 28524 |
* Fix display of old recentchanges records for page moves |
| 28525 |
* (bug 360) Let Whatlinkshere track [[:image:foo]] links |
| 28526 |
* (bug 3073) Keep search parameter on paging in Special:Newimages |
| 28527 |
* Removed Special:Validate, it's been superseded by the Review extension |
| 28528 |
* (bug 4359) red [[user:#id]] links generated in [[special:Log]] |
| 28529 |
* (bug 1996) Special page to list redirects |
| 28530 |
* (bug 4334) Add "watch" links to Special:Unwatchedpages |
| 28531 |
* Generate target user page links in Special:Ipblocklist where appropriate |
| 28532 |
(i.e. not an autoblock) |
| 28533 |
* Generate link to talk page of the blocker in Special:Ipblocklist, move |
| 28534 |
contribs. link of the target next to their name |
| 28535 |
* (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing' |
| 28536 |
* Move parentheses out of <a> link in Special:Contributions |
| 28537 |
* (bug 3192): properly check 'limit' parameter on Special:Contributions |
| 28538 |
* (bug 3187) watchlist text refer to unexistent "Stop watching" action |
| 28539 |
* Add block, block log and general log links to Special:Contributions |
| 28540 |
* Add contributions link to block log items |
| 28541 |
* Added optional "hide own edits" feature to Special:Recentchanges |
| 28542 |
* (bug 5018) Anchors for each message in Special:Allmessages |
| 28543 |
* Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not |
| 28544 |
list pages with less than this number of links. Defaults to 1. |
| 28545 |
* (bug 4319) Don't show a "create account" link on the login form when |
| 28546 |
account creation is disabled. |
| 28547 |
* JavaScript filter for Special:Allmessages |
| 28548 |
* (bug 3047) Don't mention talk pages on Special:Movepage when there isn't one |
| 28549 |
* Show links to user page, talk page and contributions page on Special:Newpages |
| 28550 |
* Special:Export can now export a list of all contributors to an article (off by |
| 28551 |
default) |
| 28552 |
* (bug 5372) Add number of files to Special:Statistics |
| 28553 |
* (bug 2871) Links to talk pages in watchlist editing view |
| 28554 |
* (bug 5385) Allow hiding anonymous edits on Special:Recentchanges |
| 28555 |
* (bug 2544) Illogical error reporting order in Special:Userlogin |
| 28556 |
* (bug 5409) Hide "show/hide patrolled edits" in Special:Recentchanges if |
| 28557 |
patrolling is disabled |
| 28558 |
* (bug 5447) Convert first letter of username to uppercase before searching in |
| 28559 |
Special:Listusers |
| 28560 |
* (bug 759) Wrap redirects on the watchlist editing page in a span, class |
| 28561 |
"watchlistredir" |
| 28562 |
* (bug 1862) Namespace filtering in watchlists |
| 28563 |
|
| 28564 |
Misc.: |
| 28565 |
* PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect |
| 28566 |
if running prior to 4.2.0 as it causes the call to fail |
| 28567 |
* (bug 3117) Fix display of upload size and type with tidy on |
| 28568 |
* (bug 2323) Remove "last" tabindex from history page |
| 28569 |
* (bug 3116) Division by zero on [[Image:Foo.png|123x123px|]] |
| 28570 |
* Fix display of read-only lockfile message |
| 28571 |
* Include software-visible client IP address in Special:Version comment |
| 28572 |
as a proxy debugging aid |
| 28573 |
* (bug 3170) Page Title failed to obey MediaWiki:Pagetitle. |
| 28574 |
wikititlesuffix was removed |
| 28575 |
* Add ability to break off certain debug topics into additional log files; |
| 28576 |
use $wgDebugLogGroups to configure and wfDebugLog() to log. |
| 28577 |
* Edit conflict on recreation of deleted page |
| 28578 |
* (bug 3216) Don't show empty warning page when no warnings. |
| 28579 |
* (bug 3218) Use proper quoting on history Compare Revisions button |
| 28580 |
* Fix upgrade from 1.4 due to version number check breakage [for rc future] |
| 28581 |
* Fix upgrade from 1.4 with no old revisions |
| 28582 |
* Remove "info" editing toolbar that was shown in browsers which do not |
| 28583 |
fully support the editing toolbar, but was found to be too confusing. |
| 28584 |
* Don't override edit conflict suppression on section edits; section merging |
| 28585 |
should provide the expected transparency here and fits usage patterns better. |
| 28586 |
* (bug 3292) Fix move-over-redirect test when current entries are not plaintext |
| 28587 |
* (bug 2078) Don't hide watch tab on preview |
| 28588 |
* Fix regressions in ChangesList traditional layout |
| 28589 |
* Fix edit on double-click for move-protected pages in Classic skin |
| 28590 |
* (bug 3485) Fix bogus warning about filename capitalization when off |
| 28591 |
* (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads |
| 28592 |
by default when 'watchdefault' option is on |
| 28593 |
* Add options to dumpBackup.php for making split/partial dumps by page id |
| 28594 |
* Added filter options, compression piping, and multiple output streams for |
| 28595 |
dumpBackup.php |
| 28596 |
* (bug 3595) Warn and abort if importDump.php called in read-only mode. |
| 28597 |
* (bug 3598) Update message cache on message page deletion, patch by Tietew |
| 28598 |
* Added separate noarticletext and newarticletext messages for logged in and |
| 28599 |
anon users. |
| 28600 |
* (bug 3332) Installation now uses Monobook, validates, plus usability |
| 28601 |
improvements. |
| 28602 |
* (bug 3660) Update diff3 detection to work with Windows/Cygwin |
| 28603 |
* (bug 2330) Don't do funny thinks with "links" in MediaWiki:Undeletedtext |
| 28604 |
* Two-pass data dump for friendliness to the DB (--stub, then dumpTextPass.php) |
| 28605 |
* Data dump 'prefetch' mode to read normalized text from a prior dump |
| 28606 |
(requires PHP 5, XMLReader extension) |
| 28607 |
* (bug 2773) Print style sheet no longer overrides RTL text direction |
| 28608 |
* (bug 2938) Update MediaWiki:Exporttext to be more general |
| 28609 |
* Various fixes |
| 28610 |
* Fix wfMsg*() replacements; args containing literal $[2-9] were wiped |
| 28611 |
* Added @import for [[MediaWiki:Common.css]] to all skins |
| 28612 |
* Edit box now remembers scrollbar position on preview |
| 28613 |
* (bug 3816) Throw edit conflict instead of fatal error when a page is |
| 28614 |
moved or deleted during section edit |
| 28615 |
* (bug 3771) Handle internal functions in backtrace in wfAbruptExit() |
| 28616 |
* (bug 3291) 'last' diff link for last history line when not at end |
| 28617 |
* (bug 3667) Add missing global in page move code |
| 28618 |
* (bug 2885) Remove unnecessary reference parameter which broke classic skin |
| 28619 |
talk notification on PHP 5.0.5 |
| 28620 |
* (bug 3852) "Redirected from" link no longer obscured on double-redirects |
| 28621 |
* changed directory hierarchy in images/math/. System upgrades from old to |
| 28622 |
new hierarchy on the fly. |
| 28623 |
* (bug 3487) Fix category edit preview with preview-on-bottom |
| 28624 |
* (bug 918) Search index incorrectly joined words at == headings == |
| 28625 |
* (bug 3877) Render math images into temp directory, then move to hashed |
| 28626 |
subdir so you can render new math images and have them work |
| 28627 |
* (bug 2392) Fix Atom items content type, upgrade to Atom 1.0 |
| 28628 |
* Allow $wgFeedCacheTimeout of 0 to disable feed caching |
| 28629 |
* Fix WebRequest::getRequestURL() to strip off the host bits squid prepends |
| 28630 |
* Require POST for action=purge, to stop bots from purging the cache |
| 28631 |
* Added local message cache feature ($wgLocalMessageCache), to reduce bandwidth |
| 28632 |
requirements to the memcached server. |
| 28633 |
* (bug 3562) for go search, try Caps-Variants-Broken-At-Non-Whitespace |
| 28634 |
* (bug 2569) Use PATH_SEPARATOR instead of trying to guess based on |
| 28635 |
DIRECTORY_SEPARATOR (was wrong on NetWare) |
| 28636 |
* (bug 2740) Accept image deletions on 'enter' submit from MSIE |
| 28637 |
* (bug 3939) Don't try to load text for interwiki redirect target |
| 28638 |
* (bug 3948) Avoid notice warning in debug statement in bad search |
| 28639 |
* Recognize Special:Search consistently so read whitelist works |
| 28640 |
* (bug 3999) Change atom 1.0 feed id; had been unnecessarily complex due to |
| 28641 |
unclear language in the spec. Now using the URL, same as the permalink, |
| 28642 |
which someone else will probably whine about because it's not 'perma' |
| 28643 |
enough or something. |
| 28644 |
* (bug 4014) Fix include mode for Allpages on small page sets |
| 28645 |
* (bug 3996) Fix text for new entries in RC RSS/Atom feed |
| 28646 |
* (bug 3065) Update both watched namespaces when renaming pages |
| 28647 |
* Changed mail form to have a bigger message entry box (like for editing |
| 28648 |
a page |
| 28649 |
* Fix ulimit parameters for wfShellExec when memory_limit is specified in 'm' |
| 28650 |
* (bug 2111) Collapsable exif metadata table, clean up display |
| 28651 |
* Reduce fractions in display of exif exposure time |
| 28652 |
* (bug 4048) Optional footer link to site privacy policy |
| 28653 |
* Don't die() when update.php reaches the end of the warning count |
| 28654 |
* (bug 1915) Fix edit links when 'direction' used with 'oldid'; |
| 28655 |
using revision ID reported via OutputPage; Skin::editUrlOptions() |
| 28656 |
* Remove obsolete 'redirect=no' on some edit links |
| 28657 |
* Include oldid for the second revision on edit link on diff view |
| 28658 |
* (bug 4035) Fix prev/next revision links on edit page |
| 28659 |
* (bug 4100, 3049) Add 'edittools' message to hold edit tools, put it |
| 28660 |
on Special:Upload as well as edit, rearrange edit page pieces a bit. |
| 28661 |
Copyright warning now above the buttons to ensure it's visible, |
| 28662 |
template list at the bottom so it can grow. |
| 28663 |
* Optional summary parameter to action=rollback, for user javascript |
| 28664 |
* (bug 4167) Fix regression caused by patch for bug 153 |
| 28665 |
* (bug 4169) Use $wgLegalTitleChars in pipe trick conversions |
| 28666 |
* (bug 4170) Decode HTML character escapes in sort key |
| 28667 |
* (bug 4201) Fix user-talk mode for Enotif, and general code cleanup |
| 28668 |
* (bug 4214) Skip redundant action text inserts into the HTML <title> |
| 28669 |
* (bug 4212) Skip redundant meta-robots tag for default settings |
| 28670 |
* Fix regression: old version missing from edit links in Nostalgia skin |
| 28671 |
* (bug 1600) Trigger edit conflict on duplicate section=new submissions |
| 28672 |
* (bug 4001) Use local variables properly in wikibits.js akeytt() |
| 28673 |
* Fix regression: old version missing from edit links on CSS/JS pages |
| 28674 |
* (bug 3211) Include Date, To mail headers when using PEAR::Mail |
| 28675 |
* (bug 3407) Fix encoding of subject and from/to headers on notification |
| 28676 |
mails; userMailer() now takes a MailAddress wrapper object instead of |
| 28677 |
a raw string to abstract things a level. |
| 28678 |
* Fixed --server override on dumpTextPass.php |
| 28679 |
* Added plugin interface for dumpBackup, so additional filters and output |
| 28680 |
sink types can be registered at runtime from an extension |
| 28681 |
* (bug 349) Fix for some numeric differences not being highlighted |
| 28682 |
patch by Andrius Ramanauskas |
| 28683 |
* (bug 4298) Include rc_id on enhanced RC singleton diff links for patrolling |
| 28684 |
* Did some refactoring on ChangesList.php merging dupe code |
| 28685 |
* (bug 1586) Fix interwiki generator for wikimedia obscure domains |
| 28686 |
* (bug 3493) Mark edits patrolled when they are reverted |
| 28687 |
patch by Leon Planken |
| 28688 |
* Removed experimental Amethyst skin from default set |
| 28689 |
* Upgrade old skin preferences properly at Special:Preferences |
| 28690 |
(used to spontaneously switch to Classic skin for old numeric pref records) |
| 28691 |
* (bug 3424) Update page_touched for category members on category page creation |
| 28692 |
* Log views show message when no matches |
| 28693 |
* Fix raw sitenotice display on database error |
| 28694 |
* Fix autoconfirm check for old accounts |
| 28695 |
* (bug 4368) Don't show useless empty preview on new section creation |
| 28696 |
* Don't show useless empty preview on new page creation |
| 28697 |
* (bug 4411) Fix messages diff link for classic skin |
| 28698 |
* (bug 4385) Separate parser cache entries for non-editing users, so section |
| 28699 |
edit links don't vanish / appear unwanted on protected pages |
| 28700 |
* (bug 2726, 3397) Fix [[Special:]] and [[:Image]] links in action=render |
| 28701 |
* (bug 4419) Remove obsolete magnify.png.old |
| 28702 |
* Removed $wgUseCategoryMagic option, categories are now enabled unconditionally |
| 28703 |
* (bug 3318) UI workarounds for disabled items in license selector |
| 28704 |
MSIE/Win: items now grayed out, JS will revert to 'non selected' if clicked |
| 28705 |
Safari: JS will revert to 'non selected' if clicked (but not gray) |
| 28706 |
MSIE/Mac: indented items now visible (JS hack) |
| 28707 |
* (bug 714) "plainlinks" class issues in IE, Opera |
| 28708 |
* (bug 4317) Inconsistent "broken redirects" messages |
| 28709 |
* Default interface text for "selflinks" tweaked |
| 28710 |
* (bug 3194) default implementation of translateBlockExpiry |
| 28711 |
which uses ipboptions |
| 28712 |
* (bug 4446) $wgExportAllowHistory option to explicitly disable history in |
| 28713 |
Special:Export form, 'exportnohistory' message to translate live hack. |
| 28714 |
* Maintenance script to delete unused user accounts |
| 28715 |
* (bug 912) Search box easier to reach in text browsers (lynx, links) |
| 28716 |
* $wgParserCacheExpireTime added |
| 28717 |
* Skip loading of RecentChange.php except where needed |
| 28718 |
* Enforce $wgSVGMaxSize when rendering, even for SVGs with a very large source |
| 28719 |
size. This is necessary to limit server memory usage. |
| 28720 |
* Cleanup and error checking on Special:Listredirects |
| 28721 |
* Clear up some instances of old OutputPage::sysopRequired() function usage |
| 28722 |
* Improve "upload disabled" notice |
| 28723 |
* Move parts of index.php to include/Wiki.php in an attempt to both cleanup |
| 28724 |
index.php and create a MediaWiki-class mediaWiki base object |
| 28725 |
* (bug 4104) Added OutputPageBeforeHTML hook for tweaking primary wiki output |
| 28726 |
HTML on final output (cached or not) |
| 28727 |
* Avoid PHP notice on command-line scripts if empty argument is passed ('') |
| 28728 |
* (bug 4571) Partial fix hack for {{fulllurl:}} in action=render |
| 28729 |
* (bug 3502) Bowtie symbol for TeX |
| 28730 |
* (bug 4000) Support for \textstyle et al. in <math> |
| 28731 |
* (bug 1663) support color in TeX formulas |
| 28732 |
* (bug 2026) missing glue around \not= (TeX) |
| 28733 |
* (bug 4576) Missing '>' broke license selector's first option in IE, Opera |
| 28734 |
* Override $wgLocaltimezone in parser tests for us outside Iceland and UK |
| 28735 |
* Fix extra whitespace at end of Wiki.php, DESTROYS XML OUTPUT |
| 28736 |
* Remove redundant 'echo' statements from MonoBook.php |
| 28737 |
* (bug 1103) Fix up redirect handling for images, categories |
| 28738 |
Redirects are now followed from the top-level, outside of the Article |
| 28739 |
content loading and viewing, for clarity and consistency. |
| 28740 |
* (bug 4104) 'OutputPageBeforeHTML' hook to postprocess article HTML on |
| 28741 |
page view (comes after parser cache, if used). Patch by ThomasV. |
| 28742 |
* Linker::formatComment corrupted the passed title object on PHP 5 |
| 28743 |
if the comment included a section link. Use clone() to make a safe copy. |
| 28744 |
* Add wfClone() wrapper since we're still using PHP 4 on some servers. |
| 28745 |
* Remove obsolete killthread.php |
| 28746 |
* Added wfDie() wrapper, and some manual die(-1), to force the return code |
| 28747 |
to the shell to return nonzero when we crap out with an error. |
| 28748 |
* Allow input of the stub from a compressed file instead of stdin |
| 28749 |
for dumpTextPass.php; easier to get errors back on the shell |
| 28750 |
* Added an attractive space on the namespace selector on contribs |
| 28751 |
* Move PHP 5-friendly XHTML doctype hack to Sanitizer, use for sig checks. |
| 28752 |
Fixes use of named entities in sigs on PHP 5 |
| 28753 |
* (bug 4482) Include move comment on the null edit as well as the redirect |
| 28754 |
* (bug 3990) Use existing session name if session.auto_start is on |
| 28755 |
Fixes checks for open sessions, such as the cookie warning on login. |
| 28756 |
Patch by Zbigniew Braniecki. |
| 28757 |
* Add cache-safe alternate sitenotice for anonymous users. |
| 28758 |
(MediaWiki:Anonnotice) This is displayed instead of the regular sitenotice, |
| 28759 |
if it exists. If not, the regular sitenotice shows. If that doesn't exist, |
| 28760 |
the value of $wgSiteNotice is used, and if that's null, then nothing is shown. |
| 28761 |
* Spit the generated LocalSettings code out during the installer as an aid |
| 28762 |
to debugging issues. (Keep this?) |
| 28763 |
* Use __FILE__ to form path in new LocalSettings.php, so it stays accurate |
| 28764 |
when the directory is relocated for typical usage. |
| 28765 |
* Auto-update $wgCacheEpoch when LocalSettings.php changes on new installs. |
| 28766 |
For typical usage this will be a light burden and should reduce confusion |
| 28767 |
when the configuration is edited. |
| 28768 |
* Fix $wgCacheEpoch's effect on client-side caching. |
| 28769 |
* (bug 1122) gray out 'older revision' when viewing first article revision. |
| 28770 |
* Clearer message in DefaultSettings.php: edit LocalSettings.php instead |
| 28771 |
* MonoBook skin top link id changed from "contentTop" to "top" (shared with |
| 28772 |
name attribute) |
| 28773 |
* (bug 3350) Missing label for move talk page checkbox. |
| 28774 |
* (bug 2108) Sort entries when using category browser |
| 28775 |
* (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom ) |
| 28776 |
* Add ".deps.php" include-file preloaders for some dynamically-loaded |
| 28777 |
language and skin classes. Should help with the broken base-class |
| 28778 |
problem under PHP 5 with APC as opcode cache. See details: |
| 28779 |
https://lists.wikimedia.org/hyperkitty/list/[email protected]/thread/4NVSC4LAZX6ACO77QVLRQYAWULAJCKJ2/ |
| 28780 |
* Small changes to tabs in Monobook skin c/o Chris Ware |
| 28781 |
* (bug 4679) Work around buggy basename() function in PHP5, which breaks |
| 28782 |
uploads of files starting with multibyte characters on Linux. |
| 28783 |
wfBaseName() doesn't suffer this bug, and understands backslash on |
| 28784 |
both Unix and Windows. |
| 28785 |
* (bug 3603) headscripts variable not hooked up to MonoBook skin |
| 28786 |
* Allow local cdb-based interwiki cache |
| 28787 |
* Use the "block", not the "protect" permission, when determining whether to |
| 28788 |
show a "block user" link in the toolbox |
| 28789 |
* Fix backup dump text prefetch for XMLReader constant changes in PHP 5.1 |
| 28790 |
* Suppress useless percentage indicator on output from 7za during dumps |
| 28791 |
* (bug 4633) Add (previous 200) (next 200) also above catlinks |
| 28792 |
* (bug 4686) Fix regression where ?diff=0&oldid=0 caused fatal error on |
| 28793 |
pages with only one revision. Fixes message diff link on first edit. |
| 28794 |
* Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php |
| 28795 |
* Do not check lag on external storage servers |
| 28796 |
* Do not tidy interface messages (unless full tidy is set) |
| 28797 |
* Do not trust equality propagation and give more hints to MySQL |
| 28798 |
optimizer for revision fetches (avoids index scans) |
| 28799 |
* Use revision rate for ETA in dump generation; it tends to be more stable |
| 28800 |
than the per-page count for full-history dumps. |
| 28801 |
* Include timestamp in wfDebugLog breakouts |
| 28802 |
* (bug 4469) Namespace-specific notice to be displayed below site-notice |
| 28803 |
Edit messages like "MediaWiki:Namespacenotice-" plus namespace name |
| 28804 |
which is blank for main namespace, or like e.g. "User_talk" |
| 28805 |
* Adjust user login/creation form hooks to work with a captcha plugin |
| 28806 |
* (bug 1284) Inline styles for diffs in Recent Changes RSS/Atom feeds |
| 28807 |
* (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds, |
| 28808 |
and seems to work ok with other bits. No longer including the IE |
| 28809 |
workarounds JavaScript for IE 7 and above. |
| 28810 |
* Fix extra namespace for Bulgarian |
| 28811 |
* (bug 4303) Add $wgFavicon to change the shorticon icon link from |
| 28812 |
the default /favicon.ico or disable it (if set to false) |
| 28813 |
* (bug 3347) strip linebreaks in math error source |
| 28814 |
* (bug 4841) Warning for non-logged-in edits |
| 28815 |
* (bug 4867) Leave invalid EXIF date fields unformatted instead of |
| 28816 |
showing a bogus current timestamp |
| 28817 |
* Reset $wgActionPaths during parser test; corrects some false failures |
| 28818 |
in the automated test report. |
| 28819 |
* (bug 4875) Define a div containing the shared image description |
| 28820 |
* (bug 4860) Expose Title->userCan() as Hooks |
| 28821 |
* (bug 4828) Fix genitive month-name variable for cs, pl, uk |
| 28822 |
* (bug 4842) Fix 'show number of watching users' with enhanced RC |
| 28823 |
* (bug 4889) Fix image talk namespace for Tamil |
| 28824 |
* (bug 4147) Added cleanupWatchlist.php to clear out bogus watchlist entries |
| 28825 |
* (partial bug 3456) Disable auto redirect to Main Page after account creation |
| 28826 |
* (bug 4824) Separate out IE7 CSS compat hacks, fix for RTL pages |
| 28827 |
* Added support for wikidiff2 and similar external diff engines. |
| 28828 |
* Allow cookies to be shared between multiple wikis with a shared user database |
| 28829 |
* Blocking some Unicode whitespace characters in usernames. Should check |
| 28830 |
if some or all should be blocked from all page titles. |
| 28831 |
* Unknown log types no longer throw notices everywhere in RecentChanges |
| 28832 |
* (bug 4502, 5017) Don't render potentially hostile deleted page contents |
| 28833 |
on Special:Undelete by default; show source, with an optional preview. |
| 28834 |
The revisions list no longer shows the latest text by default, so it can |
| 28835 |
still be operated if the text is hostile. |
| 28836 |
* (bug 5013) Check for existence on "return to" links |
| 28837 |
* Removed trailing whitespace on a bunch more messages. |
| 28838 |
* Fix missing bad title check in Special:Booksources |
| 28839 |
* Remove empty booksources string in fy |
| 28840 |
* Avoid corrupting <gallery> inside <!-- comment --> |
| 28841 |
* Remove legacy PHPTal code, hasn't been maintained in ages. |
| 28842 |
* Tweak Userlogin include order for APC issue |
| 28843 |
* Don't try to link to current page on protection tab |
| 28844 |
* More exact checking in Title::equals() to fox moves of numerically similar |
| 28845 |
page titles. (Odd hex title bug on 64-bit.) |
| 28846 |
* Fix explicit s-maxage=0 on raw pages; should help with proxy issues in |
| 28847 |
generated stylesheets... hopefully... |
| 28848 |
* (bug 4685) More fixes for Slovenian project namespace |
| 28849 |
* Fixed and enhanced a little the Live Preview, which had been broken for some |
| 28850 |
time |
| 28851 |
* Added article size limit, $wgMaxArticleSize |
| 28852 |
* (bug 4974) Don't follow redirected talk page on "new messages" link |
| 28853 |
* (bug 4970) Make category paging limits configurable |
| 28854 |
* (bug 4535) Warn user when editing CSS or JS subpage of a skin that doesn't |
| 28855 |
exist |
| 28856 |
* Make Live Preview an user preference, still controllable by the global |
| 28857 |
variable |
| 28858 |
* Rename the stub LanguageAls / LanguageGem_alsation to LanguageGsw to follow |
| 28859 |
updated language code assignments |
| 28860 |
* (bug 5081) Remove bogus fix for invalid characters in links which simply |
| 28861 |
broke use of legitimate multiple whitespace characters in bracketed link. |
| 28862 |
* (bug 4838) Add relative oldids (prev, next, cur) for raw pages |
| 28863 |
Patch by Lupin |
| 28864 |
* (bug 5086) Force image resize dimensions on ImageMagick, as for instance |
| 28865 |
"-resize 100x35!"; some thumbs were off due to differences in rounding and |
| 28866 |
would be generated smaller than expected. |
| 28867 |
* (bug 5062) Width sometimes one pixel short when using maximum heights |
| 28868 |
* Purge thumbnails and metadata cache for action=purge on an image page |
| 28869 |
* (bug 4273) Bounce back with a message when attempting to submit a new comment |
| 28870 |
with an empty main textbox (user probably hit Enter in subject field) |
| 28871 |
* (bug 5141) Gracefully handle the new account link when createaccount off |
| 28872 |
* (bug 5150 and related) Fix missing ID attribute in HTML namespace selector |
| 28873 |
* (bug 5152) Proper HTML escaping on subpage breadcrumbs |
| 28874 |
* (bug 4855) Section edit links now have the section name in the title |
| 28875 |
attribute. |
| 28876 |
* (bug 2115) Support shift-selecting multiple checkboxes with JavaScript. |
| 28877 |
* (bug 5161) Don't try to load template list for nonexistent pages |
| 28878 |
* (bug 5228) Workaround for broken LanguageConverter title overrides; avoid |
| 28879 |
unnecessary hidden UI work when watch/unwatch is performed on edit |
| 28880 |
* Fixed bogus master fallback in external storage |
| 28881 |
* (bug 5246) Add speak:none to "hiddenStructure" class in main.css |
| 28882 |
* Further work on rev_deleted; changed to a bitfield with several data-hiding |
| 28883 |
options. Not yet ready for production use; Special:Revisiondelete is |
| 28884 |
incomplete, and the flags are not preserved across page deletion/undeletion. |
| 28885 |
To try it; add the 'deleterevision' permission to a privileged group. |
| 28886 |
* (bug 5270) Fix broken linktrail for br, cv, fr, hr, nn, oc, ta, wa |
| 28887 |
* Add a clickable contribs link in user tool links (rc, watchlist, diff view) |
| 28888 |
to see how people like it. (There was one in the old hacked-up diff view.) |
| 28889 |
* (bug 5236) Load wikibits.js before site-customized javascript |
| 28890 |
* (bug 4119) Workaround for <nowiki> following link in Walloon; remove capitals |
| 28891 |
from linktrail, as they're not used anywhere else. |
| 28892 |
* (bug 4781) Output links with the percent-encoding they're supplied with; |
| 28893 |
save the normalization for internal link storage. The normalization is a bit |
| 28894 |
buggy and can make incorrect foldings in the query string and such, so isn't |
| 28895 |
reliable beyond the hostname where it's used for the spam bulk checker. |
| 28896 |
* Don't URL-decode in the title attribute for URL links; it can produce false |
| 28897 |
results that don't code back to their original values. |
| 28898 |
* (bug 4611) Add user preference (default on) to add new pages to creators's |
| 28899 |
watchlist |
| 28900 |
* (bug 5286) Fix regression in display of missing/bad revision IDs |
| 28901 |
* (bug 4729) Add user preference that marks a user's edits as patrolled if user |
| 28902 |
is able to |
| 28903 |
* (bug 4630) Add user preference to prompt users when entering blank edit |
| 28904 |
summaries |
| 28905 |
* Added optional suggest feature for the search box. Set wgUseAjax to true to |
| 28906 |
enable it. |
| 28907 |
* (bug 5277) Use audio/midi rather that audio/mid |
| 28908 |
* (bug 5410) Use namespace name when a custom namespace's nstab-NS message is |
| 28909 |
nonexistent |
| 28910 |
* (bug 5432) Fix inconsistencies in cookie names when using table prefixes |
| 28911 |
* Additional protections against HTML breakage in table parsing |
| 28912 |
* (bug 5355) Include skin name and style JS settings in page source; |
| 28913 |
fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied |
| 28914 |
when wikibits.js was moved up before user JS inclusion. |
| 28915 |
* Added $wgColorErrors: if set, database error messages will be highlighted |
| 28916 |
when running command-line scripts in a Unix terminal. |
| 28917 |
* (bug 5195) rebuildrecentchanges.php works again; Database::insertSelect now |
| 28918 |
has a parameter for select options. |
| 28919 |
* Fix updateSearchIndex.php for new schema |
| 28920 |
* Fix bogus "filename too short" error when uploading files with a period in the |
| 28921 |
base name, e.g. "Mr. Zee.png" |
| 28922 |
* (bug 2139) Show page title in subtitle when viewing "read only" page |
| 28923 |
* (bug 5452) Update language name for Cree |
| 28924 |
|
| 28925 |
== Compatibility == |
| 28926 |
|
| 28927 |
Older PHP 4.2 and 4.1 releases are no longer supported; PHP 4 users must |
| 28928 |
upgrade to 4.3 or later. |
| 28929 |
|
| 28930 |
MediaWiki 1.6 is the last major version to support PHP 4; future versions will |
| 28931 |
require PHP 5. |
| 28932 |
|
| 28933 |
MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. |
| 28934 |
At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases. |
| 28935 |
|
| 28936 |
== Upgrading == |
| 28937 |
|
| 28938 |
Several changes to the database have been made from 1.5; these are relatively |
| 28939 |
minor but do require that the update process be run before the new code will |
| 28940 |
work properly: |
| 28941 |
|
| 28942 |
* A new "templatelinks" table tracks template inclusions. |
| 28943 |
* A new "externallinks" table tracks URL links; this can be used by a mass |
| 28944 |
spam-cleanup tool in the SpamBlacklist extension. |
| 28945 |
* A new "jobs" table stores a queue of pages to update in the background; this |
| 28946 |
is used to update links in including pages when templates are edited. |
| 28947 |
|
| 28948 |
To ensure that these tables are filled with data, run refreshLinks.php after |
| 28949 |
the upgrade. |
| 28950 |
|
| 28951 |
If you are upgrading from MediaWiki 1.4.x or earlier, some major database |
| 28952 |
changes are made, and there is a slightly higher chance that things could |
| 28953 |
break. Don't forget to always back up your database before upgrading! |
| 28954 |
|
| 28955 |
=== Caveats === |
| 28956 |
|
| 28957 |
Some output, particularly involving user-supplied inline HTML, may not produce |
| 28958 |
100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType |
| 28959 |
= "application/xhtml+xml"; to test for remaining problem cases, but this is not |
| 28960 |
recommended on live sites. (This must be set for MathML to display properly in |
| 28961 |
Mozilla.) |
| 28962 |
|
| 28963 |
|
| 28964 |
= MediaWiki 1.5 = |
| 28965 |
|
| 28966 |
== MediaWiki 1.5.9 == |
| 28967 |
* (bug 3359) Add hooks on completion of file upload |
| 28968 |
|
| 28969 |
== MediaWiki 1.5.8 == |
| 28970 |
|
| 28971 |
March 26, 2006 |
| 28972 |
|
| 28973 |
MediaWiki 1.5.8 is a security and bugfix maintenance release. |
| 28974 |
|
| 28975 |
A bug in decoding of certain encoded links could allow injection of raw |
| 28976 |
HTML into page output; this could potentially lead to XSS attacks. |
| 28977 |
|
| 28978 |
Some minor UI fixes were also made, see the change log at the bottom of |
| 28979 |
this file. |
| 28980 |
|
| 28981 |
|
| 28982 |
== MediaWiki 1.5.7 == |
| 28983 |
|
| 28984 |
March 2, 2006 |
| 28985 |
|
| 28986 |
MediaWiki 1.5.7 is a bugfix maintenance release. |
| 28987 |
|
| 28988 |
Most importantly, a security issue in the installer has been fixed. The bug |
| 28989 |
affects new installations of 1.5.6 only. If the user specified the MySQL root |
| 28990 |
password, to allow the installer to create an unprivileged account, the |
| 28991 |
installer would not only create the new account but also change the root |
| 28992 |
password to be equal to the password of the new account. |
| 28993 |
|
| 28994 |
Anyone affected by this bug will need to change the root password back |
| 28995 |
manually. For information about how to change passwords in MySQL please see: |
| 28996 |
http://dev.mysql.com/doc/refman/5.1/en/passwords.html |
| 28997 |
|
| 28998 |
This version includes fixes for compatibility with Internet Explorer 7 |
| 28999 |
beta 2, and various other bugs; see the full changelog at the end of |
| 29000 |
the release notes. |
| 29001 |
|
| 29002 |
|
| 29003 |
== MediaWiki 1.5.6 == |
| 29004 |
|
| 29005 |
January 19, 2006 |
| 29006 |
|
| 29007 |
MediaWiki 1.5.6 is a security and bugfix maintenance release. |
| 29008 |
|
| 29009 |
A bug in edit comment formatting could send PHP into an infinite loop |
| 29010 |
if certain malformed links were included. In most installations, this |
| 29011 |
would cause the script to fail after PHP's 30-second failsafe timeout. |
| 29012 |
|
| 29013 |
Some improvements have been made to the installer which should make |
| 29014 |
installation possible on a system with a broken MySQL "root" account. |
| 29015 |
|
| 29016 |
For several other minor fixes, see the complete changelog at the end |
| 29017 |
of this file. |
| 29018 |
|
| 29019 |
|
| 29020 |
== MediaWiki 1.5.5 == |
| 29021 |
|
| 29022 |
January 5, 2006 |
| 29023 |
|
| 29024 |
MediaWiki 1.5.5 is a security and bugfix maintenance release. |
| 29025 |
|
| 29026 |
Detection for uploads of Windows Metafile (.wmf) images has been added |
| 29027 |
to help protect against a client-side vulnerability in unpatched Microsoft |
| 29028 |
Windows operating systems. |
| 29029 |
|
| 29030 |
Sites which have enabled uploads and added non-standard file types |
| 29031 |
(such as .ogg, .doc, or .pdf) should upgrade to this release to ensure |
| 29032 |
that malicious .wmf files can't be uploaded with a fake extension; |
| 29033 |
such files could put visitors to the site at risk. |
| 29034 |
|
| 29035 |
For more details on this, see: |
| 29036 |
https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability |
| 29037 |
|
| 29038 |
Additionally, a maintenance script removeUnusedAccounts.php has been added; |
| 29039 |
this replaces an older Perl script which had not been updated for the new |
| 29040 |
schema in 1.5. |
| 29041 |
|
| 29042 |
|
| 29043 |
== MediaWiki 1.5.4 == |
| 29044 |
|
| 29045 |
December 21, 2005 |
| 29046 |
|
| 29047 |
MediaWiki 1.5.4 is a security and bugfix maintenance release. |
| 29048 |
|
| 29049 |
A hardcoded internal placeholder string has been replaced with a random |
| 29050 |
one. This closes a hole where security checks in inline style attributes |
| 29051 |
could be bypassed, injecting JavaScript code that could execute in |
| 29052 |
Microsoft Internet Explorer. |
| 29053 |
|
| 29054 |
Other browsers would not be vulnerable. |
| 29055 |
|
| 29056 |
Several minor fixes are included in this release, most notably a fix |
| 29057 |
to clear the "you have new messages" flag properly for usernames |
| 29058 |
containing spaces when e-mail notification is enabled. |
| 29059 |
|
| 29060 |
See the changelog at the end of the release notes for a full list of |
| 29061 |
fixes. |
| 29062 |
|
| 29063 |
|
| 29064 |
== MediaWiki 1.5.3 == |
| 29065 |
|
| 29066 |
December 4, 2005 |
| 29067 |
|
| 29068 |
MediaWiki 1.5.3 is a security and bugfix maintenance release. |
| 29069 |
|
| 29070 |
Validation of the user language option was broken by a code change in |
| 29071 |
May 2005, opening the possibility of remote code execution as this |
| 29072 |
parameter is used in forming a class name dynamically created with |
| 29073 |
eval(). |
| 29074 |
|
| 29075 |
The validation has been corrected in this version. All prior 1.5 release |
| 29076 |
and prelease versions are affected; 1.4 and earlier and not affected. |
| 29077 |
|
| 29078 |
Additionally several bugs have been fixed; see the changelog later in |
| 29079 |
this file for a complete list. |
| 29080 |
|
| 29081 |
|
| 29082 |
== MediaWiki 1.5.2 == |
| 29083 |
|
| 29084 |
November 2, 2005 |
| 29085 |
|
| 29086 |
MediaWiki 1.5.2 is a bugfix maintenance release. |
| 29087 |
|
| 29088 |
A change in PHP 4.4.1 and PHP 5.1.0RC broke handling of extension and |
| 29089 |
<pre> sections, causing garbage data to be inserted in output and saved |
| 29090 |
edits. This version works around the change. |
| 29091 |
|
| 29092 |
Several other glitches with MySQL 5.0 and PHP 5.0.5 were also fixed; |
| 29093 |
see the change log below for a complete list. |
| 29094 |
|
| 29095 |
|
| 29096 |
== MediaWiki 1.5.1 == |
| 29097 |
|
| 29098 |
October 26, 2005 |
| 29099 |
|
| 29100 |
MediaWiki 1.5.1 is a bugfix and security maintenance release, and is a |
| 29101 |
recommended upgrade for all installations. |
| 29102 |
|
| 29103 |
This release includes further corrections to the inline CSS style sanitation |
| 29104 |
which works around a JavaScript "feature" on Microsoft Internet Explorer. |
| 29105 |
Users of Microsoft Internet Explorer for Windows may be vulnerable to |
| 29106 |
XSS injections on prior versions; users of standards-compliant browsers |
| 29107 |
are not vulnerable. |
| 29108 |
|
| 29109 |
Major fixes include: |
| 29110 |
* Image pages work again with resizing disabled |
| 29111 |
* Works in MySQL 5.0 strict mode |
| 29112 |
|
| 29113 |
There is experimental support in this release for explicitly declaring |
| 29114 |
the UTF-8 charset in the database; this has been tested with MySQL 5.0.15 |
| 29115 |
but should work on 4.1 as well. |
| 29116 |
|
| 29117 |
IMPORTANT: Changing this setting on an existing wiki may produce interesting |
| 29118 |
data corruption, depending on server configuration. Page contents should, |
| 29119 |
usually, be unaffected, but page titles and other items may be. Limitations |
| 29120 |
in MySQL's Unicode support mean that characters outside the BMP cannot be used |
| 29121 |
in page titles or various other fields when using this mode. |
| 29122 |
|
| 29123 |
Table definitions are in maintenance/mysql5/tables.sql, and the runtime |
| 29124 |
option to send 'SET NAMES utf8' is set by $wgDBmysql5 = true. |
| 29125 |
|
| 29126 |
(MySQL 3.23.x and 4.0.x do not support character set declarations; on these |
| 29127 |
versions MediaWiki simply works with UTF-8 data and MySQL is blissfully |
| 29128 |
unaware of it.) |
| 29129 |
|
| 29130 |
|
| 29131 |
|
| 29132 |
== MediaWiki 1.5.0 final == |
| 29133 |
|
| 29134 |
October 5, 2005 |
| 29135 |
|
| 29136 |
MediaWiki 1.5.0 is the new stable release branch of MediaWiki, and is |
| 29137 |
recommended for all new installations. |
| 29138 |
|
| 29139 |
Any wikis running a 1.5 beta or release candidate are strongly recommended |
| 29140 |
to upgrade to the final release, which includes a number of bug fixes and |
| 29141 |
a security fix for CSS bugs in Microsoft Internet Explorer. |
| 29142 |
|
| 29143 |
IMPORTANT: Running a 1.3 or 1.4 wiki and don't want to jump to 1.5 yet? |
| 29144 |
Be sure to upgrade to 1.3.17 or 1.4.11, also released today. Versions |
| 29145 |
prior to 1.3.16 and 1.4.10 have a serious data corruption bug which is |
| 29146 |
triggered by a spambot known to operate in the wild. |
| 29147 |
|
| 29148 |
|
| 29149 |
=== What's new in 1.5? === |
| 29150 |
|
| 29151 |
Schema: |
| 29152 |
The core table schema has changed significantly. This should make better |
| 29153 |
use of the database's cache and disk I/O, and make significantly speed up |
| 29154 |
rename and delete operations on pages with very long edit histories. |
| 29155 |
|
| 29156 |
Unfortunately this does mean upgrading a wiki of size from 1.4 will require |
| 29157 |
some downtime for the schema restructuring, but future storage backend |
| 29158 |
changes should be able to integrate into the new system more easily. |
| 29159 |
|
| 29160 |
Permalinks: |
| 29161 |
The current revision of a page now has a permanent 'oldid' number assigned |
| 29162 |
immediately, and the id numbers are now preserved across deletion/undeletion. |
| 29163 |
A permanent reference to the current revision of a page is now just a matter |
| 29164 |
of going to the 'history' tab and copying the first link in the list. |
| 29165 |
|
| 29166 |
Page move log: |
| 29167 |
Renames of pages are now recorded in Special:Log and the page history. |
| 29168 |
A handy revert link is available from the log for sysops. |
| 29169 |
|
| 29170 |
Editing diff: |
| 29171 |
Ever lost track of what you'd done so far during an edit? A 'Show diff' |
| 29172 |
button on the edit page now makes it easy to remember. |
| 29173 |
|
| 29174 |
Uploads: |
| 29175 |
It's now possible to specify the final filename of an upload distinct |
| 29176 |
from the original filename on your disk. |
| 29177 |
|
| 29178 |
An image link for a missing file will now take you straight to the upload |
| 29179 |
page. |
| 29180 |
|
| 29181 |
More metadata is pre-extracted from uploaded images, which will ease pressure |
| 29182 |
on disk or NFS volumes used to store images. EXIF metadata is displayed on |
| 29183 |
the image description page if PHP is configured with the necessary module. |
| 29184 |
|
| 29185 |
If .svg files are added to the upload whitelist, you can choose to render |
| 29186 |
them to rasterized .png images for inline display using one of several |
| 29187 |
external helper programs. See DefaultSettings.php for SVG options. |
| 29188 |
|
| 29189 |
User accounts: |
| 29190 |
There are some changes to the user permissions system, with assignable |
| 29191 |
groups. Note that this does *not* allow you to make pages which are only |
| 29192 |
accessible to certain groups. |
| 29193 |
|
| 29194 |
For details see: https://www.mediawiki.org/wiki/Manual:User_rights |
| 29195 |
|
| 29196 |
E-mail: |
| 29197 |
User-to-user e-mail can now be restricted to require a mail-back confirmation |
| 29198 |
first to reduce potential for abuse with false addresses. |
| 29199 |
|
| 29200 |
Updates to user talk pages and watchlist entries can optionally send e-mail |
| 29201 |
notifications. |
| 29202 |
|
| 29203 |
External hooks: |
| 29204 |
A somewhat experimental interface for hooking in an external editor |
| 29205 |
application is included. |
| 29206 |
|
| 29207 |
And... |
| 29208 |
A bunch of stuff we forgot to mention. |
| 29209 |
|
| 29210 |
|
| 29211 |
=== What's gone? === |
| 29212 |
|
| 29213 |
Latin-1: |
| 29214 |
Wikis must now be encoded in Unicode UTF-8; this has been the default for |
| 29215 |
some time, but some languages could optionally be installed in Latin-1 mode. |
| 29216 |
This is no longer supported. |
| 29217 |
|
| 29218 |
You can check if your current wiki is in Latin-1 mode by using your browser's |
| 29219 |
"view source"; look for a line like this: |
| 29220 |
|
| 29221 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 29222 |
|
| 29223 |
If it says charset=utf-8, you're ready. If it says charset=iso8859-1, |
| 29224 |
you may need to convert your data. (English-language wikis avoiding |
| 29225 |
any accented characters may be able to get away without conversion.) |
| 29226 |
|
| 29227 |
MySQL 3.x: |
| 29228 |
Some optimization hacks for MySQL 3.x have been removed as part of the schema |
| 29229 |
clean-up (specifically, the inverse_timestamp fields). |
| 29230 |
|
| 29231 |
MediaWiki 1.5 may still run on 3.x, but wikis of non-trivial size should |
| 29232 |
very seriously consider upgrading to a more modern release. MySQL 3.x support |
| 29233 |
will probably be entirely dropped in the next major release. |
| 29234 |
|
| 29235 |
Special:Maintenance |
| 29236 |
These tools were, ironically enough, not really maintained. This special |
| 29237 |
page has been removed; insofar as some of its pieces were useful and haven't |
| 29238 |
already been supplanted by other special pages they should be rewritten in |
| 29239 |
an efficient and safe manner in the future. |
| 29240 |
|
| 29241 |
|
| 29242 |
=== Caveats === |
| 29243 |
|
| 29244 |
Upgrade: |
| 29245 |
Wikis in Latin-1 encoding are no longer supported; only Unicode UTF-8. |
| 29246 |
A new option $wgLegacyEncoding is provided to allow on-the-fly recoding of |
| 29247 |
old page text entries, but other metadata fields (titles, comments etc) need |
| 29248 |
to be pre-converted. The standard upgrade process does not yet fully automate |
| 29249 |
this, but you can try the alternate partial-upgrader in upgrade1_5.php. |
| 29250 |
|
| 29251 |
The upgrade from 1.4 to 1.5 schema has not been tested for all cases, so |
| 29252 |
it's possible you may experience problems in some combinations. |
| 29253 |
|
| 29254 |
Backups: |
| 29255 |
The text entries of deleted pages are no longer removed from the main |
| 29256 |
text table on deletion. If you provide public backup dumps of your databases, |
| 29257 |
you will probably want to use the new XML-format dump generator, available |
| 29258 |
as maintenance/dumpBackup.php. |
| 29259 |
|
| 29260 |
For more information on how we run our own public data dumps at Wikimedia, |
| 29261 |
see http://meta.wikimedia.org/wiki/Data_dumps |
| 29262 |
|
| 29263 |
PostgreSQL: |
| 29264 |
The table definitions for PostgreSQL install are out of date. PostgreSQL |
| 29265 |
support may return in later releases, pending appropriate patches. |
| 29266 |
|
| 29267 |
MySQL 4.1+: |
| 29268 |
Some users may encounter installation problems with MySQL 4.1 or higher |
| 29269 |
due to strange charset encoding / collation configurations. Try setting |
| 29270 |
to 'latin1' or 'utf8' if you encounter problems. |
| 29271 |
|
| 29272 |
|
| 29273 |
|
| 29274 |
== MediaWiki 1.5 release candidate 4 == |
| 29275 |
|
| 29276 |
August 29, 2005 |
| 29277 |
|
| 29278 |
MediaWiki 1.5rc4 is a preview release of the new 1.5 release series. |
| 29279 |
It fixes compatibility with PHP 5.1, and corrects two cross-site scripting |
| 29280 |
security bugs: |
| 29281 |
|
| 29282 |
* <math> tags were handled incorrectly when TeX rendering support is off, |
| 29283 |
as in the default configuration. |
| 29284 |
* Extension or <nowiki> sections in Wiki table syntax could bypass HTML |
| 29285 |
style attribute restrictions for cross-site scripting attacks against |
| 29286 |
Microsoft Internet Explorer |
| 29287 |
|
| 29288 |
Wikis where the optional math support has been *enabled* are not vulnerable |
| 29289 |
to the first, but are vulnerable to the second. |
| 29290 |
|
| 29291 |
|
| 29292 |
|
| 29293 |
== MediaWiki 1.5 release candidate 3 == |
| 29294 |
|
| 29295 |
August 24, 2005 |
| 29296 |
|
| 29297 |
MediaWiki 1.5rc3 is a preview release of the new 1.5 release series. |
| 29298 |
It fixes several major problems in 1.5rc2: |
| 29299 |
|
| 29300 |
* Fixed a cross-site scripting injection in the search form |
| 29301 |
(broken since 1.5beta1) |
| 29302 |
|
| 29303 |
* Fixed upgrades from 1.4 database schema |
| 29304 |
(broken since 1.5rc2) |
| 29305 |
|
| 29306 |
1.3 and 1.4 releases are not vulnerable to the XSS bug, but anyone |
| 29307 |
running an earlier 1.5 beta or release candidate should upgrade |
| 29308 |
immediately. |
| 29309 |
|
| 29310 |
|
| 29311 |
== MediaWiki 1.5 release candidate 2 == |
| 29312 |
|
| 29313 |
August 23, 2005 |
| 29314 |
|
| 29315 |
MediaWiki 1.5rc2 is a preview release of the new 1.5 release series. |
| 29316 |
Numerous bug fixes since last beta, plus a security fix; see change |
| 29317 |
log below for full details. |
| 29318 |
|
| 29319 |
A flaw in the interaction between extensions and HTML attribute |
| 29320 |
sanitization was discovered which could allow unauthorized use |
| 29321 |
of offsite resources in style sheets, and possible exploitation |
| 29322 |
of a JavaScript injection feature on Microsoft Internet Explorer. |
| 29323 |
|
| 29324 |
This version expands the returned text and properly checks it |
| 29325 |
before output. |
| 29326 |
|
| 29327 |
A 1.5rc1 release was mistakenly made from the incorrect source code |
| 29328 |
branch; 1.5rc2 is identical to the actual 1.5rc1 in revision control |
| 29329 |
except for version number. |
| 29330 |
|
| 29331 |
|
| 29332 |
== MediaWiki 1.5 beta 4 == |
| 29333 |
|
| 29334 |
July 30, 2005 |
| 29335 |
|
| 29336 |
MediaWiki 1.5 beta 4 is a preview release of the new 1.5 release series. |
| 29337 |
A number of bugs have been fixed since beta 3; see the full changelist below. |
| 29338 |
|
| 29339 |
|
| 29340 |
== MediaWiki 1.5 beta 3 == |
| 29341 |
|
| 29342 |
July 7, 2005 |
| 29343 |
|
| 29344 |
MediaWiki 1.5 beta 3 is a preview release of the new 1.5 release |
| 29345 |
series, with a security update over beta 2. |
| 29346 |
|
| 29347 |
Incorrect escaping of a parameter in the page move template could |
| 29348 |
be used to inject JavaScript code by getting a victim to visit a |
| 29349 |
maliciously constructed URL. Users of vulnerable releases are |
| 29350 |
recommended to upgrade to this release. |
| 29351 |
|
| 29352 |
Vulnerable versions: |
| 29353 |
* 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3 |
| 29354 |
* 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6 |
| 29355 |
* 1.3 legacy series: not vulnerable |
| 29356 |
|
| 29357 |
This release also includes several bug fixes and localization updates. |
| 29358 |
See the changelog at the end of this file for a detailed list. |
| 29359 |
|
| 29360 |
|
| 29361 |
|
| 29362 |
== MediaWiki 1.5 beta 2 == |
| 29363 |
|
| 29364 |
July 5, 2005 |
| 29365 |
|
| 29366 |
MediaWiki 1.5 beta 2 is a preview release of the new 1.5 release series. |
| 29367 |
While most exciting new bugs should have been ironed out at this point, |
| 29368 |
third-party wiki operators should probably not run this beta release |
| 29369 |
on a public site without closely following additional development. |
| 29370 |
|
| 29371 |
Anyone who _has_ been running beta 1 is very very strongly advised to |
| 29372 |
upgrade to beta 2, as it fixes many bugs from the previous beta including |
| 29373 |
a couple of HTML and SQL injections. |
| 29374 |
|
| 29375 |
This release should be followed by one or two release candidates and |
| 29376 |
a 1.5.0 final within the next few weeks. |
| 29377 |
|
| 29378 |
Beta upgraders, note there are some minor database changes. For upgrades |
| 29379 |
from 1.4, see the file UPGRADE for details on significant database and |
| 29380 |
configuration file changes. |
| 29381 |
|
| 29382 |
Beta 2 includes a preliminary command-line XML wiki dump importer tool, |
| 29383 |
maintenance/importDump.php, paired with maintenance/dumpBackup.php. |
| 29384 |
These use the same format as Special:Export and Special:Import, able |
| 29385 |
to package a wiki's entire page set independent of the backend database |
| 29386 |
and compression format. |
| 29387 |
|
| 29388 |
|
| 29389 |
== MediaWiki 1.5 beta 1 == |
| 29390 |
|
| 29391 |
June 26, 2005 |
| 29392 |
|
| 29393 |
MediaWiki 1.5 beta 1 is a preview release, pretty much feature complete, |
| 29394 |
of the new 1.5 release series. There are several known and likely a number |
| 29395 |
of unknown bugs; it is not recommended to use this release in a production |
| 29396 |
environment but would be recommended for testing in mind of an upcoming |
| 29397 |
deployment. |
| 29398 |
|
| 29399 |
A number of significant changes have been made since the alpha releases, |
| 29400 |
including database changes and a reworking of the user permissions settings. |
| 29401 |
See the file UPGRADE for details of upgrading and changing your prior |
| 29402 |
configuration settings for the new system. |
| 29403 |
|
| 29404 |
|
| 29405 |
|
| 29406 |
== MediaWiki 1.5 alpha 2 == |
| 29407 |
|
| 29408 |
June 3, 2005 |
| 29409 |
|
| 29410 |
MediaWiki 1.5 alpha 2 includes a lot of bug fixes, feature merges, |
| 29411 |
and a security update. |
| 29412 |
|
| 29413 |
Incorrect handling of page template inclusions made it possible to |
| 29414 |
inject JavaScript code into HTML attributes, which could lead to |
| 29415 |
cross-site scripting attacks on a publicly editable wiki. |
| 29416 |
|
| 29417 |
Vulnerable releases and fix: |
| 29418 |
* 1.5 prerelease: fixed in 1.5alpha2 |
| 29419 |
* 1.4 stable series: fixed in 1.4.5 |
| 29420 |
* 1.3 legacy series: fixed in 1.3.13 |
| 29421 |
* 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended |
| 29422 |
|
| 29423 |
|
| 29424 |
== MediaWiki 1.5 alpha 1 == |
| 29425 |
|
| 29426 |
May 3, 2005 |
| 29427 |
|
| 29428 |
This is a testing preview release, being put out mainly to aid testers in |
| 29429 |
finding installation bugs and other major problems. It is strongly recommended |
| 29430 |
NOT to run a live production web site on this alpha release. |
| 29431 |
|
| 29432 |
** WARNING: USE OF THIS ALPHA RELEASE MAY INFEST YOUR HOUSE WITH ** |
| 29433 |
** TERMITES, ROT YOUR TEETH, GROW HAIR ON YOUR PALMS, AND PASTE ** |
| 29434 |
** INNUENDO INTO YOUR C.V. RIGHT BEFORE A JOB INTERVIEW! ** |
| 29435 |
** DON'T SAY WE DIDN'T WARN YOU, MAN. WE TOTALLY DID RIGHT HERE. ** |
| 29436 |
|
| 29437 |
|
| 29438 |
=== Smaller changes since 1.4 === |
| 29439 |
|
| 29440 |
Various bugfixes, small features, and a few experimental things: |
| 29441 |
|
| 29442 |
* 'live preview' reduces preview reload burden on supported browsers |
| 29443 |
* support for external editors for files and wiki pages: |
| 29444 |
https://www.mediawiki.org/wiki/Manual:External_editors |
| 29445 |
* Schema reworking: |
| 29446 |
https://www.mediawiki.org/wiki/Proposed_Database_Schema_Changes/October_2004 |
| 29447 |
* (bug 15) Allow editors to view diff of their change before actually submitting |
| 29448 |
an edit |
| 29449 |
* (bug 190) Hide your own edits on the watchlist |
| 29450 |
* (bug 510): Special:Randompage now works for other namespaces than NS_MAIN. |
| 29451 |
* (bug 1015) support for the full wikisyntax in <gallery> captions. |
| 29452 |
* (bug 1105) A "Destination filename" (save as) added to Special:Upload Upload. |
| 29453 |
* (bug 1352) Images on description pages now get thumbnailed regardless of |
| 29454 |
whether the thumbnail is larger than the original. |
| 29455 |
* (bug 1662) A new magicword, {{CURRENTMONTHABBREV}} returns the abbreviation of |
| 29456 |
the current month |
| 29457 |
* (bug 1668) 'Date format' supported for other languages than English, see: |
| 29458 |
https://lists.wikimedia.org/hyperkitty/list/[email protected]/thread/5SH5IDCNYZTRBQQZ33GS7WYDEJ3PSEZE/ |
| 29459 |
* (bug 1739) A new magicword, {{REVISIONID}} give you the article or diff |
| 29460 |
database revision id, useful for proper citation. |
| 29461 |
* (bug 1998) Updated the Russian translation. |
| 29462 |
* (bug 2064) Configurable JavaScript mimetype with $wgJsMimeType |
| 29463 |
* (bug 2084) Fixed a regular expression in includes/Title.php that was accepting |
| 29464 |
invalid syntax like #REDIRECT [[foo] in redirects |
| 29465 |
* It's now possible to invert the namespace selection at Special:Allpages and |
| 29466 |
Special:Contributions |
| 29467 |
* No longer using sorbs.net to check for open proxies by default. |
| 29468 |
* What was $wgDisableUploads is now $wgEnableUploads, and should be set to true |
| 29469 |
if one wishes to enable uploads. |
| 29470 |
* Supplying a reason for a block is no longer mandatory |
| 29471 |
* Language conversion support for category pages |
| 29472 |
* $wgStyleSheetDirectory is no longer an alias for $wgStyleDirectory; |
| 29473 |
* Special:Movepage can now take parameters like Special:Movepage/Page_to_move |
| 29474 |
(used to just be able to take parameters via a GET request like |
| 29475 |
index.php?title=Special:Movepage&target=Page_to_move) |
| 29476 |
* (bug 2151) The delete summary now includes editor name, if only one has edited |
| 29477 |
the article. |
| 29478 |
* (bug 2105) Fixed from argument to the PHP mail() function. A missing space |
| 29479 |
could prevent sending mail with some versions of sendmail. |
| 29480 |
* (bug 2228) Updated the Slovak translation |
| 29481 |
* ...and more! |
| 29482 |
|
| 29483 |
|
| 29484 |
=== Changes since 1.5alpha1 === |
| 29485 |
|
| 29486 |
* (bug 73) Category sort key is set to file name when adding category to |
| 29487 |
file description from upload page (previously it would be set to |
| 29488 |
"Special:Upload", causing problems with category paging) |
| 29489 |
* (bug 419) The contents of the navigation toolbar are now editable through |
| 29490 |
the MediaWiki namespace on the MediaWiki:navbar page. |
| 29491 |
* (bug 498) The Views heading in MonoBook.php is now localizable |
| 29492 |
* (bug 898) The wiki can now do advanced sanity check on uploaded files |
| 29493 |
including virus checks using external programs. |
| 29494 |
* (bug 1692) Fix margin on unwatch tab |
| 29495 |
* (bug 1906) Generalize project namespace for Latin localization, update |
| 29496 |
namespaces |
| 29497 |
* (bug 1975) The name for Limburgish (li) changed from "Lèmburgs" to "Limburgs |
| 29498 |
* (bug 2019) Wrapped the output of Special:Version in <div dir='ltr'> in order |
| 29499 |
to preserve the correct flow of text on RTL wikis. |
| 29500 |
* (bug 2067) Fixed crash on empty quoted HTML attribute |
| 29501 |
* (bug 2075) Corrected namespace definitions in Tamil localization |
| 29502 |
* (bug 2079) Removed links to Special:Maintenance from movepagetext message |
| 29503 |
* (bug 2094) Multiple use of a template produced wrong results in some cases |
| 29504 |
* (bug 2095) Triple-closing-bracket thing partly fixed |
| 29505 |
* (bug 2110) "noarticletext" should not display on Image page for "sharedupload" |
| 29506 |
media |
| 29507 |
* (bug 2150) Fix tab indexes on edit form |
| 29508 |
* (bug 2152) Add missing bgcolor to attribute whitelist for <td> and <th> |
| 29509 |
* (bug 2176) Section edit 'show changes' button works correctly now |
| 29510 |
* (bug 2178) Use temp dir from environment in parser tests |
| 29511 |
* (bug 2217) Negative ISO years were incorrectly converted to BC notation |
| 29512 |
* (bug 2234) allow special chars in database passwords during install |
| 29513 |
* Deprecated the {{msg:template}} syntax for referring to templates, {{msg: is |
| 29514 |
now the wikisyntax representation of wfMsgForContent() |
| 29515 |
* Fix for reading incorrectly re-gzipped HistoryBlob entries |
| 29516 |
* HistoryBlobStub: the last-used HistoryBlob is kept open to speed up |
| 29517 |
multiple-revision pulls |
| 29518 |
* Add $wgLegacySchemaConversion update-time option to reduce amount of |
| 29519 |
copying during the schema upgrade: creates HistoryBlobCurStub reference |
| 29520 |
records in text instead of copying all the cur_text fields. Requires |
| 29521 |
that the cur table be left in place until/unless such fields are migrated |
| 29522 |
into the main text store. |
| 29523 |
* Special:Export now includes page, revision, and user id numbers by |
| 29524 |
default (previously this was disabled for no particular reason) |
| 29525 |
* dumpBackup.php can dump the full database to Export XML, with current |
| 29526 |
revisions only or complete histories. |
| 29527 |
* The group table was renamed to groups because "group" is a reserved word in |
| 29528 |
SQL which caused some inconveniances. |
| 29529 |
* New fileicons for c, cpp, deb, dvi, exe, h, html, iso, java, mid, mov, o, |
| 29530 |
ogg, pdf, ps, rm, rpm, tar, tex, ttf and txt files based on the KDE |
| 29531 |
crystalsvg theme. |
| 29532 |
* Fixed a bug in Special:Newimages that made it impossible to search for '0' |
| 29533 |
* Added language variant support for Icelandic, now supports "Íslenzka" |
| 29534 |
* The #p-nav id in MonoBook is now #p-navigation |
| 29535 |
* Putting $4 in msg:userstatstext will now give the percentage of |
| 29536 |
admnistrators out of normal users. |
| 29537 |
* links and brokenlinks tables merged to pagelinks; this will reduce pain |
| 29538 |
dealing with moves and deletes of widely-linked pages. |
| 29539 |
* Add validate table and val_ip column through the updater. |
| 29540 |
* Simple rate limiter for edits and page moves; set $wgRateLimits |
| 29541 |
(somewhat experimental; currently needs memcached) |
| 29542 |
* (bug 2262) Hide math preferences when TeX is not enabled |
| 29543 |
* (bug 2267) Don't generate thumbnail at the same size as the source image. |
| 29544 |
* Fix rebuildtextindex.inc for new schema |
| 29545 |
* Remove linkscc table code, no longer used. |
| 29546 |
* (bug 2271) Use faster text-only link replacement in image alt text |
| 29547 |
instead of rerunning expensive link lookup and HTML generation. |
| 29548 |
* Only build the HTML attribute whitelist tree once. |
| 29549 |
* Replace wfMungeToUtf8 and do_html_entity_decode with a single function |
| 29550 |
that does both numeric and named chars: Sanitizer::decodeCharReferences |
| 29551 |
* Removed some obsolete UTF-8 converter functions |
| 29552 |
* Fix function comment in debug dump of SQL statements |
| 29553 |
* (bug 2275) Update search index more or less right on page move |
| 29554 |
* (bug 2053) Move comment whitespace trimming from edit page to save; |
| 29555 |
leaves the whitespace from the section comment there on preview. |
| 29556 |
* (bug 2274) Respect stub threshold in category page list |
| 29557 |
* (bug 2173) Fatal error when removing an article with an empty title from the |
| 29558 |
watchlist |
| 29559 |
* Removed -f parameter from mail() usage, likely to cause failures and bounces. |
| 29560 |
* (bug 2130) Fixed interwiki links with fragments |
| 29561 |
* (bug 684) Accept an attribute parameter array on parser hook tags |
| 29562 |
* (bug 814) Integrate AuthPlugin changes to support Ryan Lane's external |
| 29563 |
LDAP authentication plugin |
| 29564 |
* (bug 2034) Armor HTML attributes against template inclusion and links munging |
| 29565 |
|
| 29566 |
=== Changes since 1.5alpha2 === |
| 29567 |
|
| 29568 |
* (bug 2319) Fix parse hook tag matching |
| 29569 |
* (bug 2329) Fix title formatting in several special pages |
| 29570 |
* (bug 2223) Add unique index on user_name field to prevent duplicate accounts |
| 29571 |
* (bug 1976) fix shared user database with a table prefix set |
| 29572 |
* (bug 2334) Accept null for attribs in wfElement without PHP warning |
| 29573 |
* (bug 2309) Allow templates and template parameters in HTML attribute zone, |
| 29574 |
with proper validation checks. (regression from fix for 2304) |
| 29575 |
* Disallow close tags and enforce empty tags for <hr> and <br> |
| 29576 |
* Changed user_groups format quite a bit. |
| 29577 |
* (bug 2368) Avoid fatally breaking PHP 4.1.2 in a debug line |
| 29578 |
* (bug 2367) Insert correct redirect link record on page move |
| 29579 |
* (bug 2372) Fix rendering of empty-title inline interwiki links |
| 29580 |
* (bug 2384) Fix typo in regex for IP address checking |
| 29581 |
* (bug 650) Prominently link MySQL 4.1 help page in installer if a possible |
| 29582 |
version conflict is detected |
| 29583 |
* (bug 2394) Undo incompatible breakage to {{msg:}} compatibility includes |
| 29584 |
* (bug 1322) Use a shorter cl_sortkey field to avoid breaking on MySQL 4.1 |
| 29585 |
when the default charset is set to utf8 |
| 29586 |
* (bug 2400) don't send confirmation mail on account creation if |
| 29587 |
$wgEmailAuthentication is false. |
| 29588 |
* (bug 2172) Fix problem with nowiki beeing replaced by marker strings |
| 29589 |
when a template with a gallery was used. |
| 29590 |
* Guard Special:Userrights against form submission forgery |
| 29591 |
* (bug 2408) page_is_new was inverted (whoops!) |
| 29592 |
* Added wfMsgHtml() function for escaping messages and leaving params intact |
| 29593 |
* Fix ordering of Special:Listusers; fix groups list so it shows all groups |
| 29594 |
when searching for a specific group and can't be split across pages |
| 29595 |
* (bug 1702) Display a handy upload link instead of a useless blank link |
| 29596 |
for [[media:]] links to nonexistent files. |
| 29597 |
* (bug 873) Fix usage of createaccount permission; replaces $wgWhitelistAccount |
| 29598 |
* (bug 1805) Initialise $wgContLang before $wgUser |
| 29599 |
* (bug 2277) Added Friulian language file |
| 29600 |
* (bug 2457) The "Special page" href now links to the current special page |
| 29601 |
rather than to "". |
| 29602 |
* (bug 1120) Updated the Czech translation |
| 29603 |
* A new magic word, {{SCRIPTPATH}}, returns $wgScriptPath |
| 29604 |
* A new magic word, {{SERVERNAME}}, returns $wgServerName |
| 29605 |
* A new magic word, {{NUMBEROFFILES}}, returns the number of rows in the image |
| 29606 |
table |
| 29607 |
* Special:Imagelist displays titles with " " instead of "_" |
| 29608 |
* Less gratuitous munging of content sample in delete summary |
| 29609 |
* badaccess/badaccesstext to supercede sysop*, developer* messages |
| 29610 |
* Changed $wgGroupPermissions to more cut-n-paste-friendly format |
| 29611 |
* 'developer' group deprecated by default |
| 29612 |
* Special:Upload now uses 'upload' permission instead of hardcoding login check |
| 29613 |
* Add 'importupload' permission to disable direct uploads to Special:Import |
| 29614 |
* (bug 2459) Correct escaping in Special:Log prev/next links |
| 29615 |
* (bug 2462 etc) Taking out the experimental dash conversion; it broke too many |
| 29616 |
things for the current parser to handle cleanly |
| 29617 |
* (bug 2467) Added a Turkish language file |
| 29618 |
* Fixed a bug in Special:Contributions that caused the namespace selection to |
| 29619 |
be forgotten between submits |
| 29620 |
* Special:Watchlist/edit now has namespace subheadings |
| 29621 |
* (bug 1714) the "Save page" button now has right margin to separate it from |
| 29622 |
"Show preview" and "Show changes" |
| 29623 |
* Special:Statistics now supports action=raw, useful for bots designed to |
| 29624 |
harwest e.g. article counts from multiple wikis. |
| 29625 |
* The copyright confirmation box at Special:Upload is now turned off by default |
| 29626 |
and can be turned back on by setting $wgCopyrightAffirmation to a true value. |
| 29627 |
* Restored prior text for password reminder button and e-mail, replacing |
| 29628 |
the factually inaccurate text that was there. |
| 29629 |
* (bug 2178) Fix temp dir check again |
| 29630 |
* (bug 2488) Format 'deletedtext' message as wikitext |
| 29631 |
* (bug 750) Keep line endings consistent in LocalSettings.php |
| 29632 |
* (bug 1577) Add 'printable version' tab in MonoBook for people who don't |
| 29633 |
realize you can just hit print to get a nicely formatted printable page. |
| 29634 |
* Trim whitespace from option values to weather line-ending corruption problems |
| 29635 |
* Fixed a typo in the Romanian language file (NS_MESIA => NS_MEDIA) |
| 29636 |
* (bug 2504) Updated the Finnish translation |
| 29637 |
* (bug 2506, 2512) Updated the Nynorsk translation |
| 29638 |
* (bug 996) Replace $wgWhitelistEdit with 'edit' permission; fixup UPGRADE |
| 29639 |
documentation about edit and read whitelists. |
| 29640 |
* (bug 2515) Fix incremental link table update |
| 29641 |
* Removed some wikipedia-specifica from LanguageXx.php's |
| 29642 |
* (bug 2496) Allow MediaWiki:edithelppage to point to external page |
| 29643 |
* Added a versionRequired() function to OutputPage, useful for extension |
| 29644 |
writers that want to control what version of MediaWiki their extension |
| 29645 |
can be used with. |
| 29646 |
* Serialized user objects now checked for versioning |
| 29647 |
* Fix for interwiki link regression |
| 29648 |
* Printable link shorter in monobook |
| 29649 |
* Experimental Latin-1-and-replication-friendly upgrader script |
| 29650 |
* (bug 2520) Don't show enotif options when disabled |
| 29651 |
|
| 29652 |
== Changes since 1.5beta1 == |
| 29653 |
|
| 29654 |
* (bug 2531) Changed the interwiki name for sh (Serbocroatian) to |
| 29655 |
Srpskohrvatski/Српскохрватски (was Српскохрватски (Srbskohrvatski)) |
| 29656 |
* Nonzero return code for command-line scripts on wfDebugDieBacktrace() |
| 29657 |
* Conversion fix for empty old table in upgrade1_5.php |
| 29658 |
* Try reading revisions from master if no result on slave |
| 29659 |
* (bug 2538) Suppress notice on user serialized checks |
| 29660 |
* Fix paging on Special:Contributions |
| 29661 |
* (bug 2541) Fix unprotect tab |
| 29662 |
* (bug 1242) category list now show on edit page |
| 29663 |
* Skip sidebar entries where link text is '-' |
| 29664 |
* Convert non-UTF-8 URL parameters even if referer is local |
| 29665 |
* (bug 2460) <img> width & height properly filled when resizing image |
| 29666 |
* (bug 2273) deletion log comment used user interface language |
| 29667 |
* Try reading revision _text_ from master if no result on slave |
| 29668 |
* Use content-language message cache for raw view of message pages |
| 29669 |
* (bug 2530) Not displaying talk pages on Special:Watchlist/edit |
| 29670 |
* Fixed a bug that would occour if $wgCapitalLinks was set to false, a user |
| 29671 |
agent could create a username that began with a lower case letter that was |
| 29672 |
not in the ASCII character set ( now user $wgContLang->ucfirst() instead of |
| 29673 |
PHP ucfirst() ) |
| 29674 |
* Moved the user name / password validity checking from |
| 29675 |
LoginForm::addNewAccountInternal() to two new functions, |
| 29676 |
User::isValidUserName() and User::isValidPassword(), extensions can now do |
| 29677 |
these checks without rewriting code. |
| 29678 |
* Fix $wgSiteNotice when MediaWiki:Sitenotice is set to default '-' |
| 29679 |
* Fixed a bug where the watchlist count without talk pages would be off by a |
| 29680 |
factor of two. |
| 29681 |
* upgrade1_5.php uses insert ignore, allows to skip image info initialization |
| 29682 |
* Fix namespaces in category list. |
| 29683 |
* Add rebuildImages.php to update image metadata fields |
| 29684 |
* Special:Ancientpages is expensive in new schema for now |
| 29685 |
* (bug 2568) Fixed a logic error in the Special:Statistics code which caused |
| 29686 |
the displayed percentage of admins to be totally off. |
| 29687 |
* (bug 2560) Don't show blank width/height attributes for missing size |
| 29688 |
* Don't show bogus messages about watchlist notifications when disabled |
| 29689 |
* Don't show old debug messages in watchlist |
| 29690 |
* (bug 2576) Fix recording of transclusion links |
| 29691 |
* (bug 2577) Allow sysops to enter non-standard block times |
| 29692 |
* Fixed a bug where Special:Contributions wouldn't remember the 'invert' |
| 29693 |
status between next/previous buttons. |
| 29694 |
* Move MonoBook printable link from tab to sidebar |
| 29695 |
* (bug 2567) Fix HTML escaping on category titles in list |
| 29696 |
* (bug 2562) Show rollback link for current revisions on diff pages |
| 29697 |
* (bug 2583) Add --missinig option on rebuildImages.php to add db entries |
| 29698 |
for uploaded files that don't have them |
| 29699 |
* (bug 2572) Fix edit conflict handling |
| 29700 |
* (bug 2595) Show "Earlier" and "Latest" links on history go to the first/last |
| 29701 |
page in the article history pager. |
| 29702 |
* Don't show empty-page text in 'Show changes' on new page |
| 29703 |
* (bug 2591) Check for end, fix limits on Whatlinkshere |
| 29704 |
* (bug 2584) Fix output of subcategory list |
| 29705 |
* (bug 2597) Don't crash when undeleting an image description page |
| 29706 |
* (bug 2564) Don't show "editingold" warning for recent revision |
| 29707 |
* Various code cleanup and HTML escaping fixlets |
| 29708 |
* Copy IRC-over-UDP update option from REL1_4 |
| 29709 |
* (bug 2548) Keep summary on 'show changes' of section edit |
| 29710 |
* Move center on toc to title part to avoid breaking .toc style usage |
| 29711 |
* HTML sanitizer: correct multiple attributes by keeping last, not first |
| 29712 |
* (bug 2614) Fix section edit links on diff-to-current with oldid set |
| 29713 |
Also fix navigation links on current-with-oldid view. |
| 29714 |
* (bug 2620) Return to prior behavior for some more things (such as |
| 29715 |
subpage parent links) on current-diff view. |
| 29716 |
* (bug 2618) Fix regression from another fix; show initial preview for |
| 29717 |
categories only if the page does not exist. |
| 29718 |
* (bug 2625) Keep group & user settings when paging in Listusers |
| 29719 |
* (bug 2627) Fix regression: diff radio button initial selection |
| 29720 |
* Copy fix for old search URLs with Lucene search plugin from REL1_4 |
| 29721 |
* (bug 619) Don't use incompatible diff3 executable on non-Linux systems. |
| 29722 |
* (bug 2631) Fix Hebrew namespaces. |
| 29723 |
* (bug 2630) Indicate no-longer-valid cached entries in BrokenRedirects list |
| 29724 |
* (bug 2644, 2645) "cur" diff links in page history, watchlist and |
| 29725 |
recentchanges should specify current ID explicitly. |
| 29726 |
* (bug 2609) Fix text justification preferenced with MonoBook skin. |
| 29727 |
* (bug 2594) Display article tab as red for non-existent articles. |
| 29728 |
* (bug 2656) Fix regression: prevent blocked users from reverting images |
| 29729 |
* (bug 2629) Automatically capitalize usernames again instead of |
| 29730 |
rejecting lowercase with a useless error message |
| 29731 |
* (bug 2661) Fix link generation in contribs |
| 29732 |
* Add support for &preload=Page_name (load text of an existing page into |
| 29733 |
edit area) and &editintro=Page_name (load text of an existing page instead |
| 29734 |
of MediaWiki:Newpagetext) to &action=edit, if page is new. |
| 29735 |
* (bugs 2633, 2672, 2685, 2695) Fix Estonian, Portuguese, Italian, Finnish and |
| 29736 |
Spanish numeric formatting |
| 29737 |
* Fixed Swedish numeric formatting |
| 29738 |
* (bug 2658) Fix signature time, localtime to match timezone offset again |
| 29739 |
* Files from shared repositories (e.g. commons) now display with their |
| 29740 |
image description pages when viewed on local wikis. |
| 29741 |
* Restore compatibility namespace aliases for French Wikipedia |
| 29742 |
* Fix diff order on Enhanced RC 'changes' link |
| 29743 |
* (bug 2650) Fix national date type display on wikis that don't support |
| 29744 |
dynamic date conversion. |
| 29745 |
* FiveUpgrade: large table hacks, install iw_trans update before links |
| 29746 |
* (bug 2648) Rename namespaces in Afrikaanse |
| 29747 |
* Special:Booksources checks if custom list page exists before using it |
| 29748 |
* (bug 1170) Fixed linktrail for da: and ru: |
| 29749 |
* (bug 2683) Really fix apostrophe escaping for toolbox tips |
| 29750 |
* (bug 923) Fix title and subtitle for rclinked special page |
| 29751 |
* (bug 2642) watchdetails message in several languages used <a></a> instead of |
| 29752 |
[ ] |
| 29753 |
* (bug 2181) basic CSB language localisation by Tomasz G. Sienicki (thanks for |
| 29754 |
the patch) |
| 29755 |
* Fix correct use of escaping in edit toolbar bits |
| 29756 |
* Removed language conversion support from Icelandic |
| 29757 |
* (bug 2616) Fix proportional image scaling, giving correct height |
| 29758 |
* (bug 2640) Include width and height attributes on unscaled images |
| 29759 |
* Workaround for mysterious problem with bogus epoch If-Last-Modified reqs |
| 29760 |
* (bug 1109) Suppress compressed output on 304 responses |
| 29761 |
* (bug 2674) Include some site configuration info in export data: |
| 29762 |
namespaces definitions, case-sensitivity, site name, version. |
| 29763 |
* Use xml:space="preserve" hint on export <text> elements |
| 29764 |
* Make language variant selection work again for zh |
| 29765 |
|
| 29766 |
== Changes since 1.5beta2 == |
| 29767 |
|
| 29768 |
* Escaped & correctly in Special:Contributions |
| 29769 |
* (bug 2534) Hide edit sections with CSS to make right click to edit section |
| 29770 |
work |
| 29771 |
* (bug 2708) Avoid undefined notice on cookieless login attempt |
| 29772 |
* (bug 2188) Correct template namespace for Greek localization |
| 29773 |
* Fixed number formatting for Dutch |
| 29774 |
* (bug 1355) add class noprint to commonPrint.css |
| 29775 |
* (bug 2350) Massive update for Limburgish (li) language using Wikipédia |
| 29776 |
* Massive update for Arab (ar) language using Wikipédia |
| 29777 |
* (bug 1560) Massive update for Kurdish (ku) language using Wikipédia |
| 29778 |
* (bug 2709) Some messages were not read from database |
| 29779 |
* (bug 2416) Don't allow search engine robots to index or follow nonexisting |
| 29780 |
articles |
| 29781 |
* Fix escaping in page move template. |
| 29782 |
* (bug 153) Discrepancy between thumbnail size and <img> height attribute |
| 29783 |
|
| 29784 |
== Changes since 1.5beta3 == |
| 29785 |
|
| 29786 |
* Fix talk page move handling |
| 29787 |
* (bug 2721) New language file for Vietnamese with the Vietnamese number |
| 29788 |
notation |
| 29789 |
* (bug 2749) would appear as a literal in image galleries for Cs, Fr, |
| 29790 |
Fur, Pl and Sv |
| 29791 |
* (bug 787) external links being rendered when they only have one slash |
| 29792 |
* Fixed a missing typecast in Language::dateFormat() that would cause some |
| 29793 |
interesting errors with signitures. |
| 29794 |
* (bug 2764) Number format for Nds |
| 29795 |
* (bug 1553) Stop forcing lowercase in Monobook skin for German language. |
| 29796 |
* (bug 1064) Implements Special:Unusedcategories |
| 29797 |
* (bug 2311) New language file for Macedonian |
| 29798 |
* Fix nohistory message on empty page history |
| 29799 |
* Fix fatal error in history when validation on |
| 29800 |
* Cleaned up email notification message formatting |
| 29801 |
* Finally fixed Special:Disambiguations that was broke since SCHEMA_WORK |
| 29802 |
* (bug 2761) fix capitalization of "i" in Turkish |
| 29803 |
* (bug 2789) memcached image metadata now cleared after deletion |
| 29804 |
* Add serialized version number to image metadata cache records |
| 29805 |
* (bug 2780) Fix thumbnail generation with GD for new image schema |
| 29806 |
* (bug 2791) Slovene numeric format |
| 29807 |
* (bug 655) Provide empty search form when searching for nothing |
| 29808 |
* Nynorsk numeric format fix |
| 29809 |
* (bug 2825) Fix regression in newtalk notifications for anons w/ enotif off |
| 29810 |
* (bug 2833) Fix bug in previous fix |
| 29811 |
* With $wgCapitalLinks off, accept off-by-first-letter-case in 'go' match |
| 29812 |
* Optional parameters for [[Special:Listusers]] |
| 29813 |
* (bug 2832) [[Special:Listadmins]] redirects to [[Special:Listusers/sysop]] |
| 29814 |
* (bug 785) Parser did not get out of <pre> with list elements |
| 29815 |
* Some shared upload fixes |
| 29816 |
* (bug 2768) section=new on nonexistent talk page does not add heading |
| 29817 |
* support preload= parameter for section=new |
| 29818 |
* show comment subject in preview when using section=new |
| 29819 |
* use comment form when creating a new talk page |
| 29820 |
* (bug 460) Properly handle <center> tags as a block. |
| 29821 |
* Undo inconsistent editing behavior change |
| 29822 |
* (bug 2835) Back out fix for bug 2802, caused regressions in category sort |
| 29823 |
* PHP 4.1.2 compatibility fix: define floatval() equivalent if missing |
| 29824 |
* (bug 2901) Number format for Catalan |
| 29825 |
* Special:Allpages performance hacks: index memcached caching, removed |
| 29826 |
inverse checkbox, use friendlier relative offsets in index build |
| 29827 |
* Bring back "Chick" skin for mobile devices. It needs testing. |
| 29828 |
* Fix spelling of $wgForwardSearchUrl in DefaultSettings.php |
| 29829 |
* Specify USE INDEX on Allpages chunk queries, sometimes gets lost |
| 29830 |
due to bogus optimization |
| 29831 |
* (bug 275) Section duplication fix |
| 29832 |
* Remove unused use of undefined variable in UserMailer |
| 29833 |
* Fix notice on search index update due to non-array |
| 29834 |
* (bug 2885) Fix fatal errors and notices in PHP 5.1.0beta3 |
| 29835 |
* (bug 2931) Fix additional notices on reference use in PHP 4.4.0 |
| 29836 |
* (bug 2774) Add three new $wgHooks to LogPage which enable extensions to add |
| 29837 |
their own logtypes, see extensions/Renameuser/SpecialRenameuser.php for an |
| 29838 |
example of this. |
| 29839 |
* (bug 740) Messages from extensions now appear in Special:Allmessages |
| 29840 |
* (bug 2857) fixed parsing of lists in <pre> sections |
| 29841 |
* (bug 796) Trackback support |
| 29842 |
* Fix 1.5 regression: weird, backwards diff links on new pages in enhanced RC |
| 29843 |
are now suppressed as before. |
| 29844 |
* New skin: Simple |
| 29845 |
* "uselang" and "useskin" URL parameters can now be used in the URL when |
| 29846 |
viewing a page, to change the language and skin of a page respectively. |
| 29847 |
* Skins can now be previewed in preferences |
| 29848 |
* (bug 2943) AuthPlugin::getCanonicalName() name canonicalization hook, |
| 29849 |
patch from robla |
| 29850 |
* Wrap revision insert & page update in a transaction, rollback on late |
| 29851 |
edit conflict. |
| 29852 |
* (bug 2953) 'other' didn't work in Special:Blockip when localized |
| 29853 |
* (bug 2958) Rollback and delete auto-summary should be in the project's |
| 29854 |
content language |
| 29855 |
* Removed useless protectreason message |
| 29856 |
* Spelling fix: $wgUrlProtcols -> $wgUrlProtocols |
| 29857 |
* Switch Moldovan local name to cyrillic |
| 29858 |
* Fix typo in undefined array index access prevention |
| 29859 |
* (bug 2947) Update namespaces for sr localization |
| 29860 |
* (bug 2952) Added Asturian language file with translated namespaces |
| 29861 |
* (bug 2676) Apply a protective transformation on editing input/output |
| 29862 |
for browsers that hit the Unicode blacklist. Patch by plugwash. |
| 29863 |
* (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php |
| 29864 |
* compressOld.php disabled, as it's known to be broken. |
| 29865 |
|
| 29866 |
|
| 29867 |
=== Changes since 1.5beta4 === |
| 29868 |
|
| 29869 |
* Fix Special:Allmessages under PHP 5 |
| 29870 |
* (bug 2911) Special:Watchlist allowed only one type of limit at a time |
| 29871 |
* (bug 693) Special:Allmessages is excessively wide and redundant |
| 29872 |
* (bug 3001) Updated and applied live hack for recentchanges-based watchlist |
| 29873 |
* (bug 145) Finish 'exclude redirect' implementation in search form |
| 29874 |
* Rearranged Special:Movepage form to reduce confusion between destination |
| 29875 |
title and reason input boxes |
| 29876 |
* (bug 2527) Always set destination filename when new file is selected |
| 29877 |
* (bug 3056) MySQL 3 compatibility fix: USE INDEX instead of FORCE INDEX |
| 29878 |
* PHP 4.1 compatibility fix: don't use new_link parameter to mysql_connect |
| 29879 |
if running prior to 4.2.0 as it causes the call to fail |
| 29880 |
* (bug 3117) Fix display of upload size and type with tidy on |
| 29881 |
* (bug 1487) invalid html on empty list in banlist |
| 29882 |
* (bug 3017) Hotkey conflict for delete and show changes |
| 29883 |
* made pixel unit translateable and blocklistline now eats infiniteblock |
| 29884 |
and expiringblock |
| 29885 |
* (bug 3092) Wrong numerical separator for big numbers in Serbian. |
| 29886 |
* (bug 2855) Credit for a uniq author showed its realname even with |
| 29887 |
$wgAllowRealName=false. |
| 29888 |
* New special page: SpecialMostlinked |
| 29889 |
* (bug 2393) Fix MIME type for Atom feeds ( application/rss+atom ) |
| 29890 |
* Fix display of read-only lockfile message |
| 29891 |
* Added a new hook, 'AddNewAccount', which is run after account creation |
| 29892 |
* Update all stats fields on recount.sql |
| 29893 |
* Include software-visible client IP address in Special:Version comment |
| 29894 |
as a proxy debugging aid |
| 29895 |
* (bug 3162) Fix 'undefined property page_is_new' error on watchlist |
| 29896 |
* (bug 1734) granting db permissions failed with db usernames containg '-' |
| 29897 |
* (bug 3170) wikititlesuffix was removed, use pagetitle instead |
| 29898 |
* (bug 3187) watchlist text refer to unexistent "Stop watching" action |
| 29899 |
* (bug 3190) Added some date format choices for language sr |
| 29900 |
* (bug 1334) LanguageGa.php update |
| 29901 |
* (bug 1020) Changing user interface language does not work immediately |
| 29902 |
* (bug 2753) Some namespaces were not translated in LanguageTa.php (Tamil) |
| 29903 |
* (bug 3204) Fix typo breaking special pages in fy localization |
| 29904 |
* (bug 3210) Fix Media: links with remote image URL path |
| 29905 |
* (bug 3220) Fix escaping of block URLs in Recentchanges |
| 29906 |
* (bug 3238): Updated LanguageNn.php for 1_5 branch |
| 29907 |
* (bug 3192): properly check 'limit' parameter on Special:Contributions |
| 29908 |
* (bug 3244) Fix remote image loading hack, JavaScript injection on MSIE |
| 29909 |
* Fix URL sanitization in HTML attributes, which broke in this branch |
| 29910 |
* (bug 3475) anon contrib links on Special:Newpages |
| 29911 |
|
| 29912 |
|
| 29913 |
=== Changes since 1.5rc2 === |
| 29914 |
|
| 29915 |
* Fix upgrade from 1.4 due to version number check breakage |
| 29916 |
* Fix upgrade from 1.4 with no old revisions |
| 29917 |
* (bug 2108) Sort entries when using category browser |
| 29918 |
* XSS issue : now sanitize search query input |
| 29919 |
|
| 29920 |
|
| 29921 |
=== Changes since 1.5rc3 === |
| 29922 |
|
| 29923 |
* (bug 3280) Respect 'move' group permission on page moves |
| 29924 |
* (bug 2885) More PHP 5.1 fixes: skin, search, log, undelete |
| 29925 |
* Security fix for <math> |
| 29926 |
* Security fix for tables |
| 29927 |
|
| 29928 |
|
| 29929 |
=== Changes since 1.5rc4 === |
| 29930 |
|
| 29931 |
* (bug 3292) Fix move-over-redirect test when current entries are not plaintext |
| 29932 |
* (bug 2078) Don't hide watch tab on preview |
| 29933 |
* (bug 3306) Document $wgLocalTZoffset |
| 29934 |
* Support SVG rendering with rsvg |
| 29935 |
* Cap arbitrary SVG renders to given image size or $wgSVGMaxSize pixels wide |
| 29936 |
* (bug 3127) Render large SVGs at image page size correctly |
| 29937 |
* (bug 3448) Set page_len on undelete |
| 29938 |
* (bug 2800) Don't scale up small iamges on |thumb| without explicit size |
| 29939 |
* Use the real file link instead of the default-size rasterized version for |
| 29940 |
large SVG images on image description page |
| 29941 |
* Include the file name/type/size line for non-resized images |
| 29942 |
* (bug 3412) Clean up date format handling so ~~~~-sigs work with default |
| 29943 |
format as designed. Documentation comments updated. |
| 29944 |
* (bug 1423) LanguageJa.php update |
| 29945 |
* (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST: |
| 29946 |
* (bug 3485) Fix bogus warning about filename capitalization when off |
| 29947 |
* (bug 2792) Update rebuildrecentchanges.inc for new schema |
| 29948 |
* Special:Import/importDump fixes: report XML parse errors, accept <minor/> |
| 29949 |
* (bug 3489) PHP 5.1 compat problem with captioned images |
| 29950 |
* (bug 3350) Missing label for move talk page checkbox. |
| 29951 |
* (bug 2570) Add 'watch this page' checkbox on uploads, watch uploads |
| 29952 |
by default when 'watchdefault' option is on |
| 29953 |
* (bug 3182) Clear link cache during import to prevent memory leak |
| 29954 |
* (bug 3573) Full Greek Translation |
| 29955 |
* (bug 3595) Warn and abort if importDump.php called in read-only mode. |
| 29956 |
* (bug 3598) Update message cache on message page deletion, patch by Tietew |
| 29957 |
* Blacklist additional MSIE CSS safety tricks |
| 29958 |
|
| 29959 |
|
| 29960 |
=== Changes since 1.5.0 === |
| 29961 |
|
| 29962 |
* (bug 3629) Fix date & time format for Frisian |
| 29963 |
* (bug 3641) Fix handling of unrecognized file uploads with known extensions |
| 29964 |
* (bug 3643) Fix image page display of large images with resizing disabled |
| 29965 |
* Fix meta robots tag on Special:Version again to avoid listing vulnerable |
| 29966 |
versions for convenient harvesting by automated worms |
| 29967 |
* (bug 3684) Fix typo in fatal error backtraces in Hooks.php |
| 29968 |
* Backport fix for reference usage notice in Special:Search on PHP 4.4.0 |
| 29969 |
* Backport database connect error display fix from HEAD |
| 29970 |
* (bug 2773) Print style sheet no longer overrides RTL text direction |
| 29971 |
* MonoBook skin top link id changed from "contentTop" to "top" (shared with |
| 29972 |
name attribute) |
| 29973 |
* Wrap message page insertions in a transaction to speed up installation |
| 29974 |
* Fix Special:MovePage invalid HTML attribute for reason textarea |
| 29975 |
* Avoid notice warning on edit with no User-Agent header |
| 29976 |
* (bug 3734) Swapped out obsolete recount.sql with initStats.php |
| 29977 |
* (bug 3735) Fix to run under MySQL 5's strict mode |
| 29978 |
* (bug 3786) Experimental support for MySQL 4.1/5.0 utf8 charset mode |
| 29979 |
NOTE: Enabling this may break existing wikis, and still doesn't |
| 29980 |
work for all Unicode characters due to MySQL limitations. |
| 29981 |
* Sanitizer CSS comment processing order fix |
| 29982 |
|
| 29983 |
|
| 29984 |
=== Changes since 1.5.1 === |
| 29985 |
|
| 29986 |
* Fix Special:BrokenRedirects on MySQL 5.0 |
| 29987 |
* (bug 3809) Backport fix for detecting diff3 failure |
| 29988 |
* MySQL 5.0 strict mode fix for moving unwatched pages |
| 29989 |
* (bug 3782) Throw fatal installation warning if mbstring.func_overload on. |
| 29990 |
Why do people invent these crazy options that change language semantics? |
| 29991 |
* (bug 3762) Define missing Special:Import UI messages |
| 29992 |
* (bug 3771) Handle internal functions in backtrace in wfAbruptExit() |
| 29993 |
* (bug 3649) Remove obsolete, broken moveCustomMessages script |
| 29994 |
* (bug 3667) Add missing global in page move code |
| 29995 |
* (bug 3761) Avoid deprecation warnings in Special:Import |
| 29996 |
* (bug 2885) Remove unnecessary reference parameter which broke classic skin |
| 29997 |
talk notification on PHP 5.0.5 |
| 29998 |
* (bug 3845) Update attribute.php for 1.5 schema |
| 29999 |
* Fix Parser::unstrip on PHP 4.4.1 and PHP 5.1.0RC4 |
| 30000 |
|
| 30001 |
|
| 30002 |
=== Changes since 1.5.2 === |
| 30003 |
|
| 30004 |
* (bug 3612) Remove old broken version of maintenance/compressOld.php |
| 30005 |
The working version is in maintenance/storage/compressOld.php |
| 30006 |
* (bug 2740) Accept image deletions on 'enter' submit from MSIE |
| 30007 |
* (bug 3933) specify XML namespace for Atom 0.3 feeds |
| 30008 |
* (bug 3939) Don't try to load text for interwiki redirect target |
| 30009 |
* (bug 3948) Avoid notice warning in debug statement in bad search |
| 30010 |
* Recognize Special:Search consistently so read whitelist works |
| 30011 |
* (bug 4013) typo in fr |
| 30012 |
* (bug 3996) Fix text for new entries in RC RSS/Atom feed |
| 30013 |
* (bug 2894) Enhanced Recent Changes link fixes |
| 30014 |
* (bug 3065) Update both watched namespaces when renaming pages |
| 30015 |
* Move parentheses out of <a> link in Special:Contributions |
| 30016 |
* (bug 4071) Generate passwords long enough for $wgMinimalPasswordLength |
| 30017 |
* (bug 4035) Fix prev/next revision links on edit page |
| 30018 |
* (bug 4165) Correct validation for user language selection (data taint) |
| 30019 |
* Clearer message in DefaultSettings.php: edit LocalSettings.php instead |
| 30020 |
|
| 30021 |
|
| 30022 |
=== Changes since 1.5.3 === |
| 30023 |
|
| 30024 |
* (bug 3805) Clear 'new messages' flag properly in enotif mode |
| 30025 |
for usernames containing spaces |
| 30026 |
* (bug 2714) Backlink from special:whatlinkshere was hard set as 'existing' |
| 30027 |
* (bug 4249) Typo in entities2literals.pl |
| 30028 |
* (bug 4233) Update for japanese language |
| 30029 |
* (bug 4279) Small correction to LanguageDa.php |
| 30030 |
* (bug 4267) Switch dv sd ug ks arc languages to RTL |
| 30031 |
* (bug 3991) Allow the operation of wikicode on Protect move only text |
| 30032 |
* Added AutoAuthenticate hook for external User object suppliers |
| 30033 |
* Parser internal placeholder string now fully randomized for safety |
| 30034 |
|
| 30035 |
=== Changes since 1.5.4 === |
| 30036 |
|
| 30037 |
* Maintenance script to delete unused user accounts |
| 30038 |
* Added detection for WMF files (application/x-msmetafile), added this |
| 30039 |
MIME type to the default blacklist. Prevented inline display of images |
| 30040 |
which are not of known image types. This is in response to |
| 30041 |
https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability |
| 30042 |
|
| 30043 |
=== Changes since 1.5.5 === |
| 30044 |
|
| 30045 |
* (bug 4258) When installing under IIS, $wgArticlePath = "$wgScript?title=$1" |
| 30046 |
should be set |
| 30047 |
* (bug 4510) Correct Barnes & Noble bookstore URLs |
| 30048 |
* (bug 4504) Use site language for namespace name resolution |
| 30049 |
* Installer fixes from HEAD backported; now uses a more sensible method of |
| 30050 |
establishing which mySQL user to use, which clears up bug 921 et al. Minor |
| 30051 |
changes to installer. |
| 30052 |
* Fix problem reported on mailing list where re-initialising stats didn't work |
| 30053 |
(can't insert duplicate rows with the same id field) |
| 30054 |
* (bug 1122) gray out 'older revision' when viewing first article revision. |
| 30055 |
* Respect database prefix in dumpHTML.inc |
| 30056 |
* Minor improvements to removeUnusedAccounts.php maintenance script |
| 30057 |
* Fix for single-digit week numbers from {{CURRENTWEEK}}, broken by PHP 4.4.1 |
| 30058 |
* Removed read-only check from Database::query() |
| 30059 |
* Added --conf option to command line scripts, allowing the user to specify a |
| 30060 |
different LocalSettings.php. |
| 30061 |
|
| 30062 |
=== Changes since 1.5.6 === |
| 30063 |
|
| 30064 |
* Default main page content improved per bug 4690 |
| 30065 |
* Fix dependence on hardcoded UNIQ_PREFIX in LanguageConverter.php |
| 30066 |
* Fixed Special:Unlockdb |
| 30067 |
* Maintenance script to delete unused text records |
| 30068 |
* Maintenance script to delete non-current revisions |
| 30069 |
* Maintenance script to wipe a page and all revisions from the database |
| 30070 |
* (bug 4768) Wrong Russian translation (typo) |
| 30071 |
* Performance bugfix: propagate equality manually for Revision fetches |
| 30072 |
* (bug 4773) PHP fatal error when invalid title passed to Special:Export |
| 30073 |
* Added missing table defs. for transcache to installer schemas |
| 30074 |
* (bug 4824) IE7 beta 2 broke compatibility with PNG logo workarounds, |
| 30075 |
and seems to work ok with other bits. No longer including the IE |
| 30076 |
workarounds JavaScript for IE 7 and above. |
| 30077 |
* (bug 2532) Image directory structure migration bug |
| 30078 |
* (bug 4881) Correction to the fix for 1487; Ipblocklist showed 'no blocks' |
| 30079 |
message at the end of the list even if there were blocks. |
| 30080 |
* (bug 4805) Removed more wikipedia-references from LanguageUk.php |
| 30081 |
* Introduce $wgWantedPagesThreshold per bug 5011; Special:Wantedpages will not |
| 30082 |
list pages with less than this number of links. Defaults to 1. |
| 30083 |
* Allow customisation of paging limits for items in categories using the |
| 30084 |
$wgCategoryPagingLimit global, per bug 4970. |
| 30085 |
* Improve "nogomatch" text to make it more obvious that a page can be created. |
| 30086 |
* (bug 5113) Spelling error in French language file |
| 30087 |
* Don't change the password of the MySQL root user. |
| 30088 |
|
| 30089 |
=== Changes since 1.5.7 === |
| 30090 |
|
| 30091 |
* (bug 5180) User login page shows inappropriate email blurb |
| 30092 |
* Add the "AbortNewAccount" hook on account creation; see hooks.txt for more |
| 30093 |
info. |
| 30094 |
* Update default "exporttext" to reflect that Special:Import exists |
| 30095 |
* Add links to useful material to the default main page content |
| 30096 |
* Fix fragment HTML injection |
| 30097 |
|
| 30098 |
=== Changes since 1.5.8 === |
| 30099 |
|
| 30100 |
* Fixed obvious mistakes in Finnish (fi) translation |
| 30101 |
* Fixed obvious mistakes in Kurdish (ku) translation |
| 30102 |
* Merge two #p-search .pBody statements i monobook/main.css |
| 30103 |
* (bug 5156) Update for Hebrew language (he) translation |
| 30104 |
* Add the "UserRights" hook on user group changes; see hooks.txt for more info. |
| 30105 |
* Translated "listingcontinuesabbrev" for German |
| 30106 |
|
| 30107 |
=== Caveats === |
| 30108 |
|
| 30109 |
Some output, particularly involving user-supplied inline HTML, may not |
| 30110 |
produce 100% valid or well-formed XHTML output. Testers are welcome to |
| 30111 |
set $wgMimeType = "application/xhtml+xml"; to test for remaining problem |
| 30112 |
cases, but this is not recommended on live sites. (This must be set for |
| 30113 |
MathML to display properly in Mozilla.) |
| 30114 |
|
| 30115 |
= MediaWiki 1.4 = |
| 30116 |
|
| 30117 |
== MediaWiki 1.4.15 == |
| 30118 |
|
| 30119 |
(released March 26, 2006) MediaWiki 1.4.15 is a security maintenance release. A |
| 30120 |
bug in decoding of certain encoded links could allow injection of raw HTML into |
| 30121 |
page output; this could potentially lead to XSS attacks. Additionally, this |
| 30122 |
release may display more correctly in IE7 betas. |
| 30123 |
|
| 30124 |
== MediaWiki 1.4.14 == |
| 30125 |
(released January 19, 2006) MediaWiki 1.4.14 is a security and bugfix |
| 30126 |
maintenance release. A bug in edit comment formatting could send PHP into an |
| 30127 |
infinite loop if certain malformed links were included. In most installations, |
| 30128 |
this would cause the script to fail after PHP's 30-second failsafe timeout. For |
| 30129 |
several other minor fixes, see the complete changelog at the end of this file. |
| 30130 |
|
| 30131 |
== MediaWiki 1.4.13 == |
| 30132 |
(released January 5, 2006) MediaWiki 1.4.13 is a security maintenance |
| 30133 |
release.Detection for uploads of Windows Metafile (.wmf) images has been added |
| 30134 |
to help protect against a client-side vulnerability in unpatched Microsoft |
| 30135 |
Windows operating systems. Sites which have enabled uploads and added |
| 30136 |
non-standard file types (such as .ogg, .doc, or .pdf) should upgrade to this |
| 30137 |
release to ensure that malicious .wmf files can't be uploaded with a fake |
| 30138 |
extension; such files could put visitors to the site at risk. For more details |
| 30139 |
on this, see: https://en.wikipedia.org/wiki/Windows_Metafile_vulnerability |
| 30140 |
|
| 30141 |
== MediaWiki 1.4.12 == |
| 30142 |
(released 2005-11-02) MediaWiki 1.4.12 is a bugfix and security maintenance |
| 30143 |
release. A change in PHP 4.4.1 broke handling of extension and |
| 30144 |
<nowiki><pre></nowiki> sections, causing garbage data to be inserted in output |
| 30145 |
and saved edits. This version works around the change. This release includes |
| 30146 |
further corrections to the inline CSS style sanitation which works around a |
| 30147 |
JavaScript "feature" on Microsoft Internet Explorer. Users of Microsoft |
| 30148 |
Internet Explorer for Windows may be vulnerable to XSS injections on prior 1.4 |
| 30149 |
releases; users of standards-compliant browsers are not vulnerable. |
| 30150 |
|
| 30151 |
== MediaWiki 1.4.11 == |
| 30152 |
(released 2005-10-05) MediaWiki 1.4.11 is a security maintenance release. |
| 30153 |
Unsafe handling of CSS by Microsoft Internet Explorer could be exploited to |
| 30154 |
produce cross-site scripting attacks by JavaScript injection to clients running |
| 30155 |
that browser. This release blacklists several additional variants from use in |
| 30156 |
HTML inline style attributes. All publicly accessible wikis are recommended to |
| 30157 |
upgrade to reduce the risk to visitors using Microsoft web browsers. Note: the |
| 30158 |
MediaWiki 1.4.x series is not compatible with PHP 5.0.5 or higher. Upgrade to |
| 30159 |
the 1.5.0 release if you require this version of PHP 5. |
| 30160 |
|
| 30161 |
== MediaWiki 1.4.10 == |
| 30162 |
(released 2005-09-21) MediaWiki 1.4.10 is a security maintenance release. A bug |
| 30163 |
in edit submission handling could cause corruption of the previous revision in |
| 30164 |
the database if an abnormal URL was used, such as those used by some spambots. |
| 30165 |
Affected releases: |
| 30166 |
* 1.4.x <= 1.4.9; fixed in 1.4.10 |
| 30167 |
* 1.3.x <= 1.3.15; fixed in 1.3.16 |
| 30168 |
1.5 release candidates are not affected by this problem. All publicly editable |
| 30169 |
wikis are strongly recommended to upgrade immediately. |
| 30170 |
1.4 releases can be manually patched by changing this bit in EditPage.php: |
| 30171 |
|
| 30172 |
<syntaxhighlight lang="php"> |
| 30173 |
function importFormData( &$request ) { |
| 30174 |
if( $request->wasPosted() ) { |
| 30175 |
</syntaxhighlight> |
| 30176 |
to: |
| 30177 |
<syntaxhighlight lang="php"> |
| 30178 |
function importFormData( &$request ) { |
| 30179 |
if( $request->getVal( 'action' ) == 'submit' && $request->wasPosted() ) |
| 30180 |
{ |
| 30181 |
</syntaxhighlight> |
| 30182 |
== MediaWiki 1.4.9 == |
| 30183 |
(released 2005-08-29) MediaWiki 1.4.9 is a security maintenance release. It |
| 30184 |
corrects two cross-site scripting security bugs: |
| 30185 |
* <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering |
| 30186 |
support is off, as in the default configuration. |
| 30187 |
* Extension or <nowiki><nowiki></nowiki> sections in Wiki table syntax could |
| 30188 |
bypass HTML style attribute restrictions for cross-site scripting attacks |
| 30189 |
against Microsoft Internet Explorer Wikis where the optional math support has |
| 30190 |
been *enabled* are not vulnerable to the first, but are vulnerable to the |
| 30191 |
second. |
| 30192 |
|
| 30193 |
== MediaWiki 1.4.8 == |
| 30194 |
(released 2005-08-23) MediaWiki 1.4.8 is a bug fix and security maintenance |
| 30195 |
release. A flaw in the interaction between extensions and HTML attribute |
| 30196 |
sanitization was discovered which could allow unauthorized use of offsite |
| 30197 |
resources in style sheets, and possible exploitation of a JavaScript injection |
| 30198 |
feature on Microsoft Internet Explorer. This version expands the returned text |
| 30199 |
and properly checks it before output. Additionally, an update to |
| 30200 |
skins/MonoBook.php ensures that sites using the default MonoBook skin will |
| 30201 |
display correctly in the Internet Explorer 7 beta. (1.3 and 1.5 are not |
| 30202 |
affected by this bug.) |
| 30203 |
|
| 30204 |
== MediaWiki 1.4.7 == |
| 30205 |
(released 2005-07-16) |
| 30206 |
MediaWiki 1.4.7 is a bug fix release. Those affected by the following problems |
| 30207 |
in 1.4.6 should upgrade: |
| 30208 |
* Watchlist breakage on MySQL 3.23.x and with table prefix enabled |
| 30209 |
* Possible breakage in watchlist, some image resizing modes on PHP 4.1.2 1.4.6 |
| 30210 |
included a fix for a cross-site scripting vulnerability, so anyone running |
| 30211 |
older 1.4 releases is very strongly encouraged to upgrade as well. Note to |
| 30212 |
upgraders: this version of MediaWiki is known to produce a large number of |
| 30213 |
notice-level warnings under the newly released PHP 4.4.0. These appear however |
| 30214 |
to be harmless; if you encounter them add this to your LocalSettings.php to |
| 30215 |
suppress the notices: error_reporting( E_ALL & ~E_NOTICE ); PHP 5.1.0beta3 is |
| 30216 |
known to be incompatible at this time. |
| 30217 |
|
| 30218 |
== MediaWiki 1.4.6 == |
| 30219 |
(released 2005-07-07) MediaWiki 1.4.6 is a bug fix and security update release. |
| 30220 |
Incorrect escaping of a parameter in the page move template could |
| 30221 |
be used to inject JavaScript code by getting a victim to visit a maliciously |
| 30222 |
constructed URL. Users of vulnerable releases are recommended to upgrade to |
| 30223 |
this release. Vulnerable versions: |
| 30224 |
* 1.5 preview series: n <= 1.5beta2 vulnerable, fixed in 1.5beta3 |
| 30225 |
* 1.4 stable series: 1.4beta6 <= n <= 1.4.5 vulnerable, fixed in 1.4.6 |
| 30226 |
* 1.3 legacy series: not vulnerable This release also includes fixes for some |
| 30227 |
rare bug annoying HTTP errors, a PHP 4.1.2 breakage bug, and works around some |
| 30228 |
template limitations introduced in 1.4.5. See the changelog at the end of this |
| 30229 |
file for a detailed list of bugs fixed. |
| 30230 |
|
| 30231 |
== MediaWiki 1.4.5 == |
| 30232 |
(released 2005-06-03) MediaWiki 1.4.5 is a security update and bugfix release. |
| 30233 |
Incorrect handling of page template inclusions made it possible to inject |
| 30234 |
JavaScript code into HTML attributes, which could lead to cross-site scripting |
| 30235 |
attacks on a publicly editable wiki. Vulnerable releases and fix: |
| 30236 |
* 1.5 prerelease: fixed in 1.5alpha2 |
| 30237 |
* 1.4 stable series: fixed in 1.4.5 |
| 30238 |
* 1.3 legacy series: fixed in 1.3.13 |
| 30239 |
* 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended This |
| 30240 |
release also includes a number of bug fixes (see changelog below) and merges |
| 30241 |
some large-server load balancing patches from Wikipedia. An experimental rate |
| 30242 |
limiter for page edits and moves can be enabled with global, per-IP, |
| 30243 |
per-subnet, or per-user bases. See configuration options in |
| 30244 |
includes/DefaultSettings.php |
| 30245 |
|
| 30246 |
== MediaWiki 1.4.4 == |
| 30247 |
(released 2005-05-04) MediaWiki 1.4.4 is a bugfix release for the 1.4 stable |
| 30248 |
release series. Some bugs in the installer/updater and refreshLinks maintenance |
| 30249 |
script were introduced in the last release and have been corrected. |
| 30250 |
|
| 30251 |
== MediaWiki 1.4.3 == |
| 30252 |
|
| 30253 |
(released 2005-04-28) |
| 30254 |
|
| 30255 |
MediaWiki 1.4.3 is a bugfix release for the 1.4 stable release series. |
| 30256 |
|
| 30257 |
Chiefly, this fixes a compatibility problem with PHP 5 and a minor link |
| 30258 |
table corruption bug on initial page save. |
| 30259 |
|
| 30260 |
|
| 30261 |
== MediaWiki 1.4.2 == |
| 30262 |
|
| 30263 |
(released 2005-04-20) |
| 30264 |
|
| 30265 |
MediaWiki 1.4.2 is a security and bug fix release for the 1.4 stable release |
| 30266 |
series. |
| 30267 |
|
| 30268 |
A cross-site scripting injection vulnerability was discovered, which |
| 30269 |
affects only MSIE clients and is only open if MediaWiki has been |
| 30270 |
manually configured to run output through HTML Tidy ($wgUseTidy). |
| 30271 |
|
| 30272 |
Several other bugs are fixed in this release, see the changelog below. |
| 30273 |
|
| 30274 |
All new installations are highly recommended to use 1.4.2 instead of |
| 30275 |
1.3.x; 1.3.x users should consider upgrading for bug fixes and new |
| 30276 |
features. Ealier 1.4.x release and beta users should upgrade to this |
| 30277 |
release for relevant bug fixes; see the changelog later in this file. |
| 30278 |
|
| 30279 |
|
| 30280 |
If you have trouble, remember to read this whole file and the online FAQ page |
| 30281 |
before asking for help: |
| 30282 |
|
| 30283 |
https://www.mediawiki.org/wiki/Manual:FAQ |
| 30284 |
|
| 30285 |
|
| 30286 |
=== READ THIS FIRST: Upgrading === |
| 30287 |
|
| 30288 |
If upgrading from an older release, see the notes in the file UPGRADE. |
| 30289 |
There are a couple of minor database changes from the beta releases, |
| 30290 |
and somewhat larger changes from 1.3.x. |
| 30291 |
|
| 30292 |
Upgrading from a previous 1.4.x stable release installation should |
| 30293 |
generally only require copying the new files over the old ones. |
| 30294 |
|
| 30295 |
|
| 30296 |
==== READ THIS FIRST, TOO: MySQL 4.1 AND 5.0 ==== |
| 30297 |
|
| 30298 |
MySQL 5.0 is a beta release, not yet ready for production use. If you |
| 30299 |
are using it, the notes below about 4.1 apply to you too. |
| 30300 |
|
| 30301 |
If you have the choice of MySQL 4.0 or MySQL 4.1 and don't need 4.1 for |
| 30302 |
some other application, you should consider sticking with 4.0 for the |
| 30303 |
moment. 4.1 may require you to do extra fiddling to get things to work |
| 30304 |
due to changes that aren't fully backwards-compatible. |
| 30305 |
|
| 30306 |
MySQL 4.1 has changed the authentication protocol in an incompatible |
| 30307 |
way; many PHP installations still use the older client libraries and |
| 30308 |
CANNOT CONNECT TO THE SERVER WITH A PASSWORD without some changes. |
| 30309 |
|
| 30310 |
See: http://dev.mysql.com/doc/mysql/en/Old_client.html |
| 30311 |
|
| 30312 |
If MySQL is set with utf-8 as the default character set, installation |
| 30313 |
may fail with "key too long" errors. Set the default charset to 'latin1' |
| 30314 |
for installation and it should work. |
| 30315 |
|
| 30316 |
The mysqldump backup generator now applies an automatic conversion to |
| 30317 |
UTF-8, which may irretrivably corrupt your data. Pass the -charset option |
| 30318 |
with the original default charset (eg 'latin1') to skip the conversion. |
| 30319 |
|
| 30320 |
|
| 30321 |
==== READ THIS FIRST IF RUNNING ON A WINDOWS SERVER ==== |
| 30322 |
|
| 30323 |
MediaWiki is tested and deployed primarily under the Apache web server |
| 30324 |
on Linux Unix systems. There are known to be problems running on |
| 30325 |
Microsoft's IIS which are not fully resolved. If you have a choice, |
| 30326 |
try running under Apache on Windows, or on a Unix/Linux box instead. |
| 30327 |
|
| 30328 |
If you're having trouble with blank pages on IIS and can't switch, |
| 30329 |
try the workaround suggested in this bug report: |
| 30330 |
http://bugzilla.wikimedia.org/show_bug.cgi?id=1763 |
| 30331 |
|
| 30332 |
|
| 30333 |
=== New features === |
| 30334 |
|
| 30335 |
* 'Recentchanges Patrol' to mark new edits that haven't yet been viewed. |
| 30336 |
* New, searchable deletion/upload/protection logs |
| 30337 |
* Image gallery generation (Special:Newimages and <gallery> tag) |
| 30338 |
* SVG rasterization support (requires external support tools) |
| 30339 |
* Users can select from the available localizations to override the |
| 30340 |
default user interface language. |
| 30341 |
* Traditional/Simplified Chinese conversion support |
| 30342 |
* rel="nofollow" support to combat linkspam |
| 30343 |
|
| 30344 |
The current implementation adds this attribute to _all_ external URL |
| 30345 |
links in wiki text (but not internal [[wiki links]] or interwiki links). |
| 30346 |
To disable the attribute for _all_ external links, add this line to your |
| 30347 |
LocalSettings.php: |
| 30348 |
|
| 30349 |
$wgNoFollowLinks = false |
| 30350 |
|
| 30351 |
For background information on nofollow see: |
| 30352 |
|
| 30353 |
http://www.google.com/googleblog/2005/01/preventing-comment-spam.html |
| 30354 |
|
| 30355 |
|
| 30356 |
=== Installation and compatibility === |
| 30357 |
|
| 30358 |
* The default MonoBook theme now works with PHP 5.0 |
| 30359 |
* Installation on systems with PHP's safe mode or other oddities |
| 30360 |
should work more reliably, as MonoBook no longer needs to |
| 30361 |
create a compiled template file for the wiki to run. |
| 30362 |
* A table prefix may be specified, to avoid conflicts with other |
| 30363 |
web applications forced to share a database. |
| 30364 |
* More thorough UTF-8 input validation; fixes non-ASCII uploaded |
| 30365 |
filenames from Safari. |
| 30366 |
* Command-line database upgrade script. |
| 30367 |
|
| 30368 |
|
| 30369 |
=== Customizability === |
| 30370 |
|
| 30371 |
* Default user options can now be overridden in LocalSettings. |
| 30372 |
* Skins system more modular: templates and CSS are now in /skins/ |
| 30373 |
New skins can be dropped into this directory and used immediately. |
| 30374 |
* More extension hooks have been added. |
| 30375 |
* Authentication plugin hook. |
| 30376 |
* More internal code documentation, generated with phpdoc: |
| 30377 |
https://doc.wikimedia.org/mediawiki-core/master/php/html/ |
| 30378 |
|
| 30379 |
|
| 30380 |
=== Optimization === |
| 30381 |
|
| 30382 |
* For many operations, MediaWiki 1.4 should run faster and use |
| 30383 |
less memory than MediaWiki 1.3. Page rendering is up to twice |
| 30384 |
as fast. (Use a PHP accelerator such as Turck MMCache for best |
| 30385 |
results with any PHP application, though!) |
| 30386 |
* The parser cache no longer requires memcached, and is enabled |
| 30387 |
by default. This avoids a lot of re-rendering of pages that |
| 30388 |
have been shown recently, greatly speeding longer page views. |
| 30389 |
* Support for compiled PHP modules to speed up page diff and |
| 30390 |
Unicode validation/normalization. (Requires ability to compile |
| 30391 |
and load PHP extensions). |
| 30392 |
|
| 30393 |
|
| 30394 |
=== What isn't ready yet === |
| 30395 |
|
| 30396 |
* A new user/groups permissions scheme has been held back to 1.5. |
| 30397 |
* An experimental SOAP interface will be made available as an extension |
| 30398 |
* PostgreSQL support is largely working, minus search and the installer. |
| 30399 |
You can perform a manual installation. |
| 30400 |
* E-mail notification of watched page changes and verification of |
| 30401 |
user-submitted e-mail addresses is not yet included. |
| 30402 |
* Log pages are not automatically imported into the new log table |
| 30403 |
at upgrade time. A script to import old text log entries is |
| 30404 |
incomplete, but may be available in later point releases. |
| 30405 |
* Some localizations are still incomplete. |
| 30406 |
|
| 30407 |
|
| 30408 |
|
| 30409 |
== Changelog == |
| 30410 |
|
| 30411 |
=== Important security updates === |
| 30412 |
|
| 30413 |
A security audit found and fixed a number of problems. Users of MediaWiki |
| 30414 |
1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases |
| 30415 |
prior to 1.4rc1 should upgrade immediately. |
| 30416 |
|
| 30417 |
==== Cross-site scripting vulnerability ==== |
| 30418 |
|
| 30419 |
XSS injection points can be used to hijack session and authentication |
| 30420 |
cookies as well as more serious attacks. |
| 30421 |
|
| 30422 |
* Media: links output raw text into an attribute value, potentially |
| 30423 |
abusable for JavaScript injection. This has been corrected. |
| 30424 |
* Additional checks added to file upload to protect against MSIE and |
| 30425 |
Safari MIME-type autodetection bugs. |
| 30426 |
|
| 30427 |
As of 1.3.10/1.4beta6, per-user customized CSS and JavaScript is disabled |
| 30428 |
by default as a general precaution. Sites which want this ability may set |
| 30429 |
$wgAllowUserCss and $wgAllowUserJs in LocalSettings.php. |
| 30430 |
|
| 30431 |
|
| 30432 |
==== Cross-site request forgery ==== |
| 30433 |
|
| 30434 |
An attacker could use JavaScript-submitted forms to perform various |
| 30435 |
restricted actions by tricking an authenticated user into visiting |
| 30436 |
a malicious web page. A fix for page editing in 1.3.10/1.4beta6 has |
| 30437 |
been expanded in this release to other forms and functions. |
| 30438 |
|
| 30439 |
Authors of bot tools may need to update their code to include the |
| 30440 |
additional fields. |
| 30441 |
|
| 30442 |
|
| 30443 |
==== Directory traversal ==== |
| 30444 |
|
| 30445 |
An unchecked parameter in image deletion could allow an authenticated |
| 30446 |
administrator to delete arbitrary files in directories writable by the |
| 30447 |
web server, and confirm existence of files not deletable. |
| 30448 |
|
| 30449 |
|
| 30450 |
==== Older issues ==== |
| 30451 |
|
| 30452 |
Note that 1.4 beta releases prior to beta 5 include an input validation |
| 30453 |
error which could lead to execution of arbitrary PHP code on the server. |
| 30454 |
Users of older betas should upgrade immediately to the current version. |
| 30455 |
|
| 30456 |
|
| 30457 |
Beta 6 also introduces the use of rel="nofollow" attributes on external |
| 30458 |
links in wiki pages to reduce the effectiveness of wiki spam. This will |
| 30459 |
cause participating search engines to ignore external URL links from wiki |
| 30460 |
pages for purposes of page relevancy ranking. |
| 30461 |
|
| 30462 |
|
| 30463 |
=== Misc bugs fixed in beta 1 === |
| 30464 |
|
| 30465 |
* (bug 95) Templates no longer limited to 5 inclusions per page |
| 30466 |
* New user preference for limiting the image size for images on image |
| 30467 |
description pages |
| 30468 |
* (bug 530) Allow user to preview article on first edit |
| 30469 |
* (bug 479) [[RFC 1234]] will now make an internal link |
| 30470 |
* (bug 511) PhpTal skins shown bogus 'What links here' etc on special pages |
| 30471 |
* (bug 770) Adding filter and username exact search match for Special:Listusers |
| 30472 |
* (bug 733) Installer die if it can not write LocalSettings.php |
| 30473 |
* (bug 705) Various special pages no more show the rss/atom feed links |
| 30474 |
* (bug 114) use category backlinks in Special:Recentchangeslinked |
| 30475 |
|
| 30476 |
=== Beta 2 fixes === |
| 30477 |
|
| 30478 |
* (bug 987) Reverted bogus fix for bug 502 |
| 30479 |
* (bug 992) Fix enhanced recent changes in PHP5 |
| 30480 |
* (bug 1009) Fix Special:Makesysop when using table prefixes |
| 30481 |
* (bug 1010) fix broken Commons image link on Classic & Cologne Blue |
| 30482 |
* (bug 985) Fix auto-summary for section edits |
| 30483 |
* (bug 995) Close <a> tag |
| 30484 |
* (bug 1004) renamed norsk language links (twice) |
| 30485 |
* Login works again when using an old-style default skin |
| 30486 |
* Fix for load balancing mode, notify if using old settings format |
| 30487 |
* (bug 1014) Missing image size option on old accounts handled gracefully |
| 30488 |
* (bug 1027) Fix page moves with table prefix |
| 30489 |
* (bug 1018) Some pages fail with stub threshold enabled |
| 30490 |
* (bug 1024) Fix link to high-res image version on Image: pages |
| 30491 |
* (bug 1016) Fix handling of lines omitting Image: in a <gallery> tag |
| 30492 |
* security fix for image galleries |
| 30493 |
* (bug 1039) Avoid error message in certain message cache failure modes |
| 30494 |
* Fix string escaping with PostgreSQL |
| 30495 |
* (bug 1015) [partial] -- use comment formatter on image gallery text |
| 30496 |
* Allow customization of all UI languages |
| 30497 |
* use $wgForceUIMsgAsContentMsg to make regular UI messages act as content |
| 30498 |
* new user option for zh users to disable language conversion |
| 30499 |
* Defer message cache initialization, shaving a few ms off file cache hits |
| 30500 |
* Fixed Special:Allmessages when using table prefixes |
| 30501 |
* (bug 996) Fix $wgWhitelistRead to work again |
| 30502 |
* (bug 1028) fix page move over redirect to not fail on the unique index |
| 30503 |
|
| 30504 |
=== Beta 3 fixes === |
| 30505 |
|
| 30506 |
* Hide RC patrol markers when patrol is disabled or not allowed to patrol. |
| 30507 |
* Fix language selection for upgraded accounts |
| 30508 |
* (bug 1076) navigation links in QueryPage should be translated by wgContLang. |
| 30509 |
* (bug 922) bogus DOS line endings in LanguageEl.php |
| 30510 |
* Fix index usage in contribs |
| 30511 |
* Caching and load limiting options for Recentchanges RSS/Atom feed |
| 30512 |
* (bug 1074) Add stock icons for non-image files in gallery/Newimages |
| 30513 |
* Add width and height attributes on thumbs in gallery/Newimages |
| 30514 |
* Enhance upload extension blacklist to protect against vulnerable |
| 30515 |
Apache configurations |
| 30516 |
|
| 30517 |
=== Beta 4 fixes === |
| 30518 |
|
| 30519 |
* (bug 1090) Fix sitesupport links in CB/classic skins |
| 30520 |
* Gracefully ignore non-legal titles in a <gallery> |
| 30521 |
* Fix message page caching behavior when $wgCapitalLinks is turned off |
| 30522 |
after installation and the wiki is subsequently upgraded |
| 30523 |
* Database error messages include the database server name/address |
| 30524 |
* Paging support for large categories |
| 30525 |
* Fix image page scaling when thumbnail generation is disabled |
| 30526 |
* Select the content language in prefs when bogus interface language is set |
| 30527 |
* Fix interwiki links in edit comments |
| 30528 |
* Fix crash on banned user visit |
| 30529 |
* Avoid PHP warning messages when thumbnail not generated |
| 30530 |
* (bug 1157) List unblocks correctly in Special:Log |
| 30531 |
* Fix fatal errors in LanguageLi.php |
| 30532 |
* Undo overly bright, difficult to read colors in Cologne Blue |
| 30533 |
* (bug 1162) fix five-tilde date inserter |
| 30534 |
* Add raw signatures option for those who simply must have cute sigs |
| 30535 |
* (bug 1164) Let wikitext be used in Loginprompt and Loginend messages |
| 30536 |
* Add the dreaded <span> to the HTML whitelist |
| 30537 |
* (bug 1170) Fix Russian linktrail |
| 30538 |
* (bug 1168) Missing text on the bureaucrat log |
| 30539 |
* (bug 1180) Fix Makesysop on shared-user-table sites |
| 30540 |
* (bug 1178) Fix previous diff link when using 'oldid=0' |
| 30541 |
* (bug 1173) Stop blocked accounts from reverting/deleting images |
| 30542 |
* Keep generated stylesheets cache-separated for each user |
| 30543 |
* (bug 1175) Fix "preview on first edit" mode |
| 30544 |
* Fix revert bug caused by bug 1175 fix |
| 30545 |
* Fix CSS classes on minor, new, unpatrolled markers in enhanced RC |
| 30546 |
* Set MySQL 4 boolean search back to 'and' mode by default |
| 30547 |
* (bug 1193) Fix move-only page protection mode |
| 30548 |
* Fix zhtable Makefile to include the traditional manual table |
| 30549 |
* Add memcache timeout for the zh conversion tables |
| 30550 |
* Allow user customization of the zh conversion tables through |
| 30551 |
MediaWiki:zhconversiontable |
| 30552 |
* Add zh-min-man (back) to language names list |
| 30553 |
* Ported $wgCopyrightIcon setting from REL1_3A |
| 30554 |
* (bug 1218) Show the original image on image pages if the thumbnail would be |
| 30555 |
bigger than the original image |
| 30556 |
* (bug 1213) i18n of Special:Log labels |
| 30557 |
* (bug 1013) Fix jbo, minnan in language names list |
| 30558 |
* Added magic word MAG_NOTITLECONVERT to indicate that the title of the page |
| 30559 |
do not need to be converted. Useful in zh: |
| 30560 |
* (bug 1224) Use proper date messages for date reformatter |
| 30561 |
* (bug 1241) Don't show 'cont.' for first entry of the category list |
| 30562 |
* (bug 1240) Special:Preferences was broken in Slovenian locale when |
| 30563 |
$wgUseDynamicDates is enabled |
| 30564 |
* Added magic word MAG_NOCONTENTCONVERT to suppress the conversion of the |
| 30565 |
content of an article. Useful in zh: |
| 30566 |
* write-lock for updating the zh conversion tables in memcache |
| 30567 |
* recursively parse subpages of MediaWiki:Zhconversiontable |
| 30568 |
* (bug 1144) Fix export for fy language |
| 30569 |
* make removal of an entry from zhconversiontable work |
| 30570 |
* (bug 752) Don't insert newline in link title for url with %0a |
| 30571 |
* Fix missing search box contents in MonoBook skin |
| 30572 |
* Add option to forward search directly to an external URL (eg google) |
| 30573 |
* Correctly highlight the fallback language variant when the selected |
| 30574 |
variant is disabled. Used in zh: only for now. |
| 30575 |
|
| 30576 |
=== Beta 5 fixes === |
| 30577 |
|
| 30578 |
* (bug 1124) Fix ImageGallery XHTML compliance |
| 30579 |
* (bug 1186) news: in the middle of a word |
| 30580 |
* (bug 1283) Use underlining and borders to highlight additions/deletions |
| 30581 |
in diff-view |
| 30582 |
* Use user's local timezone in Special:Log display |
| 30583 |
* Show filename for images in gallery by default (restore beta 3 behavior) |
| 30584 |
* (bug 1201) Double-escaping in brokenlinks, imagelinks, categorylinks, |
| 30585 |
searchindex |
| 30586 |
* When using squid reverse proxy, cache the redirect to the Main_Page |
| 30587 |
* (bug 1302) Fix Norwegian language file |
| 30588 |
* (bug 1205) Fix broken article saving in PHP 5.1 |
| 30589 |
* (bug 1206) Implement CURRENTWEEK and CURRENTDOW magic keyword (will give |
| 30590 |
number of the week and number of the day). |
| 30591 |
* (bug 1204) Blocks do not expire automatically |
| 30592 |
* (bug 1184) expiry time of indefinite blocks shown as the current time |
| 30593 |
* (bug 1317) Fix external links in image captions |
| 30594 |
* (bug 1084) Fix logo not rendering centrally in IE |
| 30595 |
* (bug 288) Fix tabs wrapping in IE6 |
| 30596 |
* (bug 119) Fix full-width tabs with RTL text in IE |
| 30597 |
* (bug 1323) Fix logo rendering off-screen in IE with RTL language |
| 30598 |
* Show "block" link in Special:Recentchanges for logged in users, too, if |
| 30599 |
wgUserSysopBans is true. |
| 30600 |
* (bug 1326) Use content language for '1movedto2' in edit history |
| 30601 |
* zh: Fix warning when HTTP_ACCEPT_LANGUAGE is not set |
| 30602 |
* zh: Fix double conversion for zh-sg and zh-hk |
| 30603 |
* (bug 1132) Fix concatenation of link lists in refreshLinks |
| 30604 |
* (bug 1101) Fix memory leak in refreshLinks |
| 30605 |
* (bug 1339) Fix order of @imports in Cologne Blue CSS |
| 30606 |
* Don't try to create links without namespaces ([[Category:]] link bug) |
| 30607 |
* Memcached data compression fixes |
| 30608 |
* Several valid XHTML fixes |
| 30609 |
* (bug 624) Fix IE freezing rendering whilst waiting for CSS with MonoBook |
| 30610 |
* (bug 211) Fix tabbed preferences with XHTML MIME type |
| 30611 |
* Fix for script execution vulnerability. |
| 30612 |
|
| 30613 |
=== Beta 6 fixes === |
| 30614 |
|
| 30615 |
* (bug 1335) implement 'tooltip-watch' in Language.php |
| 30616 |
* Fix linktrail for nn: language |
| 30617 |
* (bug 1214) Fix prev/next links in Special:Log |
| 30618 |
* (bug 1354) Fix linktrail for fo: language |
| 30619 |
* (bug 512) Reload generated CSS on preference change |
| 30620 |
* (bug 63) Fix displaying as if logged in after logout |
| 30621 |
* Set default MediaWiki:Sitenotice to '-', avoiding extra database hits |
| 30622 |
* Skip message cache initialization on raw page view (quick hack) |
| 30623 |
* Fix notice errors in wfDebugDieBacktrace() in XML callbacks |
| 30624 |
* Suppress notice error on bogus timestamp input (returns epoch as before) |
| 30625 |
* Remove unnecessary initialization and double-caching of parser variables |
| 30626 |
* Call-tree output mode for profiling |
| 30627 |
* (bug 730) configurable $wgRCMaxAge; don't try to update purged RC entries |
| 30628 |
* Add $wgNoFollowLinks option to add rel="nofollow" on external links |
| 30629 |
(on by default) |
| 30630 |
* (bug 1130) Show actual title when moving page instead of encoded one. |
| 30631 |
* (bug 925) Fix headings containing <math> |
| 30632 |
* (bug 1131) Fix headings containing interwiki links |
| 30633 |
* (bug 1380) Update Nynorsk language file |
| 30634 |
* (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode |
| 30635 |
* (bug 1217) Image within an image caption broke rendering |
| 30636 |
* (bug 1384) Make patrol signs have the same width for page moves as for edits |
| 30637 |
* (bug 1364) fix "clean up whitespace" in Title:SecureAndSplit |
| 30638 |
* (bug 1389) i18n for proxyblocker message |
| 30639 |
* Add fur/Furlan/Friulian to language names list |
| 30640 |
* Add TitleMoveComplete hook on page renames |
| 30641 |
* Allow simple comments for each translation rules in MW:Zhconversiontable |
| 30642 |
* (bug 1402) Make link color of tab subject page link on talk page indicate |
| 30643 |
whether article exists |
| 30644 |
* (bug 1368) Fix SQL error on stopword/short word search w/ MySQL 3.x |
| 30645 |
* Translated Hebrew namespace names |
| 30646 |
* (bug 1429) Stop double-escaping of block comments; fix formatting |
| 30647 |
* (bug 829) Fix URL-escaping on block success |
| 30648 |
* (bug 1228) Fix double-escaping on & sequences in [enclosed] URLs |
| 30649 |
* (bug 1435) Fixed many CSS errors |
| 30650 |
* (bug 1457) Fix XHTML validation on category column list |
| 30651 |
* (bug 1458) Don't save if edit form submission is incomplete |
| 30652 |
* Logged-in edits and preview of user CSS/JS are now locked to a session token. |
| 30653 |
* Per-user CSS and JavaScript subpage customizations now disabled by default. |
| 30654 |
They can be re-enabled via $wgAllowUserJs and $wgAllowUserCss. |
| 30655 |
* Removed .ogg from the default uploads whitelist as an extra precaution. |
| 30656 |
If your web server is configured to serve Ogg files with the correct |
| 30657 |
Content-Type header, you can re-add it in LocalSettings.php: |
| 30658 |
$wgFileExtensions[] = 'ogg'; |
| 30659 |
|
| 30660 |
=== RC1 fixes === |
| 30661 |
|
| 30662 |
* Fix notice error on nonexistent template in wikitext system message |
| 30663 |
* (bug 1469) add missing <ul> tags on Special:Log |
| 30664 |
* (bug 1470) remove extra <ul> tags from Danish log messages |
| 30665 |
* Fix notice on purge w/ squid mode off |
| 30666 |
* (bug 1477) hide details of SQL error messages by default |
| 30667 |
Set $wgShowSQLErrors = true for debugging. |
| 30668 |
* (bug 1430) Don't check for template data when editing page that doesn't exist |
| 30669 |
* Recentchanges table purging fixed when using table prefix |
| 30670 |
* (bug 1431) Avoid redundant objectcache garbage collection |
| 30671 |
* (bug 1474) Switch to better-cached index for statistics page count |
| 30672 |
* Run Unicode normalization on all input fields |
| 30673 |
* Fix translation for allpagesformtext2 in LanguageZh_cn and LanguageZh_tw |
| 30674 |
* Block image revert without valid login |
| 30675 |
* (bug 1446) stub Bambara (bm) language file using French messages |
| 30676 |
* (bug 1432) Update Estonian localization |
| 30677 |
* (bug 1471) unclosed <p> tag in Danish messages |
| 30678 |
* convertLinks script fixes |
| 30679 |
* Corrections to template loop detection |
| 30680 |
* XHTML encoding fix for usernames containing & in Special:Emailuser |
| 30681 |
* (for zh) Search for variant links even when conversion is turned off, |
| 30682 |
to help prevent duplicate articles. |
| 30683 |
* Disallow ISO 8859-1 C1 characters and "no-break space" in user names |
| 30684 |
on Latin-1 wikis. |
| 30685 |
* Correct the name of the main page it LanguageIt |
| 30686 |
* Allow Special:Makesysop to work for usernames containing SQL special |
| 30687 |
characters. |
| 30688 |
* Fix annoying blue line in Safari on scaled-down images on description page |
| 30689 |
* Increase upload sanity checks |
| 30690 |
* Fix XSS bug in Media: links |
| 30691 |
* Add cross-site form submission protection to various actions |
| 30692 |
* Fix fatal error on some dubious page titles |
| 30693 |
* Stub threshold displays correctly again |
| 30694 |
|
| 30695 |
|
| 30696 |
=== 1.4.0 final fixes === |
| 30697 |
|
| 30698 |
* (bug 65) Fix broken interwiki link encoding on Latin-1 wikis; force to UTF-8 |
| 30699 |
* (bug 563) Fix UTF-8 interwiki URL redirects via Latin-1 wikis |
| 30700 |
* (bug 1536) Fix page info |
| 30701 |
* Support os (Ossetic) as language code, using Russian localization base |
| 30702 |
* (bug 1610) Support non (Old Norse) as language code, using Icelandic |
| 30703 |
localization base |
| 30704 |
* (bug 1618) Properly list custom namespaces in Special:Allpages |
| 30705 |
* (bug 1622) Remove trailing' >' when using category browser |
| 30706 |
* (bug 1570) Fix php 4.2.x error on conflict merging |
| 30707 |
* (bug 1585) Fix page title on post-login redirection page |
| 30708 |
* Run UTF-8 validation on old text in Recentchanges RSS diffs |
| 30709 |
* (bug 1642) fix a mime type typo in img_auth.php |
| 30710 |
* Automated interwiki redirects only for local interwikis |
| 30711 |
* Respect read-only mode on block removals |
| 30712 |
* Trim old illegal characters from syndication feeds |
| 30713 |
* Reduce message cache outage recovery delay from 1 day to 5 minutes |
| 30714 |
* (bug 1403) Update Finnish localization |
| 30715 |
* (bug 1478) Punjabi localization |
| 30716 |
* (bug 1667) Update script 5 second countdown. |
| 30717 |
* (bug 1057) Fix logging table encoding (error on MySQL 4.1) |
| 30718 |
* (bug 1680) Fix linktrail for fo |
| 30719 |
* (bug 1653) Removing hardcoded messages in Special:Allmessages |
| 30720 |
* (bug 1594) Render a hyphen in a formula as − in HTML |
| 30721 |
* (bug 1495) Fall back to default language MediaWiki: for custom messages |
| 30722 |
* (bug 1617) Show different error messages for "user does not |
| 30723 |
exist" and "wrong password" when using AuthPlugin |
| 30724 |
* (bug 1532), (bug 1544) Changed language names for |
| 30725 |
'bn', 'bo', 'dv', 'dz', 'ht', 'ii', 'li', 'lo', 'ng', 'or', 'pa', 'si', |
| 30726 |
'ti', 've' |
| 30727 |
* Fix editing on non-Esperanto wiki with user language pref set to Esperanto |
| 30728 |
* Make conversion table for zh-sg default to zh-cn, and zh-hk default to zh-tw |
| 30729 |
* Fix PHP notice in MonoBook when counters disabled |
| 30730 |
* (bug 1696) Update namespaces, dates in uk localization |
| 30731 |
* (bug 551) Installer warns about magic_quotes_runtime and magic_quotes_sybase |
| 30732 |
instead of trying to install with corrupt table files |
| 30733 |
* Installer no longer tries to move non-default MediaWiki: pages into Template: |
| 30734 |
* User-to-user email disabled by default ($wgEnableUserEmail) |
| 30735 |
|
| 30736 |
|
| 30737 |
=== 1.4.1 fixes === |
| 30738 |
|
| 30739 |
* (bug 1720) fix genitive month names for uk |
| 30740 |
* (bug 1704) fixed untranslateable string in Special:Log |
| 30741 |
* (bug 1638) Added Belrusian language file |
| 30742 |
* (bug 1736) typo in SpecialValidate.php |
| 30743 |
* (bug 73) Upload doesn't run edit updates on description page (links, |
| 30744 |
search index and categories) |
| 30745 |
* (bug 646) <math> fails to recognize \ll and \gg |
| 30746 |
* (bug 926) \div element from TeX not supported in <math> element |
| 30747 |
* (bug 1147) add \checkmark to whitelist in texutil.ml |
| 30748 |
* (bug 937) \limits function from LaTeX not supported in <math> element |
| 30749 |
* Support for manually converting article title to different Chinese |
| 30750 |
variants (for zh) |
| 30751 |
* (bug 1488, bug 1744) Fix encoding for preferences, dates in Latin-1 mode |
| 30752 |
* (bug 1042) Fix UTF-8 case conversion for PHP <4.3 with mbstring extension |
| 30753 |
* Fix code typo that broke article credits display |
| 30754 |
* Installation fixes for running under IIS |
| 30755 |
* (bug 1556) login page tab order. "remember" checkbox now come after password. |
| 30756 |
* SQL debug log fixlets |
| 30757 |
* (bug 1815) Fix namespace in old revision display with mismatched title |
| 30758 |
* (bug 1788) Fix link duplication when edit/upload comment includes newlines |
| 30759 |
* Change default on $wgSysopUserBans and $wgSysopRangeBans to true |
| 30760 |
* Fix link conversion for URL request |
| 30761 |
* (bug 1851) Updated download URL for the SCIM packages used by zhtable |
| 30762 |
* (bug 1853) Try stripping quotes from term for 'go' title match |
| 30763 |
* Fix missing function in Latin1 mode |
| 30764 |
* (bug 1860) Anchors of interwiki links did not get normalized |
| 30765 |
* (bug 1847) accept lowercase x in ISBN, do not accept invalid A-W,Y,Z |
| 30766 |
* Fix link conversion for URL request, hopefully without breaking the wiki |
| 30767 |
* (bug 1849) New option allows to consider categorized images as used on |
| 30768 |
Special:Unusedimages |
| 30769 |
* Localized category namespace for ka (Georgian) |
| 30770 |
* (bug 1107) Work around includes problem in installer when parent dir is not |
| 30771 |
readable by the web server |
| 30772 |
* (bug 1927) Incorrect escaping on wikitext message in Blockip |
| 30773 |
|
| 30774 |
|
| 30775 |
=== 1.4.2 fixes === |
| 30776 |
|
| 30777 |
* Fix math options in Finnish localization |
| 30778 |
* Use in-process Tidy extension if available when $wgUseTidy is on |
| 30779 |
* (bug 1933) Fix PATH_INFO usage under IIS with PHP ISAPI module |
| 30780 |
* (bug 1188) <nowiki> in {{subst:}} includes fixed |
| 30781 |
* (bug 1936) <!-- comments --> in {{subst:}} includes fixed |
| 30782 |
* Fix a potential MSIE JavaScript injection vector in Tidy mode |
| 30783 |
|
| 30784 |
|
| 30785 |
=== 1.4.3 fixes === |
| 30786 |
|
| 30787 |
* (bug 1636) Refs like ţ were misinterpreted as octal in some places |
| 30788 |
* (bug 1163) Special:Undelete showed oldest revision instead of newest |
| 30789 |
* (bug 1938) Fix escaping of illegal character references in link text |
| 30790 |
* (bug 1997) Fix for error on display of renamed items in Recentchanges on PHP5 |
| 30791 |
* (bug 1949) Profiling typo in rare error case |
| 30792 |
* (bug 1963) Fix deletion log link when $wgCapitalLinks is off |
| 30793 |
* (bug 1970) Don't show move tab for immobile pages |
| 30794 |
* (bug 1770) Page creation recorded links from the 'newarticletext' message |
| 30795 |
* Optional change to the site_stats table. When applied, this removes the need |
| 30796 |
for expensive queries in Special:Statistics. |
| 30797 |
|
| 30798 |
|
| 30799 |
=== 1.4.4 fixes === |
| 30800 |
|
| 30801 |
* (bug 725) Let dir="ltr" attribute work again in MonoBook on RTL languages |
| 30802 |
* (bug 2024) Skip JavaScript error for custom skins where .js message not set |
| 30803 |
* (bug 2025) Updated Indonesian localization |
| 30804 |
* (bug 2039) Updated Lithuanian localization |
| 30805 |
|
| 30806 |
|
| 30807 |
=== Caveats === |
| 30808 |
|
| 30809 |
Some output, particularly involving user-supplied inline HTML, may not |
| 30810 |
produce 100% valid or well-formed XHTML output. Testers are welcome to |
| 30811 |
set $wgMimeType = "application/xhtml+xml"; to test for remaining problem |
| 30812 |
cases, but this is not recommended on live sites. (This must be set for |
| 30813 |
MathML to display properly in Mozilla.) |
| 30814 |
|
| 30815 |
|
| 30816 |
For notes on 1.3.x and older releases, see HISTORY. |
| 30817 |
|
| 30818 |
|
| 30819 |
=== Online documentation === |
| 30820 |
|
| 30821 |
Documentation for both end-users and site administrators is currently being |
| 30822 |
built up on MediaWiki.org, and is covered under the GNU Free Documentation |
| 30823 |
License: |
| 30824 |
|
| 30825 |
https://www.mediawiki.org/ |
| 30826 |
|
| 30827 |
|
| 30828 |
=== Mailing list === |
| 30829 |
|
| 30830 |
A MediaWiki-l mailing list has been set up distinct from the Wikipedia |
| 30831 |
wikitech-l list: |
| 30832 |
|
| 30833 |
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| 30834 |
|
| 30835 |
A low-traffic announcements-only list is also available: |
| 30836 |
http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce |
| 30837 |
|
| 30838 |
It's highly recommended that you sign up for one of these lists if you're |
| 30839 |
going to run a public MediaWiki, so you can be notified of security fixes. |
| 30840 |
|
| 30841 |
|
| 30842 |
=== IRC help === |
| 30843 |
|
| 30844 |
There's usually someone online in #mediawiki on irc.freenode.net |
| 30845 |
|
| 30846 |
=MediaWiki 1.3= |
| 30847 |
|
| 30848 |
== MediaWiki 1.3.18 == |
| 30849 |
(released 2005-11-02) |
| 30850 |
MediaWiki 1.3.18 is a bugfix and security maintenance release. A change in PHP |
| 30851 |
4.4.1 broke handling of extension and <nowiki><pre></nowiki> sections, causing |
| 30852 |
garbage data to be inserted in output and saved edits. This version works |
| 30853 |
around the change. This release includes further corrections to the inline CSS |
| 30854 |
style sanitation which works around a JavaScript "feature" on Microsoft |
| 30855 |
Internet Explorer. Users of Microsoft Internet Explorer for Windows may be |
| 30856 |
vulnerable to XSS injections on prior 1.3 releases; users of |
| 30857 |
standards-compliant browsers are not vulnerable. |
| 30858 |
|
| 30859 |
== MediaWiki 1.3.17 == |
| 30860 |
(released 2005-10-05) |
| 30861 |
MediaWiki 1.3.17 is a security maintenance release. Unsafe handling of CSS by |
| 30862 |
Microsoft Internet Explorer could be exploited to produce cross-site scripting |
| 30863 |
attacks by JavaScript injection to clients running that browser. This release |
| 30864 |
blacklists several additional variants from use in HTML inline style |
| 30865 |
attributes. All publicly accessible wikis are recommended to upgrade to reduce |
| 30866 |
the risk to visitors using Microsoft web browsers.Note: the MediaWiki 1.3.x |
| 30867 |
series is not compatible with PHP 5.0.5 or higher. Upgrade to the 1.5.0 release |
| 30868 |
if you require this version of PHP 5. |
| 30869 |
|
| 30870 |
== MediaWiki 1.3.16 == |
| 30871 |
(released 2005-09-21) |
| 30872 |
MediaWiki 1.3.16 is a security maintenance release. A bug in edit submission |
| 30873 |
handling could cause corruption of the previous revision in the database if an |
| 30874 |
abnormal URL was used, such as those used by some spambots. Affected releases: |
| 30875 |
* 1.4.x <= 1.4.9; fixed in 1.4.10 |
| 30876 |
* 1.3.x <= 1.3.15; fixed in 1.3.16 |
| 30877 |
1.5 release candidates are not affected by this problem. All publicly editable |
| 30878 |
wikis are strongly recommended to upgrade immediately. |
| 30879 |
1.3 releases can be manually patched by changing this bit in |
| 30880 |
{{manual|EditPage.php}}: |
| 30881 |
<syntaxhighlight lang="php"> |
| 30882 |
if( $this->tokenOk( $request ) ) { |
| 30883 |
$this->save = $request->wasPosted() && !$this->preview; |
| 30884 |
} else { |
| 30885 |
</syntaxhighlight> |
| 30886 |
to: |
| 30887 |
<syntaxhighlight lang="php"> |
| 30888 |
if( $this->tokenOk( $request ) ) { |
| 30889 |
$this->save = $request->getVal( 'action' ) == 'submit' && |
| 30890 |
$request->wasPosted() && !$this->preview; |
| 30891 |
} else { |
| 30892 |
</syntaxhighlight> |
| 30893 |
|
| 30894 |
== MediaWiki 1.3.15, 2005-08-29 == |
| 30895 |
MediaWiki 1.3.15 is a security maintenance release. It corrects across-site |
| 30896 |
scripting security bug: |
| 30897 |
* <nowiki><math></nowiki> tags were handled incorrectly when TeX rendering |
| 30898 |
support is off, as in the default configuration. Wikis where the optional math |
| 30899 |
support has been *enabled* are not vulnerable. The 1.3.x series is no longer |
| 30900 |
maintained except for security fixes; new users and those seeking bug fixes |
| 30901 |
should upgrade to 1.4.9 or 1.5.0. |
| 30902 |
|
| 30903 |
== MediaWiki 1.3.14, 2005-08-23 == |
| 30904 |
MediaWiki 1.3.14 is a security maintenance release. A flaw in the interaction |
| 30905 |
between extensions and HTML attribute sanitization was discovered which could |
| 30906 |
allow unauthorized use of offsite resources in style sheets, and possible |
| 30907 |
exploitation of a JavaScript injection feature on Microsoft Internet Explorer. |
| 30908 |
The 1.3.x series is no longer maintained except for security fixes; new users |
| 30909 |
and those seeking bug fixes should upgrade to 1.4.8 or 1.5.0. Existing 1.3.x |
| 30910 |
installations not willing to upgrade to the current stable release should apply |
| 30911 |
the change manually: |
| 30912 |
In includes/Parser.php, function {{code|inline=y|lang=php|fixTagAttributes()}} |
| 30913 |
add: |
| 30914 |
<syntaxhighlight lang="php"> |
| 30915 |
# Any placeholder items should have been unstripped already before |
| 30916 |
# we got to this point. Raw text inserted later could be dangerous. |
| 30917 |
if( strpos( $t, UNIQ_PREFIX ) !== false ) { |
| 30918 |
wfDebug( "Parser::fixTagAttributes found stripped data placeholder; |
| 30919 |
dropping attributes\n" ); |
| 30920 |
$t = ''; |
| 30921 |
} |
| 30922 |
</syntaxhighlight> |
| 30923 |
If you are actively using extensions to generate HTML attribute values, upgrade |
| 30924 |
to 1.4 or 1.5 for a more thorough fix. |
| 30925 |
|
| 30926 |
== MediaWiki 1.3.13, 2005-06-03 == |
| 30927 |
MediaWiki 1.3.13 is a security maintenance release. Incorrect handling of page |
| 30928 |
template inclusions made it possible to inject JavaScript code into HTML |
| 30929 |
attributes, which could lead to cross-site scripting attacks on a publicly |
| 30930 |
editable wiki. Vulnerable releases and fix: |
| 30931 |
* 1.5 prerelease: fixed in 1.5alpha2 |
| 30932 |
* 1.4 stable series: fixed in 1.4.5 |
| 30933 |
* 1.3 legacy series: fixed in 1.3.13 |
| 30934 |
* 1.2 series no longer supported; upgrade to 1.4.5 strongly recommended The |
| 30935 |
1.3.x series is no longer maintained except for security fixes; new users and |
| 30936 |
those seeking general bug fixes should install 1.4.5. Existing 1.3.x |
| 30937 |
installations not willing or able to upgrade to the current stable relase |
| 30938 |
should update the installation to 1.3.13; only includes/Parser.php has changed |
| 30939 |
from 1.3.12. |
| 30940 |
|
| 30941 |
== MediaWiki 1.3.12, 2005-02-20 == |
| 30942 |
MediaWiki 1.3.12 is a security maintenance release. A cross-site scripting |
| 30943 |
injection vulnerability was discovered, which affects only MSIE clients and is |
| 30944 |
only open if MediaWiki has been manually configured to run output through HTML |
| 30945 |
Tidy ($wgUseTidy). The 1.3.x series is no longer maintained except for security |
| 30946 |
fixes; new users and those seeking bug fixes should upgrade to 1.4.2. Existing |
| 30947 |
1.3.x installations using Tidy not willing to upgrade to the current stable |
| 30948 |
relase should either turn off Tidy or update the installation to 1.3.12. |
| 30949 |
|
| 30950 |
== MediaWiki 1.3.11, 2005-02-20 == |
| 30951 |
MediaWiki 1.3.11 is a security release. |
| 30952 |
A security audit found and fixed a number of problems. Users of MediaWiki |
| 30953 |
1.3.10 and earlier should upgrade to 1.3.11; users of 1.4 beta releases should |
| 30954 |
upgrade to 1.4rc1. |
| 30955 |
|
| 30956 |
=== Cross-site scripting vulnerability === |
| 30957 |
XSS injection points can be used to hijack session and authentication cookies |
| 30958 |
as well as more serious attacks. |
| 30959 |
* Media: links output raw text into an attribute value, potentially abusable |
| 30960 |
for JavaScript injection. This has been corrected. |
| 30961 |
* Additional checks added to file upload to protect against MSIE and Safari |
| 30962 |
MIME-type autodetection bugs. |
| 30963 |
As of <code>1.3.10/1.4beta6</code>, per-user customized CSS and JavaScript is |
| 30964 |
disabled by default as a general precaution. Sites which want this ability may |
| 30965 |
set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in LocalSettings.php. |
| 30966 |
|
| 30967 |
=== Cross-site request forgery === |
| 30968 |
An attacker could use JavaScript-submitted forms to perform various restricted |
| 30969 |
actions by tricking an authenticated user into visiting a malicious web page. A |
| 30970 |
fix for page editing in 1.3.10/1.4beta6 has been expanded in this release to |
| 30971 |
other forms and functions. Authors of bot tools may need to update their code |
| 30972 |
to include the additional fields. |
| 30973 |
|
| 30974 |
=== Directory traversal === |
| 30975 |
An unchecked parameter in image deletion could allow an authenticated |
| 30976 |
administrator to delete arbitrary files in directories writable by the web |
| 30977 |
server, and confirm existence of files not deletable. |
| 30978 |
|
| 30979 |
== MediaWiki 1.3.10, 2005-02-03 == |
| 30980 |
MediaWiki 1.3.10 is a security release. |
| 30981 |
An attacker could craft a URL which, when visited by a particular logged-in |
| 30982 |
user, would execute arbitrary JavaScript code on the user's browser in the |
| 30983 |
wiki's site context. This attack has been blocked, and as an extra precaution |
| 30984 |
the user CSS and JavaScript subpage support is now disabled by default. Sites |
| 30985 |
which want this ability may set {{wg|AllowUserCss}} and {{wg|AllowUserJs}} in |
| 30986 |
{{manual|LocalSettings.php}}. Additional protections have been added against |
| 30987 |
off-site form submissions |
| 30988 |
hijacking user credentials. Authors of bot tools may need to update their code |
| 30989 |
to include additional fields. All wikis running 1.3.x are strongly urged to |
| 30990 |
upgrade to 1.3.10. |
| 30991 |
Changes from 1.3.9: |
| 30992 |
* Logged-in edits and preview of user CSS/JS are now locked to a session token. |
| 30993 |
* Per-user CSS and JavaScript subpage customizations now disabled by default. |
| 30994 |
They can be re-enabled via {{wg|AllowUserJs}} and {{wg|AllowUserCss}}. |
| 30995 |
* Removed .ogg from the default uploads whitelist as an extra precaution. If |
| 30996 |
your web server is configured to serve Ogg files with the correct Content-Type |
| 30997 |
header, you can re-add it in LocalSettings.php: {{wg|FileExtensions}}<code>[] = |
| 30998 |
'ogg'</code> |
| 30999 |
|
| 31000 |
== MediaWiki 1.3.9, 2004-12-12 == |
| 31001 |
MediaWiki 1.3.9 is a security and bug fix release. |
| 31002 |
A flaw in upload handling has been found which may allow upload and execution |
| 31003 |
of arbitrary scripts with the permissions of the web server. Only wikis that |
| 31004 |
have enabled uploads and have a vulnerable Apache configuration will be |
| 31005 |
affected, but to be safe all wikis should upgrade. Wikis with uploads available |
| 31006 |
should either disable uploads or upgrade to 1.3.9 immediately; if other files |
| 31007 |
are customized and require merging changes, |
| 31008 |
includes/{{manual|SpecialUpload.php}} may be replaced individually to add the |
| 31009 |
fix. (It is also recommended to configure your web server to disable script |
| 31010 |
execution in the 'images' subdirectory where uploads are placed, which prevents |
| 31011 |
most attacks even if the wiki fails.) |
| 31012 |
Changes from 1.3.8: |
| 31013 |
* Backported "Templates used in this page"-feature of EditPage |
| 31014 |
* Allow "MySkin" as a default skin. |
| 31015 |
* ({{bugzilla|938}}) Parse namespaces correctly on self-interwiki links |
| 31016 |
* ({{bugzilla|1010}}) fix broken Commons image link on [[Skin:Classic|Classic]] |
| 31017 |
& [[Skin:Cologne Blue|Cologne Blue]] |
| 31018 |
* ({{bugzilla|1004}}) Norsk language names for interwiki links changed, Nauruan |
| 31019 |
language name changed |
| 31020 |
* Enhance upload extension blacklist to protect against vulnerable Apache |
| 31021 |
configurations |
| 31022 |
|
| 31023 |
== MediaWiki 1.3.8, 2004-11-15 == |
| 31024 |
MediaWiki 1.3.8 is a bugfix release. Those running wikis with uploads enabled |
| 31025 |
are strongly recommended to upgrade as this fixes several problems with |
| 31026 |
overwriting previously-uploaded files. |
| 31027 |
Changes from 1.3.7: |
| 31028 |
* ({{bugzilla|506}}) fix {{code|inline=y|lang=html|array_key_exists()}} warning |
| 31029 |
for IIS servers using ISAPI mode |
| 31030 |
* ({{bugzilla|718}}) fix bad charset in (file) cached pages |
| 31031 |
* use local numerals in category page (for Hindi et al) |
| 31032 |
* alias month abbreviations to month names in Hindi |
| 31033 |
* add localized numerals for Gujarati and Kannada |
| 31034 |
* fix Category and project namespaces for Hindi |
| 31035 |
* Don't output bogus timestamp on [[Special:RecentChanges]] if no entries |
| 31036 |
* Correct template include path which broke some but not all Windows installs |
| 31037 |
* Fix edit form submission problem with some PHP versions |
| 31038 |
* Disallow unreachable titles with %XX hex codes |
| 31039 |
* Allow page [[0]] to be renamed |
| 31040 |
* ({{bugzilla|774}}) when saving with <code>section=new</code>, return to the |
| 31041 |
anchor as with existing numbered section edits |
| 31042 |
* Experimental shared upload overlay area (disabled by default) |
| 31043 |
* ({{bugzilla|806}}) Removed some "Wikipedia" hardcoding in German localization |
| 31044 |
* User option localization fix for some extensions |
| 31045 |
* ({{bugzilla|809}}) now try to load the mysql php extension if it isn't loaded |
| 31046 |
* ({{bugzilla|848}}) fix error message in [[Special:Newpages]] RSS and Atom |
| 31047 |
feeds |
| 31048 |
* ({{bugzilla|26}}) fix cache headers on anon talk page notification |
| 31049 |
* ({{bugzilla|874}}) added 'cgi' to {{wg|FileBlacklist}} |
| 31050 |
* ({{bugzilla|862}}) localize date and time format for Finnish |
| 31051 |
* ({{bugzilla|548}}) Don't overwrite images until the user confirms it |
| 31052 |
|
| 31053 |
== MediaWiki 1.3.7, 2004-10-18 == |
| 31054 |
Changes from 1.3.6: |
| 31055 |
* Fix protected-page related security issue. |
| 31056 |
|
| 31057 |
== MediaWiki 1.3.6, 2004-10-14 == |
| 31058 |
Changes from 1.3.5: |
| 31059 |
* ({{bugzilla|296}}) Variables in user interface messages are no longer |
| 31060 |
substituted at install time, so changes to the site name etc should be easier |
| 31061 |
to make |
| 31062 |
* ({{bugzilla|149}}) [[Special:RecentChanges]] "changes from" link preserves |
| 31063 |
limit |
| 31064 |
* ({{bugzilla|433}}) tooltip for "Undelete" tab now labeled correctly |
| 31065 |
* ({{bugzilla|439}}) unclickable "Move" tab no longer displays on protected |
| 31066 |
pages |
| 31067 |
* ({{bugzilla|484}}) graceful deletion of images where the actual file is |
| 31068 |
missing |
| 31069 |
* ({{bugzilla|686}}) fixed [[plural]]s in Catalan localization |
| 31070 |
* Fixed potential HTML/JavaScript injection attack in the |
| 31071 |
[[Extension:UnicodeConverter|UnicodeConverter]] extension. (This extension is |
| 31072 |
not enabled by default.) |
| 31073 |
* Fixed potential HTML/JavaScript injection attack via raw page views to a |
| 31074 |
maliciously crafted wiki page. |
| 31075 |
* ({{bugzilla|187}}, {{bugzilla|669}}) Fixed centered thumbnails, using |
| 31076 |
{{code|inline=y|lang=html|<div>}} instead of {{code|inline=y|lang=html|<span>}}. |
| 31077 |
* catch MySQL error 2000 during installation. |
| 31078 |
* ({{bugzilla|704}}) Removed misleading LocalSettings.sample |
| 31079 |
* Fix cross site scripting bugs in [[Special:Ipblocklist]], |
| 31080 |
[[Special:EmailUser]] |
| 31081 |
* Fix SQL injection and cross site scripting bugs in Special:Maintenance |
| 31082 |
* Fix cross site scripting bugs and possible filename validation vulnerability |
| 31083 |
in ImagePage. |
| 31084 |
* and more of that sort |
| 31085 |
|
| 31086 |
== MediaWiki 1.3.5, 2004-09-30 == |
| 31087 |
Changes from 1.3.4: |
| 31088 |
* Clean up input validation in 'raw' page output mode which was a potential |
| 31089 |
cross-site scripting opportunity. |
| 31090 |
|
| 31091 |
== MediaWiki 1.3.4, 2004-09-28 == |
| 31092 |
=== SECURITY NOTE === |
| 31093 |
As of 1.3.4, MediaWiki performs some screening of newly uploaded files for |
| 31094 |
validity. (Some) corrupt image files, and HTML files mistakenly or maliciously |
| 31095 |
masquerading as images, should now be rejected. These checks protect against |
| 31096 |
Internet Explorer security holes relating to type autodetection which are a |
| 31097 |
potential cross-site scripting attack vector, and also rejects at least one |
| 31098 |
known version of the "JPEG virus" which might attack unpatched clients. If you |
| 31099 |
already have invalid files uploaded this will not protect against them. If you |
| 31100 |
have expanded the <code>filetype</code> whitelist or disabled the strict type |
| 31101 |
checking, other dangerous file types may still get through. You should always |
| 31102 |
be careful when allowing uploads! |
| 31103 |
Changes from 1.3.3: |
| 31104 |
* Fixed lots of template-related bugs, esp. for cases where template variables |
| 31105 |
are used for links, images, etc. |
| 31106 |
* Fixed transformation of page messages when viewing [[Special:Allmessages]] |
| 31107 |
* Handle "ISBN ISBN 1234" correctly |
| 31108 |
* Fixed warning on Category pages |
| 31109 |
* Fixed some bad error messages on login page |
| 31110 |
* Fixed history entry for initial main page on install |
| 31111 |
* Removed problematic <code>{</code> and <code>}</code> from legal title |
| 31112 |
characters |
| 31113 |
* Strip leading blank from output in preformatted text. |
| 31114 |
* Fixed problem when moving pages to titles with '#' in |
| 31115 |
* Optional {{wg|RawHtml}} for raw {{code|inline=y|lang=html|<html>}} sections. |
| 31116 |
Use only on limited- participation 'trusted' wikis, as it does not protect |
| 31117 |
against cross-site scripting attacks. For security, this option can only be |
| 31118 |
enabled if in {{wg|WhitelistEdit}} mode. |
| 31119 |
* Fixed problem where pages which were created as a redirect following a move |
| 31120 |
never showed on [[Special:Randompage]]. |
| 31121 |
* Fixed line spacing on printed table of contents |
| 31122 |
* Allow links to pages with names of the form [[RFC 1234]] |
| 31123 |
* Fixed broken edit links being shown for sections from included templates |
| 31124 |
* Verify that uploaded image files are of the claimed type. |
| 31125 |
|
| 31126 |
== MediaWiki 1.3.3, 2004-09-09 == |
| 31127 |
Changes from 1.3.2: |
| 31128 |
* Fix for long numeric page titles |
| 31129 |
* Fix Go search for "0", numeric almost-self-links |
| 31130 |
* Avoid caching of pages with "You have new messages" headers |
| 31131 |
* Fix for upgrades as non-root users from 1.2 command-line installs. |
| 31132 |
* Fix for {{wg|DebugDumpSql}} debug mode. |
| 31133 |
* {{wg|ExtraNamespaces}} setting for configuring additional namespaces (see |
| 31134 |
note in {{manual|DefaultSettings.php}}) |
| 31135 |
* 'recache' on query pages now disabled when miser mode is on; special case the |
| 31136 |
global settings in your {{manual|LocalSettings.php}} to do automatic updates. |
| 31137 |
* Don't block UTF-8 titles containing byte 0xA0 (bug added in 1.3.2) |
| 31138 |
* Watch/unwatch tabs now shown on edit pages in MonoBook. |
| 31139 |
* Fix default skin in Irish localization (ga) |
| 31140 |
* Add Traditional Chinese localization (zh-tw) |
| 31141 |
* Changed default sortkey of subcategories. Don't include "Category:"-prefix |
| 31142 |
any longer |
| 31143 |
* More helpful info on spam catcher. |
| 31144 |
* Allow larger offsets for queries such as [[Special:Listusers]] |
| 31145 |
* Semicolon (;) added to French non-break space rules |
| 31146 |
* Possible fix for some install errors with path names permission problems. |
| 31147 |
* Removed [[Project:All system messages]], which has been superseded by the |
| 31148 |
much faster [[Special:Allmessages]]. This speeds up installation considerably. |
| 31149 |
|
| 31150 |
== MediaWiki 1.3.2, 2004-08-30 == |
| 31151 |
Changes from 1.3.1: |
| 31152 |
* Fix namespaced page creation links when no go match |
| 31153 |
* When cookies are disabled, don't show login screen twice |
| 31154 |
* Install should no longer die when PHP is pre-configured to compress output |
| 31155 |
* Fixed bug that caused long Japanese pages to time out with Tidy active |
| 31156 |
* When session.handler is set incorrectly, try automatic override to 'files' |
| 31157 |
* Watch/Unwatch links back to the affected page instead of Main Page |
| 31158 |
* Upload link no longer displayed on Monobook if uploading is disabled |
| 31159 |
* Special:Allmessages faster, shows correct original text, works in safe mode |
| 31160 |
|
| 31161 |
== MediaWiki 1.3.1, 2004-08-14 == |
| 31162 |
Changes from 1.3.0: |
| 31163 |
* Watchlist parameters now work with register_globals off |
| 31164 |
* Fixed parsing of ''italics'' and '''bold''' mark-up (again) |
| 31165 |
* Special:Allpages display is more sensible on smaller wikis |
| 31166 |
* Fixed XHTML parsing error in classic skins |
| 31167 |
* Moved pages update watchlist correctly |
| 31168 |
* Fixed rebuildall.php on case-sensitive Unix filesystems |
| 31169 |
* Disabled file cache compression by default due to incompatibility with output |
| 31170 |
buffer compression (ob_gzhandler) |
| 31171 |
* New magic word {{code|inline=y|PAGENAMEE}} (URL-escaped version of |
| 31172 |
{{code|inline=y|PAGENAME}}) |
| 31173 |
* Installation avoids blank username; better message on missing XML module |
| 31174 |
* {{wg|WhitelistAccount}} no longer breaks all logins. |
| 31175 |
|
| 31176 |
== MediaWiki 1.3.0, 2004-08-11 == |
| 31177 |
Look & layout: |
| 31178 |
* New default layout '[[Skin:MonoBook|MonoBook]]' (available on PHP4 only |
| 31179 |
currently) |
| 31180 |
* Print stylesheet now built-in to every page |
| 31181 |
* More or less correct XHTML 1.0 (served as text/html by default) |
| 31182 |
Wiki features: |
| 31183 |
* Image captions can now include links and other basic formatting |
| 31184 |
* Image bounding box can be specified instead of width, e.g. as 100x100px, |
| 31185 |
making the image not wider than 100px and not higher than 100px, keeping aspect |
| 31186 |
ratio. |
| 31187 |
* Templates have been expanded with parameters, and separated from the |
| 31188 |
MediaWiki: localization scheme. |
| 31189 |
* Categories more or less work |
| 31190 |
* added a special page for listing users with sysop rights. |
| 31191 |
Editing: |
| 31192 |
* Automatic merging of edit conflicts that don't directly interfere |
| 31193 |
* Edit summaries can now include basic formatting and links |
| 31194 |
Metadata and output: |
| 31195 |
* Linked Creative Commons copyright metadata (optional) |
| 31196 |
* RSS 2.0 & Atom 0.3 feeds for Recent Changes, New Pages |
| 31197 |
Optional modules: |
| 31198 |
* WikiHiero hieroglyphic module can be added (separate download) |
| 31199 |
* Timeline module can be added (separate download). Requires ploticus. |
| 31200 |
* TeX now has an experimental MathML output mode (incomplete!) |
| 31201 |
Installation and upgrading: |
| 31202 |
* The old install.php and update.php have been removed. In-place installation |
| 31203 |
introduced in 1.2 is now the standard installation and upgrade method, see |
| 31204 |
INSTALL and UPGRADE for directions. |
| 31205 |
Database: |
| 31206 |
* The links table has been changed to use a cur_id for l_from. The link tables |
| 31207 |
must be converted on upgrade, which may entail some downtime. |
| 31208 |
Code and compatibility: |
| 31209 |
* Should now run clean with error reporting set to E_ALL. |
| 31210 |
* register_globals hack from 1.2 has been replaced with safer code |
| 31211 |
* Bundled PHPTAL 0.7.0 from http://phptal.sourceforge.net/ (with some patches) |
| 31212 |
* Most image-related code moved to Image.php |
| 31213 |
* More fixes for PHP 4.1.2 (thanks to Asheesh Laroia) |
| 31214 |
* URL encoding fix for anchors |
| 31215 |
* All languages now available in UTF-8 mode |
| 31216 |
* Various other fixes |
| 31217 |
|
| 31218 |
=== Caveats === |
| 31219 |
Some output, particularly involving user-supplied inline HTML, may not produce |
| 31220 |
100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType |
| 31221 |
= "application/xhtml+xml"; to test for remaining problem cases, but this is not |
| 31222 |
recommended on live sites. (This must be set for MathML to display properly in |
| 31223 |
Mozilla.) The new 'MonoBook' skin is not compatible with PHP 5 due to bugs in |
| 31224 |
the underlying PHPTAL library. It will be automatically disabled when running |
| 31225 |
on PHP5; the older look and feel will be used instead. |