2019-09-30 17:19:58 +00:00
|
|
|
|
= MediaWiki 1.35 =
|
|
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.35.0-PRERELEASE ==
|
|
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.35 is an alpha-quality development branch, and is not recommended
|
|
|
|
|
|
for use in production.
|
|
|
|
|
|
|
|
|
|
|
|
== Upgrading notes for 1.35 ==
|
|
|
|
|
|
1.35 has several database changes since 1.34, 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.35 upgrades are below:
|
|
|
|
|
|
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
For notes on 1.34.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
|
|
=== Configuration changes for system administrators in 1.35 ===
|
|
|
|
|
|
|
|
|
|
|
|
…
|
|
|
|
|
|
|
|
|
|
|
|
==== New configuration ====
|
2019-11-05 15:07:06 +00:00
|
|
|
|
* $wgDiffEngine can be used to specify the difference engine to use, rather
|
|
|
|
|
|
than choosing the first of $wgExternalDiffEngine, wikidiff2, or php that
|
|
|
|
|
|
is usable.
|
2019-10-11 14:06:13 +00:00
|
|
|
|
* $wgSearchMatchRedirectPreference – This configuration setting controls whether
|
|
|
|
|
|
users can set a new preference, search-match-redirect, which decides if search
|
|
|
|
|
|
should redirect them to exact matches is available. By default, this is set to
|
|
|
|
|
|
false, which maintains the previous behaviour without preference bloat. Change
|
|
|
|
|
|
your site's default by setting $wgDefaultUserOptions['search-match-redirect'].
|
2019-11-19 19:36:35 +00:00
|
|
|
|
* Per-user concurrency in SpecialContributions can now be limited by setting
|
|
|
|
|
|
$wgPoolCounterConf['SpecialContributions'] appropriately.
|
2020-01-06 23:10:14 +00:00
|
|
|
|
* Added new PasswordPolicyCheck: PasswordCannotBeSubstringInUsername. Similar
|
|
|
|
|
|
to the existing PasswordCannotMatchUsername check, this check ensures that
|
|
|
|
|
|
a user's (case-insensitive) password cannot be a part of their username.
|
|
|
|
|
|
e.g. password = MyPassword, username = ThisUsersPasswordIsMyPassword.
|
2020-02-05 19:32:14 +00:00
|
|
|
|
* $wgLogos – This new configuration setting combines the now-deprecated $wgLogo
|
|
|
|
|
|
and $wgLogoHD settings into a single, associative array. It provides support
|
2020-02-07 18:59:17 +00:00
|
|
|
|
for a new key, 'wordmark', for setting a horizontal wordmark to show next to
|
|
|
|
|
|
the graphical logo. To do this, set 'wordmark' to an array with 'src' set to
|
|
|
|
|
|
the path of the wordmark image, and 'width' and 'height' for its dimensions
|
|
|
|
|
|
in pixels. $wgLogos inherits the existing support provided by its predecessor
|
|
|
|
|
|
settings: '1x' mapping to the path of the logo as a 135x135px raster image
|
|
|
|
|
|
(equivalent to $wgLogo), and '1.5x', '2x', and 'svg' operating as before for
|
|
|
|
|
|
$wgLogoHD. If $wgLogos is unset, $wgLogo and $wgLogoHD values are read for
|
|
|
|
|
|
temporary backwards compatibility. (T232140)
|
2020-03-26 05:53:50 +00:00
|
|
|
|
* $wgWatchlistExpiry — Whether to enable the watchlist expiry feature. The
|
|
|
|
|
|
database table (watchlist_expiry) for this is created regardless of this
|
|
|
|
|
|
setting, but all other aspects of the expiry feature are controlled by it.
|
|
|
|
|
|
* $wgWatchlistPurgeRate — Chance of expired watchlist items being purged on any
|
|
|
|
|
|
page edit. Only has effect if $wgWatchlistExpiry is true.
|
2020-03-31 05:33:41 +00:00
|
|
|
|
* $wgImgAuthPath can be used to override the path prefix used when handling
|
|
|
|
|
|
img_auth.php requests. (T235357)
|
2020-04-02 13:25:45 +00:00
|
|
|
|
* $wgAllowedCorsHeaders — list of headers which can be used in a cross-site API
|
|
|
|
|
|
request.
|
2019-10-11 14:06:13 +00:00
|
|
|
|
* …
|
2019-09-30 17:19:58 +00:00
|
|
|
|
|
|
|
|
|
|
==== Changed configuration ====
|
2019-10-13 01:16:55 +00:00
|
|
|
|
* $wgResourceLoaderMaxage (T235314) - This configuration array controls the
|
|
|
|
|
|
max-age for HTTP caching through the Cache-Control header. It has uses the
|
|
|
|
|
|
"versioned" key for urls that do have a version parameter, and the
|
|
|
|
|
|
"unversioned" key for urls without a version parameter. The sub keys for
|
|
|
|
|
|
"client" and "server" are no longer supported in MediaWiki 1.35.
|
2019-12-13 17:34:26 +00:00
|
|
|
|
* $wgEnableOpenSearchSuggest - This boolean variable is deprecated and no longer
|
|
|
|
|
|
used. The OpenSearch API is now always enabled.
|
2019-11-08 21:24:00 +00:00
|
|
|
|
* $wgAuthManagerConfig and $wgAuthManagerAutoConfig can now use the 'services'
|
|
|
|
|
|
option in provider specifications.
|
2020-03-25 18:59:39 +00:00
|
|
|
|
* The 'URL' parameter to $wgVirtualRestConfig['modules']['parsoid'], previously
|
|
|
|
|
|
allowed for backwards-compatibility, has been deprecated. Use 'url' instead.
|
2020-03-19 03:23:43 +00:00
|
|
|
|
* Article::$mContext, use getContext()/setContext()
|
|
|
|
|
|
* Article::__get(), ::__set() hard deprecated, use WikiPage property instead
|
|
|
|
|
|
* Article::checkFlags(), ::checkTouched(), ::clearPreparedEdit(), ::exists(),
|
|
|
|
|
|
::doDeleteArticleReal(), ::doEditContent(), ::doPurge(), ::doViewUpdates(),
|
|
|
|
|
|
::followRedirect(), ::getContentHandler(), ::getId(), ::hasViewableContent()
|
|
|
|
|
|
::getContentModel(), ::getContributors(), ::getLatest(),::getMinorEdit(),
|
|
|
|
|
|
::getHiddenCategories(), ::getLinksTimestamp(), ::getDeletionUpdates(),
|
|
|
|
|
|
::getRedirectTarget(), ::getRedirectURL(), ::getTimestamp(), ::getTouched(),
|
|
|
|
|
|
::insertRedirect(), ::insertRedirectEntry(), ::isCountable(), ::isRedirect(),
|
|
|
|
|
|
::loadFromRow(), ::loadPageData(), ::lockAndGetLatest(), ::setTimestamp(),
|
|
|
|
|
|
::makeParserOptions(), ::updateCategoryCounts(), ::protectDescriptionLog(),
|
|
|
|
|
|
::protectDescription(), ::replaceSectionAtRev(), ::pageDataFromTitle(),
|
|
|
|
|
|
::shouldCheckParserCache(), ::supportsSections(), ::prepareContentForEdit(),
|
|
|
|
|
|
::triggerOpportunisticLinksUpdate(), ::pageDataFromId(), ::commitRollback(),
|
|
|
|
|
|
::updateRedirectOn(), ::doUpdateRestrictions(), ::insertOn(), ::doRollback()
|
|
|
|
|
|
hard deprecated, use corresponding methods of the WikiPage class instead
|
|
|
|
|
|
* Article::generateReason() hard deprecated,
|
|
|
|
|
|
use \Article::getPage()->getAutoDeleteReason() instead
|
|
|
|
|
|
* Article::replaceSectionContent() hard deprecated,
|
|
|
|
|
|
use ::replaceSectionAtRev instead
|
2020-03-25 19:51:23 +00:00
|
|
|
|
* The defaults for $wgVirtualRestConfig['modules']['parsoid'] have been
|
|
|
|
|
|
updated. If you were relying on the default values, you may need to update
|
|
|
|
|
|
your configuration.
|
2019-11-22 20:07:16 +00:00
|
|
|
|
* Set $wgXmlDumpSchemaVersion to XML_DUMP_SCHEMA_VERSION_11, so dumps use the
|
|
|
|
|
|
new dump format per default. Consumers of XML dumps should not be affected if
|
|
|
|
|
|
they ignore any unknown tags they encounter. Also, the format is effectively
|
|
|
|
|
|
unchanged for revisions that only contain the main slot. The --schema-version
|
|
|
|
|
|
option can be used with the dumpBackup.php script to set the dump format.
|
|
|
|
|
|
(T238921)
|
2020-04-16 18:14:42 +00:00
|
|
|
|
* $wgParserConf - This configuration is now deprecated. It has been
|
|
|
|
|
|
effectively constant since 2008, and is ignored by core code.
|
|
|
|
|
|
Configure the ParserFactory service in order to customize the Parser used.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed configuration ====
|
2019-10-11 05:14:27 +00:00
|
|
|
|
* $wgSysopEmailBans — This setting, deprecated in 1.34, was removed. To let
|
|
|
|
|
|
sysops block email access, use $wgGroupPermissions['sysop']['blockemail'].
|
2019-11-10 14:52:35 +00:00
|
|
|
|
* $wgDBWindowsAuthentication — This setting had no effect anymore after support
|
|
|
|
|
|
for SQL Server was removed in 1.34. (T230418)
|
2020-02-27 16:46:03 +00:00
|
|
|
|
* $wgProfileOnly — This setting, deprecated in 1.23, was removed. The profiler
|
|
|
|
|
|
output should instead be configured via $wgProfiler['output'].
|
2020-03-16 17:17:23 +00:00
|
|
|
|
* $wgProfileLimit - This setting, deprecated in 1.25, was removed.
|
|
|
|
|
|
Set $wgProfiler['threshold'] instead.
|
2020-02-24 12:53:54 +00:00
|
|
|
|
* $wgDebugTimestamps - This setting was removed. It affected the text output
|
|
|
|
|
|
produced via $wgDebugComments, if enabled.
|
2019-12-23 00:41:43 +00:00
|
|
|
|
* $wgSkipSkin - This setting, deprecated in 1.23, was removed. To disable a
|
|
|
|
|
|
skin from being shown, use $wgSkipSkins.
|
2020-03-14 16:55:43 +00:00
|
|
|
|
* $wgUseSquid, $wgSquidServers, $wgSquidServersNoPurge, and $wgSquidMaxage,
|
|
|
|
|
|
deprecated in 1.34, have been removed. Use $wgUseCdn, $wgCdnServers,
|
|
|
|
|
|
$wgCdnServersNoPurge, or $wgCdnMaxAge instead.
|
2020-03-14 18:50:23 +00:00
|
|
|
|
* $wgDisableCounters, deprecated in 1.25, was removed. The feature that it
|
|
|
|
|
|
controlled was already removed in 1.26, but the variable remained existent
|
|
|
|
|
|
with a value of `false` for backward-compatibility.
|
2020-01-24 22:45:08 +00:00
|
|
|
|
* $wgMaxGeneratedPPNodeCount - This setting was removed. It only affected
|
|
|
|
|
|
Preprocessor_DOM, which was deprecated in 1.34 and removed in this release.
|
2020-02-21 05:08:39 +00:00
|
|
|
|
* $wgFixArabicUnicode and $wgFixMalayalamUnicode, deprecated in 1.33, were
|
|
|
|
|
|
removed. The fixes are now always enabled for their respective languages.
|
2020-02-26 05:29:08 +00:00
|
|
|
|
* $wgAllowTitlesInSVG, unused and deprecated since 1.34, was removed.
|
2020-03-02 16:18:23 +00:00
|
|
|
|
* $wgEnablePartialBlocks - This setting, deprecated when it was added in 1.33,
|
|
|
|
|
|
was removed. Partial blocks are now always enabled.
|
2020-03-07 21:44:46 +00:00
|
|
|
|
* $wgLocalInterwiki, deprecated in 1.23 has been removed.
|
2020-04-15 13:49:57 +00:00
|
|
|
|
* $wgContentHandlerUseDB — This setting, deprecated in 1.34, has been removed.
|
2019-12-17 16:20:32 +00:00
|
|
|
|
* $wgMultiContentRevisionSchemaMigrationStage — This setting must no longer
|
|
|
|
|
|
be set locally. If the migration stage was set to anything other than
|
|
|
|
|
|
SCHEMA_COMPAT_NEW locally, update.php must be run after removing the setting.
|
|
|
|
|
|
Usage of the setting in code is deprecated. The setting will be removed
|
|
|
|
|
|
completely in 1.36.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New user-facing features in 1.35 ===
|
2019-10-04 18:26:06 +00:00
|
|
|
|
* (T204618) Whitelisted the aria-hidden HTML attribute for all elements in
|
|
|
|
|
|
wikitext.
|
2019-12-02 18:56:26 +00:00
|
|
|
|
* (T13456) Special:EditPage, Special:PageHistory, Special:PageInfo, and
|
|
|
|
|
|
Special:Purge have been created as shortcuts for each action.
|
|
|
|
|
|
Special:EditPage/Foo redirects to title=foo&action=edit, with PageHistory,
|
|
|
|
|
|
PageInfo, and Purge corresponding to action= history, info, and purge
|
|
|
|
|
|
respectively. When linked to, its subpage is used as the target. Otherwise,
|
|
|
|
|
|
it displays a basic interface to allow the end user to specify the target
|
|
|
|
|
|
manually.
|
2016-06-29 11:02:12 +00:00
|
|
|
|
* (T139221) The generated table of contents is now a navigation landmark role
|
|
|
|
|
|
for assistive technologies.
|
2020-02-22 22:27:59 +00:00
|
|
|
|
* (T245931) interwiki map API doesn't report foreign language if
|
|
|
|
|
|
$wgInterwikiMagic=false
|
2020-03-12 06:21:28 +00:00
|
|
|
|
* The form at ?action=watch has a new dropdown list to support expiry dates for
|
|
|
|
|
|
watchlist items (if $wgWatchlistExpiry is true).
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== New developer features in 1.35 ===
|
2019-11-13 15:34:03 +00:00
|
|
|
|
* A Docker based local development develpoment environment configuration is
|
|
|
|
|
|
included (T238224) and DEVELOPERS.md has been added with usage documentation
|
|
|
|
|
|
and links to further help.
|
2019-10-28 08:51:34 +00:00
|
|
|
|
* If CSP is enabled, extensions can now add additional sources using the
|
|
|
|
|
|
ContentSecurityPolicy::addDefaultSource, ::addStyleSrc and ::addScriptSrc
|
|
|
|
|
|
methods (e.g. $context->getOutput()->getCSP()->addDefaultSrc( 'example.com' ))
|
2019-12-10 12:13:13 +00:00
|
|
|
|
* Extensions can now specify classes and namespaces to be autoloaded by the
|
|
|
|
|
|
test autoloader, by setting the "TestAutoloadNamespaces" and
|
|
|
|
|
|
"TestAutoloadClasses" properties in extension.json. (T196090)
|
2019-12-11 12:23:51 +00:00
|
|
|
|
* Added getters for OutputPage's robot, index and follow policies;
|
|
|
|
|
|
getRobotPolicy() returns the entire policy as a string in the form
|
|
|
|
|
|
<index policy>,<follow policy> while getIndexPolicy() and getFollowPolicy()
|
|
|
|
|
|
return their respective policies as a string.
|
2019-10-31 19:51:16 +00:00
|
|
|
|
* The ResourceLoaderSiteModulePages and ResourceLoaderSiteStylesModulePages
|
|
|
|
|
|
hooks were added to allow changing which wiki pages these modules contain.
|
2020-02-06 09:44:05 +00:00
|
|
|
|
* The SkinFactory now allows skins to be specified as an ObjectFactory spec,
|
|
|
|
|
|
allowing the construction of skins with services injected.
|
2020-01-18 20:25:04 +00:00
|
|
|
|
* ContentHandlerFactory for most ContentHandler static methods. It has been
|
|
|
|
|
|
added to the constructors for many classes to improve SOLID / GRASP.
|
2020-01-26 09:58:06 +00:00
|
|
|
|
* FileDeleteForm's constructor now accepts a user as the second parameter.
|
|
|
|
|
|
Support for not passing a user has also been hard-deprecated and will be
|
|
|
|
|
|
removed in 1.36.
|
2020-02-10 02:20:34 +00:00
|
|
|
|
* The ParserPreSaveTransformComplete hook was added.
|
2020-04-17 03:50:48 +00:00
|
|
|
|
* The ParserBeforePreprocess hook was added.
|
2020-03-03 19:52:54 +00:00
|
|
|
|
* The ResourceLoaderSkinModule class now has a "legacy" feature that loads
|
2020-03-12 21:53:48 +00:00
|
|
|
|
the stylesheets previously part of the "mediawiki.legacy.shared" and
|
|
|
|
|
|
"mediawiki.legacy.commonPrint" module.
|
|
|
|
|
|
Those modules are now deprecated and no longer loaded by skins.
|
|
|
|
|
|
For skins needing to retain these styles, you will need to load these
|
|
|
|
|
|
styles via a module using the ResourceLoaderSkinModule class.
|
|
|
|
|
|
See Vector and Monobook for examples.
|
2020-02-03 09:50:14 +00:00
|
|
|
|
* ParserOutput now has methods addExtraCSPStyleSrc, addExtraCSPDefaultSrc
|
|
|
|
|
|
addExtraCSPScriptSrc for parser tags/functions to be able to add sources
|
|
|
|
|
|
to the Content Security Policy.
|
2019-03-15 00:23:26 +00:00
|
|
|
|
* The HtmlCacheUpdater service was added to unify the logic of purging CDN cache
|
|
|
|
|
|
and HTML file cache to simplify callers and make them more consistent.
|
2020-04-15 19:34:51 +00:00
|
|
|
|
* The MultiHttpClient code will fallover to non-curl if curl_multi* is blocked.
|
2020-04-21 16:52:52 +00:00
|
|
|
|
* Preferences which use HTMLTitlesMultiselectField can make use of
|
|
|
|
|
|
MultiTitleFilter class for saving title text to/from article IDs in user
|
|
|
|
|
|
preferences.
|
2019-05-21 20:26:53 +00:00
|
|
|
|
* OutputPage::addHtmlClasses() was added to allow injecting CSS classes on
|
|
|
|
|
|
to the <html> element on page load.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== External library changes in 1.35 ===
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== New external libraries ====
|
2020-05-09 18:54:04 +00:00
|
|
|
|
* Added doctrine/dbal 2.10.2 (dev-only).
|
2019-12-18 18:45:25 +00:00
|
|
|
|
* Added wikimedia/ip-utils 1.0.0.
|
2020-02-03 22:50:18 +00:00
|
|
|
|
* Added vuejs v2.6.11.
|
2020-02-13 17:03:07 +00:00
|
|
|
|
* Added wikimedia/parsoid 0.12.0.
|
2019-11-07 22:08:32 +00:00
|
|
|
|
* Added taylorhakes/promise-polyfill v8.1.3.
|
2020-03-27 04:19:24 +00:00
|
|
|
|
* Added vuex v3.1.3.
|
2020-05-09 11:54:54 +00:00
|
|
|
|
* Added doctrine/sql-formatter 1.0.0 (dev-only).
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Changed external libraries ====
|
2020-03-12 20:02:28 +00:00
|
|
|
|
* symfony/yaml was upgraded from 3.4.28 to 5.0.5 (dev-only).
|
2020-03-12 18:27:27 +00:00
|
|
|
|
* pear/mail_mime was upgraded from 1.10.2 to 1.10.7.
|
2020-03-11 23:31:17 +00:00
|
|
|
|
* wikimedia/less.php was upgraded from 1.8.0 to 3.0.0.
|
2020-02-24 22:46:11 +00:00
|
|
|
|
* Updated oojs from 3.0.0 to 3.0.1.
|
2020-05-01 20:43:22 +00:00
|
|
|
|
* Updated OOUI from 0.35.1 to 0.38.1.
|
2020-03-08 18:13:48 +00:00
|
|
|
|
* zordius/lightncandy was upgraded from 0.23.0 to 1.2.5.
|
2020-04-11 23:29:42 +00:00
|
|
|
|
* Updated nikic/php-parser from 3.1.5 to 4.4.0 (dev-only).
|
2019-08-26 19:52:30 +00:00
|
|
|
|
* Updated jQuery from v3.3.1 to v3.4.1.
|
2019-08-26 19:54:22 +00:00
|
|
|
|
* Updated jQuery Migrate from v3.0.1 to v3.1.0.
|
2019-11-11 06:10:44 +00:00
|
|
|
|
* Updated jakub-onderka/php-console-highlighter from v0.3.2 to v0.4 (dev-only).
|
2020-02-14 20:29:28 +00:00
|
|
|
|
* Updated wikimedia/assert from 0.2.2 to 0.5.0.
|
2020-04-11 23:28:38 +00:00
|
|
|
|
* Updated psy/psysh from 0.9.9 to 0.10.3 (dev-only).
|
2019-12-09 02:13:10 +00:00
|
|
|
|
* Updated pear/net_smtp from 1.8.1 from to 1.9.0.
|
2020-03-25 00:45:08 +00:00
|
|
|
|
* Updated psr/log from 1.0.2 to 1.1.3.
|
2019-12-09 02:14:40 +00:00
|
|
|
|
* Updated monolog/monolog from 1.24.0 to 1.25.2 (dev-only).
|
2020-01-02 05:19:48 +00:00
|
|
|
|
* Updated jquery.i18n from 1.0.5 to 1.0.7.
|
2020-03-12 15:59:52 +00:00
|
|
|
|
* Upgrade mediawiki-codesniffer from 28.0.0 to 30.0.0 (dev-only).
|
2019-12-08 23:52:32 +00:00
|
|
|
|
* Updated composer/spdx-licenses from 1.5.1 to 1.5.2 (dev-only).
|
2020-04-20 00:09:22 +00:00
|
|
|
|
* Updated guzzlehttp/guzzle from 6.3.3 to 6.5.3.
|
2020-01-10 09:31:08 +00:00
|
|
|
|
* Updated monolog/monolog from 1.25.2 to 1.25.3 (dev-only).
|
2020-01-16 19:12:26 +00:00
|
|
|
|
* Updated wikimedia/xmp-reader from 0.6.3 to 0.7.0.
|
|
|
|
|
|
Fixes error log spam with too-large XMP data, and adds support for GPano tags.
|
2020-05-04 20:47:11 +00:00
|
|
|
|
* Updated qunit from 2.9.1 to 2.10.0 (dev-only).
|
2020-03-09 10:57:18 +00:00
|
|
|
|
* Updated wikimedia/base-convert from v2.0.0 to v2.0.1.
|
2020-03-12 15:59:52 +00:00
|
|
|
|
* Updated composer/semver from 1.5.0 to 1.5.1.
|
2020-04-29 21:29:01 +00:00
|
|
|
|
* Updated wikimedia/remex-html from 2.1.0 to 2.2.0.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
==== Removed external libraries ====
|
2020-01-21 19:20:41 +00:00
|
|
|
|
* phpunit/php-invoker (dev-only).
|
|
|
|
|
|
Removing this unbreaks development on Windows systems, in exchange for losing
|
|
|
|
|
|
time limits in running unit tests.
|
2020-02-22 00:51:07 +00:00
|
|
|
|
* The jquery.getAttrs module was removed.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Bug fixes in 1.35 ===
|
|
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Action API changes in 1.35 ===
|
2019-12-13 17:34:26 +00:00
|
|
|
|
* The 'suggest' parameter of action=opensearch has been deprecated.
|
|
|
|
|
|
The API behaves the same with and without this parameter.
|
|
|
|
|
|
It was previously used by $wgEnableOpenSearchSuggest to partially
|
|
|
|
|
|
disable the API if set to false. Specifically, it would deny internal
|
|
|
|
|
|
frontend requests carrying this parameter, whilst accepting other requests.
|
2019-08-21 19:53:53 +00:00
|
|
|
|
* Integer-type parameters are now validated for syntax rather than being
|
|
|
|
|
|
interpreted in surprising ways. For example, the following will now return a
|
|
|
|
|
|
badinteger error:
|
|
|
|
|
|
* "1.9" (formerly interpreted as "1")
|
|
|
|
|
|
* " 1" (formerly interpreted as "1")
|
|
|
|
|
|
* "1e1" (formerly interpreted as "1" or "10", depending on the PHP version)
|
|
|
|
|
|
* "1foobar" (formerly interpreted as "1")
|
|
|
|
|
|
* "foobar" (formerly intepreted as "0")
|
|
|
|
|
|
parameters. Ranges should be assumed to be enforced.
|
|
|
|
|
|
* Many user-type parameters now accept a user ID, formatted like "#12345".
|
2020-02-15 00:52:12 +00:00
|
|
|
|
* The 'assert' parameter used by all API modules now supports the value 'anon'.
|
|
|
|
|
|
When specified, the API will return the 'assertanonfailed' error if the user
|
|
|
|
|
|
is logged in.
|
2020-03-05 21:23:07 +00:00
|
|
|
|
* action=edit now supports the 'baserevid' parameter for edit conflict
|
|
|
|
|
|
detection, as an alternative to 'basetimestamp'. Note that self-conflicts
|
|
|
|
|
|
will continue to be ignored if 'basetimestamp' is set, but not if only
|
|
|
|
|
|
'baserevid' is set.
|
2020-03-13 02:54:44 +00:00
|
|
|
|
* A new module was added to change the content model of existing pages.
|
|
|
|
|
|
Use action=changecontentmodel. Unlike Special:ChangeContentModel, the api
|
|
|
|
|
|
module does not work for pages that do not already exist.
|
2020-03-26 05:53:50 +00:00
|
|
|
|
* If $wgWatchlistExpiry is true, the following API changes are made:
|
|
|
|
|
|
* action=watch accepts a new 'expiry' parameter analagous to the expiry
|
|
|
|
|
|
accepted by action=userrights, action=block, etc.
|
|
|
|
|
|
* action=query&list=watchlistraw returns pages' watchlist expiry dates.
|
2020-04-06 21:24:42 +00:00
|
|
|
|
* (T249526) action=login will now return Failed rather than NeedToken on
|
|
|
|
|
|
session loss.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Action API internal changes in 1.35 ===
|
2019-08-21 19:53:53 +00:00
|
|
|
|
* The Action API now uses the Wikimedia\ParamValidator library for parameter
|
|
|
|
|
|
validation, which brings some new features and changes. For the most part
|
|
|
|
|
|
existing module code should work as it did before, but see subsequent notes
|
|
|
|
|
|
for changes.
|
|
|
|
|
|
* The values for all ApiBase PARAM_* constants have changed. Code should have
|
|
|
|
|
|
been using the constants rather than hard-coding the values.
|
|
|
|
|
|
* Several ApiBase PARAM_* constants have been deprecated, see the in-class
|
|
|
|
|
|
documentation for details. Use the equivalent ParamValidator constants
|
|
|
|
|
|
instead.
|
|
|
|
|
|
* The value returned for 'upload'-type parameters has changed from
|
|
|
|
|
|
WebRequestUpload to Psr\Http\Message\UploadedFileInterface.
|
|
|
|
|
|
* Validation of 'user'-type parameters is more flexible. PARAM constants exist
|
|
|
|
|
|
to specify the type of "user" allowed and to request UserIdentity objects
|
|
|
|
|
|
rather than name strings. The default is to accept all types (name, IP,
|
|
|
|
|
|
range, and interwiki) that were formerly accepted.
|
|
|
|
|
|
* Maximum limits are no longer ignored in "internal mode".
|
|
|
|
|
|
* The $paramName to ApiBase::handleParamNormalization() should now include the
|
|
|
|
|
|
prefix.
|
2020-02-22 22:27:59 +00:00
|
|
|
|
* (T245931) meta=siteinfo&siprop=interwikimap no longer reports language or
|
|
|
|
|
|
extralanglink when $wgInterwikiMagic is false.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Languages updated in 1.35 ===
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
2020-02-21 13:08:22 +00:00
|
|
|
|
* The default targets for the ISBN search from Special:BookSources in English
|
|
|
|
|
|
have been updated for better international suppport. They will now be
|
|
|
|
|
|
BetterWorldBooks.com, OpenLibrary.org and Worldcat.org.
|
2020-04-29 07:53:14 +00:00
|
|
|
|
* (T237672) Changed the Moroccan Arabic language (ary) to the Arabic script.
|
|
|
|
|
|
* (T201269) Added language support for Amis (ami).
|
2020-03-25 13:26:47 +00:00
|
|
|
|
* (T248299) Added language support for Inari Sami (smn).
|
2020-04-29 07:36:57 +00:00
|
|
|
|
* (T251369) Added language support for Ladin (lld).
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
=== Breaking changes in 1.35 ===
|
2020-02-24 17:54:08 +00:00
|
|
|
|
* MediaWiki now requires PHP 7.2.22 or above, to avoid segfaults (T228346).
|
2019-10-01 10:11:27 +00:00
|
|
|
|
* ResourceLoader::getLessVars(), deprecated in 1.32, was removed.
|
|
|
|
|
|
Use ResourceLoaderModule::getLessVars() instead.
|
2019-10-27 00:29:00 +00:00
|
|
|
|
* The jquery.tabIndex module, deprecated in 1.34, has been removed.
|
2019-10-08 03:47:39 +00:00
|
|
|
|
* The mediawiki.RegExp module alias, deprecated in 1.34, was removed.
|
|
|
|
|
|
Use the mediawiki.util module instead.
|
2019-10-11 01:00:56 +00:00
|
|
|
|
* The easy-deflate.inflate module, unused since 1.32, was removed.
|
2019-11-08 17:39:46 +00:00
|
|
|
|
* The easy-deflate.deflate module was removed. Use the mediawiki.deflate
|
|
|
|
|
|
module instead.
|
2019-12-09 22:08:25 +00:00
|
|
|
|
* (T219604) The "jquery.ui.*" and "jquery.effects.*" module aliases,
|
|
|
|
|
|
deprecated in 1.34, have been removed. Use "jquery.ui" instead.
|
2020-04-04 03:45:06 +00:00
|
|
|
|
* (T235457) The "user.tokens" module has been removed.
|
|
|
|
|
|
Use "user.options" instead.
|
2019-10-08 18:30:42 +00:00
|
|
|
|
* The internal variable $constructorOptions for the Parser & SpecialPageFactory,
|
|
|
|
|
|
exposed only for integration purposes, are now each replaced by a const called
|
|
|
|
|
|
CONSTRUCTOR_OPTIONS. This was a breaking change made without deprecation.
|
2019-10-08 21:37:04 +00:00
|
|
|
|
* ObjectCache::getWANInstance, deprecated in 1.34, was removed.
|
|
|
|
|
|
Use MediaWikiServices::getMainWANObjectCache instead.
|
2019-10-27 00:33:50 +00:00
|
|
|
|
* ObjectCache::newWANCacheFromParams, deprecated in 1.34, was removed.
|
2019-10-08 21:37:04 +00:00
|
|
|
|
Construct WANObjectCache directly instead, or use MediaWikiServices.
|
2019-10-22 15:35:54 +00:00
|
|
|
|
* (T231366) The ProfilerOutputDb class and profileinfo.php entry point,
|
|
|
|
|
|
deprecated in 1.34, was removed.
|
2020-03-04 16:06:37 +00:00
|
|
|
|
* SiteConfiguration->localVHosts, deprecated in 1.25, was removed.
|
|
|
|
|
|
Use $wgLocalVirtualHosts instead.
|
Remove $wgContLanguageCode
Prior to 2004, the site language was configured via $wgContLanguageCode,
derived from that were $wgContLang (object). $wgLanguageCode was just a
cached copy of $wgUser->getOption('language').
In 2004 (r5492, 5537c5b85e, MW 1.3), $wgContLanguageCode ceased to be
supported as a configuration variable. Instead, the site language would
now be configured via $wgLanguageCode instead and the confusion started.
Its value was copied to $wgContLanguageCode for back-compat, and also
because $wgLanguageCode was still also used to store
User::getOption('language') right after initialising $wgContLang.
Sometime between 2004 and 2006, $wgLanguageCode was relieved of this
secondary purpose, as documented in r5492 (5537c5b85, MW 1.8), leaving it
as just a configuration variable for the site language.
Use of $wgContLanguageCode has been removed from Codesearch-indexed repos,
including third-party repos on GitHub.
Bug: T247674
Bug: T189966
Change-Id: Ic91f500d48d772360bf10323a2ed0733c0ea890d
2020-03-14 19:47:48 +00:00
|
|
|
|
* The $wgContLanguageCode read-only variable was removed.
|
|
|
|
|
|
It has been a non-configurable copy of $wgLanguageCode since MW 1.8 (2006).
|
|
|
|
|
|
Use $wgLanguageCode directly instead.
|
2019-10-16 19:22:47 +00:00
|
|
|
|
* ApiQueryUserInfo::getBlockInfo, deprecated in 1.34, was removed. Use
|
|
|
|
|
|
ApiBlockInfoTrait::getBlockDetails instead.
|
2019-10-27 07:13:03 +00:00
|
|
|
|
* Password::equals(), deprecated in 1.33, was removed. Use Password::verify().
|
2019-10-27 10:11:28 +00:00
|
|
|
|
* QuickTemplate::setRef(), deprecated in 1.31, was removed. Use set().
|
2019-10-20 04:55:37 +00:00
|
|
|
|
* The mediawiki.ui.text module, deprecated in 1.28 and unused, was removed.
|
2019-10-20 00:04:00 +00:00
|
|
|
|
* AbstractBlock::mReason, deprecated in 1.34, is no longer public.
|
2020-03-05 19:29:24 +00:00
|
|
|
|
* The GetBlockedStatus and UserIsHidden, deprecated in 1.34, has been removed.
|
|
|
|
|
|
Instead, use the GetUserBlock hook.
|
2020-03-31 15:44:04 +00:00
|
|
|
|
* A large number of Parser-related methods and properties were removed or
|
|
|
|
|
|
made private.
|
2020-01-30 18:36:13 +00:00
|
|
|
|
- disableCache(), deprecated in 1.28.
|
|
|
|
|
|
- serializeHalfParsedText() and the helpers unserializeHalfParsedText(),
|
|
|
|
|
|
isValidHalfParsedText(), and StripState::getSubState() and
|
|
|
|
|
|
StripState::merge(), all deprecated in 1.31. The helper functions
|
|
|
|
|
|
LinkHolderArray::mergeForeign() and LinkHolderArray::getSubArray()
|
|
|
|
|
|
were also removed.
|
|
|
|
|
|
- getConverterLanguage(), deprecated in 1.32. Use getTargetLanguage() instead.
|
|
|
|
|
|
- A large set of methods exposed only for historical reasons, deprecated in
|
|
|
|
|
|
1.34, have now been removed or made private:
|
|
|
|
|
|
- areSubpagesAllowed()
|
|
|
|
|
|
- armorLinks()
|
|
|
|
|
|
- createAssocArgs()
|
|
|
|
|
|
- doAllQuotes()
|
|
|
|
|
|
- doDoubleUnderscore()
|
|
|
|
|
|
- doHeadings()
|
|
|
|
|
|
- doMagicLinks()
|
|
|
|
|
|
- formatHeadings()
|
|
|
|
|
|
- getImageParams()
|
|
|
|
|
|
- getVariableValue()
|
|
|
|
|
|
- initialiseVariables()
|
|
|
|
|
|
- makeKnownLinkHolder()
|
|
|
|
|
|
- maybeDoSubpageLink()
|
|
|
|
|
|
- parseLinkParameter()
|
|
|
|
|
|
- replaceExternalLinks()
|
|
|
|
|
|
- replaceInternalLinks()
|
|
|
|
|
|
- replaceInternalLinks2()
|
|
|
|
|
|
- replaceLinkHoldersText().
|
|
|
|
|
|
- splitWhitespace()
|
|
|
|
|
|
- stripAltText()
|
|
|
|
|
|
- testPreprocess()
|
|
|
|
|
|
- testPst()
|
|
|
|
|
|
- testSrvus()
|
|
|
|
|
|
- incrementIncludeSize(), setTransparentTagHook(), replaceTransparentTags(),
|
|
|
|
|
|
and $mTransparentTagHooks have been removed without deprecation.
|
2020-03-30 17:37:25 +00:00
|
|
|
|
- The following constants have been made private without deprecation:
|
|
|
|
|
|
- ::EXT_LINK_ADDR
|
|
|
|
|
|
- ::EXT_IMAGE_REGEX
|
|
|
|
|
|
- ::SPACE_NOT_NL
|
2020-03-31 15:44:04 +00:00
|
|
|
|
- The following properties have been removed without deprecation:
|
|
|
|
|
|
- ::$mDefaultStripList
|
|
|
|
|
|
- ::$mIncludeCount
|
|
|
|
|
|
- ::$mRevIdForTs
|
|
|
|
|
|
- The following properties have been made private without deprecation:
|
|
|
|
|
|
- ::$mFunctionSynonyms
|
|
|
|
|
|
- ::$mFunctionTagHooks
|
|
|
|
|
|
- ::$mStripList
|
|
|
|
|
|
- ::$mVarCache
|
|
|
|
|
|
- ::$mImageParams
|
|
|
|
|
|
- ::$mImageParamsMagicArray
|
|
|
|
|
|
- ::$mSubstWords
|
2020-04-16 22:45:56 +00:00
|
|
|
|
- ::$mVariables
|
2020-03-31 15:44:04 +00:00
|
|
|
|
- ::$mConf (deprecated in 1.34)
|
|
|
|
|
|
- ::$mExtLinkBracketedRegex
|
|
|
|
|
|
- ::$mUrlProtocols
|
|
|
|
|
|
- ::$mAutonumber
|
|
|
|
|
|
- ::$mLinkHolders
|
|
|
|
|
|
- ::$mDefaultSort
|
|
|
|
|
|
- ::$mTplRedirCache
|
|
|
|
|
|
- ::$mForceTocPosition
|
|
|
|
|
|
- ::$mTplDomCache
|
|
|
|
|
|
- ::$mOutputType
|
|
|
|
|
|
- ::$mLangLinkLanguages
|
|
|
|
|
|
- ::$currentRevisionCache
|
|
|
|
|
|
- ::$mProfiler
|
|
|
|
|
|
- ::$mLinkRenderer
|
2020-01-30 18:36:13 +00:00
|
|
|
|
* Parser::getTitle() will now throw a TypeError if $mTitle is uninitialized.
|
|
|
|
|
|
This use pattern was deprecated in 1.34.
|
2019-10-09 22:36:14 +00:00
|
|
|
|
* MediaWikiTestCase::prepareServices(), deprecated in 1.32, has been removed
|
2019-10-29 23:30:32 +00:00
|
|
|
|
* The method ContentHandler::getSlotDiffRendererInternal is replaced with
|
|
|
|
|
|
ContentHandler::getSlotDiffRendererWithOptions. This breaks consumers which
|
|
|
|
|
|
call parent::getSlotDiffRendererInternal (no instances of which are known).
|
2019-11-18 19:51:57 +00:00
|
|
|
|
* TextContent::getHighlightHtml, deprecated since 1.24, has been removed. Use
|
|
|
|
|
|
TextContent::getHtml instead.
|
2019-10-19 19:38:17 +00:00
|
|
|
|
* ExtensionRegistry::load(), deprecated in 1.34, was removed.
|
|
|
|
|
|
Use ::queue() instead.
|
2019-12-30 05:05:55 +00:00
|
|
|
|
* MWMessagePack class, deprecated in 1.34, was removed.
|
2020-04-18 17:45:23 +00:00
|
|
|
|
* The cdb.php maintenance script was removed.
|
|
|
|
|
|
Use the 'cdb' command from the wikimedia/cdb library instead.
|
2020-01-02 00:21:57 +00:00
|
|
|
|
* User::addNewUserLogEntryAutoCreate, deprecated in 1.27, was removed.
|
2020-01-02 23:50:53 +00:00
|
|
|
|
* FileBasedSiteLookup class, deprecated in 1.33, was removed.
|
2020-01-05 22:18:33 +00:00
|
|
|
|
* The wfGlobalCacheKey global function, deprecated in 1.30, was removed.
|
2019-05-22 16:34:43 +00:00
|
|
|
|
* The APCBagOStuff class was removed. MediaWiki requires PHP 7.2+ (support
|
|
|
|
|
|
for HHVM was dropped) and these versions of PHP only support apcu. The default
|
|
|
|
|
|
"apc" entry in $wgObjectCaches now refers to APCUBagOStuff.
|
2020-03-08 01:40:12 +00:00
|
|
|
|
* Database::bufferResults(), deprecated in 1.34, has been removed.
|
2020-01-09 21:22:48 +00:00
|
|
|
|
* CannotReplaceActiveServiceException, ContainerDisabledException,
|
|
|
|
|
|
DestructibleService, NoSuchServiceException, SalvageableService,
|
|
|
|
|
|
ServiceAlreadyDefinedException, ServiceContainer and ServiceDisabledException
|
|
|
|
|
|
in the global namespace, deprecated in 1.33, were removed. Use the classes in
|
|
|
|
|
|
the MediaWiki\\Services namespace instead.
|
2020-03-08 12:54:27 +00:00
|
|
|
|
* The following methods in the Interwiki class were removed: ::fetch(),
|
|
|
|
|
|
::isValidInterwiki(), ::invalidateCache(), and ::getAllPrefixes().
|
2020-01-17 15:56:01 +00:00
|
|
|
|
* The UsersMultiselectWidget config 'allowArbitrary' is now false by default. To
|
|
|
|
|
|
accept arbitrary entries, pass in true for this config.
|
2020-01-15 19:03:33 +00:00
|
|
|
|
* OutputPage::parse() and OutputPage::parseInline(), deprecated in 1.32, have
|
|
|
|
|
|
been removed. Use ::parseAsContent() or ::parseAsInterface(), as
|
|
|
|
|
|
appropriate.
|
2020-01-09 22:17:51 +00:00
|
|
|
|
* ContentHandler::makeParserOptions(), deprecated in 1.32, was removed. Use
|
|
|
|
|
|
WikiPage::makeParserOptions() or ParserOptions::newCanonical() instead.
|
2020-03-08 13:07:39 +00:00
|
|
|
|
* WikiPage::selectFields, deprecated in 1.31, was removed. Use ::getQueryInfo.
|
2020-01-09 22:30:21 +00:00
|
|
|
|
* The remaining static methods for MagicWord, deprecated in 1.32, were removed.
|
|
|
|
|
|
These were MagicWord::get(), ::getSubstIDs(), ::getDoubleUnderscoreArray(),
|
|
|
|
|
|
::getVariableIDs(), and ::getCacheTTL(). Instead, use MagicWordFactory (via
|
|
|
|
|
|
MediaWikiServices).
|
2020-01-08 19:19:22 +00:00
|
|
|
|
* ApiBase::checkTitleUserPermissions no longer accepts a User as the third
|
|
|
|
|
|
parameter. Passing a user was deprecated in 1.33.
|
2020-01-24 20:51:16 +00:00
|
|
|
|
* Sanitizer::setupAttributeWhitelist() and Sanitizer::attributeWhitelist(),
|
|
|
|
|
|
deprecated in 1.34, have been removed. They should not have been public.
|
2020-01-23 08:29:54 +00:00
|
|
|
|
* The ParserAfterUnstrip hook was removed without deprecation.
|
Remove Preprocessor_DOM, deprecated in 1.34
Remove the deprecated Preprocessor_DOM class, which was hard-deprecated
in 1.34. This begins to simplify parser configuration and reduce redundant
code paths, but I've left two things for cleanup in a future patch:
1. The `preprocessorClass` configuration option to the parser, exposed
in `$wgParserConf`, ServiceWiring, ParserFactory, etc. There is no reason
for this to be exposed as configurable, but I've left this clean up to a
future patch.
2. The `$wgMaxGeneratedPPNodeCount` configuration, exposed also in
ParserOptions. Only Preprocessor_DOM calculated this count, and since
we are only using Preprocessor_Hash now, this configuration has no effect.
But since this value was exposed in ParserOptions and elsewhere, I've
deprecated where needed but left this clean up to a future patch.
Bug: T204945
Change-Id: I727f003f9a42d0c92bcbcce8a8289d5af6cd1298
2020-01-24 21:23:46 +00:00
|
|
|
|
* Preprocessor_DOM and related classes, deprecated in 1.34, have been removed.
|
2020-01-24 22:45:08 +00:00
|
|
|
|
* ParserOptions::getMaxGeneratedPPNodeCount() and ::setMaxGeneratedPPNodeCount()
|
|
|
|
|
|
have been removed without deprecation.
|
2020-02-04 10:14:23 +00:00
|
|
|
|
* The support for old signature for ParserFactory::__construct was deprecated in
|
|
|
|
|
|
1.34 and now has been removed.
|
2020-02-06 19:51:52 +00:00
|
|
|
|
* SpecialRecentChanges::filterByCategories(), deprecated in 1.31, was removed.
|
|
|
|
|
|
* The `ArticleContentViewCustom` hook, deprecated in 1.32, was removed.
|
2020-02-13 05:07:32 +00:00
|
|
|
|
* AuthManager::callLegacyAuthPlugin, deprecated in 1.33, was removed.
|
2020-02-14 19:09:14 +00:00
|
|
|
|
* wfGetMessageCacheStorage was removed without deprecation.
|
2020-02-18 03:19:47 +00:00
|
|
|
|
* Title::moveSubpages, deprecated in 1.34, was removed. Use the MovePage class
|
|
|
|
|
|
and MovePage::moveSubpages instead.
|
2020-02-19 05:30:03 +00:00
|
|
|
|
* Article::doEditContent, deprecated in 1.29, was removed. Instead, use
|
|
|
|
|
|
WikiPage::doEditContent.
|
2020-02-13 05:29:57 +00:00
|
|
|
|
* CommentStore::newKey, deprecated in 1.31, was removed.
|
2020-02-18 21:45:04 +00:00
|
|
|
|
* Title::isValidMoveOperation, ::moveTo, and ::isValidMoveTarget, deprecated
|
|
|
|
|
|
in 1.25, were removed. Use the MovePage class and its methods instead.
|
2020-03-03 13:20:36 +00:00
|
|
|
|
* Title::getUserCaseDBKey(), deprecated in 1.33, was removed. Use ::getDBkey().
|
2020-02-03 09:58:16 +00:00
|
|
|
|
* StringUtils::explodeMarkup() was removed without deprecation.
|
2020-03-04 07:44:52 +00:00
|
|
|
|
* AjaxResponse methods that were unused have been removed without deprecation:
|
|
|
|
|
|
- checkLastModified
|
|
|
|
|
|
- loadFromMemcached
|
|
|
|
|
|
- storeInMemcached
|
|
|
|
|
|
- setCacheDuration
|
|
|
|
|
|
- setVary
|
2020-03-17 16:56:06 +00:00
|
|
|
|
* ApiDelete::delete and ::deleteFile, both of which were protected methods,
|
|
|
|
|
|
have been made private to allow a signature change.
|
2020-04-10 06:19:09 +00:00
|
|
|
|
* HistoryPager::revLink, ::curLink, ::lastLink, and ::diffButtons, which had
|
|
|
|
|
|
no visibilities defined, have been made private to allow signature changes.
|
2020-04-18 20:08:16 +00:00
|
|
|
|
* SpecialNewpages::revisionFromRcResult, which previously was protected, has
|
|
|
|
|
|
been made private to allow a signature change.
|
2020-04-07 23:59:17 +00:00
|
|
|
|
* WikiPage::setLastEdit, which was previously protected, has been made
|
|
|
|
|
|
private to allow a signature change.
|
2020-02-29 16:27:20 +00:00
|
|
|
|
* Skin::getSkinNameMessages() deprecated in 1.34, has been removed.
|
2020-02-29 16:38:19 +00:00
|
|
|
|
* Skin::escapeSearchLink() deprecated in 1.34, has been removed, use
|
|
|
|
|
|
Skin::getSearchLink() instead.
|
2020-03-03 15:00:47 +00:00
|
|
|
|
* Revision::loadFromId and RevisionStore::loadRevisionFromId have been
|
|
|
|
|
|
removed.
|
2020-03-08 13:22:13 +00:00
|
|
|
|
* OutputPage::parserOptions doesn't accept an $options parameter anymore.
|
2020-03-13 03:07:52 +00:00
|
|
|
|
* MessageCache::getParserOptions previously did not have a visibility set.
|
|
|
|
|
|
It has been made private.
|
2020-04-21 23:01:17 +00:00
|
|
|
|
* SpecialUndelete::showDiff previously did not have a visibilty set. It
|
|
|
|
|
|
hav been made private to allow a signature change.
|
2020-03-12 21:53:48 +00:00
|
|
|
|
* The Skin no longer loads the "mediawiki.legacy.shared" or
|
|
|
|
|
|
"mediawiki.legacy.commonPrint" modules. The legacy shared styles must now
|
|
|
|
|
|
be loaded by the skin explicitly, either inherited via the
|
|
|
|
|
|
"mediawiki.skinning.*" modules, or by making your skin's main styles
|
2020-03-03 19:52:54 +00:00
|
|
|
|
module use the ResourceLoaderSkinModule class with the "legacy" attribute.
|
|
|
|
|
|
See Vector and Monobook for examples.
|
2020-03-08 17:17:46 +00:00
|
|
|
|
* Passing an ApiMain to the constructor of ApiResult is no longer supported.
|
|
|
|
|
|
This was deprecated in 1.25.
|
2020-03-08 13:33:28 +00:00
|
|
|
|
* The ArticleAfterFetchContentObject hook, deprecated in 1.32, was removed.
|
|
|
|
|
|
Use ArticleRevisionViewCustom to control output.
|
2020-04-15 12:41:24 +00:00
|
|
|
|
* DatabaseBlock::isValid, deprecated in 1.33, was removed.
|
2020-03-05 00:05:56 +00:00
|
|
|
|
* HTMLUserTextField and HTMLUsersMultiselectField previously implied
|
|
|
|
|
|
required=true when exists=true. Form fields that use exists=true should also
|
|
|
|
|
|
set required=true if they are required.
|
2020-03-26 20:10:34 +00:00
|
|
|
|
* Parser::getDefaultPreprocessorClass(), deprecated in 1.34, has been removed.
|
2020-04-07 11:39:25 +00:00
|
|
|
|
* In DatabaseUpdater, the following methods are no longer public: dropTable(),
|
|
|
|
|
|
modifyTable(), modifyField(), runMaintenance(), copyFile(), appendLine().
|
|
|
|
|
|
In PostgresUpdater, the following methods are no longer public:
|
|
|
|
|
|
addPgEnumValue(), addPgIndex(), addPgExtIndex(). This change was made without
|
|
|
|
|
|
deprecation due to immediate danger of data corruption and loss, see T157651.
|
|
|
|
|
|
Extensions should instead use dropExtensionTable(),
|
|
|
|
|
|
modifyExtensionExtensionTable(), modifyExtensionField(), addExtensionUpdate().
|
|
|
|
|
|
The addExtensionUpdate() method can still be used to access any of the
|
|
|
|
|
|
protected methods on DatabaseUpdater.
|
2020-04-28 18:33:44 +00:00
|
|
|
|
* ResourceLoader no longer provides the (always-true) variables for wgEnableAPI
|
|
|
|
|
|
and wgEnableWriteAPI; they were deprecated in MediaWiki 1.31 and removed from
|
|
|
|
|
|
the PHP environment in MediaWiki 1.32.
|
2020-05-01 16:55:04 +00:00
|
|
|
|
* The wfSetupSession global function, deprecated in 1.27, was removed. Use the
|
|
|
|
|
|
persist() method of the right MediaWiki\Session\SessionManager object instead.
|
2020-05-01 16:55:53 +00:00
|
|
|
|
* The wfIsHHVM global function, deprecated in 1.34, was removed.
|
2020-04-01 20:51:09 +00:00
|
|
|
|
* GenderCache::doTitlesArray no longer accepts string values in its $titles
|
|
|
|
|
|
array parameter. Use Title objects (or other LinkTarget) instead.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
2019-10-19 19:38:17 +00:00
|
|
|
|
|
2019-09-30 17:19:58 +00:00
|
|
|
|
=== Deprecations in 1.35 ===
|
2018-04-13 14:48:55 +00:00
|
|
|
|
* The PHPUnit4And6Compat class, used to provide compatibility with PHPUnit 4, is
|
|
|
|
|
|
now deprecated. MediaWiki support for PHPUnit 4 ended with the removal of HHVM
|
|
|
|
|
|
support.
|
2019-10-30 22:10:31 +00:00
|
|
|
|
* Revision::getRevisionText(), deprecated in 1.32, now emits deprecation alerts.
|
2019-10-24 09:17:21 +00:00
|
|
|
|
* LockManagerGroup::getDefault() and LockManagerGroup::getAny() are deprecated.
|
|
|
|
|
|
They seem to be unused. Just use get() directly, and catch any exception.
|
2019-09-20 15:03:48 +00:00
|
|
|
|
* AbstractBlock::getPermissionsError and AbstractBlock::getBlockErrorParams are
|
|
|
|
|
|
deprecated. Use BlockErrorFormatter::getMessage instead.
|
2019-12-18 18:45:25 +00:00
|
|
|
|
* The IP class is deprecated. Please instead use the Wikimedia\IPUtils class
|
|
|
|
|
|
from the new wikimedia/ip-utils library instead. Additionally, the RE_IP_*
|
|
|
|
|
|
constants are also deprecated. RE_IP_BYTE can be replaced with a class
|
|
|
|
|
|
constant on the IPUtils class, while the others will eventually be made
|
|
|
|
|
|
private.
|
2019-08-22 15:39:26 +00:00
|
|
|
|
* The following Language methods are deprecated: getFallbackFor,
|
|
|
|
|
|
getFallbacksFor, getFallbacksIncludingSiteLanguage. Use the corresponding new
|
|
|
|
|
|
methods on the LanguageFallback class: getFirst, getAll, and
|
|
|
|
|
|
getAllIncludingSiteLanguage.
|
2019-10-23 13:34:53 +00:00
|
|
|
|
* FileJournal::factory is deprecated. Use the constructor directly instead.
|
2019-09-05 21:25:33 +00:00
|
|
|
|
* AbstractBlock methods setBlocker(), getBlocker() are deprecated and will
|
|
|
|
|
|
become internal implementation of DatabaseBlock.
|
2019-10-16 20:10:58 +00:00
|
|
|
|
* Title::countRevisionsBetween has been deprecated and moved into RevisionStore.
|
2019-08-13 08:52:13 +00:00
|
|
|
|
* FileBackendGroup::singleton() is deprecated. Use MediaWikiServices instead.
|
|
|
|
|
|
* FileBackendGroup::destroySingleton() is deprecated. Test frameworks should
|
|
|
|
|
|
instead reset MediaWikiServices between test runs.
|
|
|
|
|
|
(MediaWikiIntegrationTestCase does this automatically.)
|
2020-03-31 17:10:00 +00:00
|
|
|
|
* GenderCache::singleton(), deprecated in 1.28, is hard deprecated. Use
|
|
|
|
|
|
MediaWikiServices::getGenderCache() instead.
|
2019-09-02 16:13:08 +00:00
|
|
|
|
* MediaWikiIntegrationTest::setContentLang() has been deprecated. Use
|
|
|
|
|
|
setMwGlobals( 'wgLanguageCode', 'xxx' ) to set a different site language
|
|
|
|
|
|
code, or setService( 'ContentLanguage', $myObj ) to set a specific Language
|
|
|
|
|
|
object. Service resets and $wgContLang will be handled automatically.
|
2020-01-15 23:02:56 +00:00
|
|
|
|
* MediaWikiIntegrationTest::assertType() has been deprecated, as part of the
|
|
|
|
|
|
work to move to PHPUnit 8; PHPUnit's assertInternalType() was deprecated, and
|
|
|
|
|
|
will be removed in PHPUnit 9. MediaWikiIntegrationTest::assertTypeOrValue(),
|
|
|
|
|
|
a wrapper for assertType(), has been removed immediately, without deprecation.
|
2019-10-20 00:04:00 +00:00
|
|
|
|
* AbstractBlock::getReason is deprecated, since reasons are actually stored as
|
|
|
|
|
|
CommentStoreComments, and getReason returns a string with no caller control
|
|
|
|
|
|
over language or formatting. Instead use AbstractBlock::getReasonComment,
|
|
|
|
|
|
which returns the CommentStoreComment.
|
2019-10-03 18:07:33 +00:00
|
|
|
|
* The global function wfGetRusage() is deprecated and will now always call the
|
|
|
|
|
|
getrusage() function without checking for its existence.
|
2019-09-18 19:49:11 +00:00
|
|
|
|
* The properties User::mBlock, User::mBlockedby and User::mHideName are
|
|
|
|
|
|
deprecated. Instead, use User::getBlock to get the block, then use
|
|
|
|
|
|
AbstractBlock::getByName or AbstractBlock::getHideName.Use the GetUserBlock
|
|
|
|
|
|
hook to set, unset or modify a block, including hiding or unhiding a user.
|
2018-08-07 13:17:16 +00:00
|
|
|
|
* Language::factory() and Language::getParentLanguage() are deprecated, and so
|
|
|
|
|
|
is directly calling the Language constructor. Use the new LanguageFactory
|
|
|
|
|
|
class instead.
|
|
|
|
|
|
* Language::classFromCode() is deprecated. There is no reason it should be used
|
|
|
|
|
|
outside the Language class itself.
|
2019-10-29 11:46:27 +00:00
|
|
|
|
* Language::clearCaches() is deprecated. Instead, reset all services and set
|
|
|
|
|
|
Language::$mLangObjCache = [].
|
2020-02-05 12:20:15 +00:00
|
|
|
|
* The following functions from Language class are deprecated in favour of
|
|
|
|
|
|
respective functions in LanguageConverter:
|
|
|
|
|
|
- autoConvert
|
|
|
|
|
|
- autoConvertToAllVariants
|
|
|
|
|
|
- convert
|
|
|
|
|
|
- convertTitle
|
|
|
|
|
|
- convertNamespace
|
|
|
|
|
|
- hasVariants
|
|
|
|
|
|
- hasVariant
|
|
|
|
|
|
- convertHtml
|
|
|
|
|
|
- convertCategoryKey
|
|
|
|
|
|
- getVariants
|
|
|
|
|
|
- getPreferredVariant
|
|
|
|
|
|
- getURLVariant
|
|
|
|
|
|
- findVariantLink
|
|
|
|
|
|
- getExtraHashOptions
|
|
|
|
|
|
- updateConversionTable
|
|
|
|
|
|
* Language::classFromCode() is hard deprecated and should be removed in 1.36
|
|
|
|
|
|
* Language::getConverter() is deprecated and should be removed in 1.36
|
|
|
|
|
|
* Language::MESSAGES_FALLBACKS, Language::STRICT_FALLBACKS were deprecated.
|
|
|
|
|
|
Use LanguageFallback::MESSAGES and LanguageFallback::STRICT respectively
|
2019-10-28 18:05:35 +00:00
|
|
|
|
* Language::$mLangObjCache is deprecated and should be removed in 1.36. Use
|
2018-08-07 13:17:16 +00:00
|
|
|
|
MediaWikiServices instead to get a LanguageFactory.
|
2019-10-28 18:05:35 +00:00
|
|
|
|
* Language::getMessagesFor(), getMessageFor(), and getMessageKeysFor() are
|
|
|
|
|
|
deprecated. Use LocalisationCache's getItem(), getSubitem(), and
|
|
|
|
|
|
getSubitemList() methods directly.
|
2019-10-28 05:01:17 +00:00
|
|
|
|
* OutputPage::getCSPNonce() is deprecated, use OutputPage::getCSP()->getNonce()
|
|
|
|
|
|
instead.
|
2019-10-20 11:19:12 +00:00
|
|
|
|
* Skin::makeI18nUrl() and makeNSUrl() have been deprecated, no longer used.
|
2020-04-08 02:36:23 +00:00
|
|
|
|
* Title::countAuthorsBetween and Title::getAuthorsBetween were hard deprecated.
|
2019-10-24 19:08:33 +00:00
|
|
|
|
Use respective methods in RevisionStore instead.
|
2019-11-18 21:16:27 +00:00
|
|
|
|
* Remove deprecated SkinCopyrightFooter &$forContent parameter
|
2019-12-05 08:13:17 +00:00
|
|
|
|
* The following Language class static variables have been replaced with
|
|
|
|
|
|
constants and deprecated: $mWeekdayMsgs, $mWeekdayAbbrevMsgs, $mMonthMsgs,
|
|
|
|
|
|
$mMonthGenMsgs, $mMonthAbbrevMsgs, $mIranianCalendarMonthMsgs,
|
|
|
|
|
|
$mHebrewCalendarMonthMsgs, $mHebrewCalendarMonthGenMsgs,
|
|
|
|
|
|
$mHijriCalendarMonthMsgs and $durationIntervals.
|
2019-11-25 02:56:17 +00:00
|
|
|
|
* As part of dropping security support for IE 6 and IE 7,
|
|
|
|
|
|
WebRequest::checkUrlExtension() has been deprecated, and now always returns
|
|
|
|
|
|
true.
|
2019-08-21 19:53:53 +00:00
|
|
|
|
* The following ApiBase::PARAM_* constants have been deprecated in favor of
|
|
|
|
|
|
equivalent ParamValidator constants: PARAM_DFLT, PARAM_ISMULTI, PARAM_TYPE,
|
|
|
|
|
|
PARAM_MAX, PARAM_MAX2, PARAM_MIN, PARAM_ALLOW_DUPLICATES, PARAM_DEPRECATED,
|
|
|
|
|
|
PARAM_REQUIRED, PARAM_SUBMODULE_MAP, PARAM_SUBMODULE_PARAM_PREFIX, PARAM_ALL,
|
|
|
|
|
|
PARAM_EXTRA_NAMESPACES, PARAM_SENSITIVE, PARAM_DEPRECATED_VALUES,
|
|
|
|
|
|
PARAM_ISMULTI_LIMIT1, PARAM_ISMULTI_LIMIT2, PARAM_MAX_BYTES, PARAM_MAX_CHARS.
|
|
|
|
|
|
* ApiBase::explodeMultiValue() is deprecated. Use
|
|
|
|
|
|
ParamValidator::explodeMultiValue() instead.
|
|
|
|
|
|
* ApiBase::parseMultiValue() is deprecated. No replacement is provided;
|
|
|
|
|
|
generally this sort of thing should be handled by fully validating the
|
|
|
|
|
|
parameter.
|
|
|
|
|
|
* ApiBase::validateLimit() and ApiBase::validateTimestamp() are deprecated.
|
|
|
|
|
|
Use ApiParamValidator::validateValue() with an appropriate settings array
|
|
|
|
|
|
instead.
|
2020-01-18 20:25:04 +00:00
|
|
|
|
* ContentHandler (use ContentHandlerFactory):
|
|
|
|
|
|
- getForTitle
|
|
|
|
|
|
- getForContent
|
|
|
|
|
|
- getForModelID
|
|
|
|
|
|
- getContentModels
|
|
|
|
|
|
- getAllContentFormats
|
|
|
|
|
|
- protected $handler (not need anymore)
|
|
|
|
|
|
- cleanupHandlersCache (not need anymore)
|
2020-02-25 01:28:12 +00:00
|
|
|
|
* (T212738) The $wgVersion global is deprecated; instead, use MW_VERSION.
|
2020-03-04 15:21:19 +00:00
|
|
|
|
* $wgMemc is deprecated, use MediaWikiServices::getLocalServerObjectCache()
|
|
|
|
|
|
instead.
|
|
|
|
|
|
* ObjectCache::detectLocalServerCache() is deprecated, instead use
|
|
|
|
|
|
MediaWikiServices::getLocalServerObjectCache() or
|
|
|
|
|
|
ObjectCache::makeLocalServerCache().
|
2019-11-18 15:13:45 +00:00
|
|
|
|
* ImagePage::getImageLimitsFromOptions() is deprecated. Use static function
|
|
|
|
|
|
MediaFileTrait::getImageLimitsFromOptions() instead.
|
2020-01-30 18:36:13 +00:00
|
|
|
|
* A number of Parser-related methods were deprecated to simplify the API or
|
|
|
|
|
|
because they will not be supported in the upcoming parser replacement:
|
|
|
|
|
|
- doBlockLevels() (and BlockLevelPass class has been marked @internal)
|
|
|
|
|
|
- setFunctionTagHook()
|
2020-01-25 15:45:18 +00:00
|
|
|
|
- attributeStripCallback()
|
2020-01-30 18:36:13 +00:00
|
|
|
|
- fetchTemplate() - use Parser::fetchTemplateAndTitle() instead.
|
2020-02-04 10:14:23 +00:00
|
|
|
|
* The signature of DefaultPreferencesFactory::__construct has been changed:
|
|
|
|
|
|
- LanguageConverter $languageConverter has been added.
|
|
|
|
|
|
and its usage with old arguments is hard deprecated.
|
2020-01-29 15:13:08 +00:00
|
|
|
|
* The public usage of the following properties of LanguageConverter have been
|
|
|
|
|
|
deprecated as there is no reason they should be used outside the
|
|
|
|
|
|
LanguageConverter class and will be changed from public to private:
|
|
|
|
|
|
- mLangObj
|
|
|
|
|
|
- mUcfirst
|
|
|
|
|
|
- mConvRuleTitle
|
|
|
|
|
|
- mURLVariant
|
|
|
|
|
|
- mUserVariant
|
|
|
|
|
|
- mHeaderVariant
|
|
|
|
|
|
- mMaxDepth
|
|
|
|
|
|
- mVarSeparatorPattern
|
|
|
|
|
|
changed from public to protected:
|
|
|
|
|
|
- mTables
|
2020-04-13 04:41:46 +00:00
|
|
|
|
* The UndeleteShowRevision hook has been deprecated.
|
2020-04-18 04:50:26 +00:00
|
|
|
|
* The ArticleRollbackComplete hook has been deprecated. Please use the new
|
|
|
|
|
|
RollbackComplete hook instead.
|
2020-02-07 23:30:24 +00:00
|
|
|
|
* The ArticleEditUpdatesDeleteFromRecentchanges hook has been deprecated. Please
|
|
|
|
|
|
use the RecentChange_save hook or similar instead.
|
2020-02-07 23:40:46 +00:00
|
|
|
|
* The ArticleEditUpdates hook has been deprecated. Please
|
|
|
|
|
|
use the RevisionDataUpdates hook or similar instead.
|
2020-04-15 13:37:29 +00:00
|
|
|
|
* The ArticleRevisionUndeleted has been hard deprecated. Please use the new
|
2020-03-28 03:54:35 +00:00
|
|
|
|
RevisionUndeleted hook instead.
|
2020-02-10 14:08:01 +00:00
|
|
|
|
* LinkHolderArray has been deprecated for public usage and will be
|
|
|
|
|
|
internal part of parser.
|
2020-02-04 22:44:14 +00:00
|
|
|
|
* ResourceLoaderFileModule::compileLessFile() has been deprecated, use
|
|
|
|
|
|
ResourceLoaderFileModule::compileLessString() instead
|
2019-09-12 01:01:50 +00:00
|
|
|
|
* The SquidPurgeClient and SquidPurgeClientPool classes have been deprecated.
|
|
|
|
|
|
Use MultiHttpClient or HtmlCacheUpdater instead.
|
2020-02-10 20:38:45 +00:00
|
|
|
|
* Calling Action::factory and Action constructor with WikiPage has been
|
|
|
|
|
|
hard deprecated. Caller must provide an Article instance.
|
2020-02-15 02:28:49 +00:00
|
|
|
|
* ApiTestCase::doLogin, soft deprecated in 1.31, was hard deprecated.
|
2020-02-19 05:41:55 +00:00
|
|
|
|
* WebRequest::getLimitOffset is hard deprecated. Instead, use
|
2020-01-28 00:29:08 +00:00
|
|
|
|
::getLimitOffsetForUser and pass a User object.
|
2020-05-04 15:37:00 +00:00
|
|
|
|
* PageArchive::getPreviousRevision is hard deprecated. Instead, use the new
|
2020-04-08 07:40:58 +00:00
|
|
|
|
::getPreviousRevisionRecord method.
|
2020-04-08 07:28:27 +00:00
|
|
|
|
* PageArchive::getArchivedRevision is hard deprecated. Instead, use the new
|
|
|
|
|
|
::getArchivedRevisionRecord method.
|
2020-03-19 14:58:10 +00:00
|
|
|
|
* PageArchive::undelete is hard deprecated. Instead, use ::undeleteAsUser
|
2020-03-18 15:23:59 +00:00
|
|
|
|
and pass a User object.
|
2020-04-13 18:35:03 +00:00
|
|
|
|
* EditPage::getBaseRevision was hard deprecated. Instead, use the new
|
2020-04-04 00:01:11 +00:00
|
|
|
|
::getExpectedParentRevision method.
|
|
|
|
|
|
* The public variable EditPage::$mBaseRevision was hard deprecated.
|
2020-01-26 09:58:06 +00:00
|
|
|
|
* FileDeleteForm previously did not accept a user parameter in its constructor,
|
|
|
|
|
|
instead relying on the global $wgUser. A user parameter has been added,
|
|
|
|
|
|
and //not// providing a user is deprecated. There are no known callers
|
|
|
|
|
|
outside of mediawiki core.
|
2019-11-08 21:24:00 +00:00
|
|
|
|
* AuthManager::singleton() has been deprecated. Use
|
|
|
|
|
|
MediaWikiServices::getInstance()->getAuthManager() instead.
|
2020-04-29 15:41:17 +00:00
|
|
|
|
* ContribsPager::tryToCreateValidRevision is hard deprecated. Instead, use
|
2020-04-27 04:57:50 +00:00
|
|
|
|
ContribsPager::tryCreatingRevisionRecord.
|
2020-01-13 02:30:26 +00:00
|
|
|
|
* The following functions all accept an optional user parameter. Not passing a
|
2020-02-23 21:48:54 +00:00
|
|
|
|
user is hard deprecated, and support for calling them without passing a user
|
|
|
|
|
|
will be removed in 1.36:
|
2020-01-13 02:30:26 +00:00
|
|
|
|
- Title::getNotificationTimestamp
|
|
|
|
|
|
- PatrolLog::record
|
|
|
|
|
|
- LogEventsList::userCan
|
|
|
|
|
|
- LogEventsList::userCanBitfield
|
|
|
|
|
|
- LogEventsList::userCanViewLogType
|
|
|
|
|
|
- LogPage::addEntry
|
2020-02-20 02:50:54 +00:00
|
|
|
|
- FileDeleteForm::doDelete
|
2020-03-11 21:42:21 +00:00
|
|
|
|
- OldLocalFile::userCan
|
2020-02-23 21:48:54 +00:00
|
|
|
|
- ArchivedFile::userCan
|
2020-03-26 03:12:58 +00:00
|
|
|
|
* The following functions all accept an optional audience parameter and
|
|
|
|
|
|
an optional user parameter. If the audience is FOR_THIS_USER and no
|
|
|
|
|
|
user is passed, they fallback to $wgUser. Not passing a user when
|
|
|
|
|
|
one is needed is deprecated
|
|
|
|
|
|
- LogEventsList::getExcludeClause
|
|
|
|
|
|
- Revision::getComment
|
|
|
|
|
|
- Revision::getUser
|
|
|
|
|
|
- Revision::getUserText
|
2020-03-26 03:59:49 +00:00
|
|
|
|
- WikiPage::getComment
|
2020-03-26 03:12:58 +00:00
|
|
|
|
- WikiPage::getCreator
|
|
|
|
|
|
- WikiPage::getUser
|
|
|
|
|
|
- WikiPage::getUserText
|
2020-04-28 23:41:39 +00:00
|
|
|
|
* UploadBase::checkWarnings now accepts a User parameter; not providing a
|
|
|
|
|
|
user is soft deprecated.
|
2020-04-18 05:03:40 +00:00
|
|
|
|
* Article::insertProtectNullRevision and WikiPage::insertProtectNullRevision
|
|
|
|
|
|
were hard deprecated. Instead, use WikiPage::insertNullProtectionRevision.
|
2020-03-25 19:23:00 +00:00
|
|
|
|
* Article::doDeleteArticle, Article::doDeleteArticleReal, and
|
|
|
|
|
|
WikiPage::doDeleteArticle are all deprecated. Instead, use
|
2020-03-17 18:19:45 +00:00
|
|
|
|
WikiPage::doDeleteArticleReal.
|
2020-03-23 05:47:27 +00:00
|
|
|
|
* Article::getComment is deprecated. Instead, use WikiPage::getComment.
|
2020-03-25 20:31:25 +00:00
|
|
|
|
* Article::getCreator is deprecated. Instead, use WikiPage::getCreator.
|
2020-04-15 06:01:39 +00:00
|
|
|
|
* Article::updateRevisionOn and Article::updateIfNewerOn are deprecated.
|
|
|
|
|
|
Instead, use WikiPage::updateRevisionOn.
|
2020-03-26 02:54:11 +00:00
|
|
|
|
* Article::getUser is deprecated. Instead, use WikiPage::getUser.
|
2020-03-26 01:23:31 +00:00
|
|
|
|
* Article::getUserText is deprecated. Instead, use WikiPage::getUserText.
|
2020-04-18 17:39:23 +00:00
|
|
|
|
* Article::prepareContentForEdit is hard deprecated. Instead, use
|
|
|
|
|
|
WikiPage::prepareContentForEdit.
|
2020-04-20 14:42:04 +00:00
|
|
|
|
* Article::getUndoContent and WikiPage::getUndoContent are hard deprecated.
|
|
|
|
|
|
Instead, use ContentHandler::getUndoContent.
|
2020-04-23 20:20:32 +00:00
|
|
|
|
* Passing Revision objects to ContentHandler::getUndoContent is hard deprecated.
|
|
|
|
|
|
Instead, pass the associated Content objects, as well as whether the undo is
|
|
|
|
|
|
from the current revision.
|
2020-04-18 02:27:26 +00:00
|
|
|
|
* Article::doDeleteUpdates and ::doEditUpdates are deprecated. Instead,
|
|
|
|
|
|
use WikiPage::doDeleteUpdates and ::doEditUpdates.
|
2020-04-10 04:37:43 +00:00
|
|
|
|
* Article::getRevisionFetched is deprecated. Instead, use the
|
|
|
|
|
|
fetchRevisionRecord method, which has been converted from protected to
|
|
|
|
|
|
public.
|
2020-02-25 22:33:18 +00:00
|
|
|
|
* LocalFileDeleteBatch was migrated to a new constructor signature with the
|
|
|
|
|
|
user as the second parameter. Support for the old signature is hard
|
|
|
|
|
|
deprecated, and once removed the user parameter will be required. At the
|
|
|
|
|
|
same time, a number of file-deletion related methods were updated
|
2020-03-21 03:08:20 +00:00
|
|
|
|
- File::delete is hard deprecated in favor of the new ::deleteFile
|
|
|
|
|
|
- LocalFile::delete is hard deprecated in favor of the new ::deleteFile
|
2020-02-25 22:33:18 +00:00
|
|
|
|
- LocalFile::deleteOld is hard deprecated in favor of the new ::deleteOldFile
|
2020-03-21 03:08:20 +00:00
|
|
|
|
- ForeignDBFile::delete is hard deprecated in favor of the new ::deleteFile
|
2020-02-21 00:01:43 +00:00
|
|
|
|
* The SpecialPageFactory class was moved from the MediaWiki\Special namespace
|
|
|
|
|
|
to the MediaWiki\SpecialPage namespace. The old location remains as a
|
|
|
|
|
|
deprecated alias.
|
2020-02-26 04:26:00 +00:00
|
|
|
|
* Title::userCan, ::quickUserCan, and ::getUserPermissionsErrors, which
|
|
|
|
|
|
were deprecated in 1.33, were hard deprecated. Instead, use
|
|
|
|
|
|
PermissionManager::userCan, ::quickUserCan, and ::getPermissionErrors.
|
2020-02-23 21:24:37 +00:00
|
|
|
|
* All methods of the old SpecialPageFactory, deprecated in 1.32, were hard
|
|
|
|
|
|
deprecated. Instead, get a SpecialPageFactory from MediaWikiServices and
|
|
|
|
|
|
use its methods.
|
2020-04-03 23:15:31 +00:00
|
|
|
|
* User::setNewtalk now accepts as its optional second parameter a
|
|
|
|
|
|
RevisionRecord object; passing a Revision is hard deprecated.
|
|
|
|
|
|
* User::updateNewtalk now accepts as its optional third parameter a
|
|
|
|
|
|
RevisionRecord object; passing a Revision is hard deprecated.
|
2020-04-27 18:47:50 +00:00
|
|
|
|
* DifferenceEngine::getRevisionHeader now accepts a RevisionRecord as its
|
|
|
|
|
|
first parameter; passing a Revision is hard deprecated.
|
2020-04-08 02:49:07 +00:00
|
|
|
|
* WikiPage::doDeleteUpdates now accepts as its optional third parameter
|
|
|
|
|
|
a RevisionRecord object; passing a Revision is hard deprecated.
|
2020-04-10 06:12:41 +00:00
|
|
|
|
* WikiPage::onArticleEdit now accepts as its optional second parameter
|
|
|
|
|
|
a RevisionRecord object; passing a Revision is hard deprecated.
|
2020-03-21 01:43:22 +00:00
|
|
|
|
* Global $wgUser variable was soft deprecated.
|
2020-02-29 00:22:03 +00:00
|
|
|
|
* The Revision class was soft deprecated entirely in 1.31. Specific methods
|
|
|
|
|
|
have now been individually hard deprecated:
|
2020-03-31 16:26:16 +00:00
|
|
|
|
- ::getSerializedData - use SlotRecord::getContent for retrieving a
|
|
|
|
|
|
content object, and Content::serialize for the serialized form
|
2020-04-29 05:37:47 +00:00
|
|
|
|
- ::getSha1 - use RevisionRecord::getSha1 instead
|
2020-03-25 21:09:42 +00:00
|
|
|
|
- ::base36Sha1 - use SlotRecord::base36Sha1 instead
|
2020-03-25 21:19:44 +00:00
|
|
|
|
- ::userWasLastToEdit - use RevisionStore::userWasLastToEdit instead
|
2020-03-11 01:41:49 +00:00
|
|
|
|
- ::userCan and userCanBitfield - use RevisionRecord::userCanBitfield instead
|
2020-04-15 21:50:29 +00:00
|
|
|
|
- ::newFromTitle - use RevisionLookup::getRevisionByTitle instead
|
2020-03-04 02:43:46 +00:00
|
|
|
|
- ::newFromPageId - use RevisionStore::getRevisionByPageId instead
|
2020-04-01 17:47:23 +00:00
|
|
|
|
- ::newFromArchiveRow - use RevisionFactory::newRevisionFromArchiveRow
|
2020-04-11 05:08:23 +00:00
|
|
|
|
- ::newNullRevision - use RevisionStore::newNullRevision
|
2020-02-29 00:22:03 +00:00
|
|
|
|
- ::loadFromTitle - use RevisionStore::getRevisionByTitle instead
|
2020-03-04 01:02:30 +00:00
|
|
|
|
- ::loadFromPageId - use RevisionStore::getRevisionByPageId instead
|
2020-03-04 02:21:43 +00:00
|
|
|
|
- ::getTimestampFromId - use RevisionStore::getTimestampFromId instead
|
2020-03-04 01:39:36 +00:00
|
|
|
|
- ::loadFromTimestamp - use RevisionStore::getRevisionByTimestamp instead
|
2020-02-29 00:35:51 +00:00
|
|
|
|
- ::countByPageId - use RevisionStore::countRevisionsByPageId instead
|
2020-02-29 00:38:52 +00:00
|
|
|
|
- ::countByTitle - use RevisionStore::countRevisionsByTitle instead
|
2020-03-06 06:16:49 +00:00
|
|
|
|
- ::newFromRow - use RevisionStore::newRevisionFromRow instead
|
2020-02-29 03:49:41 +00:00
|
|
|
|
- ::newKnownCurrent - use RevisionStore::getKnownCurrentRevision instead
|
2020-03-07 02:10:00 +00:00
|
|
|
|
- ::getParentLengths - use RevisionStore::getRevisionSizes instead
|
2020-03-25 20:48:59 +00:00
|
|
|
|
- ::setTitle - the method was previously a no-op
|
2020-03-26 22:40:22 +00:00
|
|
|
|
- ::getQueryInfo - use RevisionStore::getQueryInfo instead
|
|
|
|
|
|
- ::getArchiveQueryInfo - use RevisionStore::getArchiveQueryInfo instead
|
2020-03-27 19:20:38 +00:00
|
|
|
|
- ::isUnpatrolled - use RevisionStore::getRcIdIfUnpatrolled instead
|
2020-03-30 00:20:45 +00:00
|
|
|
|
- ::setUserIdAndName - use MutableRevisionRecord::setUser instead
|
2020-04-11 10:21:10 +00:00
|
|
|
|
- ::setId - use MutableRevisionRecord::setId instead
|
2020-03-30 17:52:30 +00:00
|
|
|
|
- ::getRecentChange - use RevisionStore::getRecentChange instead
|
|
|
|
|
|
- ::getTextId - use SlotRecord::getContentAddress for retrieving an actual
|
|
|
|
|
|
content address, or RevisionRecord::hasSameContent to compare content
|
2020-04-27 04:10:02 +00:00
|
|
|
|
- ::getNext - use RevisionLookup::getNextRevision instead
|
2020-04-02 17:36:41 +00:00
|
|
|
|
* The Revision method had a few methods that were previously protected and
|
|
|
|
|
|
have been made private. They were:
|
|
|
|
|
|
- ::getRevisionStore
|
|
|
|
|
|
- ::getRevisionLookup
|
|
|
|
|
|
- ::getRevisionFactory
|
|
|
|
|
|
- ::getBlobStore
|
|
|
|
|
|
The $mRecord variable was also changed from protected to private.
|
2020-04-18 06:10:32 +00:00
|
|
|
|
* WikiPage::$mLastRevision was changed from protected to private.
|
2020-03-31 16:15:04 +00:00
|
|
|
|
* The RevisionInsertComplete hook, soft deprecated in 1.31, now emits
|
|
|
|
|
|
deprecation warnings.
|
2020-02-26 04:11:58 +00:00
|
|
|
|
* RecentChange::markPatrolled was deprecated. Use ::doMarkPatrolled instead.
|
2020-02-07 02:24:00 +00:00
|
|
|
|
* The JobRunner class has been converted to a service class.
|
|
|
|
|
|
Direct construction is deprecated, use MediaWikiServices::getJobRunner.
|
|
|
|
|
|
* JobRunner::setLogger has been deprecated, thus using JobRunner as a
|
|
|
|
|
|
LoggerAwareInterface is deprecated as well. Rely on the logger passed in the
|
|
|
|
|
|
constructor instead.
|
2020-02-28 06:26:18 +00:00
|
|
|
|
* LogEventsList::typeAction accepts an optional right to check against as
|
|
|
|
|
|
the fourth parameter. Specifying such a right is deprecated.
|
2020-03-04 01:39:36 +00:00
|
|
|
|
* RevisionStore::loadRevisionFromTitle, ::loadRevisionFromTimestamp,
|
|
|
|
|
|
::loadRevisionFromPageId, and ::listRevisionSizes were deprecated.
|
2020-02-29 16:48:57 +00:00
|
|
|
|
* SkinTemplate::makeArticleUrlDetails has been deprecated, no longer used.
|
2020-03-06 06:16:49 +00:00
|
|
|
|
* Passing a Revision object into CategoryMembershipChange constructor is
|
|
|
|
|
|
deprecated. Pass a RevisionRecord instead.
|
2020-03-12 21:46:54 +00:00
|
|
|
|
* The "mediawiki.legacy.oldshared" module has been deprecated.
|
|
|
|
|
|
Skins and extensions that are using this should copy its necessary CSS rules
|
|
|
|
|
|
to their own styles module. CologneBlue and Nostalgia skins serve as examples.
|
2020-03-03 19:52:54 +00:00
|
|
|
|
* The "mediawiki.legacy.shared" module has been deprecated.
|
|
|
|
|
|
Use the "mediawiki.skinning.*" modules, or ResourceLoaderSkinModule instead.
|
2020-02-15 01:53:33 +00:00
|
|
|
|
* The following hooks, soft deprecated in 1.24, have been hard deprecated:
|
|
|
|
|
|
- APIQueryInfoTokens
|
|
|
|
|
|
- APIQueryRecentChangesTokens
|
|
|
|
|
|
- APIQueryRevisionsTokens
|
|
|
|
|
|
- APIQueryUsersTokens
|
|
|
|
|
|
- ApiTokensGetTokenTypes
|
2020-04-07 20:41:09 +00:00
|
|
|
|
* Calling Action::factory and Action constructor with any Page implementations
|
|
|
|
|
|
other than Article is deprecated.
|
|
|
|
|
|
* Action::page property is deprecated for direct access.
|
|
|
|
|
|
Use Action::getArticle or Action::getWikiPage instead.
|
2020-03-19 20:10:40 +00:00
|
|
|
|
* LESS `.background-image-svg-quick()` mixin from 'mediawiki.mixins.less' is
|
|
|
|
|
|
deprecated and should be removed in 1.36.
|
2020-03-07 07:07:42 +00:00
|
|
|
|
* The following methods were deprecated:
|
|
|
|
|
|
- Title::getFirstRevision
|
|
|
|
|
|
- Title::getEarliestRevTime
|
2020-04-08 03:00:33 +00:00
|
|
|
|
- WikiPage::getOldestRevision (hard deprecated)
|
|
|
|
|
|
- Article::getOldestRevision (hard deprecated)
|
2020-03-07 07:07:42 +00:00
|
|
|
|
Use RevisionStore::getFirstRevision instead.
|
2020-03-26 19:59:25 +00:00
|
|
|
|
* The Parser::enableOOUI() method has been deprecated. Use
|
|
|
|
|
|
$parser->getOutput()->enableOOUI() instead.
|
2020-04-06 22:25:41 +00:00
|
|
|
|
* The following Linker methods previously accepted Revision objects as
|
|
|
|
|
|
parameters. They now accept either Revision or RevisionRecord objects.
|
2020-04-18 01:59:38 +00:00
|
|
|
|
Passing a Revision object is hard deprecated.
|
2020-04-06 22:25:41 +00:00
|
|
|
|
- ::revUserLink
|
|
|
|
|
|
- ::revUserTools
|
|
|
|
|
|
- ::revComment
|
|
|
|
|
|
- ::generateRollback
|
|
|
|
|
|
- ::getRollbackEditCount
|
|
|
|
|
|
- ::buildRollbackLink
|
|
|
|
|
|
- ::getRevDeleteLink
|
2020-04-07 23:50:19 +00:00
|
|
|
|
* WikiPage::hasDifferencesOutsideMainSlot previously accepted Revision
|
|
|
|
|
|
objects for its two parameters. It now accepts RevisionRecord objects,
|
|
|
|
|
|
and passing Revision objects is hard deprecated.
|
2020-05-01 19:47:45 +00:00
|
|
|
|
* WikiPage::updateRevisionOn previously accepted Revision objects for its
|
|
|
|
|
|
second parameter. It now accepts RevisionRecord objects, and passing
|
|
|
|
|
|
Revision objects is hard deprecated.
|
2020-03-26 21:56:19 +00:00
|
|
|
|
* The ParserGetVariableValueVarCache hook has been deprecated.
|
2020-03-26 21:57:22 +00:00
|
|
|
|
* When using the ParserGetVariableValueSwitch hook, the following unusual
|
|
|
|
|
|
uses have been deprecated: modifying the passed $magicWordId or failing to
|
|
|
|
|
|
cache the returned value in $variableCache.
|
2020-03-31 15:44:04 +00:00
|
|
|
|
* The following Parser properties have been deprecated:
|
|
|
|
|
|
- ::$mTagHooks
|
|
|
|
|
|
- ::$mFunctionHooks
|
|
|
|
|
|
- ::$mMarkerIndex
|
|
|
|
|
|
- ::$mFirstCall
|
|
|
|
|
|
- ::$mPreprocessor
|
|
|
|
|
|
- ::$mOutput
|
|
|
|
|
|
- ::$mStripState
|
|
|
|
|
|
- ::$mLinkID
|
|
|
|
|
|
- ::$mIncludeSizes
|
|
|
|
|
|
- ::$mPPNodeCount
|
|
|
|
|
|
- ::$mGeneratedPPNodeCount
|
|
|
|
|
|
- ::$mHighestExpansionDepth
|
|
|
|
|
|
- ::$mDoubleUnderscores
|
|
|
|
|
|
- ::$mExpensiveFunctionCount
|
|
|
|
|
|
- ::$mShowToc
|
|
|
|
|
|
- ::$mUser
|
|
|
|
|
|
- ::$mOptions
|
|
|
|
|
|
- ::$mTitle
|
|
|
|
|
|
- ::$ot
|
|
|
|
|
|
- ::$mRevisionObject
|
|
|
|
|
|
- ::$mRevisionId
|
|
|
|
|
|
- ::$mRevisionTimestamp
|
|
|
|
|
|
- ::$mRevisionUser
|
|
|
|
|
|
- ::$mRevisionSize
|
|
|
|
|
|
- ::$mInputSize
|
|
|
|
|
|
- ::$mInParse
|
2020-04-17 04:01:18 +00:00
|
|
|
|
* The following parser-related hooks have been deprecated:
|
|
|
|
|
|
- InternalParseBeforeSanitize
|
|
|
|
|
|
* Use an alternative hook which doesn't expose internal half-parsed state,
|
|
|
|
|
|
like ParserBeforeInternalParse or ParserAfterTidy
|
|
|
|
|
|
- ParserFetchTemplate
|
|
|
|
|
|
* Use BeforeParserFetchTemplateAndTitle
|
|
|
|
|
|
- ParserSectionCreate
|
|
|
|
|
|
* No replacement; <section> tag wrapping will be done by core in future.
|
|
|
|
|
|
- ParserPreSaveTransformComplete
|
|
|
|
|
|
* No replacement; Content::preSaveTransform() provides for customizable PSTs
|
|
|
|
|
|
- BeforeParserrenderImageGallery
|
|
|
|
|
|
* No replacement; MediaHandler provides for customizable media rendering
|
2020-04-17 04:01:41 +00:00
|
|
|
|
- ParserBeforeTidy
|
|
|
|
|
|
* Use ParserAfterTidy instead to avoid exposing internal half-parsed state
|
2020-04-16 15:17:12 +00:00
|
|
|
|
* The accessor/mutator methods Parser::Options(), Parser::OutputType(), and
|
|
|
|
|
|
Parser::Title() have been deprecated; use the appropriate Parser::get*
|
|
|
|
|
|
or Parser::set* methods instead.
|
2020-04-16 21:53:05 +00:00
|
|
|
|
* Parser::firstCallInit() has been deprecated. The parser is initialized
|
|
|
|
|
|
fully on construction and so ::firstCallInit() no longer has any effect
|
|
|
|
|
|
when manually invoked.
|
2020-04-01 21:36:23 +00:00
|
|
|
|
* ParserOptions::getTidy() and ParserOptions::setTidy() have been deprecated.
|
|
|
|
|
|
These options no longer have any effect.
|
2020-05-01 20:47:02 +00:00
|
|
|
|
* Most methods of MWTidy, except for MWTidy::tidy(), have been deprecated;
|
|
|
|
|
|
tidiness is always enabled and not configurable.
|
2020-04-01 15:16:53 +00:00
|
|
|
|
* Version 1 of the parserTests file format has been deprecated. Update
|
|
|
|
|
|
your parser tests to version 2, which uses Remex tidy on all test output
|
|
|
|
|
|
by default.
|
2019-12-30 20:57:37 +00:00
|
|
|
|
* $wgParser — This global variable, soft deprecated in 1.32, has now been hard
|
|
|
|
|
|
deprecated. Use MediaWikiServices::getInstance()->getParser() instead.
|
|
|
|
|
|
(T160811)
|
2020-04-08 06:35:26 +00:00
|
|
|
|
* LinksUpdate::getRevision and ::setRevision are hard deprecated in favor
|
2020-04-04 02:46:32 +00:00
|
|
|
|
of the new ::getRevisionRecord and ::setRevisionRecord methods.
|
2020-04-18 02:39:58 +00:00
|
|
|
|
* Article::getRevision and WikiPage::getRevision were hard deprecated
|
|
|
|
|
|
in favor of the new WikiPage::getRevisionRecord method.
|
2020-03-12 09:57:01 +00:00
|
|
|
|
* A new UserNameUtils service was introduced. The following User methods
|
|
|
|
|
|
were deprecated in favor of using the new service:
|
|
|
|
|
|
- isIP
|
|
|
|
|
|
- isIPRange
|
|
|
|
|
|
- isValidUserName
|
|
|
|
|
|
- isUsableName
|
|
|
|
|
|
- isCreatableName
|
|
|
|
|
|
- getCanonicalName
|
2020-03-31 02:44:56 +00:00
|
|
|
|
* The signature of WikiPage::doDeleteArticleReal was changed to make the user
|
|
|
|
|
|
the second parameter, and the suppression option the third parameter.
|
|
|
|
|
|
Previously, the third parameter was unused. Using the old signature is
|
|
|
|
|
|
hard deprecated.
|
2020-03-28 09:47:02 +00:00
|
|
|
|
* Passing Article to ParserCache::get() was deprecated
|
2020-04-17 20:29:22 +00:00
|
|
|
|
* Parser::fetchCurrentRevisionOfTitle and ::statelessFetchRevision were soft
|
|
|
|
|
|
deprecated in favor of the new ::fetchCurrentRevisionRecordOfTitle and
|
|
|
|
|
|
::statelessFetchRevisionRecord methods respectively.
|
|
|
|
|
|
* Parser::getRevisionObject was hard deprecated in favor of the new
|
|
|
|
|
|
::getRevisionRecordObject method.
|
2020-04-17 17:03:04 +00:00
|
|
|
|
* ParserOptions::getCurrentRevisionCallback and ::setCurrentRevisionCallback
|
|
|
|
|
|
were soft deprecated in favor of the new ::getCurrentRevisionRecordCallback
|
|
|
|
|
|
and ::setCurrentRevisionRecordCallback methods respectively.
|
2020-03-21 04:04:40 +00:00
|
|
|
|
* Page interface was deprecated. Use Article or WikiPage instead.
|
2020-04-15 18:35:21 +00:00
|
|
|
|
* The following DatabaseBlock methods are deprecated because they are no longer
|
|
|
|
|
|
needed in core: chooseBlock, fromMaster, deleteIfExpired.
|
2020-03-31 05:33:41 +00:00
|
|
|
|
* wfGetScriptUrl() was deprecated. The script URL should be configured rather
|
|
|
|
|
|
than detected. wfScript() can be used to get a configured script URL.
|
2020-04-01 04:09:36 +00:00
|
|
|
|
* Action::factory() with null $action argument is hard deprecated
|
2020-01-17 06:21:28 +00:00
|
|
|
|
* The following methods of the User class were deprecated: getDefaultOptions,
|
|
|
|
|
|
getDefaultOption, getOptions, getOption, getBoolOption, getIntOption,
|
|
|
|
|
|
setOption, listOptionKinds, getOptionKinds, resetOptions. Use corresponding
|
|
|
|
|
|
methods in UserOptionsLookup or UserOptionsManager service classes instead.
|
2020-04-13 01:21:01 +00:00
|
|
|
|
* The $user parameter for both the getForm() and getFormDescriptor() methods of
|
|
|
|
|
|
PreferencesFactory has been deprecated in favour of a new
|
|
|
|
|
|
PreferencesFactory::setUser( User $user ) method.
|
2020-04-04 03:39:01 +00:00
|
|
|
|
* UserRetrieveNewTalks hook was deprecated without replacement.
|
|
|
|
|
|
* User::getNewtalk and ::setNewtalk were deprecated. Use service
|
|
|
|
|
|
TalkPageNotificationManager instead.
|
2019-10-20 00:04:00 +00:00
|
|
|
|
* …
|
2019-09-30 17:19:58 +00:00
|
|
|
|
|
|
|
|
|
|
=== Other changes in 1.35 ===
|
2020-03-26 05:53:50 +00:00
|
|
|
|
* A new maintenance script is added (purgeExpiredWatchlistItems.php) with which
|
|
|
|
|
|
to delete expired watchlist items. These items will also be deleted during
|
|
|
|
|
|
wiki editing if $wgWatchlistPurgeRate is > 0. This maintenance script only
|
|
|
|
|
|
has effect if $wgWatchlistExpiry is true. It is recommended that a cronjob or
|
|
|
|
|
|
similar be set up to run it at least daily.
|
2019-03-15 00:23:26 +00:00
|
|
|
|
* Title::purgeSquid is deprecated. Use MediaWikiServices::getHtmlCacheUpdater.
|
2020-05-05 22:29:39 +00:00
|
|
|
|
* SpecialVersion::getExtLicenseFileName() has been deprecated, use
|
|
|
|
|
|
MediaWiki\ExtensionInfo::getLicenseFileNames() instead.
|
|
|
|
|
|
* SpecialVersion::getExtAuthorsFileName() has been deprecated, use
|
|
|
|
|
|
MediaWiki\ExtensionInfo::getAuthorsFileName() instead.
|
2019-09-30 17:19:58 +00:00
|
|
|
|
* …
|
|
|
|
|
|
|
|
|
|
|
|
== Compatibility ==
|
2020-02-24 17:54:08 +00:00
|
|
|
|
MediaWiki 1.35 requires PHP 7.2.22 or later, and the following PHP extensions:
|
2019-09-30 17:19:58 +00:00
|
|
|
|
|
|
|
|
|
|
* ctype
|
|
|
|
|
|
* dom
|
|
|
|
|
|
* fileinfo
|
|
|
|
|
|
* iconv
|
|
|
|
|
|
* json
|
|
|
|
|
|
* mbstring
|
|
|
|
|
|
* xml
|
|
|
|
|
|
|
|
|
|
|
|
MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
|
|
|
|
|
|
but support for them is somewhat less mature.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|