2019-04-09 17:01:18 +00:00
|
|
|
|
= MediaWiki 1.34 =
|
|
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.34.0-PRERELEASE ==
|
|
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.34 is an alpha-quality development branch, and is not recommended
|
|
|
|
|
|
for use in production.
|
|
|
|
|
|
|
|
|
|
|
|
== Upgrading notes for 1.34 ==
|
|
|
|
|
|
1.34 has several database changes since 1.33, and will not work without schema
|
|
|
|
|
|
updates. Note that due to changes to some very large tables like the revision
|
|
|
|
|
|
table, the schema update may take quite long (minutes on a medium sized site,
|
|
|
|
|
|
many hours on a large site).
|
|
|
|
|
|
|
|
|
|
|
|
Don't forget to always back up your database before upgrading!
|
|
|
|
|
|
|
|
|
|
|
|
See the file UPGRADE for more detailed upgrade instructions, including
|
|
|
|
|
|
important information when upgrading from versions prior to 1.11.
|
|
|
|
|
|
|
|
|
|
|
|
Some specific notes for MediaWiki 1.34 upgrades are below:
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
For notes on 1.33.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
|
|
=== Configuration changes for system administrators in 1.34 ===
|
Don't require Title for getTimestampFromId
3e36ba655e3a added an option for passing a page ID to this method of
Revision, and e03787afd91c switched it to a Title and made it mandatory.
This behavior propagated to the method in RevisionStore. As far as I
can tell, the parameter does not help anything, but it can add a
database query to get the page ID if it's not cached, and impedes
conversion to LinkTarget. I can't figure out any reason to not
completely drop it. I've noted it as deprecated but still supported it
for now for compatibility -- I found one extension that does pass it.
(It's ignored, though, which theoretically would be a behavior change if
someone was passing a Title that didn't match the revision ID.)
While I was at it, I added the method to RevisionLookup, although it's
only used in later patches. Properly I should move that piece to a later
patch, but it didn't seem worth the effort.
I didn't change the Revision method, because the whole Revision class is
deprecated anyway.
Change-Id: I26ef5f2bf828f0f450633b7237d26d888e2c8773
2019-04-29 14:32:22 +00:00
|
|
|
|
|
2018-12-04 08:31:11 +00:00
|
|
|
|
In an effort to enforce best practices for passwords, MediaWiki will now warn
|
|
|
|
|
|
users, and suggest that they change their password, if it is in the list of
|
|
|
|
|
|
100,000 commonly used passwords that are considered bad passwords. If you want
|
|
|
|
|
|
to disable this for your users, please add the following to your local settings:
|
|
|
|
|
|
|
|
|
|
|
|
$wgPasswordPolicy['policies']['default']['PasswordNotInLargeBlacklist'] = false;
|
|
|
|
|
|
|
2019-04-09 17:01:18 +00:00
|
|
|
|
==== New configuration ====
|
2019-04-22 20:28:54 +00:00
|
|
|
|
* $wgAllowExternalReqID (T201409) - This configuration setting controls whether
|
|
|
|
|
|
Mediawiki accepts the request ID set by the incoming request via the
|
|
|
|
|
|
`X-Request-Id` header. If set to `true`, that value will be used throughout
|
|
|
|
|
|
the code as the request identificator. Otherwise, the sent header will be
|
|
|
|
|
|
ignored and the request ID will either be taken from Apache's mod_unique
|
|
|
|
|
|
module or will be generated by Mediawiki itself (depending on the set-up).
|
2019-05-07 14:55:48 +00:00
|
|
|
|
* $wgEnableSpecialMute (T218265) - This configuration controls whether
|
|
|
|
|
|
Special:Mute is available and whether to include a link to it on emails
|
|
|
|
|
|
originating from Special:Email.
|
2018-11-01 23:29:22 +00:00
|
|
|
|
* editmyuserjsredirect user right – users without this right now cannot edit JS
|
|
|
|
|
|
redirects in their userspace unless the target of the redirect is also in
|
|
|
|
|
|
their userspace. By default, this right is given to everyone.
|
2019-06-27 20:18:54 +00:00
|
|
|
|
* (T226733) Add rate limiter to Special:ConfirmEmail.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
==== Changed configuration ====
|
2017-11-01 20:55:24 +00:00
|
|
|
|
* $wgUseCdn, $wgCdnServers, $wgCdnServersNoPurge, and $wgCdnMaxAge – These four
|
|
|
|
|
|
CDN-related config variables have been renamed from being specific to Squid –
|
|
|
|
|
|
they were previously $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and
|
|
|
|
|
|
$wgSquidMaxage respectively. This aligns them with the related existing
|
|
|
|
|
|
variable $wgCdnMaxageLagged. The previous configuration variable names are
|
|
|
|
|
|
deprecated, but will be used as the fall back if they are still set.
|
|
|
|
|
|
Note that wgSquidPurgeUseHostHeader has not been renamed, as it is deprecated.
|
2019-06-06 21:54:29 +00:00
|
|
|
|
* (T27707) File type checks for image uploads have been relaxed to allow files
|
|
|
|
|
|
containing some HTML markup in metadata. As a result, the $wgAllowTitlesInSVG
|
|
|
|
|
|
setting is no longer applied and is now always true. Note that MSIE 7 may
|
|
|
|
|
|
still be able to misinterpret certain malformed PNG files as HTML.
|
|
|
|
|
|
* Introduced $wgVerifyMimeTypeIE to allow disabling the MSIE 6/7 file type
|
|
|
|
|
|
detection heuristic on upload, which is more conservative than the checks
|
|
|
|
|
|
that were changed above.
|
2019-07-12 23:40:10 +00:00
|
|
|
|
* $wgSkipSkin — Setting this instead of $wgSkipSkins, deprecated in 1.23, is now
|
|
|
|
|
|
hard-deprecated.
|
2019-07-12 23:40:51 +00:00
|
|
|
|
* $wgLocalInterwiki — Setting this instead of $wgLocalInterwikis, deprecated in
|
|
|
|
|
|
1.23, is now hard-deprecated.
|
2019-07-12 23:42:09 +00:00
|
|
|
|
* $wgProfileOnly — Setting this, deprecated in 1.23, is now hard-deprecated.
|
|
|
|
|
|
Instead, set the log file in $wgDebugLogGroups['profileoutput'].
|
2019-07-26 21:39:48 +00:00
|
|
|
|
* $wgProxyList — Setting this to an array with IP addresses in the array keys,
|
|
|
|
|
|
which was deprecated in 1.30, no longer works. Instead, $wgProxyList should be
|
|
|
|
|
|
an array with IP addresses as the values, or a string path to a file
|
|
|
|
|
|
containing one IP address per line.
|
2019-09-05 21:41:55 +00:00
|
|
|
|
* $wgCookieSetOnAutoblock and $wgCookieSetOnIpBlock are now enabled by default.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed configuration ====
|
2019-05-22 13:42:20 +00:00
|
|
|
|
* $wgWikiDiff2MovedParagraphDetectionCutoff — If you still want a custom change
|
|
|
|
|
|
size threshold, please specify in php.ini, using the configuration variable
|
|
|
|
|
|
wikidiff2.moved_paragraph_detection_cutoff.
|
2019-09-08 04:11:22 +00:00
|
|
|
|
* $wgUseESI - This experimental setting, deprecated in 1.33, is now removed.
|
2019-07-13 01:08:30 +00:00
|
|
|
|
* $wgDebugPrintHttpHeaders - The default of including HTTP headers in the
|
|
|
|
|
|
debug log channel is no longer configurable. The debug log itself remains
|
|
|
|
|
|
configurable via $wgDebugLogFile.
|
2019-08-27 15:35:49 +00:00
|
|
|
|
* $wgMsgCacheExpiry - The MessageCache uses 24 hours as the expiry for values
|
|
|
|
|
|
stored in WANObjectCache. This is no longer configurable.
|
2019-07-12 23:44:38 +00:00
|
|
|
|
* $wgPasswordSalt – This setting, used for migrating exceptionally old, insecure
|
|
|
|
|
|
password setups and deprecated since 1.24, is now removed.
|
2019-07-11 02:35:46 +00:00
|
|
|
|
* $wgDBOracleDRCP - If you must use persistent connections, set DBO_PERSISTENT
|
|
|
|
|
|
in the 'flags' field for servers in $wgDBServers (or $wgLBFactoryConf).
|
2019-08-28 21:11:21 +00:00
|
|
|
|
* $wgMemCachedDebug - Set the cache "debug" field in $wgObjectCaches instead.
|
2019-07-23 17:40:52 +00:00
|
|
|
|
* $wgActorTableSchemaMigrationStage has been removed. Extension code for
|
|
|
|
|
|
MediaWiki 1.31+ finding it unset should treat it as being SCHEMA_COMPAT_NEW.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== New user-facing features in 1.34 ===
|
2019-05-07 14:55:48 +00:00
|
|
|
|
* Special:Mute has been added as a quick way for users to block unwanted emails
|
|
|
|
|
|
from other users originating from Special:EmailUser.
|
2019-06-23 02:17:38 +00:00
|
|
|
|
* (T207577) Special:NewSection has been created as a shortcut to creating a new
|
|
|
|
|
|
section on a page. When linked to, its subpage is used as the target
|
|
|
|
|
|
([[Special:NewSection/Test]] redirects to creating a new section in "Test").
|
|
|
|
|
|
Otherwise, it displays a basic interface to allow the end user to specify
|
|
|
|
|
|
the target manually.
|
2019-08-02 19:06:31 +00:00
|
|
|
|
* (T220447) Special:Contributions/newbies has been removed for performance and
|
|
|
|
|
|
usefulness reasons. Use Special:RecentChanges?userExpLevel=newcomer instead.
|
2019-08-02 19:32:23 +00:00
|
|
|
|
* Special:NewFiles/newbies has been removed for performance and usefulness
|
|
|
|
|
|
reasons. Use Special:RecentChanges?userExpLevel=newcomer&namespace=6 instead.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== New developer features in 1.34 ===
|
2019-03-15 04:03:29 +00:00
|
|
|
|
* The ImgAuthModifyHeaders hook was added to img_auth.php to allow modification
|
|
|
|
|
|
of headers in private wikis.
|
2019-05-04 09:27:04 +00:00
|
|
|
|
* Language::formatTimePeriod now supports the new 'avoidhours' option to output
|
|
|
|
|
|
strings like "5 days ago" instead of "5 days 13 hours ago".
|
2019-07-01 14:14:42 +00:00
|
|
|
|
* (T220163) Added SpecialMuteModifyFormFields hook to allow extensions
|
|
|
|
|
|
to add fields to Special:Mute.
|
2019-07-23 12:57:38 +00:00
|
|
|
|
* (T100896) Skin authors can define custom OOUI themes using OOUIThemePaths.
|
|
|
|
|
|
See <https://www.mediawiki.org/wiki/OOUI/Themes> for details.
|
2019-07-24 15:27:52 +00:00
|
|
|
|
* (T229035) The GetUserBlock hook was added. Use this instead of
|
|
|
|
|
|
GetBlockedStatus.
|
2019-08-21 16:10:30 +00:00
|
|
|
|
* ObjectFactory is available as a service. When used as a service, the object
|
|
|
|
|
|
specs can now specify needed DI services.
|
2019-09-06 09:21:29 +00:00
|
|
|
|
* (T222388) Special pages can now be specified as an ObjectFactory spec,
|
|
|
|
|
|
allowing the construction of special pages that require services to be
|
|
|
|
|
|
injected in their constructor.
|
2019-09-06 11:38:55 +00:00
|
|
|
|
* (T222388) API modules can now be specified as an ObjectFactory spec,
|
|
|
|
|
|
allowing the construction of modules that require services to be injected
|
|
|
|
|
|
in their constructor.
|
2016-04-02 08:03:42 +00:00
|
|
|
|
* (T117736) The function signature of SpecialContributions::getForm::filters
|
|
|
|
|
|
has changed. It now expects definitions of additional filter fields as array
|
|
|
|
|
|
rather than string.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== External library changes in 1.34 ===
|
Don't require Title for getTimestampFromId
3e36ba655e3a added an option for passing a page ID to this method of
Revision, and e03787afd91c switched it to a Title and made it mandatory.
This behavior propagated to the method in RevisionStore. As far as I
can tell, the parameter does not help anything, but it can add a
database query to get the page ID if it's not cached, and impedes
conversion to LinkTarget. I can't figure out any reason to not
completely drop it. I've noted it as deprecated but still supported it
for now for compatibility -- I found one extension that does pass it.
(It's ignored, though, which theoretically would be a behavior change if
someone was passing a Title that didn't match the revision ID.)
While I was at it, I added the method to RevisionLookup, although it's
only used in later patches. Properly I should move that piece to a later
patch, but it didn't seem worth the effort.
I didn't change the Revision method, because the whole Revision class is
deprecated anyway.
Change-Id: I26ef5f2bf828f0f450633b7237d26d888e2c8773
2019-04-29 14:32:22 +00:00
|
|
|
|
|
2019-04-09 17:01:18 +00:00
|
|
|
|
==== New external libraries ====
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed external libraries ====
|
2019-04-11 22:06:34 +00:00
|
|
|
|
* Updated Mustache from 1.0.0 to v3.0.1.
|
2019-08-28 15:53:23 +00:00
|
|
|
|
* Updated OOUI from v0.31.3 to v0.34.0.
|
|
|
|
|
|
* Updated OOjs from v2.2.2 to v3.0.0.
|
2019-05-10 23:19:25 +00:00
|
|
|
|
* Updated composer/semver from 1.4.2 to 1.5.0.
|
|
|
|
|
|
* Updated composer/spdx-licenses from 1.4.0 to 1.5.1 (dev-only).
|
|
|
|
|
|
* Updated mediawiki/codesniffer from 25.0.0 to 26.0.0 (dev-only).
|
2019-05-11 00:20:15 +00:00
|
|
|
|
* Updated cssjanus/cssjanus from 1.2.1 to 1.3.0.
|
2019-02-12 01:25:12 +00:00
|
|
|
|
* Updated wikimedia/at-ease from 1.2.0 to 2.0.0.
|
2019-09-18 16:22:55 +00:00
|
|
|
|
* Updated wikimedia/remex-html from 2.0.1 to 2.1.0.
|
2019-06-13 23:17:49 +00:00
|
|
|
|
* Updated monolog/monolog from 1.22.1 to 1.24.0 (dev-only).
|
2019-07-12 14:47:38 +00:00
|
|
|
|
* Updated wikimedia/object-factory from 1.0.0 to 2.1.0.
|
2019-06-19 17:58:20 +00:00
|
|
|
|
* Updated wikimedia/timestamp from 2.2.0 to 3.0.0.
|
|
|
|
|
|
* Updated wikimedia/xmp-reader from 0.6.2 to 0.6.3.
|
2019-06-10 19:48:13 +00:00
|
|
|
|
* Updated mediawiki/mediawiki-phan-config from 0.6.0 to 0.6.1 (dev-only).
|
2019-04-09 17:01:18 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed external libraries ====
|
2019-04-27 05:02:39 +00:00
|
|
|
|
* The jquery.async module, deprecated in 1.33, was removed.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Bug fixes in 1.34 ===
|
2019-05-06 08:58:09 +00:00
|
|
|
|
* (T222529) If a log entry or page revision is recorded in the database with an
|
|
|
|
|
|
empty username, attempting to display it will log an error and return a "no
|
|
|
|
|
|
username available" to the user instead of silently displaying nothing or
|
|
|
|
|
|
invalid links.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== Action API changes in 1.34 ===
|
2019-04-01 00:15:10 +00:00
|
|
|
|
* The 'recenteditcount' response property from action=query list=allusers,
|
|
|
|
|
|
deprecated in 1.25, has been removed.
|
2019-09-09 20:07:38 +00:00
|
|
|
|
* (T60993) action=query list=filearchive, list=alldeletedrevisions and
|
|
|
|
|
|
prop=deletedrevisions no longer require the 'deletedhistory' user right.
|
2019-08-30 08:55:01 +00:00
|
|
|
|
* In the response to queries that use 'prop=imageinfo', entries for
|
|
|
|
|
|
non-existing files (indicated by the 'filemissing' field) now omit the
|
|
|
|
|
|
following fields, since they are meaningless in this context:
|
|
|
|
|
|
'timestamp', 'userhidden', 'user', 'userid', 'anon', 'size', 'width',
|
|
|
|
|
|
'height', 'pagecount', 'duration', 'commenthidden', 'parsedcomment',
|
|
|
|
|
|
'comment', 'thumburl', 'thumbwidth', 'thumbheight', 'thumbmime',
|
|
|
|
|
|
'thumberror', 'url', 'sha1', 'metadata', 'extmetadata', 'commonmetadata',
|
|
|
|
|
|
'mime', 'mediadtype', 'bitdepth'.
|
|
|
|
|
|
Clients that process these fields should first check if 'filemissing' is
|
|
|
|
|
|
set. Fields that are supported even if the file is missing include:
|
|
|
|
|
|
'canonicaltitle', ''archivename' (deleted files only), 'descriptionurl',
|
|
|
|
|
|
'descriptionshorturl'.
|
2019-09-05 18:24:28 +00:00
|
|
|
|
* The 'blockexpiry' result property in list=users and list=allusers will now be
|
|
|
|
|
|
returned in the same format used by the rest of the API: ISO 8601 for
|
|
|
|
|
|
expiring blocks, and "infinite" for non-expiring blocks.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== Action API internal changes in 1.34 ===
|
2019-09-06 11:38:55 +00:00
|
|
|
|
* The exception thrown in ApiModuleManager::getModule has been changed
|
|
|
|
|
|
from an MWException to an UnexpectedValueException, thrown by ObjectFactory.
|
|
|
|
|
|
ApiModuleManager::getModule now also throws InvalidArgumentExceptions when
|
|
|
|
|
|
ObjectFactory is presented with an invalid spec or incorrectly constructed
|
|
|
|
|
|
objects.
|
2019-09-05 18:24:28 +00:00
|
|
|
|
* Added ApiQueryBlockInfoTrait.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== Languages updated in 1.34 ===
|
|
|
|
|
|
MediaWiki supports over 350 languages. Many localisations are updated regularly.
|
|
|
|
|
|
Below only new and removed languages are listed, as well as changes to languages
|
|
|
|
|
|
because of Phabricator reports.
|
|
|
|
|
|
|
2019-03-17 12:48:53 +00:00
|
|
|
|
* (T152908) Added language support for N'Ko (nqo).
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== Breaking changes in 1.34 ===
|
2019-02-19 12:15:36 +00:00
|
|
|
|
* The global functions wfSuppressWarnings and wfRestoreWarnings, deprecated in
|
|
|
|
|
|
1.26, have been removed. Use Wikimedia\AtEase\AtEase::suppressWarnings() and
|
|
|
|
|
|
Wikimedia\AtEase\AtEase::restoreWarnings() directly.
|
2019-03-17 07:30:01 +00:00
|
|
|
|
* Preferences class, deprecated in 1.31, has been removed.
|
2019-03-17 07:34:10 +00:00
|
|
|
|
* The following parts of code, deprecated in 1.32, were removed in favor of
|
|
|
|
|
|
built-in PHP functions:
|
|
|
|
|
|
* CryptRand class
|
|
|
|
|
|
* CryptRand service
|
|
|
|
|
|
* Functions of the MWCryptRand class: singleton(), wasStrong() and generate().
|
2019-04-14 15:14:22 +00:00
|
|
|
|
* Various Special Page PHP Classes were renamed (mostly casing changes):
|
|
|
|
|
|
* SpecialAncientpages => SpecialAncientPages
|
|
|
|
|
|
* SpecialConfirmemail => SpecialConfirmEmail
|
|
|
|
|
|
* SpecialDeadendpages => SpecialDeadendPages
|
|
|
|
|
|
* SpecialFewestrevisions => SpecialFewestRevisions
|
|
|
|
|
|
* SpecialListredirects => SpecialListRedirects
|
|
|
|
|
|
* SpecialLonelypages => SpecialLonelyPages
|
|
|
|
|
|
* SpecialLongpages => SpecialLongPages
|
|
|
|
|
|
* SpecialMIMEsearch => SpecialMIMESearch
|
|
|
|
|
|
* SpecialMostcategories => SpecialMostCategories
|
|
|
|
|
|
* SpecialMostinterwikis => SpecialMostInterwikis
|
|
|
|
|
|
* SpecialMostlinked => SpecialMostLinked
|
|
|
|
|
|
* SpecialMostlinkedcategories => SpecialMostLinkedCategories
|
|
|
|
|
|
* SpecialMostlinkedtemplates => SpecialMostLinkedTemplates
|
|
|
|
|
|
* SpecialMostrevisions => SpecialMostRevisions
|
|
|
|
|
|
* SpecialNewimages => SpecialNewFiles
|
|
|
|
|
|
* SpecialShortpages => SpecialShortPages
|
|
|
|
|
|
* SpecialUncategorizedcategories => SpecialUncategorizedCategories
|
|
|
|
|
|
* SpecialUncategorizedimages => SpecialUncategorizedImages
|
|
|
|
|
|
* SpecialUncategorizedpages => SpecialUncategorizedPages
|
|
|
|
|
|
* SpecialUncategorizedtemplates => SpecialUncategorizedTemplates
|
|
|
|
|
|
* SpecialUnusedcategories => SpecialUnusedCategories
|
|
|
|
|
|
* SpecialUnusedimages => SpecialUnusedImages
|
|
|
|
|
|
* SpecialUnusedtemplates => SpecialUnusedTemplates
|
|
|
|
|
|
* SpecialUnwatchedpages => SpecialUnwatchedPages
|
|
|
|
|
|
* SpecialWantedcategories => SpecialWantedCategories
|
|
|
|
|
|
* SpecialWantedtemplates => SpecialWantedTemplates
|
|
|
|
|
|
* SpecialWithoutinterwiki => SpecialWithoutInterwiki
|
2019-02-10 11:29:11 +00:00
|
|
|
|
* Language::setCode, deprecated in 1.32, was removed. Use Language::factory to
|
|
|
|
|
|
create a new Language object with a different language code.
|
2019-04-11 11:21:41 +00:00
|
|
|
|
* MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
|
|
|
|
|
|
to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
|
|
|
|
|
|
Instead, reset services, such as by calling $this->overrideMwServices() (if
|
|
|
|
|
|
your test extends MediaWikiTestCase). Services will generally not pick up
|
|
|
|
|
|
configuration changes from after they were created, so you must reset
|
|
|
|
|
|
services after any configuration change. Even if your code works now, it is
|
|
|
|
|
|
likely to break in future versions as more code is moved to services.
|
2019-04-10 01:46:47 +00:00
|
|
|
|
* The ill-defined "DatabaseOraclePostInit" hook has been removed.
|
2019-04-14 01:24:20 +00:00
|
|
|
|
* PreferencesFormLegacy and PreferencesForm classes, deprecated in 1.32, have
|
|
|
|
|
|
been removed.
|
2019-04-14 13:48:08 +00:00
|
|
|
|
* ObjectFactory class, deprecated in 1.31, has been removed.
|
2019-04-14 13:52:41 +00:00
|
|
|
|
* HWLDFWordAccumudlator class, deprecated in 1.28, has been removed.
|
2019-04-14 13:55:23 +00:00
|
|
|
|
* XMPInfo, XMPReader and XMPValidate, deprecated in 1.32, have been removed.
|
2019-04-06 00:34:56 +00:00
|
|
|
|
* The RedirectSpecialPage::execute method could sometimes return a Title object.
|
|
|
|
|
|
This behavior was removed, and the method now matches the parent signature
|
|
|
|
|
|
(SpecialPage::execute) which is to return HTML string or void.
|
|
|
|
|
|
To obtain the destination title, use RedirectSpecialPage::getRedirect.
|
2019-04-01 00:15:10 +00:00
|
|
|
|
* The 'recenteditcount' response property from action API action=query
|
|
|
|
|
|
list=allusers, deprecated in 1.25, has been removed.
|
2019-04-18 13:09:02 +00:00
|
|
|
|
* SearchEngine::userNamespaces(), SearchEngine::namespacesAsText(),
|
|
|
|
|
|
SearchEngine::create(), SearchEngine::getSearchTypes() and
|
2019-04-20 01:32:35 +00:00
|
|
|
|
SearchEngine::getNearMatch(), methods deprecated in 1.27, have been removed.
|
|
|
|
|
|
* FileRepo::streamFile(), deprecated in 1.26, has been removed.
|
2019-04-19 23:19:35 +00:00
|
|
|
|
* User::randomPassword() method, deprecated in 1.27, have been removed.
|
2019-04-20 15:24:39 +00:00
|
|
|
|
* MWNamespace::canTalk(), deprecated in 1.30, have been removed.
|
2019-04-07 13:12:40 +00:00
|
|
|
|
* Parser class property $mUniqPrefix, deprecated in 1.26, has been removed.
|
2019-04-27 08:42:48 +00:00
|
|
|
|
* wfArrayFilter() and wfArrayFilterByKey(), deprecated in 1.32, have been
|
|
|
|
|
|
removed.
|
2019-04-27 07:00:19 +00:00
|
|
|
|
* wfMakeUrlIndexes() function, deprecated in 1.33, have been removed.
|
2019-05-07 14:49:28 +00:00
|
|
|
|
* Method signatures in WatchedItemQueryServiceExtension have changed from taking
|
|
|
|
|
|
User objects to taking UserIdentity objects. Extensions implementing this
|
|
|
|
|
|
interface need to be changed accordingly.
|
2019-04-29 10:58:21 +00:00
|
|
|
|
* User::getGroupPage() and ::makeGroupLinkHTML(), deprecated in 1.29, have been
|
|
|
|
|
|
removed. Use UserGroupMembership::getGroupPage and ::getLink instead.
|
2019-04-29 20:13:53 +00:00
|
|
|
|
* User::makeGroupLinkWiki(), deprecated in 1.29, has been removed. Use
|
|
|
|
|
|
UserGroupMembership::getLink() instead.
|
2019-05-07 04:11:06 +00:00
|
|
|
|
* SavepointPostgres, deprecated in 1.31, has been removed.
|
2019-06-19 18:49:22 +00:00
|
|
|
|
* OutputPage::enableSectionEditLinks(), OutputPage::sectionEditLinksEnabled(),
|
|
|
|
|
|
ParserOptions::getEditSection(), ParserOptions::setEditSection(), and
|
|
|
|
|
|
ParserOutput::getEditSectionTokens, ::getTOCEnabled, ::setEditSectionTokens,
|
|
|
|
|
|
and ::setTOCEnabled, deprecated in 1.31, have been removed.
|
2019-05-08 19:33:51 +00:00
|
|
|
|
* EditPage::safeUnicodeInput() and ::safeUnicodeOutput(), deprecated in 1.30,
|
2019-05-09 15:35:44 +00:00
|
|
|
|
have been removed.
|
2019-05-09 16:03:57 +00:00
|
|
|
|
* Four methods in OutputPage, deprecated in 1.32, have been removed. You should
|
|
|
|
|
|
use OutputPage::showFatalError or throw a FatalError instead. The methods are
|
|
|
|
|
|
::showFileCopyError(), ::showFileRenameError(), ::showFileDeleteError(), and
|
|
|
|
|
|
::showFileNotFoundError().
|
|
|
|
|
|
* ApiBase::truncateArray(), deprecated in 1.32, has been removed.
|
|
|
|
|
|
* IcuCollation::getICUVersion(), deprecated in 1.32, has been removed. Use PHP's
|
|
|
|
|
|
INTL_ICU_VERSION constant directly.
|
|
|
|
|
|
* HTMLForm::setSubmitProgressive(), deprecated in 1.32, has been removed.
|
|
|
|
|
|
* ResourceLoaderStartUpModules::getStartupModules() and ::getLegacyModules(),
|
|
|
|
|
|
both deprecated in 1.32, have been removed.
|
|
|
|
|
|
* BaseTemplate::msgHtml() and QuickTemplate::msgHtml(), deprecated in 1.32, have
|
|
|
|
|
|
been removed. Use ->msg() or ->getMsg() instead.
|
|
|
|
|
|
* WatchAction::getUnwatchToken(), deprecated in 1.32, has been removed. Instead,
|
|
|
|
|
|
use WatchAction::getWatchToken() with action 'unwatch' directly.
|
2019-04-29 23:12:58 +00:00
|
|
|
|
* Language::initEncoding(), ::recodeForEdit(), and recodeInput(), deprecated in
|
|
|
|
|
|
1.28, have been removed.
|
2019-05-09 15:19:53 +00:00
|
|
|
|
* PageArchive::getTextFromRow(), ::listAllPages(), and ::getLastRevisionText(),
|
|
|
|
|
|
deprecated in 1.32, have been removed.
|
2019-05-09 22:25:53 +00:00
|
|
|
|
* OutputPage::getModuleScripts(), ParserOutput::getModuleScripts(), deprecated
|
|
|
|
|
|
in 1.33, have been removed.
|
2019-05-09 22:31:17 +00:00
|
|
|
|
* User::getPasswordValidity(), deprecated in 1.33, has been removed.
|
2019-05-11 14:55:34 +00:00
|
|
|
|
* ApiQueryBase::prepareUrlQuerySearchString(), deprecated in 1.33, has been
|
|
|
|
|
|
removed.
|
2019-05-11 15:00:56 +00:00
|
|
|
|
* ChangeTags::purgeTagUsageCache(), deprecated in 1.33, has been removed.
|
2019-05-11 15:05:58 +00:00
|
|
|
|
* JobQueueGroup::pushLazyJobs(), deprecated in 1.33, has been removed.
|
2019-05-13 13:02:19 +00:00
|
|
|
|
* MediaWikiTestCase::stashMwGlobals(), deprecated in 1.32, has been removed.
|
2019-05-11 15:21:18 +00:00
|
|
|
|
* SearchEngine::transformSearchTerm(), deprecated in 1.32, has been removed.
|
2019-05-13 17:19:51 +00:00
|
|
|
|
* The Block typehint only refers to blocks stored in the database. It should be
|
|
|
|
|
|
updated to AbstractBlock in cases where any type of block could be expected.
|
2019-05-14 15:55:59 +00:00
|
|
|
|
* FileRepoStatus, deprecated in 1.25, has been removed.
|
2018-10-10 01:45:58 +00:00
|
|
|
|
* The LegacyHookPreAuthenticationProvider class, deprecated since its creation
|
|
|
|
|
|
in 1.27, has been removed.
|
2019-05-15 14:15:03 +00:00
|
|
|
|
* IP::isValidBlock(), deprecated in 1.30, has been removed.
|
2019-05-21 18:17:20 +00:00
|
|
|
|
* WikiPage::prepareContentForEdit now doesn't accept an integer for $revision,
|
|
|
|
|
|
was deprecated in 1.25.
|
2019-05-27 17:52:54 +00:00
|
|
|
|
* The jquery.byteLength module, deprecated in 1.31, was removed.
|
|
|
|
|
|
Use the mediawiki.String module instead.
|
2019-05-26 10:36:26 +00:00
|
|
|
|
* mw.language.specialCharacters, deprecated in 1.33, has been removed.
|
|
|
|
|
|
Use require( 'mediawiki.language.specialCharacters' ) instead.
|
2019-09-10 03:03:44 +00:00
|
|
|
|
* The jquery.colorUtil module was removed. Use jquery.color instead.
|
2019-09-14 01:00:55 +00:00
|
|
|
|
* The jquery.checkboxShiftClick module was removed. The functionality
|
|
|
|
|
|
is provided by mediawiki.page.ready instead (T232688).
|
2019-09-18 18:37:03 +00:00
|
|
|
|
* The 'jquery.accessKeyLabel' module has been removed. This jQuery
|
|
|
|
|
|
plugin now ships as part of the 'mediawiki.util' module bundle.
|
2019-06-03 14:16:38 +00:00
|
|
|
|
* EditPage::submit(), deprecated in 1.29, has been removed. Use $this->edit()
|
2019-05-28 18:27:02 +00:00
|
|
|
|
directly.
|
2019-06-03 14:16:38 +00:00
|
|
|
|
* HTMLForm::getErrors(), deprecated in 1.28, has been removed. Use
|
|
|
|
|
|
getErrorsOrWarnings() instead.
|
2019-06-09 04:40:01 +00:00
|
|
|
|
* SpecialPage::getTitle(), deprecated in 1.23, has been removed. Use
|
|
|
|
|
|
SpecialPage::getPageTitle() instead.
|
2019-04-19 18:25:14 +00:00
|
|
|
|
* jquery.ui.effect-bounce, jquery.ui.effect-explode, jquery.ui.effect-fold
|
|
|
|
|
|
jquery.ui.effect-pulsate, jquery.ui.effect-slide, jquery.ui.effect-transfer,
|
|
|
|
|
|
which are no longer used, have now been removed.
|
2019-05-14 11:14:07 +00:00
|
|
|
|
* SpecialEmailUser::validateTarget(), ::getTarget() without a sender/user
|
|
|
|
|
|
specified, deprecated in 1.30, have been removed.
|
2019-05-23 21:12:26 +00:00
|
|
|
|
* BufferingStatsdDataFactory::getBuffer(), deprecated in 1.30, has been removed.
|
2018-07-03 21:26:43 +00:00
|
|
|
|
* The constant DB_SLAVE, deprecated in 1.28, has been removed. Use DB_REPLICA.
|
2019-07-12 23:20:57 +00:00
|
|
|
|
* The constants NS_IMAGE and NS_IMAGE_TALK, deprecated in 1.14, have been
|
|
|
|
|
|
removed. Use NS_FILE and NS_FILE_TALK respectively.
|
2019-06-17 19:23:06 +00:00
|
|
|
|
* Replacer, DoubleReplacer, HashtableReplacer and RegexlikeReplacer
|
|
|
|
|
|
(deprecated in 1.32) have been removed. Closures should be used instead.
|
2019-06-19 15:57:36 +00:00
|
|
|
|
* OutputPage::addWikiText(), ::addWikiTextWithTitle(), ::addWikiTextTitleTidy(),
|
|
|
|
|
|
::addWikiTextTidy(), ::addWikiTextTitle(), deprecated in 1.32, have been
|
|
|
|
|
|
removed.
|
2019-06-19 18:22:42 +00:00
|
|
|
|
* The $wgUseKeyHeader configuration option and the OutputPage::getKeyHeader()
|
|
|
|
|
|
method, deprecated in 1.32, have been removed.
|
2019-06-05 16:26:59 +00:00
|
|
|
|
* WebInstallerOutput::addWikiText(), deprecated in 1.32, has been removed.
|
2019-06-05 16:38:39 +00:00
|
|
|
|
* Parser::fetchFile(), deprecated in 1.32, has been removed. Use the method
|
|
|
|
|
|
Parser::fetchFileAndTitle() instead.
|
2019-06-19 19:00:09 +00:00
|
|
|
|
* The global function wfBCP47, deprecated in 1.31, has been removed.
|
2019-06-20 21:49:04 +00:00
|
|
|
|
* wfCountDown() function, deprecated in 1.31, has been removed. Use
|
|
|
|
|
|
\Maintenance::countDown() method instead.
|
2019-05-11 15:25:26 +00:00
|
|
|
|
* OutputPage::wrapWikiMsg() no longer accepts an options parameter. This was
|
|
|
|
|
|
deprecated since 1.20.
|
2019-06-21 20:47:38 +00:00
|
|
|
|
* Skin::outputPage() no longer accepts a context. This was deprecated in 1.20.
|
2019-06-21 20:56:34 +00:00
|
|
|
|
* Linker::link() no longer accepts a string for the query array, as was
|
|
|
|
|
|
deprecated in 1.20.
|
2019-06-21 20:59:02 +00:00
|
|
|
|
* PrefixSearch::titleSearch(), deprecated in 1.23, has been removed. Use the
|
2019-06-24 22:47:23 +00:00
|
|
|
|
SearchEngine::defaultPrefixSearch or ::completionSearch() methods instead.
|
2019-06-21 21:07:43 +00:00
|
|
|
|
* The UserRights hook, deprecated in 1.26, has been removed. Instead, use the
|
|
|
|
|
|
UserGroupsChanged hook.
|
2019-06-21 21:10:00 +00:00
|
|
|
|
* Skin::getDefaultInstance(), deprecated in 1.27, has been removed. Get the
|
|
|
|
|
|
instance from MediaWikiServices instead.
|
2019-06-21 21:14:23 +00:00
|
|
|
|
* The UserLoadFromSession hook, deprecated in 1.27, has been removed.
|
2019-06-21 21:16:14 +00:00
|
|
|
|
* The wfResetSessionID global function, deprecated in 1.27, has been removed.
|
|
|
|
|
|
Use MediaWiki\Session\SessionManager instead.
|
2019-06-21 21:17:06 +00:00
|
|
|
|
* The wfGetLBFactory global function, deprecated in 1.27, has been removed.
|
|
|
|
|
|
Use MediaWikiServices::getInstance()->getDBLoadBalancerFactory().
|
2019-06-24 23:16:58 +00:00
|
|
|
|
* The internal method OutputPage->addScriptFile() will no longer silently drop
|
|
|
|
|
|
calls that use an invalid path (i.e., something other than an absolute path,
|
|
|
|
|
|
protocol-relative URL, or full scheme URL), and will instead pass them to the
|
|
|
|
|
|
client where they will likely 404. This usage was deprecated in 1.24.
|
2019-06-13 12:46:03 +00:00
|
|
|
|
* Database::reportConnectionError, deprecated in 1.32, has been removed.
|
2019-06-30 18:56:29 +00:00
|
|
|
|
* APIEditBeforeSave hook, deprecated in 1.28, has been removed. Please see
|
|
|
|
|
|
EditFilterMergedContent hook for an alternative way to use this feature.
|
2019-06-24 23:43:59 +00:00
|
|
|
|
* API module methods getDescription(), getParamDescription(), & getExamples(),
|
|
|
|
|
|
all deprecated in 1.25 and ignored, have been removed.
|
|
|
|
|
|
* The API module method getDescriptionMessage(), deprecated in 1.30, has been
|
|
|
|
|
|
removed.
|
2019-07-02 17:06:49 +00:00
|
|
|
|
* The JavaScript global variable wgLoadScript has been removed. Use
|
|
|
|
|
|
mw.util.wikiScript( 'load' ) instead.
|
2019-07-04 16:29:29 +00:00
|
|
|
|
* ResourceLoader no longer creates the 'mw.legacy' placeholder object. It has
|
|
|
|
|
|
been unused since 1.16 and was deprecated in 1.22. To deprecate a property
|
|
|
|
|
|
in JavaScript, use mw.log.deprecate() instead.
|
2019-07-08 21:20:28 +00:00
|
|
|
|
* The 'user.groups' module, deprecated in 1.28, was removed.
|
|
|
|
|
|
Use the 'user' module instead.
|
2019-07-30 14:28:21 +00:00
|
|
|
|
* The ResourceLoaderContext::expandModuleNames method, deprecated in 1.33, was
|
|
|
|
|
|
removed. Use ResourceLoader::expandModuleNames instead.
|
2019-07-11 17:22:20 +00:00
|
|
|
|
* The ability to override User::$mRights has been removed. Use
|
|
|
|
|
|
PermissionManager::addTemporaryUserRights() instead.
|
2019-07-11 13:37:31 +00:00
|
|
|
|
* Previously, when iterating ResultWrapper with foreach() or a similar
|
|
|
|
|
|
construct, the range of the index was 1..numRows. This has been fixed to be
|
|
|
|
|
|
0..(numRows-1).
|
2019-07-02 21:30:39 +00:00
|
|
|
|
* The ChangePasswordForm hook, deprecated in 1.27, has been removed. Use the
|
|
|
|
|
|
AuthChangeFormFields hook or security levels instead.
|
2019-07-03 16:51:23 +00:00
|
|
|
|
* WikiMap::getWikiIdFromDomain(), deprecated in 1.33, has been removed.
|
|
|
|
|
|
Use WikiMap::getWikiIdFromDbDomain() instead.
|
2019-07-12 23:30:07 +00:00
|
|
|
|
* The config variables $wgHtml5, $wgJsMimeType, and $wgXhtmlDefaultNamespace,
|
|
|
|
|
|
which were deprecated and ignored by core since 1.22, are no longer set to any
|
|
|
|
|
|
value, and SkinTemplate no longer emits a 'jsmimetype' key. Any extensions not
|
|
|
|
|
|
updated since 2013 to cope with this deprecation may now break.
|
2019-07-11 17:09:23 +00:00
|
|
|
|
* (T222637) Passing ResourceLoaderModule objects to ResourceLoader::register()
|
|
|
|
|
|
or $wgResourceModules is no longer supported.
|
|
|
|
|
|
Use the 'class' or 'factory' option of the array format instead.
|
2018-06-05 11:46:57 +00:00
|
|
|
|
* The parameter $lang of the functions generateTOC and tocList in Linker and
|
|
|
|
|
|
DummyLinker must be in type Language when present. Other types are
|
|
|
|
|
|
deprecated since 1.33.
|
2019-07-16 15:36:30 +00:00
|
|
|
|
* The static properties mw.Api.errors and mw.Api.warnings, deprecated in 1.29,
|
|
|
|
|
|
have been removed.
|
2019-06-27 04:30:35 +00:00
|
|
|
|
* ParserOption::getSpeculativeRevIdCallback(), deprecated in 1.28, has been
|
|
|
|
|
|
removed.
|
2019-07-02 21:49:49 +00:00
|
|
|
|
* The UploadVerification hook, deprecated in 1.28, has been removed. Instead,
|
|
|
|
|
|
use the UploadVerifyFile hook.
|
2019-07-02 21:58:36 +00:00
|
|
|
|
* UploadBase:: and UploadFromChunks::stashFileGetKey() and stashSession(),
|
|
|
|
|
|
deprecated in 1.28, have been removed. Instead, please use the getFileKey()
|
|
|
|
|
|
method on the response from doStashFile().
|
2019-06-27 08:13:13 +00:00
|
|
|
|
* LBFactory::setDomainPrefix() and LoadBalancer::setDomainPrefix(), deprecated
|
|
|
|
|
|
in 1.33, have been removed. Use setLocalDomainPrefix() instead.
|
|
|
|
|
|
* IDatabase::implicitGroupby(), deprecated in 1.30, has been removed.
|
|
|
|
|
|
* IDatabase::doneWrites(), deprecated in 1.31, has been removed.
|
|
|
|
|
|
Use IDatabase::lastDoneWrites() instead.
|
|
|
|
|
|
* Database::reportConnectionError(), deprecated in 1.32, has been removed.
|
|
|
|
|
|
* LoadBalancer::laggedSlaveUsed(), deprecated in 1.28, has been removed.
|
|
|
|
|
|
Use LoadBalancer::laggedReplicaUsed() instead.
|
|
|
|
|
|
* Database::getProperty(), deprecated in 1.28, has been removed.
|
|
|
|
|
|
* IDatabase::getWikiId(), deprecated in 1.30, has been removed.
|
|
|
|
|
|
Use IDatabase::getDomainID() instead.
|
2019-08-14 19:47:06 +00:00
|
|
|
|
* (T191231) Support for using Oracle or MSSQL as database backends has been
|
|
|
|
|
|
dropped.
|
2019-04-08 15:21:49 +00:00
|
|
|
|
* MessageCache::destroyInstance() has been removed. Instead, call
|
|
|
|
|
|
MediaWikiTestCase::resetServices().
|
2019-08-01 15:06:50 +00:00
|
|
|
|
* SearchResult protected field $searchEngine is removed and no longer
|
|
|
|
|
|
initialized after calling SearchResult::initFromTitle().
|
2019-07-24 15:27:52 +00:00
|
|
|
|
* The UserIsBlockedFrom hook is only called if a block is found first, and
|
|
|
|
|
|
should only be used to unblock a blocked user.
|
2019-09-03 00:25:19 +00:00
|
|
|
|
* Parameters for index.php from PATH_INFO, such as the title, are no longer
|
|
|
|
|
|
written to $_GET.
|
2019-07-23 17:40:52 +00:00
|
|
|
|
* The selectFields() methods on classes LocalFile, ArchivedFile, OldLocalFile,
|
|
|
|
|
|
DatabaseBlock, and RecentChange, deprecated in 1.31, have been removed. Use
|
|
|
|
|
|
the corresponding getQueryInfo() methods instead.
|
|
|
|
|
|
* The following methods on Revision, deprecated since 1.31, have been removed.
|
|
|
|
|
|
Use RevisionStore::getQueryInfo() or RevisionStore::getArchiveQueryInfo()
|
|
|
|
|
|
instead.
|
|
|
|
|
|
* Revision::userJoinCond()
|
|
|
|
|
|
* Revision::pageJoinCond()
|
|
|
|
|
|
* Revision::selectFields()
|
|
|
|
|
|
* Revision::selectArchiveFields()
|
|
|
|
|
|
* Revision::selectTextFields()
|
|
|
|
|
|
* Revision::selectPageFields()
|
|
|
|
|
|
* Revision::selectUserFields()
|
2019-09-13 18:03:20 +00:00
|
|
|
|
* User::setNewpassword(), deprecated in 1.27 has been removed.
|
2019-09-15 12:55:47 +00:00
|
|
|
|
* The ObjectCache::getMainWANInstance and ObjectCache::getMainStashInstance
|
|
|
|
|
|
functions, deprecated since 1.28, have been removed.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== Deprecations in 1.34 ===
|
2019-04-15 13:23:02 +00:00
|
|
|
|
* The MWNamespace class is deprecated. Use NamespaceInfo.
|
2019-04-15 15:21:28 +00:00
|
|
|
|
* ExtensionRegistry->load() is deprecated, as it breaks dependency checking.
|
|
|
|
|
|
Instead, use ->queue().
|
2019-04-23 17:51:54 +00:00
|
|
|
|
* User::isBlocked() is deprecated since it does not tell you if the user is
|
|
|
|
|
|
blocked from editing a particular page. Use User::getBlock() or
|
|
|
|
|
|
PermissionManager::isBlockedFrom() or PermissionManager::userCan() instead.
|
2019-04-05 19:13:17 +00:00
|
|
|
|
* User::isLocallyBlockedProxy and User::inDnsBlacklist are deprecated and moved
|
|
|
|
|
|
to the BlockManager as private helper methods.
|
|
|
|
|
|
* User::isDnsBlacklisted is deprecated. Use BlockManager::isDnsBlacklisted
|
|
|
|
|
|
instead.
|
2019-04-10 15:03:54 +00:00
|
|
|
|
* The Config argument to ChangesListSpecialPage::checkStructuredFilterUiEnabled
|
|
|
|
|
|
is deprecated. Pass only the User argument.
|
2019-04-28 11:07:18 +00:00
|
|
|
|
* WatchedItem::getUser is deprecated. Use getUserIdentity.
|
Don't require Title for getTimestampFromId
3e36ba655e3a added an option for passing a page ID to this method of
Revision, and e03787afd91c switched it to a Title and made it mandatory.
This behavior propagated to the method in RevisionStore. As far as I
can tell, the parameter does not help anything, but it can add a
database query to get the page ID if it's not cached, and impedes
conversion to LinkTarget. I can't figure out any reason to not
completely drop it. I've noted it as deprecated but still supported it
for now for compatibility -- I found one extension that does pass it.
(It's ignored, though, which theoretically would be a behavior change if
someone was passing a Title that didn't match the revision ID.)
While I was at it, I added the method to RevisionLookup, although it's
only used in later patches. Properly I should move that piece to a later
patch, but it didn't seem worth the effort.
I didn't change the Revision method, because the whole Revision class is
deprecated anyway.
Change-Id: I26ef5f2bf828f0f450633b7237d26d888e2c8773
2019-04-29 14:32:22 +00:00
|
|
|
|
* Passing a Title as the first parameter to the getTimestampById method of
|
|
|
|
|
|
RevisionStore is deprecated. Omit it, passing only the remaining parameters.
|
2019-04-29 14:24:58 +00:00
|
|
|
|
* Title::getPreviousRevisionId and Title::getNextRevisionId are deprecated. Use
|
|
|
|
|
|
RevisionLookup::getPreviousRevision and RevisionLookup::getNextRevision.
|
|
|
|
|
|
* The Title parameter to RevisionLookup::getPreviousRevision and
|
|
|
|
|
|
RevisionLookup::getNextRevision is deprecated and should be omitted.
|
2019-04-15 13:23:02 +00:00
|
|
|
|
* MWHttpRequest::factory is deprecated. Use HttpRequestFactory.
|
|
|
|
|
|
* The Http class is deprecated. For the request, get, and post methods, use
|
|
|
|
|
|
HttpRequestFactory. For isValidURI, use MWHttpRequest::isValidURI. For
|
|
|
|
|
|
getProxy, use (string)$wgHTTPProxy. For createMultiClient, construct a
|
|
|
|
|
|
MultiHttpClient directly.
|
|
|
|
|
|
* Http::$httpEngine is deprecated and has no replacement. The default 'guzzle'
|
|
|
|
|
|
engine will eventually be made the only engine for HTTP requests.
|
2019-05-01 12:54:54 +00:00
|
|
|
|
* RepoGroup::singleton(), RepoGroup::destroySingleton(),
|
|
|
|
|
|
RepoGroup::setSingleton(), wfFindFile(), and wfLocalFile() are all
|
|
|
|
|
|
deprecated. Use MediaWikiServices instead.
|
2019-04-29 16:29:31 +00:00
|
|
|
|
* The getSubjectPage, getTalkPage, and getOtherPage of Title are deprecated.
|
|
|
|
|
|
Use NamespaceInfo's getSubjectPage, getTalkPage, and getAssociatedPage.
|
2019-04-20 21:54:28 +00:00
|
|
|
|
* MWMessagePack class, no longer used, has been deprecated in 1.34.
|
2019-05-13 14:18:07 +00:00
|
|
|
|
* The Block class is separated into DatabaseBlock (for blocks stored in the
|
|
|
|
|
|
database), and SystemBlock (for temporary blocks created by the system).
|
|
|
|
|
|
SystemBlock should be used when creating any temporary blocks. Block is
|
|
|
|
|
|
a deprecated alias for DatabaseBlock.
|
2019-04-12 09:50:30 +00:00
|
|
|
|
* Parser::$mConf is deprecated. It will be removed entirely in a later version.
|
2019-05-22 18:16:22 +00:00
|
|
|
|
Some context can be found at T224165.
|
2019-04-12 09:50:30 +00:00
|
|
|
|
* Constructing Parser directly is deprecated. Obtain one from ParserFactory.
|
2019-04-16 13:51:04 +00:00
|
|
|
|
* Title::moveSubpages is deprecated. Use MovePage::moveSubpages or
|
|
|
|
|
|
MovePage::moveSubpagesIfAllowed.
|
2019-02-23 17:38:51 +00:00
|
|
|
|
* The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
|
|
|
|
|
|
* (T62260) Hard deprecate Language::getExtraUserToggles() method.
|
2019-05-29 23:08:11 +00:00
|
|
|
|
* Language::viewPrevNext function is deprecated, use
|
|
|
|
|
|
PrevNextNavigationRenderer::buildPrevNextNavigation instead
|
2019-06-06 18:00:20 +00:00
|
|
|
|
* User::trackBlockWithCookie and DatabaseBlock::clearCookie are deprecated. Use
|
|
|
|
|
|
BlockManager::trackBlockWithCookie and BlockManager::clearCookie instead.
|
|
|
|
|
|
* DatabaseBlock::setCookie, DatabaseBlock::getCookieValue,
|
|
|
|
|
|
DatabaseBlock::getIdFromCookieValue and AbstractBlock::shouldTrackWithCookie
|
|
|
|
|
|
are moved to internal helper methods for BlockManager::trackBlockWithCookie.
|
2019-04-11 22:22:08 +00:00
|
|
|
|
* ResourceLoaderContext::getConfig and ResourceLoaderContext::getLogger have
|
|
|
|
|
|
been deprecated. Inside ResourceLoaderModule subclasses, use the local methods
|
|
|
|
|
|
instead. Elsewhere, use the methods from the ResourceLoader class.
|
2019-08-28 00:20:47 +00:00
|
|
|
|
* The Profiler::setTemplated and Profiler::getTemplated methods have been
|
|
|
|
|
|
deprecated. Use Profiler::setAllowOutput and Profiler::getAllowOutput
|
|
|
|
|
|
instead.
|
2019-04-09 18:42:42 +00:00
|
|
|
|
* The Preprocessor_DOM implementation has been deprecated. It will be
|
|
|
|
|
|
removed in a future release. Use the Preprocessor_Hash implementation
|
|
|
|
|
|
instead.
|
2019-04-23 17:09:36 +00:00
|
|
|
|
* Sanitizer::attributeWhitelist() and Sanitizer::setupAttributeWhitelist()
|
|
|
|
|
|
have been deprecated; they will be made private in the future.
|
2019-06-12 09:02:10 +00:00
|
|
|
|
* SearchResult::termMatches() method is deprecated. It was unreliable because
|
|
|
|
|
|
only populated by few search engine implementations. Use
|
|
|
|
|
|
SqlSearchResult::getTermMatches() if really needed.
|
|
|
|
|
|
* SearchResult::getTextSnippet( $terms ) the $terms param is being deprecated
|
|
|
|
|
|
and should no longer be passed. Search engine implemenations should be
|
|
|
|
|
|
responsible for carrying relevant information needed for highlighting with
|
|
|
|
|
|
their own SearchResultSet/SearchResult sub-classes.
|
2019-07-22 10:08:32 +00:00
|
|
|
|
* SearchResultSet::free() method is deprecated.
|
2019-06-12 09:02:10 +00:00
|
|
|
|
* SearchEngine::$searchTerms protected field is deprecated. Moved to
|
|
|
|
|
|
SearchDatabase.
|
|
|
|
|
|
* The use of the $terms param in the ShowSearchHit and ShowSearchHitTitle
|
|
|
|
|
|
hooks is highly discouraged as it's only populated by SearchDatabase search
|
|
|
|
|
|
engines.
|
2019-05-21 08:18:25 +00:00
|
|
|
|
* Skin::escapeSearchLink() is deprecated. Use Skin::getSearchLink() or the skin
|
|
|
|
|
|
template option 'searchaction' instead.
|
2019-08-21 12:10:09 +00:00
|
|
|
|
* Skin::getRevisionId() and Skin::isRevisionCurrent() have been deprecated.
|
|
|
|
|
|
Use OutputPage::getRevisionId() and OutputPage::isRevisionCurrent() instead.
|
2019-06-24 20:45:01 +00:00
|
|
|
|
* LoadBalancer::haveIndex() and LoadBalancer::isNonZeroLoad() have
|
|
|
|
|
|
been deprecated.
|
2019-07-05 01:20:35 +00:00
|
|
|
|
* FileBackend::getWikiId() has been deprecated.
|
|
|
|
|
|
Use FileBackend::getDomainId() instead.
|
2019-07-11 10:18:08 +00:00
|
|
|
|
* User::getRights() and User::$mRights have been deprecated. Use
|
|
|
|
|
|
PermissionManager::getUserPermissions() instead.
|
2019-07-15 22:30:15 +00:00
|
|
|
|
* The LocalisationCacheRecache hook no longer allows purging of message blobs
|
|
|
|
|
|
to be prevented. Modifying the $purgeBlobs parameter now has no effect.
|
2019-03-30 20:14:52 +00:00
|
|
|
|
* SVGMetadataExtractor::getMetadata has been deprecated. Instead, you should
|
|
|
|
|
|
use SVGReader->getMetadata() directly.
|
2019-07-29 20:10:27 +00:00
|
|
|
|
* The following public properties on AbstractBlock are deprecated: $mReason,
|
|
|
|
|
|
$mTimestamp, $mExpiry, $mHideName. Use the getters/setters instead.
|
|
|
|
|
|
* The following public properties on DatabaseBlock are deprecated: $mAuto,
|
|
|
|
|
|
$mParentBlockId. To check for an autoblock use DatabaseBlock::getType; to
|
|
|
|
|
|
check for the parent ID, use DatabaseBlock::getParentBlockId.
|
2019-08-01 09:46:24 +00:00
|
|
|
|
* SearchEngine::userHighlightPrefs() is deprecated, simply stop passing
|
|
|
|
|
|
$contextlines and $contextchars to the SearchHighlighter methods, they will
|
|
|
|
|
|
use proper defaults defined in SearchHighlighter::DEFAULT_CONTEXT_LINES and
|
|
|
|
|
|
DEFAULT_CONTEXT_CHARS.
|
2019-08-01 10:13:45 +00:00
|
|
|
|
* SearchUpdate constructor: passing a string as the title param and or a boolean
|
|
|
|
|
|
or a string as the content will produce a deprecation warning.
|
2019-08-01 14:58:33 +00:00
|
|
|
|
* SearchEngine::getTextFromContent() is deprecated, use getTextForSearchIndex()
|
|
|
|
|
|
directly from the Content object.
|
|
|
|
|
|
* SearchEngine::textAlreadyUpdatedForIndex() is deprecated, given the
|
|
|
|
|
|
deprecation above this method is no longer needed/called and should not be
|
|
|
|
|
|
implemented by SearchEngine implementation.
|
2019-07-27 06:46:39 +00:00
|
|
|
|
* IDatabase::bufferResults() has been deprecated. Use query batching instead.
|
2019-04-08 15:21:49 +00:00
|
|
|
|
* MessageCache::singleton() is deprecated. Use
|
|
|
|
|
|
MediaWikiServices::getMessageCache().
|
2019-05-01 11:39:45 +00:00
|
|
|
|
* Constructing MovePage directly is deprecated. Use MovePageFactory.
|
2019-08-16 10:00:15 +00:00
|
|
|
|
* TempFSFile::factory() has been deprecated. Use TempFSFileFactory instead.
|
2019-08-18 18:19:05 +00:00
|
|
|
|
* wfIsBadImage() is deprecated. Use the BadFileLookup service instead.
|
2019-08-01 20:38:46 +00:00
|
|
|
|
* Building a new SearchResult is hard-deprecated, always call
|
|
|
|
|
|
SearchResult::newFromTitle(). This class is being refactored into an abstract
|
|
|
|
|
|
class. If you extend this class please be sure to override all its methods
|
|
|
|
|
|
or extend RevisionSearchResult.
|
2019-08-27 22:04:22 +00:00
|
|
|
|
* Skin::getSkinNameMessages() is deprecated and no longer used.
|
2019-09-05 22:20:46 +00:00
|
|
|
|
* The mediawiki.RegExp module is deprecated; use mw.util.escapeRegExp() instead.
|
2019-09-06 09:21:29 +00:00
|
|
|
|
* Specifying a SpecialPage object for the list of special pages (either through
|
|
|
|
|
|
the SpecialPage_initList hook or by adding to $wgSpecialPages) is now
|
|
|
|
|
|
deprecated.
|
2019-07-23 17:40:52 +00:00
|
|
|
|
* Use of ActorMigration with 'ar_user', 'img_user', 'oi_user', 'fa_user',
|
|
|
|
|
|
'rc_user', 'log_user', and 'ipb_by' is deprecated. Queries should be adjusted
|
|
|
|
|
|
to use the corresponding actor fields directly. Note that use with
|
|
|
|
|
|
'rev_user' is *not* deprecated at this time.
|
2019-09-06 11:38:55 +00:00
|
|
|
|
* Specifying both the class and factory parameters for
|
|
|
|
|
|
ApiModuleManager::addModule is now deprecated. The ObjectFactory spec should
|
|
|
|
|
|
be used instead.
|
2019-09-09 15:57:17 +00:00
|
|
|
|
* The UserIsHidden hook is deprecated. Use GetUserBlock instead, and add a
|
|
|
|
|
|
system block that hides the user.
|
2019-09-06 12:19:14 +00:00
|
|
|
|
* The GetBlockedStatus hook is deprecated. Use GetUserBlock instead, to add or
|
|
|
|
|
|
remove a block.
|
2019-09-10 18:22:18 +00:00
|
|
|
|
* $wgContentHandlerUseDB is deprecated and should always be true.
|
2019-09-08 20:32:25 +00:00
|
|
|
|
* StreamFile::send404Message() and StreamFile::parseRange() are now deprecated.
|
|
|
|
|
|
Use HTTPFileStreamer::send404Message() and HTTPFileStreamer::parseRange()
|
|
|
|
|
|
respectively instead.
|
2019-09-05 22:57:06 +00:00
|
|
|
|
* Global variable $wgSysopEmailBans is deprecated; to allow sysops to ban
|
|
|
|
|
|
users from sending emails, use
|
|
|
|
|
|
$wgGroupPermissions['sysop']['blockemail'] = true;
|
2019-09-05 18:24:28 +00:00
|
|
|
|
* ApiQueryBase::showHiddenUsersAddBlockInfo() is deprecated. Use
|
|
|
|
|
|
ApiQueryBlockInfoTrait instead.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
=== Other changes in 1.34 ===
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
== Compatibility ==
|
2019-06-13 18:53:16 +00:00
|
|
|
|
MediaWiki 1.34 requires PHP 7.2.0 or later. Although HHVM 3.18.5 or later is
|
|
|
|
|
|
supported, it is generally advised to use PHP 7.2.0 or later for long term
|
2019-08-27 22:12:28 +00:00
|
|
|
|
support. It also requires the following PHP extensions:
|
|
|
|
|
|
|
|
|
|
|
|
* ctype
|
2019-07-30 20:17:16 +00:00
|
|
|
|
* dom
|
2019-08-27 22:12:28 +00:00
|
|
|
|
* fileinfo
|
|
|
|
|
|
* iconv
|
|
|
|
|
|
* json
|
|
|
|
|
|
* mbstring
|
|
|
|
|
|
* xml
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
|
2019-08-14 21:25:00 +00:00
|
|
|
|
but support for them is somewhat less mature.
|
2019-04-09 17:01:18 +00:00
|
|
|
|
|
|
|
|
|
|
The supported versions are:
|
|
|
|
|
|
|
|
|
|
|
|
* MySQL 5.5.8 or later
|
|
|
|
|
|
* PostgreSQL 9.2 or later
|
|
|
|
|
|
* SQLite 3.8.0 or later
|
|
|
|
|
|
|
|
|
|
|
|
== Online documentation ==
|
|
|
|
|
|
Documentation for both end-users and site administrators is available on
|
|
|
|
|
|
MediaWiki.org, and is covered under the GNU Free Documentation License (except
|
|
|
|
|
|
for pages that explicitly state that their contents are in the public domain):
|
|
|
|
|
|
|
|
|
|
|
|
https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
|
|
|
|
|
|
|
|
|
|
|
|
== Mailing list ==
|
|
|
|
|
|
A mailing list is available for MediaWiki user support and discussion:
|
|
|
|
|
|
|
|
|
|
|
|
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|
|
|
|
|
|
|
|
|
|
|
|
A low-traffic announcements-only list is also available:
|
|
|
|
|
|
|
|
|
|
|
|
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
|
|
|
|
|
|
|
|
|
|
|
|
It's highly recommended that you sign up for one of these lists if you're
|
|
|
|
|
|
going to run a public MediaWiki, so you can be notified of security fixes.
|
|
|
|
|
|
|
|
|
|
|
|
== IRC help ==
|
|
|
|
|
|
There's usually someone online in #mediawiki on irc.freenode.net.
|