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