NamespaceInfo service to replace MWNamespace
[lhc/web/wiklou.git] / RELEASE-NOTES-1.33
1 = MediaWiki 1.33 =
2
3 == MediaWiki 1.33.0-PRERELEASE ==
4
5 THIS IS NOT A RELEASE YET
6
7 MediaWiki 1.33 is an alpha-quality branch and is not recommended for use in
8 production.
9
10 == Upgrading notes for 1.33 ==
11 1.33 has several database changes since 1.32, and will not work without schema
12 updates. Note that due to changes to some very large tables like the revision
13 table, the schema update may take quite long (minutes on a medium sized site,
14 many hours on a large site).
15
16 Don't forget to always back up your database before upgrading!
17
18 See the file UPGRADE for more detailed upgrade instructions, including
19 important information when upgrading from versions prior to 1.11.
20
21 Some specific notes for MediaWiki 1.33 upgrades are below:
22
23 * Some external link searches will not work correctly until update.php (or
24 refreshExternallinksIndex.php) is run. These include searches for links using
25 IP addresses, internationalized domain names, and possibly mailto links.
26 * If you ran migrateActors.php using an older version of MediaWiki and want to
27 run your wiki with $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_READ_OLD,
28 note that log_search rows needed to find revision deletions by target user
29 were incorrectly deleted. See T215464 for details.
30 * If revision deletions were performed when the wiki was configured with
31 $wgActorTableSchemaMigrationStage SCHEMA_COMPAT_WRITE_BOTH and without
32 migrateActors.php having been run, the log_search table may contain rows with
33 empty values for "target_author_actor" which will prevent log searches for
34 revision deletions by target user from finding those log entries. These rows
35 may be corrected by (re-)running migrateActors.php.
36
37 For notes on 1.32.x and older releases, see HISTORY.
38
39 === Configuration changes for system administrators in 1.33 ===
40
41 ==== New configuration ====
42 * $wgEnablePartialBlocks – This enables the Partial Blocks feature, which gives
43 accounts with block permissions the ability to block users, IPs, and IP ranges
44 from editing specific pages, while allowing them to edit the rest of the wiki.
45 It is a temporary setting for gradual enablement, current default to `false`,
46 and will be set to `true` and then removed once initial development completes.
47
48 ==== Changed configuration ====
49 * $wgChangeTagsSchemaMigrationStage (T193868) — This temporary setting, added in
50 MediaWiki 1.32, now defaults to MIGRATION_NEW instead of MIGRATION_WRITE_BOTH.
51 * $wgPasswordPolicy – There is a new password policy to check that the account's
52 password is not in the large blacklist. This is enabled by default for the
53 built-in user groups bureaucrat, sysop, interface-admin, and bot. To configure
54 this for other user groups, set the `PasswordNotInLargeBlacklist` flag `true`.
55 * wgPasswordDefault – There is a new password type configuration using Argon2
56 password hashing (which requires PHP 7.2 and above). It's designed to resist
57 timing attacks, and (on systems with PHP 7.3+) GPU hacking; if you configure
58 argon2 to be used, by default, it will automatically choose the best available
59 algorithm depending on which version of PHP you have available. To use this,
60 you can set `$wgPasswordDefault = 'argon2';`.
61
62 ==== Removed configuration ====
63 * $wgTagStatisticsNewTable (T199334) — This temporary setting, added in
64 MediaWiki 1.32, has now been removed. When loading Special:Tags, MediaWiki
65 will now always use the `change_tag_def` instead of the `change_tag` table.
66 * $wgUseTidy, $wgTidyBin, $wgTidyConf, $wgTidyOpts, $wgTidyInternal, and
67 $wgDebugTidy – These options, all deprecated since 1.26, have now all been
68 removed, as MediaWiki now always tidies user output. The $wgTidyConfig setting
69 remains only for experimental features and debugging, and should not be used.
70 * $wgEnableParserCache – This setting has been deprecated since 1.26, has now
71 been removed. If you still desire to disable the parser cache, instead you can
72 set `$wgParserCacheType = CACHE_NONE;`.
73 * $wgCommentTableSchemaMigrationStage – This temporary migration setting has now
74 been removed. Code finding it unset should treat it as being MIGRATION_NEW.
75 * $wgAuth – This old setting, deprecated in 1.27, has been removed as part of
76 the removal of AuthPlugin.
77 * $wgSitesCacheFile – This configuration was introduced in 1.25 with the intent
78 to allow sites to configure a file in which to cache the SiteStore database
79 table, but it was never used. SiteStore already caches its information by
80 default using BagOStuff (e.g. Memcached or APC).
81 * $wgClockSkewFudge – This setting was used by User.php to let sites adjust by
82 how much MediaWiki would fudge when trying to minimize the chances of a
83 user.user_touched database update to the "current" timestamp being before the
84 value already there (e.g. due to clock skew between different servers). This
85 is no longer a problem, because the code now ensures the timestamp is always
86 higher than the previous one. The writes are guarded with CAS logic (check
87 and set), which prevents updates that would overlap.
88 * $wgDBmysql5 (T196185) - This experimental setting, deprecated in 1.31, has
89 been removed.
90
91 === New user-facing features in 1.33 ===
92 * (T96041) __EXPECTUNUSEDCATEGORY__ on a category page causes the category
93 to be hidden on Special:UnusedCategories.
94 * (T210814) SVGs are now by default displayed in wiki language on image
95 pages.
96 * Special:CreateAccount now warns the user if their chosen username has to be
97 normalized.
98 * (T205040) Multilingual images are now be displayed in the current parse
99 language where available.
100 * Special:ActiveUsers will no longer filter out users who became inactive since
101 the last time the active users query cache was updated.
102 * (T215675) RecentChange and ManualLogEntry implement new Taggable interface.
103 * (T215675) Added a hook, ManualLogEntryBeforePublish, to allow extensions
104 to modify (example: add tags) log entries.
105
106 === New developer features in 1.33 ===
107 * The AuthManagerLoginAuthenticateAudit hook has a new parameter for
108 additional information about the authentication event.
109 * TextContent::getText() was introduced as a replacement for
110 Content::getNativeData() for text-based content models.
111 * (T214706) LinksUpdate::getAddedExternalLinks() and
112 LinksUpdate::getRemovedExternalLinks() were introduced.
113 * (T213893) Added 'MaintenanceUpdateAddParams' hook
114 * (T219655) The MarkPatrolled hook has a new parameter for the tags
115 associated with this entry in the patrol log.
116
117 === External library changes in 1.33 ===
118
119 ==== New external libraries ====
120 * Added wikimedia/password-blacklist 0.1.4.
121 * Added guzzlehttp/guzzle 6.3.3.
122 * Added jakub-onderka/php-console-highlighter 0.3.2 explicitly (dev-only).
123
124 ==== Changed external libraries ====
125 * Updated OOUI from v0.29.2 to v0.31.2.
126 * Updated OOjs Router from pre-release to v0.2.0.
127 * Updated moment from v2.19.3 to v2.24.0.
128 * Updated wikimedia/xmp-reader from 0.6.0 to 0.6.2.
129 * Updated wikimedia/scoped-callback from 2.0.0 to 3.0.0.
130 * Updated wikimedia/ip-set from 1.2.0 to 2.0.1.
131 * The deprecated IPSet\IPSet alias was removed, Wikimedia\IPSet must be
132 used instead.
133 * Updated qunitjs from 2.6.2 to 2.9.1.
134 * Updated jquery-client from 2.0.1 to 2.0.2.
135 * Updated psy/psysh from 0.9.6 to 0.9.9 (dev-only).
136 * Updated nikic/php-parser from 3.1.3 to 3.1.5 (dev-only).
137 * Updated pear/net_smtp from 1.8.0 to 1.8.1.
138 * Updated cssjanus/cssjanus from 1.2.0 to 1.2.1.
139 * Updated wikimedia/php-session-serializer from 1.0.6 to 1.0.7.
140
141 ==== Removed external libraries ====
142 * (T219403) jquery.ui.spinner, deprecated since 1.31, was removed.
143
144 === Bug fixes in 1.33 ===
145 * (T164211) Special:UserRights could sometimes fail with a
146 "conflict detected" error when there weren't any conflicts.
147 * (T216029) Chrome redirects to Special:BadTitle after editing a section with
148 a non-Latin name on a page with non-Latin characters in title.
149
150 === Action API changes in 1.33 ===
151 * (T198913) Added 'ApiOptions' hook.
152 * The JSON formatversion=2 is no longer experimental.
153 * Internal API errors (those with code beginning "internal_api_error") will
154 include the exception class name in a data field named "errorclass".
155 * Class names are not guaranteed to remain stable, and in particular database
156 exceptions will now include the "Wikimedia\Rdbms\" prefix in the class name.
157 * The code including an exception class name is deprecated. In the future,
158 all internal errors will use code "internal_api_error".
159 * (T212356) When using action=delete on pages with many revisions, the module
160 may return a boolean-true 'scheduled' and no 'logid'. This signifies that the
161 deletion will be processed via the job queue.
162 * action=setnotificationtimestamp will now update the watchlist asynchronously
163 if entirewatchlist is set, so updates may not be visible immediately
164 * Block info will be added to "blocked" errors from more modules.
165 * (T216245) Autoblocks will now be spread by action=edit and action=move.
166 * action=query&meta=userinfo has a new uiprop, 'latestcontrib', that returns
167 the date of user's latest contribution.
168
169 === Action API internal changes in 1.33 ===
170 * A number of deprecated methods for API documentation, intended for overriding
171 by extensions, are no longer called by MediaWiki, and will emit deprecation
172 notices if your extension attempts to use them:
173 * ApiBase::getDescription() (deprecated in 1.25)
174 * ApiBase::getParamDescription() (deprecated in 1.25)
175 * ApiBase::getExamples() (deprecated in 1.25)
176 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
177 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
178 been removed, as their only use was to let extensions override values returned
179 by getDescription() and getParamDescription(), respectively.
180 * API error codes may only contain ASCII letters, numbers, underscore, and
181 hyphen. Methods such as ApiBase::dieWithError() and
182 ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
183 passed a bad code.
184 * ApiBase::checkTitleUserPermissions() now takes an options array as its third
185 parameter. Passing a User object or null is deprecated.
186 * The api-feature-usage log channel now has log context. The text message is
187 deprecated and will be removed in the future.
188
189 === Languages updated in 1.33 ===
190 MediaWiki supports over 350 languages. Many localisations are updated regularly.
191 Below only new and removed languages are listed, as well as changes to languages
192 because of Phabricator reports.
193
194 * (T203908) Added language support for Eastern Pwo (kjp).
195 * (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
196 for NS_TEMPLATE.
197 * (T212221) Added $digitTransformTable for Santali (sat).
198 * (T216479) Added language support for Saisiyat (xsy).
199
200 === Breaking changes in 1.33 ===
201 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
202 Language. Other types are deprecated since 1.32.
203 * Skin::doEditSectionLink requires type Language for the parameter $lang.
204 The parameters $tooltip and $lang are mandatory. Omitting the parameters is
205 deprecated since 1.32.
206 * Language::truncate(), deprecated in 1.31, has been removed.
207 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
208 instead.
209 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
210 and 'notice-message', which were deprecated in 1.32, were removed. Instead,
211 use 'help', 'help-message', and 'help-messages'.
212 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
213 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
214 RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
215 Use the RESTBase v1 or Parsoid v3 API instead.
216 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
217 parser are being deprecated and ParserOptions::getCanonicalOverrides()
218 has always been true at any rate.
219 * Support for disabling tidy and external tidy implementations has been removed.
220 This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
221 used and no configuration is necessary.
222 * A number of deprecated methods for API documentation, intended for overriding
223 by extensions, are no longer called by MediaWiki, and will emit deprecation
224 notices if your extension attempts to use them:
225 * ApiBase::getDescription() (deprecated in 1.25)
226 * ApiBase::getParamDescription() (deprecated in 1.25)
227 * ApiBase::getExamples() (deprecated in 1.25)
228 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
229 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
230 been removed, as their only use was to let extensions override values returned
231 by getDescription() and getParamDescription(), respectively.
232 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
233 'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
234 the creation of AuthManager in 1.27, have been removed. This also means that
235 the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
236 is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
237 that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
238 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
239 use 'jquery.i18n'.
240 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
241 1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
242 respectively in a $wgExtensionMessagesFiles file.
243 * The following methods of the Preferences class, deprecated in 1.31, have been
244 removed:
245 * getSaveBlacklist()
246 * loadPreferenceValues()
247 * getOptionFromUser()
248 * profilePreferences()
249 * skinPreferences()
250 * filesPreferences()
251 * datetimePreferences()
252 * renderingPreferences()
253 * editingPreferences()
254 * rcPreferences()
255 * watchlistPreferences()
256 * searchPreferences()
257 * miscPreferences()
258 * generateSkinOptions()
259 * getDateOptions()
260 * getImageSizes()
261 * getThumbSizes()
262 * validateSignature()
263 * cleanSignature()
264 * getTimezoneOptions()
265 * filterIntval()
266 * filterTimezoneInput()
267 * getTimeZoneList()
268 * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
269 * (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
270 * The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
271 Specifically: mediawiki.api.category, mediawiki.api.edit,
272 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
273 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
274 mediawiki.api.messages, and mediawiki.api.rollback.
275 * The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
276 deprecated in 1.31, was removed.
277 * Revision::fetchRevision(), deprecated in 1.28, was removed.
278 * Class SquidUpdate, deprecated in 1.27, was removed.
279 * Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
280 Title->getCdnUrls().
281 * Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
282 Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
283 * Title->canTalk(), deprecated in 1.30, was removed. Instead, use
284 Title->canHaveTalkPage().
285 * Title's methods for site and user page related to CSS and JS, deprecated in
286 1.31, were removed:
287 * Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
288 * Title->isCssJsSubpage() – Use Title->isUserConfigPage()
289 * Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
290 * Title->isCssSubpage() – Use Title->isUserCssConfigPage()
291 * Title->isJsSubpage() – Use Title->isUserJsConfigPage()
292 * SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
293 would return the global SiteStore instance, has been removed. You can get to
294 this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
295 * Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
296 Instead, use Language->formatSize() with the relevant Language object.
297 * Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
298 version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
299 * EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
300 use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
301 * LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
302 be unused, and is distinct from OutputPage->addLink(), which remains.
303 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
304 JsonContent->getData().
305 * MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
306 exception ID is the same as the request ID, from WebRequest::getRequestId().
307 * SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
308 You can use SearchEngine::getNearMatcher() instead.
309 * EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
310 removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
311 * User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
312 been removed. Instead, please use UserGroupMembership::getGroupName() and
313 UserGroupMembership::getGroupMemberName().
314 * Backwards compatibility for setting wgSessionsInObjectCache to false or using
315 wgSessionHandler, both of which were deprecated in 1.27 with the introduction
316 of SessionManager, has been removed.
317 * SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
318 MediaWiki\Auth\AuthManager::autoCreateUser instead.
319 * The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
320 Use require( 'mediawiki.libs.jpegmeta' ) instead.
321 * The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
322 Use mw.user.getPageviewToken() instead.
323 * Removed deprecated class property WikiRevision::$importer.
324 * ResourceLoaderFileModule::readStyleFiles() now requires its $context
325 parameter.
326 * The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
327 been removed.
328 * MessageBlobStore::__construct() now requires its $rl parameter.
329 * Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
330 has been removed.
331 * The 'jquery.xmldom' module has been removed.
332 * The 'jquery.mockjax' module has been removed.
333 * The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
334 * AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
335 should instead use AuthManager. The following no longer exist:
336 * The AuthPlugin class itself and the related AuthPluginUser class and i18n
337 * The AuthPluginSetup and AuthPluginAutoCreate hooks
338 * The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
339 AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
340 * The $wgAuth configuration setting and its use in Setup.php and unit tests
341 * (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
342 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
343 LanguageConverter::markNoConversion instead.
344 * BagOStuff::modifySimpleRelayEvent() method has been removed.
345 * ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
346 Use ParserOutput::allCacheVaryingOptions instead.
347 * CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
348 Use CdnCacheUpdate::newFromTitles() instead.
349 * Handling of multiple arguments by the Block constructor, deprecated in 1.26,
350 has been removed.
351 * The translation of main page in Sardinian (sc) was changed from "Pàgina Base"
352 to "Pàgina printzipale". Existing wikis using this content language need to
353 move the main page or change the name through MediaWiki:Mainpage page.
354 * wfSplitWikiID(), deprecated in 1.32, has been removed.
355 * MessageBlobStore::getBlob(), deprecated in 1.27, has been removed.
356 Use ::getBlobs() instead.
357 * The .background-size() LESS mixin, deprecated in 1.27, has been removed.
358 * MWNamespace::clearCaches() has been removed. So has the $rebuild parameter
359 to MWNamespace::getCanonicalNamespaces(), which was deprecated since 1.31.
360 Instead, create a new NamespaceInfo, such as by calling
361 resetServiceForTesting( 'NamespaceInfo' ) on a MediaWikiServices.
362 For classes that inherit from MediaWikiTestCase and used setMwGlobals() to
363 modify a variable that affects namespaces, caches will automatically be
364 reset and any calls to MWNamespace::clearCaches() can be removed entirely.
365
366 === Deprecations in 1.33 ===
367 * The configuration option $wgUseESI has been deprecated, and is expected
368 to be removed in a future release.
369 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
370 and is expected to be removed in a future release.
371 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
372 introduced in MW 1.17, have been deprecated. These fixes will always be
373 applied for Arabic and Malayalam in the future. Please enable these on
374 your local wiki (if you have them explicitly set to false) and run
375 maintenance/cleanupTitles.php to fix any existing page titles.
376 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
377 in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
378 This will help identify the issue if you added it to $wgAuthManagerConfig.
379 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
380 domain ID as a key component and use makeGlobalKey().
381 * (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
382 Title::getDBKey(), which doesn't vary case.
383 * User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
384 returns the same information in a more useful format.
385 * For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
386 as the $lang parameter was deprecated. The same applies to DummyLinker.
387 * The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
388 follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
389 instead which blacklists 100,000 commonly used passwords.
390 * (T208862) Action::requiresUnblock() is now called from
391 Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
392 was only called in Action::checkCanExecute(). Actions should ensure that their
393 requiresUnblock() returns the proper result (the default is `true`).
394 * (T211608) The MediaWiki\Services namespace has been renamed to
395 Wikimedia\Services. The old name is still supported, but deprecated.
396 * (T155582) Content::getNativeData has been deprecated. Please use model-
397 specific getters, such as TextContent::getText().
398 * The class WebInstallerOutput is now marked as @private.
399 * (T209699) The jquery.async module has been deprecated. JavaScript code that
400 needs asynchronous behaviour should use Promises.
401 * Password::equals() is deprecated, use verify().
402 * BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
403 other means to fetch a properly escaped message string or Message object.
404 * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
405 testing code for your JavaScript modules, is deprecated. Instead, you can now
406 use the new extension registration key 'QUnitTestModule'.
407 * (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
408 code that needs this behaviour should use OO.ui.debounce/throttle.
409 * The mw.language.specialCharacters property from the
410 'mediawiki.language.specialCharacters' module has been deprecated.
411 Use require( 'mediawiki.language.specialCharacters' ) instead.
412 * ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
413 removed in a future release.
414 * Passing a User object or null as the third parameter to
415 ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
416 [ 'user' => $user ] instead.
417 * (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
418 Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
419 block properties; use Block::appliesToRight and Block::appliesToUsertalk to
420 check block behaviour.
421 * The api-feature-usage log channel now has log context. The text message is
422 deprecated and will be removed in the future.
423 * The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
424 implementation, use CachingSiteStore instead.
425 * Language::viewPrevNext function is deprecated, use
426 SpecialPage::buildPrevNextNavigation instead
427 * ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
428 instead. The setTags() method was overriding the tags, addTags() doesn't
429 override, only adds new tags.
430 * Block::isValid is deprecated, since it is no longer needed in core.
431 * Calling Maintenance::hasArg() as well as Maintenance::getArg() with no
432 parameter has been deprecated. Please pass the argument number 0.
433 * The MWNamespace class is deprecated. Use MediaWikiServices::getNamespaceInfo.
434
435 === Other changes in 1.33 ===
436 * (T201747) Html::openElement() warns if given an element name with a space
437 in it.
438 * The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
439 changed to explicitly cast. Subclasses relying on the base-class
440 implementation should check whether they need to override it now.
441 * BagOStuff::add is now abstract and must explicitly be defined in subclasses.
442 * LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
443 the following hooks will now be triggered upon page deletion in addition
444 to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.
445 LinksUpdateAfterInsert is not triggered since deletions do not cause
446 insertions into links tables.
447 * Category::newFromID( $id )->getID() will now return $id without any
448 validation, to avoid a mostly unnecessary DB query.
449 * On Special:Version, the name for an extension can no longer be arbitrary
450 html when no link is specified.
451
452 == Compatibility ==
453 MediaWiki 1.33 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
454 supported, it is generally advised to use PHP 7.0.13 or later for long term
455 support.
456
457 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
458 but support for them is somewhat less mature. There is experimental support for
459 Oracle and Microsoft SQL Server.
460
461 The supported versions are:
462
463 * MySQL 5.5.8 or later
464 * PostgreSQL 9.2 or later
465 * SQLite 3.8.0 or later
466 * Oracle 9.0.1 or later
467 * Microsoft SQL Server 2005 (9.00.1399)
468
469 == Online documentation ==
470 Documentation for both end-users and site administrators is available on
471 MediaWiki.org, and is covered under the GNU Free Documentation License (except
472 for pages that explicitly state that their contents are in the public domain):
473
474 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
475
476 == Mailing list ==
477 A mailing list is available for MediaWiki user support and discussion:
478
479 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
480
481 A low-traffic announcements-only list is also available:
482
483 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
484
485 It's highly recommended that you sign up for one of these lists if you're
486 going to run a public MediaWiki, so you can be notified of security fixes.
487
488 == IRC help ==
489 There's usually someone online in #mediawiki on irc.freenode.net.