2019-03-15 00:58:24 +00:00
|
|
|
|
= MediaWiki 1.33 =
|
|
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.33.0-PRERELEASE ==
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.33 is an alpha-quality branch and is not recommended for use in
|
|
|
|
|
|
production.
|
|
|
|
|
|
|
2019-03-15 00:58:24 +00:00
|
|
|
|
== Upgrading notes for 1.33 ==
|
|
|
|
|
|
1.33 has several database changes since 1.32, 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).
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
2019-03-15 00:58:24 +00:00
|
|
|
|
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.33 upgrades are below:
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
2016-11-19 00:50:43 +00:00
|
|
|
|
* Some external link searches will not work correctly until update.php (or
|
|
|
|
|
|
refreshExternallinksIndex.php) is run. These include searches for links using
|
|
|
|
|
|
IP addresses, internationalized domain names, and possibly mailto links.
|
2019-02-07 15:27:06 +00:00
|
|
|
|
* If you ran migrateActors.php using an older version of MediaWiki and want to
|
|
|
|
|
|
run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD,
|
|
|
|
|
|
note that log_search rows needed to find revision deletions by target user
|
|
|
|
|
|
were incorrectly deleted. See T215464 for details.
|
2019-02-07 16:16:32 +00:00
|
|
|
|
* If revision deletions were performed when the wiki was configured with
|
|
|
|
|
|
$wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without
|
|
|
|
|
|
migrateActors.php having been run, the log_search table may contain rows with
|
|
|
|
|
|
empty values for "target_author_actor" which will prevent log searches for
|
|
|
|
|
|
revision deletions by target user from finding those log entries. These rows
|
|
|
|
|
|
may be corrected by (re-)running migrateActors.php.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
2019-03-15 00:58:24 +00:00
|
|
|
|
For notes on 1.32.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
|
|
=== Configuration changes for system administrators in 1.33 ===
|
|
|
|
|
|
==== New configuration ====
|
|
|
|
|
|
* $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
|
|
|
|
|
|
accounts with block permissions the ability to block users, IPs, and IP ranges
|
|
|
|
|
|
from editing specific pages, while allowing them to edit the rest of the wiki.
|
|
|
|
|
|
It is a temporary setting for gradual enablement, current default to `false`,
|
|
|
|
|
|
and will be set to `true` and then removed once initial development completes.
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed configuration ====
|
|
|
|
|
|
* $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in
|
|
|
|
|
|
MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH.
|
|
|
|
|
|
* $wgPasswordPolicy – There is a new password policy to check that the account's
|
|
|
|
|
|
password is not in the large blacklist. This is enabled by default for the
|
|
|
|
|
|
built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure
|
|
|
|
|
|
this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`.
|
|
|
|
|
|
* wgPasswordDefault – There is a new password type configuration using Argon2
|
|
|
|
|
|
password hashing (which requires PHP 7.2 and above). It's designed to resist
|
|
|
|
|
|
timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure
|
|
|
|
|
|
argon2 to be used, by default, it will automatically choose the best available
|
|
|
|
|
|
algorithm depending on which version of PHP you have available. To use this,
|
|
|
|
|
|
you can set `$wgPasswordDefault = 'argon2';`.
|
|
|
|
|
|
|
2018-10-15 21:58:59 +00:00
|
|
|
|
==== Removed configuration ====
|
2019-03-15 00:58:24 +00:00
|
|
|
|
* $wgTagStatisticsNewTable (T199334) — This temporary setting, added in
|
2018-11-14 17:57:27 +00:00
|
|
|
|
MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki
|
|
|
|
|
|
will now always use the `change_tag_def` instead of the `change_tag` table.
|
2019-03-15 00:58:24 +00:00
|
|
|
|
* $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and
|
|
|
|
|
|
$wgDebugTidy – These options, all deprecated since 1.26, have now all been
|
|
|
|
|
|
removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting
|
|
|
|
|
|
remains only for experimental features and debugging, and should not be used.
|
|
|
|
|
|
* $wgEnableParserCache – This setting has been deprecated since 1.26, has now
|
|
|
|
|
|
been removed. If you still desire to disable the parser cache, instead you can
|
|
|
|
|
|
set `$wgParserCacheType = CACHE_NONE;`.
|
|
|
|
|
|
* $wgCommentTableSchemaMigrationStage – This temporary migration setting has now
|
|
|
|
|
|
been removed. Code finding it unset should treat it as being MIGRATION_NEW.
|
2019-02-11 21:18:13 +00:00
|
|
|
|
* $wgAuth – This old setting, deprecated in 1.27, has been removed as part of
|
|
|
|
|
|
the removal of AuthPlugin.
|
2019-03-15 00:58:24 +00:00
|
|
|
|
* $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent
|
|
|
|
|
|
to allow sites to configure a file in which to cache the SiteStore database
|
|
|
|
|
|
table, but it was never used. SiteStore already caches its information by
|
|
|
|
|
|
default using BagOStuff (e.g. Memcached or APC).
|
|
|
|
|
|
* $wgClockSkewFudge – This setting was used by User.php to let sites adjust by
|
|
|
|
|
|
how much MediaWiki would fudge when trying to minimize the chances of a
|
|
|
|
|
|
user.user_touched database update to the "current" timestamp being before the
|
|
|
|
|
|
value already there (e.g. due to clock skew between different servers). This
|
|
|
|
|
|
is no longer a problem, because the code now ensures the timestamp is always
|
|
|
|
|
|
higher than the previous one. The writes are guarded with CAS logic (check
|
|
|
|
|
|
and set), which prevents updates that would overlap.
|
2019-03-23 13:42:35 +00:00
|
|
|
|
* $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has
|
|
|
|
|
|
been removed.
|
2019-03-15 00:58:24 +00:00
|
|
|
|
|
|
|
|
|
|
=== New user-facing features in 1.33 ===
|
parser: Remove aliases for __EXPECTUNUSEDCATEGORY__
Follows-up 4985ce513469fa82a132139a41c2854504475e4a.
This is a brand new magic word, with no history or concerns for
backward-compatibility. Introducing it with four possible ways to
to use it, I think leads to less ideal experience for end-users.
I recognise that this is an attempt to make it easier for users
to get this magic word correctly working, even when a user guesses
the name incorrectly. This is a valid problem but, I do not think
adding more syntax is the right answer to that problem.
Introducing four ways to do the same thing I believe would make it
more difficult to learn the syntax, because they also have to
remember the other variations when encountering it from other users.
I also believe that the value we gain from a user getting it right
via an alias of this keyword is, shadowed by the loss in value
from a user when they get it wrong for all the other keywords.
This is because they'd likely expect the same four varations
(MULTIWORD, MULTI_WORD, MULTIPLE_WORD, MULTIPLEWORD) to apply
there as well. It creates expectations that we are not matching.
I think it is worth investigating this problem, and having four
extra aliases in the syntax could be one of the proposals to solve
that problem. However, we should discuss that on Phabricator and,
if we agree to it, apply it universally, not just to one keyword.
Bug: T96041
Change-Id: I5621cee70e6f791a161f21ebda8c5a7243e5947e
2018-11-23 21:13:51 +00:00
|
|
|
|
* (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category
|
2018-09-07 21:32:26 +00:00
|
|
|
|
to be hidden on Special:UnusedCategories.
|
2019-01-09 20:48:02 +00:00
|
|
|
|
* (T210814) SVGs are now by default displayed in wiki language on image
|
|
|
|
|
|
pages.
|
2019-02-25 20:08:10 +00:00
|
|
|
|
* Special:CreateAccount now warns the user if their chosen username has to be
|
|
|
|
|
|
normalized.
|
2019-03-08 23:23:10 +00:00
|
|
|
|
* (T205040) Multilingual images are now be displayed in the current parse
|
|
|
|
|
|
language where available.
|
2019-03-15 00:58:24 +00:00
|
|
|
|
* Special:ActiveUsers will no longer filter out users who became inactive since
|
|
|
|
|
|
the last time the active users query cache was updated.
|
2019-02-28 17:24:10 +00:00
|
|
|
|
* (T215675) RecentChange and ManualLogEntry implement new Taggable interface.
|
2019-03-13 20:16:39 +00:00
|
|
|
|
* (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions
|
|
|
|
|
|
to modify (example: add tags) log entries.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
2019-03-15 00:58:24 +00:00
|
|
|
|
=== New developer features in 1.33 ===
|
|
|
|
|
|
* The AuthManagerLoginAuthenticateAudit hook has a new parameter for
|
|
|
|
|
|
additional information about the authentication event.
|
|
|
|
|
|
* TextContent::getText() was introduced as a replacement for
|
|
|
|
|
|
Content::getNativeData() for text-based content models.
|
|
|
|
|
|
* (T214706) LinksUpdate::getAddedExternalLinks() and
|
|
|
|
|
|
LinksUpdate::getRemovedExternalLinks() were introduced.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
2019-03-15 00:58:24 +00:00
|
|
|
|
=== External library changes in 1.33 ===
|
2018-10-15 21:58:59 +00:00
|
|
|
|
==== New external libraries ====
|
2018-12-04 08:15:15 +00:00
|
|
|
|
* Added wikimedia/password-blacklist 0.1.4.
|
2019-01-04 02:17:43 +00:00
|
|
|
|
* Added guzzlehttp/guzzle 6.3.3.
|
2019-02-11 03:27:55 +00:00
|
|
|
|
* Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only).
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
==== Changed external libraries ====
|
2019-03-26 23:19:10 +00:00
|
|
|
|
* Updated OOUI from v0.29.2 to v0.31.2.
|
2019-02-06 20:22:03 +00:00
|
|
|
|
* Updated OOjs Router from pre-release to v0.2.0.
|
2019-02-22 10:34:40 +00:00
|
|
|
|
* Updated moment from v2.19.3 to v2.24.0.
|
2019-02-12 01:24:17 +00:00
|
|
|
|
* Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2.
|
2018-11-02 00:16:27 +00:00
|
|
|
|
* Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
|
2019-02-12 00:28:49 +00:00
|
|
|
|
* Updated wikimedia/ip-set from 1.2.0 to 2.0.1.
|
2018-12-18 04:00:19 +00:00
|
|
|
|
* The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be
|
|
|
|
|
|
used instead.
|
2019-01-08 04:59:44 +00:00
|
|
|
|
* Updated qunitjs from 2.6.2 to 2.9.1.
|
2019-02-09 22:42:09 +00:00
|
|
|
|
* Updated jquery-client from 2.0.1 to 2.0.2.
|
2019-02-10 22:37:29 +00:00
|
|
|
|
* Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only).
|
|
|
|
|
|
* Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only).
|
2019-02-10 23:00:06 +00:00
|
|
|
|
* Updated pear/net_smtp from 1.8.0 to 1.8.1.
|
2019-02-11 02:02:04 +00:00
|
|
|
|
* Updated cssjanus/cssjanus from 1.2.0 to 1.2.1.
|
2019-02-12 00:40:12 +00:00
|
|
|
|
* Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
==== Removed external libraries ====
|
2019-03-15 00:58:24 +00:00
|
|
|
|
* …
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Bug fixes in 1.33 ===
|
2017-04-28 21:08:32 +00:00
|
|
|
|
* (T164211) Special:UserRights could sometimes fail with a
|
|
|
|
|
|
"conflict detected" error when there weren't any conflicts.
|
2019-03-18 05:42:42 +00:00
|
|
|
|
* (T216029) Chrome redirects to Special:BadTitle after editing a section with
|
|
|
|
|
|
a non-Latin name on a page with non-Latin characters in title.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Action API changes in 1.33 ===
|
2018-07-24 22:05:22 +00:00
|
|
|
|
* (T198913) Added 'ApiOptions' hook.
|
2018-10-31 18:58:37 +00:00
|
|
|
|
* The JSON formatversion=2 is no longer experimental.
|
2018-11-26 18:31:41 +00:00
|
|
|
|
* Internal API errors (those with code beginning "internal_api_error") will
|
|
|
|
|
|
include the exception class name in a data field named "errorclass".
|
|
|
|
|
|
* Class names are not guaranteed to remain stable, and in particular database
|
|
|
|
|
|
exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name.
|
|
|
|
|
|
* The code including an exception class name is deprecated. In the future,
|
|
|
|
|
|
all internal errors will use code "internal_api_error".
|
2018-12-20 14:59:02 +00:00
|
|
|
|
* (T212356) When using action=delete on pages with many revisions, the module
|
|
|
|
|
|
may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
|
|
|
|
|
|
deletion will be processed via the job queue.
|
2019-01-03 01:41:04 +00:00
|
|
|
|
* action=setnotificationtimestamp will now update the watchlist asynchronously
|
|
|
|
|
|
if entirewatchlist is set, so updates may not be visible immediately
|
2019-02-18 20:30:41 +00:00
|
|
|
|
* Block info will be added to "blocked" errors from more modules.
|
2019-02-18 19:46:05 +00:00
|
|
|
|
* (T216245) Autoblocks will now be spread by action=edit and action=move.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Action API internal changes in 1.33 ===
|
2018-10-10 17:14:13 +00:00
|
|
|
|
* A number of deprecated methods for API documentation, intended for overriding
|
|
|
|
|
|
by extensions, are no longer called by MediaWiki, and will emit deprecation
|
|
|
|
|
|
notices if your extension attempts to use them:
|
|
|
|
|
|
* ApiBase::getDescription() (deprecated in 1.25)
|
|
|
|
|
|
* ApiBase::getParamDescription() (deprecated in 1.25)
|
|
|
|
|
|
* ApiBase::getExamples() (deprecated in 1.25)
|
|
|
|
|
|
* ApiBase::getDescriptionMessage() (deprecated in 1.30)
|
|
|
|
|
|
Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
|
|
|
|
|
|
been removed, as their only use was to let extensions override values returned
|
|
|
|
|
|
by getDescription() and getParamDescription(), respectively.
|
2018-11-07 16:25:40 +00:00
|
|
|
|
* API error codes may only contain ASCII letters, numbers, underscore, and
|
|
|
|
|
|
hyphen. Methods such as ApiBase::dieWithError() and
|
|
|
|
|
|
ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
|
|
|
|
|
|
passed a bad code.
|
2019-02-18 19:46:05 +00:00
|
|
|
|
* ApiBase::checkTitleUserPermissions() now takes an options array as its third
|
|
|
|
|
|
parameter. Passing a User object or null is deprecated.
|
2019-02-27 20:51:38 +00:00
|
|
|
|
* The api-feature-usage log channel now has log context. The text message is
|
|
|
|
|
|
deprecated and will be removed in the future.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Languages updated in 1.33 ===
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
2018-10-28 14:56:39 +00:00
|
|
|
|
* (T203908) Added language support for Eastern Pwo (kjp).
|
2019-01-14 19:55:43 +00:00
|
|
|
|
* (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
|
|
|
|
|
|
for NS_TEMPLATE.
|
2018-12-18 21:10:34 +00:00
|
|
|
|
* (T212221) Added $digitTransformTable for Santali (sat).
|
2019-02-19 21:21:22 +00:00
|
|
|
|
* (T216479) Added language support for Saisiyat (xsy).
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Breaking changes in 1.33 ===
|
2018-06-19 19:48:40 +00:00
|
|
|
|
* The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
|
|
|
|
|
|
Language. Other types are deprecated since 1.32.
|
2018-07-23 19:50:14 +00:00
|
|
|
|
* Skin::doEditSectionLink requires type Language for the parameter $lang.
|
|
|
|
|
|
The parameters $tooltip and $lang are mandatory. Omitting the parameters is
|
|
|
|
|
|
deprecated since 1.32.
|
2018-10-17 02:34:25 +00:00
|
|
|
|
* Language::truncate(), deprecated in 1.31, has been removed.
|
2018-05-31 23:37:07 +00:00
|
|
|
|
* UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
|
|
|
|
|
|
instead.
|
2018-08-17 21:07:52 +00:00
|
|
|
|
* (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
|
|
|
|
|
|
and 'notice-message', which were deprecated in 1.32, were removed. Instead,
|
|
|
|
|
|
use 'help', 'help-message', and 'help-messages'.
|
|
|
|
|
|
* (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
|
2018-09-25 19:44:33 +00:00
|
|
|
|
* The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
|
|
|
|
|
|
RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
|
|
|
|
|
|
Use the RESTBase v1 or Parsoid v3 API instead.
|
2018-09-20 21:16:16 +00:00
|
|
|
|
* ParserOptions defaults 'tidy' to true now, since the untidy modes of the
|
|
|
|
|
|
parser are being deprecated and ParserOptions::getCanonicalOverrides()
|
|
|
|
|
|
has always been true at any rate.
|
2018-10-17 14:05:02 +00:00
|
|
|
|
* Support for disabling tidy and external tidy implementations has been removed.
|
|
|
|
|
|
This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
|
|
|
|
|
|
used and no configuration is necessary.
|
2018-10-10 17:14:13 +00:00
|
|
|
|
* A number of deprecated methods for API documentation, intended for overriding
|
|
|
|
|
|
by extensions, are no longer called by MediaWiki, and will emit deprecation
|
|
|
|
|
|
notices if your extension attempts to use them:
|
|
|
|
|
|
* ApiBase::getDescription() (deprecated in 1.25)
|
|
|
|
|
|
* ApiBase::getParamDescription() (deprecated in 1.25)
|
|
|
|
|
|
* ApiBase::getExamples() (deprecated in 1.25)
|
|
|
|
|
|
* ApiBase::getDescriptionMessage() (deprecated in 1.30)
|
|
|
|
|
|
Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
|
|
|
|
|
|
been removed, as their only use was to let extensions override values returned
|
|
|
|
|
|
by getDescription() and getParamDescription(), respectively.
|
2018-09-13 22:20:11 +00:00
|
|
|
|
* The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
|
|
|
|
|
|
'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
|
|
|
|
|
|
the creation of AuthManager in 1.27, have been removed. This also means that
|
|
|
|
|
|
the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
|
|
|
|
|
|
is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
|
|
|
|
|
|
that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
|
2018-08-29 23:34:24 +00:00
|
|
|
|
* The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
|
|
|
|
|
|
use 'jquery.i18n'.
|
2018-06-11 23:50:41 +00:00
|
|
|
|
* The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
|
|
|
|
|
|
1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
|
|
|
|
|
|
respectively in a $wgExtensionMessagesFiles file.
|
2018-10-18 02:31:21 +00:00
|
|
|
|
* The following methods of the Preferences class, deprecated in 1.31, have been
|
|
|
|
|
|
removed:
|
|
|
|
|
|
* getSaveBlacklist()
|
|
|
|
|
|
* loadPreferenceValues()
|
|
|
|
|
|
* getOptionFromUser()
|
|
|
|
|
|
* profilePreferences()
|
|
|
|
|
|
* skinPreferences()
|
|
|
|
|
|
* filesPreferences()
|
|
|
|
|
|
* datetimePreferences()
|
|
|
|
|
|
* renderingPreferences()
|
|
|
|
|
|
* editingPreferences()
|
|
|
|
|
|
* rcPreferences()
|
|
|
|
|
|
* watchlistPreferences()
|
|
|
|
|
|
* searchPreferences()
|
|
|
|
|
|
* miscPreferences()
|
|
|
|
|
|
* generateSkinOptions()
|
|
|
|
|
|
* getDateOptions()
|
|
|
|
|
|
* getImageSizes()
|
|
|
|
|
|
* getThumbSizes()
|
|
|
|
|
|
* validateSignature()
|
|
|
|
|
|
* cleanSignature()
|
|
|
|
|
|
* getTimezoneOptions()
|
|
|
|
|
|
* filterIntval()
|
|
|
|
|
|
* filterTimezoneInput()
|
|
|
|
|
|
* getTimeZoneList()
|
2018-05-04 18:39:47 +00:00
|
|
|
|
* mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
|
2018-11-29 19:23:25 +00:00
|
|
|
|
* (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
|
2019-01-18 06:31:33 +00:00
|
|
|
|
* The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
|
|
|
|
|
|
Specifically: mediawiki.api.category, mediawiki.api.edit,
|
|
|
|
|
|
mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
|
|
|
|
|
|
mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
|
|
|
|
|
|
mediawiki.api.messages, and mediawiki.api.rollback.
|
2019-01-19 02:55:03 +00:00
|
|
|
|
* The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
|
|
|
|
|
|
deprecated in 1.31, was removed.
|
2019-01-30 23:08:56 +00:00
|
|
|
|
* Revision::fetchRevision(), deprecated in 1.28, was removed.
|
2019-02-05 19:35:05 +00:00
|
|
|
|
* Class SquidUpdate, deprecated in 1.27, was removed.
|
2019-02-08 01:01:40 +00:00
|
|
|
|
* Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
|
|
|
|
|
|
Title->getCdnUrls().
|
2019-02-08 01:02:15 +00:00
|
|
|
|
* Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
|
|
|
|
|
|
Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
|
2019-02-08 01:02:52 +00:00
|
|
|
|
* Title->canTalk(), deprecated in 1.30, was removed. Instead, use
|
|
|
|
|
|
Title->canHaveTalkPage().
|
2019-02-08 01:03:39 +00:00
|
|
|
|
* Title's methods for site and user page related to CSS and JS, deprecated in
|
|
|
|
|
|
1.31, were removed:
|
|
|
|
|
|
* Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
|
|
|
|
|
|
* Title->isCssJsSubpage() – Use Title->isUserConfigPage()
|
|
|
|
|
|
* Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
|
|
|
|
|
|
* Title->isCssSubpage() – Use Title->isUserCssConfigPage()
|
|
|
|
|
|
* Title->isJsSubpage() – Use Title->isUserJsConfigPage()
|
2019-02-09 01:26:04 +00:00
|
|
|
|
* SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
|
|
|
|
|
|
would return the global SiteStore instance, has been removed. You can get to
|
|
|
|
|
|
this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
|
2019-02-09 01:31:29 +00:00
|
|
|
|
* Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
|
|
|
|
|
|
Instead, use Language->formatSize() with the relevant Language object.
|
2019-02-09 01:31:42 +00:00
|
|
|
|
* Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
|
|
|
|
|
|
version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
|
2019-02-09 01:32:42 +00:00
|
|
|
|
* EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
|
|
|
|
|
|
use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
|
2019-02-09 01:34:49 +00:00
|
|
|
|
* LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
|
|
|
|
|
|
be unused, and is distinct from OutputPage->addLink(), which remains.
|
2019-02-09 01:36:01 +00:00
|
|
|
|
* JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
|
|
|
|
|
|
JsonContent->getData().
|
2019-02-09 01:37:23 +00:00
|
|
|
|
* MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
|
2019-02-09 01:40:22 +00:00
|
|
|
|
exception ID is the same as the request ID, from WebRequest::getRequestId().
|
|
|
|
|
|
* SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
|
|
|
|
|
|
You can use SearchEngine::getNearMatcher() instead.
|
2019-02-09 20:18:35 +00:00
|
|
|
|
* EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
|
|
|
|
|
|
removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
|
2019-02-09 01:43:08 +00:00
|
|
|
|
* User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
|
|
|
|
|
|
been removed. Instead, please use UserGroupMembership::getGroupName() and
|
|
|
|
|
|
UserGroupMembership::getGroupMemberName().
|
2019-02-09 20:59:00 +00:00
|
|
|
|
* Backwards compatibility for setting wgSessionsInObjectCache to false or using
|
|
|
|
|
|
wgSessionHandler, both of which were deprecated in 1.27 with the introduction
|
|
|
|
|
|
of SessionManager, has been removed.
|
2019-02-09 01:41:28 +00:00
|
|
|
|
* SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
|
|
|
|
|
|
MediaWiki\Auth\AuthManager::autoCreateUser instead.
|
2019-02-09 01:16:05 +00:00
|
|
|
|
* The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
|
|
|
|
|
|
Use require( 'mediawiki.libs.jpegmeta' ) instead.
|
2019-02-09 01:21:46 +00:00
|
|
|
|
* The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
|
|
|
|
|
|
Use mw.user.getPageviewToken() instead.
|
2019-02-14 12:30:49 +00:00
|
|
|
|
* Removed deprecated class property WikiRevision::$importer.
|
2019-02-16 23:30:46 +00:00
|
|
|
|
* ResourceLoaderFileModule::readStyleFiles() now requires its $context
|
|
|
|
|
|
parameter.
|
2019-02-10 23:49:13 +00:00
|
|
|
|
* The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
|
|
|
|
|
|
been removed.
|
2019-02-16 23:46:30 +00:00
|
|
|
|
* MessageBlobStore::__construct() now requires its $rl parameter.
|
2019-02-22 04:12:22 +00:00
|
|
|
|
* Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
|
|
|
|
|
|
has been removed.
|
2019-03-03 01:22:45 +00:00
|
|
|
|
* The 'jquery.xmldom' module has been removed.
|
2019-03-03 01:42:58 +00:00
|
|
|
|
* The 'jquery.mockjax' module has been removed.
|
2019-03-03 01:51:50 +00:00
|
|
|
|
* The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
|
2019-02-11 21:18:13 +00:00
|
|
|
|
* AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
|
|
|
|
|
|
should instead use AuthManager. The following no longer exist:
|
|
|
|
|
|
* The AuthPlugin class itself and the related AuthPluginUser class and i18n
|
|
|
|
|
|
* The AuthPluginSetup and AuthPluginAutoCreate hooks
|
|
|
|
|
|
* The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
|
|
|
|
|
|
AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
|
|
|
|
|
|
* The $wgAuth configuration setting and its use in Setup.php and unit tests
|
2019-03-06 15:00:47 +00:00
|
|
|
|
* (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
|
2019-03-02 11:14:28 +00:00
|
|
|
|
* Language::markNoConversion, deprecated in 1.32, has been removed. Use
|
|
|
|
|
|
LanguageConverter::markNoConversion instead.
|
2019-03-07 23:12:33 +00:00
|
|
|
|
* BagOStuff::modifySimpleRelayEvent() method has been removed.
|
2019-03-08 22:31:01 +00:00
|
|
|
|
* ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
|
|
|
|
|
|
Use ParserOutput::allCacheVaryingOptions instead.
|
2019-03-15 01:16:05 +00:00
|
|
|
|
* CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
|
|
|
|
|
|
Use CdnCacheUpdate::newFromTitles() instead.
|
2019-03-21 14:34:48 +00:00
|
|
|
|
* Handling of multiple arguments by the Block constructor, deprecated in 1.26,
|
|
|
|
|
|
has been removed.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Deprecations in 1.33 ===
|
2018-10-19 15:36:44 +00:00
|
|
|
|
* The configuration option $wgUseESI has been deprecated, and is expected
|
|
|
|
|
|
to be removed in a future release.
|
2018-10-19 15:40:17 +00:00
|
|
|
|
* The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
|
|
|
|
|
|
and is expected to be removed in a future release.
|
2018-10-19 15:06:15 +00:00
|
|
|
|
* The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
|
|
|
|
|
|
introduced in MW 1.17, have been deprecated. These fixes will always be
|
|
|
|
|
|
applied for Arabic and Malayalam in the future. Please enable these on
|
|
|
|
|
|
your local wiki (if you have them explicitly set to false) and run
|
|
|
|
|
|
maintenance/cleanupTitles.php to fix any existing page titles.
|
2018-10-10 01:21:54 +00:00
|
|
|
|
* The LegacyHookPreAuthenticationProvider class, deprecated since its creation
|
|
|
|
|
|
in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
|
|
|
|
|
|
This will help identify the issue if you added it to $wgAuthManagerConfig.
|
2018-10-21 07:47:26 +00:00
|
|
|
|
* wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
|
|
|
|
|
|
domain ID as a key component and use makeGlobalKey().
|
2018-11-04 13:40:55 +00:00
|
|
|
|
* (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
|
|
|
|
|
|
Title::getDBKey(), which doesn't vary case.
|
2018-12-20 22:44:04 +00:00
|
|
|
|
* User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
|
|
|
|
|
|
returns the same information in a more useful format.
|
2018-07-16 08:44:54 +00:00
|
|
|
|
* For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
|
|
|
|
|
|
as the $lang parameter was deprecated. The same applies to DummyLinker.
|
2018-12-27 20:19:35 +00:00
|
|
|
|
* The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
|
|
|
|
|
|
follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
|
|
|
|
|
|
instead which blacklists 100,000 commonly used passwords.
|
2018-12-06 20:35:40 +00:00
|
|
|
|
* (T208862) Action::requiresUnblock() is now called from
|
|
|
|
|
|
Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
|
|
|
|
|
|
was only called in Action::checkCanExecute(). Actions should ensure that their
|
|
|
|
|
|
requiresUnblock() returns the proper result (the default is `true`).
|
2018-12-10 17:33:38 +00:00
|
|
|
|
* (T211608) The MediaWiki\Services namespace has been renamed to
|
|
|
|
|
|
Wikimedia\Services. The old name is still supported, but deprecated.
|
2018-11-08 15:19:23 +00:00
|
|
|
|
* (T155582) Content::getNativeData has been deprecated. Please use model-
|
|
|
|
|
|
specific getters, such as TextContent::getText().
|
2018-10-23 15:48:31 +00:00
|
|
|
|
* The class WebInstallerOutput is now marked as @private.
|
2019-01-15 00:25:33 +00:00
|
|
|
|
* (T209699) The jquery.async module has been deprecated. JavaScript code that
|
|
|
|
|
|
needs asynchronous behaviour should use Promises.
|
2019-01-24 02:51:21 +00:00
|
|
|
|
* Password::equals() is deprecated, use verify().
|
Soft deprecate QuickTemplate::msgWiki()
This method just should not exist. It does have a bad name that does not
say much about what it does and how it is supposed to be used. And it
does horrible things: it accesses the global $wgOut, which currently
results in test failures, see
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php70-docker/15200/console
Note how it was marked as @private, which is honorable, but doesn't
work for multiple reasons. First, an overload exists in the BaseTemplate
subclass. Second, calls from external code exist. Third, if it would be
really private, it could as well be deleted, because there is no private
caller.
Luckily the number of callers is extremely close to zero, see
https://codesearch.wmflabs.org/search/?q=>msgWiki%5C(
A patch for the Collection extension already exists.
Change-Id: I8d2c14f10fbf314735d1aa82bdc8edfb4fa9a0dd
2019-01-14 13:43:29 +00:00
|
|
|
|
* BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
|
|
|
|
|
|
other means to fetch a properly escaped message string or Message object.
|
2019-01-18 20:21:35 +00:00
|
|
|
|
* (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
|
|
|
|
|
|
testing code for your JavaScript modules, is deprecated. Instead, you can now
|
|
|
|
|
|
use the new extension registration key 'QUnitTestModule'.
|
2019-01-10 13:21:38 +00:00
|
|
|
|
* (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
|
|
|
|
|
|
code that needs this behaviour should use OO.ui.debounce/throttle.
|
2019-02-09 00:53:48 +00:00
|
|
|
|
* The mw.language.specialCharacters property from the
|
|
|
|
|
|
'mediawiki.language.specialCharacters' module has been deprecated.
|
|
|
|
|
|
Use require( 'mediawiki.language.specialCharacters' ) instead.
|
2019-02-16 01:00:49 +00:00
|
|
|
|
* ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
|
|
|
|
|
|
removed in a future release.
|
2019-02-18 19:46:05 +00:00
|
|
|
|
* Passing a User object or null as the third parameter to
|
|
|
|
|
|
ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
|
|
|
|
|
|
[ 'user' => $user ] instead.
|
Separate out different functionalities of Block::prevents
Block::prevents plays several different roles:
* acts as get/setter for Boolean properties that correspond to
ipb_create_account, ipb_block_email and ipb_allow_usertalk
* calculates whether a block blocks a given right, based on Block
properties, global configs, white/blacklists and anonymous user
rights
* decides whether a block prevents editing of the target's own
user talk page (listed separately because 'editownusertalk' is
not a right)
This patch:
* renames mDisableUsertalk to allowEditUsertalk (and reverses the
value), to match the field ipb_allow_usertalk and make this logic
easier to follow
* renames mCreateAccount to blockCreateAccount, to make it clear
that the flag blocks account creation when true, and make this
logic easier to follow
* decouples the block that is stored in the database (which now
reflects the form that the admin submitted) and the behaviour of
the block on enforcement (since the properties set by the admin
can be overridden by global configs) - so if the global configs
change, the block behaviour could too
* creates get/setters for blockCreateAccount, mBlockEmail and
allowEditUsertalk properties
* creates appliesToRight, exclusively for checking whether the
block blocks a given right, taking into account the block
properties, global configs and anonymous user rights
* creates appliesToUsertalk, for checking whether the block
blocks a user from editing their own talk page. The block is
unaware of the user trying to make the edit, and this user is not
always the same as the block target, e.g. if the block target is
an IP range. Therefore the user's talk page is passed in to this
method. appliesToUsertalk can be called from anywhere where the
user is known
* uses the get/setters wherever Block::prevents was being used as
such
* uses appliesToRight whenever Block::prevents was being used to
determine if the block blocks a given right
* uses appliesToUsertalk in User::isBlockedFrom
Bug: T211578
Bug: T214508
Change-Id: I0e131696419211319082cb454f4f05297e55d22e
2019-02-09 12:17:54 +00:00
|
|
|
|
* (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
|
|
|
|
|
|
Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
|
|
|
|
|
|
block properties; use Block::appliesToRight and Block::appliesToUsertalk to
|
|
|
|
|
|
check block behaviour.
|
2019-02-27 20:51:38 +00:00
|
|
|
|
* The api-feature-usage log channel now has log context. The text message is
|
|
|
|
|
|
deprecated and will be removed in the future.
|
2019-03-14 19:46:19 +00:00
|
|
|
|
* The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
|
|
|
|
|
|
implementation, use CachingSiteStore instead.
|
2019-02-28 17:24:10 +00:00
|
|
|
|
* ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
|
|
|
|
|
|
instead. The setTags() method was overriding the tags, addTags() doesn't
|
|
|
|
|
|
override, only adds new tags.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
=== Other changes in 1.33 ===
|
2019-02-05 23:28:49 +00:00
|
|
|
|
* (T201747) Html::openElement() warns if given an element name with a space
|
2018-09-04 17:44:44 +00:00
|
|
|
|
in it.
|
2019-02-20 19:41:55 +00:00
|
|
|
|
* The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
|
|
|
|
|
|
changed to explicitly cast. Subclasses relying on the base-class
|
|
|
|
|
|
implementation should check whether they need to override it now.
|
2019-03-12 10:02:24 +00:00
|
|
|
|
* BagOStuff::add is now abstract and must explicitly be defined in subclasses.
|
2018-10-15 21:58:59 +00:00
|
|
|
|
|
|
|
|
|
|
== Compatibility ==
|
2019-02-14 19:29:48 +00:00
|
|
|
|
MediaWiki 1.33 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
|
|
|
|
|
|
supported, it is generally advised to use PHP 7.0.13 or later for long term
|
2018-10-15 21:58:59 +00:00
|
|
|
|
support.
|
|
|
|
|
|
|
|
|
|
|
|
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
|
|
|
|
|
|
but support for them is somewhat less mature. There is experimental support for
|
|
|
|
|
|
Oracle and Microsoft SQL Server.
|
|
|
|
|
|
|
|
|
|
|
|
The supported versions are:
|
|
|
|
|
|
|
|
|
|
|
|
* MySQL 5.5.8 or later
|
|
|
|
|
|
* PostgreSQL 9.2 or later
|
2018-09-29 02:44:45 +00:00
|
|
|
|
* SQLite 3.8.0 or later
|
2018-10-15 21:58:59 +00:00
|
|
|
|
* Oracle 9.0.1 or later
|
|
|
|
|
|
* Microsoft SQL Server 2005 (9.00.1399)
|
|
|
|
|
|
|
|
|
|
|
|
== 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.
|