Merge "Gallery slideshow: Remove excess margin on controls"
[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
175 === Action API internal changes in 1.33 ===
176 * A number of deprecated methods for API documentation, intended for overriding
177 by extensions, are no longer called by MediaWiki, and will emit deprecation
178 notices if your extension attempts to use them:
179 * ApiBase::getDescription() (deprecated in 1.25)
180 * ApiBase::getParamDescription() (deprecated in 1.25)
181 * ApiBase::getExamples() (deprecated in 1.25)
182 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
183 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
184 been removed, as their only use was to let extensions override values returned
185 by getDescription() and getParamDescription(), respectively.
186 * API error codes may only contain ASCII letters, numbers, underscore, and
187 hyphen. Methods such as ApiBase::dieWithError() and
188 ApiMessageTrait::setApiCode() will throw an InvalidArgumentException if
189 passed a bad code.
190 * ApiBase::checkTitleUserPermissions() now takes an options array as its third
191 parameter. Passing a User object or null is deprecated.
192 * The api-feature-usage log channel now has log context. The text message is
193 deprecated and will be removed in the future.
194
195 === Languages updated in 1.33 ===
196 MediaWiki supports over 350 languages. Many localisations are updated regularly.
197 Below only new and removed languages are listed, as well as changes to languages
198 because of Phabricator reports.
199
200 * (T203908) Added language support for Eastern Pwo (kjp).
201 * (T213717) Fixed a translation error on Goan Konkani (gom-deva) translations
202 for NS_TEMPLATE.
203 * (T212221) Added $digitTransformTable for Santali (sat).
204 * (T216479) Added language support for Saisiyat (xsy).
205 * (T219728) Added support for new Japanese era name "Reiwa"
206
207 === Breaking changes in 1.33 ===
208 * The parameteter $lang in DifferenceEngine::setTextLanguage must be of type
209 Language. Other types are deprecated since 1.32.
210 * Skin::doEditSectionLink requires type Language for the parameter $lang.
211 The parameters $tooltip and $lang are mandatory. Omitting the parameters is
212 deprecated since 1.32.
213 * Language::truncate(), deprecated in 1.31, has been removed.
214 * UtfNormal, deprecated in 1.25, was removed. Use UtfNormal\Validator directly
215 instead.
216 * (T197179) In OOUI HTMLForm fields, the parameters 'notice', 'notice-messages',
217 and 'notice-message', which were deprecated in 1.32, were removed. Instead,
218 use 'help', 'help-message', and 'help-messages'.
219 * (T197179) HTMLFormField::getNotices(), deprecated in 1.32, was removed.
220 * The "Parsoid v1" compatibility mappings in ParsoidVirtualRESTService and
221 RestbaseVirtualRESTService, deprecated since 1.26, have been removed.
222 Use the RESTBase v1 or Parsoid v3 API instead.
223 * ParserOptions defaults 'tidy' to true now, since the untidy modes of the
224 parser are being deprecated and ParserOptions::getCanonicalOverrides()
225 has always been true at any rate.
226 * Support for disabling tidy and external tidy implementations has been removed.
227 This was deprecated in 1.32. The pure PHP Remex tidy implementation is now
228 used and no configuration is necessary.
229 * A number of deprecated methods for API documentation, intended for overriding
230 by extensions, are no longer called by MediaWiki, and will emit deprecation
231 notices if your extension attempts to use them:
232 * ApiBase::getDescription() (deprecated in 1.25)
233 * ApiBase::getParamDescription() (deprecated in 1.25)
234 * ApiBase::getExamples() (deprecated in 1.25)
235 * ApiBase::getDescriptionMessage() (deprecated in 1.30)
236 Additionally, the 'APIGetDescription' and 'APIGetParamDescription' hooks have
237 been removed, as their only use was to let extensions override values returned
238 by getDescription() and getParamDescription(), respectively.
239 * The authentication hooks 'AbortAutoAccount' 'AbortNewAccount', 'AbortLogin',
240 'LoginUserMigrated', 'UserCreateForm', and 'UserLoginForm', all deprecated by
241 the creation of AuthManager in 1.27, have been removed. This also means that
242 the FakeAuthTemplate and LoginForm classes are removed, that FakeAuthTemplate
243 is no longer passed into LoginSignupSpecialPage->getFieldDefinitions(), and
244 that LoginSignupSpecialPage->getBCFieldDefinitions() is removed.
245 * The 'jquery.localize' module, deprecated in 1.32, has been removed. Instead,
246 use 'jquery.i18n'.
247 * The hooks LanguageGetSpecialPageAliases and LanguageGetMagic, deprecated since
248 1.16, have now been removed. Instead, use $specialPageAliases or $magicWords
249 respectively in a $wgExtensionMessagesFiles file.
250 * The following methods of the Preferences class, deprecated in 1.31, have been
251 removed:
252 * getSaveBlacklist()
253 * loadPreferenceValues()
254 * getOptionFromUser()
255 * profilePreferences()
256 * skinPreferences()
257 * filesPreferences()
258 * datetimePreferences()
259 * renderingPreferences()
260 * editingPreferences()
261 * rcPreferences()
262 * watchlistPreferences()
263 * searchPreferences()
264 * miscPreferences()
265 * generateSkinOptions()
266 * getDateOptions()
267 * getImageSizes()
268 * getThumbSizes()
269 * validateSignature()
270 * cleanSignature()
271 * getTimezoneOptions()
272 * filterIntval()
273 * filterTimezoneInput()
274 * getTimeZoneList()
275 * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead.
276 * (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27.
277 * The 'mediawiki.api' module aliases, deprecated in 1.32, have been removed.
278 Specifically: mediawiki.api.category, mediawiki.api.edit,
279 mediawiki.api.login, mediawiki.api.options, mediawiki.api.parse,
280 mediawiki.api.upload, mediawiki.api.user, mediawiki.api.watch,
281 mediawiki.api.messages, and mediawiki.api.rollback.
282 * The 'jquery.byteLimit' module alias for 'jquery.lengthLimit',
283 deprecated in 1.31, was removed.
284 * Revision::fetchRevision(), deprecated in 1.28, was removed.
285 * Class SquidUpdate, deprecated in 1.27, was removed.
286 * Title->getSquidURLs(), deprecated in 1.27, was removed. Instead, use
287 Title->getCdnUrls().
288 * Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
289 Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
290 * Title->canTalk(), deprecated in 1.30, was removed. Instead, use
291 Title->canHaveTalkPage().
292 * Title's methods for site and user page related to CSS and JS, deprecated in
293 1.31, were removed:
294 * Title->isCssOrJsPage() — Use Title->isSiteConfigPage()
295 * Title->isCssJsSubpage() – Use Title->isUserConfigPage()
296 * Title->getSkinFromCssJsSubpage() – Use Title->getSkinFromConfigSubpage()
297 * Title->isCssSubpage() – Use Title->isUserCssConfigPage()
298 * Title->isJsSubpage() – Use Title->isUserJsConfigPage()
299 * SiteSQLStore, deprecated in 1.27 and whose only method, ::newInstance(),
300 would return the global SiteStore instance, has been removed. You can get to
301 this via MediaWiki\MediaWikiServices::getInstance()->getSiteStore() directly.
302 * Linker::formatSize, deprecated in 1.28, has been removed (with DummyLinker's).
303 Instead, use Language->formatSize() with the relevant Language object.
304 * Linker::formatTemplates, deprecated in 1.28, has been removed (along with the
305 version in DummyLinker). You can use TemplatesOnThisPageFormatter directly.
306 * EventRelayerGroup::singleton(), deprecated in 1.27, has been removed. You can
307 use MediaWikiServices::getInstance()->getEventRelayerGroup() directly.
308 * LinkCache->addLink(), deprecated in 1.27, has been removed. It is thought to
309 be unused, and is distinct from OutputPage->addLink(), which remains.
310 * JsonContent->getJsonData(), deprecated in 1.25, has been removed. Instead, use
311 JsonContent->getData().
312 * MWExceptionHandler::getLogId(), deprecated in 1.27, has been removed, as the
313 exception ID is the same as the request ID, from WebRequest::getRequestId().
314 * SearchEngine::getNearMatchResultSet(), deprecated in 1.27, has been removed.
315 You can use SearchEngine::getNearMatcher() instead.
316 * EmailNotification::updateWatchlistTimestamp, deprecated in 1.27, has been
317 removed. Instead, use WatchedItemStore::updateNotificationTimestamp directly.
318 * User::getGroupName() and ::getGroupMember(), both deprecated in 1.29, have
319 been removed. Instead, please use UserGroupMembership::getGroupName() and
320 UserGroupMembership::getGroupMemberName().
321 * Backwards compatibility for setting wgSessionsInObjectCache to false or using
322 wgSessionHandler, both of which were deprecated in 1.27 with the introduction
323 of SessionManager, has been removed.
324 * SessionManager::autoCreateUser, deprecated in 1.27, has been removed. Use
325 MediaWiki\Auth\AuthManager::autoCreateUser instead.
326 * The mw.libs.jpegmeta property, deprecated in 1.31, was removed.
327 Use require( 'mediawiki.libs.jpegmeta' ) instead.
328 * The mw.user.stickyRandomId() method, deprecated in 1.32, was removed.
329 Use mw.user.getPageviewToken() instead.
330 * Removed deprecated class property WikiRevision::$importer.
331 * ResourceLoaderFileModule::readStyleFiles() now requires its $context
332 parameter.
333 * The ChangeList::insertArticleLink() method, that was deprecated in 1.27, has
334 been removed.
335 * MessageBlobStore::__construct() now requires its $rl parameter.
336 * Second parameter to Sanitizer::escapeIdReferenceList() (deprecated in 1.31)
337 has been removed.
338 * The 'jquery.xmldom' module has been removed.
339 * The 'jquery.mockjax' module has been removed.
340 * The 'jquery.hidpi' module, deprecated in 1.32, has been removed.
341 * AuthPlugin and related code, deprecated in 1.27, has been removed. Extensions
342 should instead use AuthManager. The following no longer exist:
343 * The AuthPlugin class itself and the related AuthPluginUser class and i18n
344 * The AuthPluginSetup and AuthPluginAutoCreate hooks
345 * The transitional wrapper classes AuthPluginPrimaryAuthenticationProvider,
346 AuthManagerAuthPlugin, and AuthManagerAuthPluginUser.
347 * The $wgAuth configuration setting and its use in Setup.php and unit tests
348 * (T217772) The 'wgAvailableSkins' mw.config key in JavaScript, was removed.
349 * Language::markNoConversion, deprecated in 1.32, has been removed. Use
350 LanguageConverter::markNoConversion instead.
351 * BagOStuff::modifySimpleRelayEvent() method has been removed.
352 * ParserOutput::getLegacyOptions, deprecated in 1.30, has been removed.
353 Use ParserOutput::allCacheVaryingOptions instead.
354 * CdnCacheUpdate::newSimplePurge, deprecated in 1.27, has been removed.
355 Use CdnCacheUpdate::newFromTitles() instead.
356 * Handling of multiple arguments by the Block constructor, deprecated in 1.26,
357 has been removed.
358 * The translation of main page in Sardinian (sc) was changed from "Pàgina Base"
359 to "Pàgina printzipale". Existing wikis using this content language need to
360 move the main page or change the name through MediaWiki:Mainpage page.
361 * wfSplitWikiID(), deprecated in 1.32, has been removed.
362 * MessageBlobStore::getBlob(), deprecated in 1.27, has been removed.
363 Use ::getBlobs() instead.
364 * The .background-size() LESS mixin, deprecated in 1.27, has been removed.
365 * ReadOnlyMode::clearCache() and ConfiguredReadOnlyMode::clearCache() have been
366 removed. Use MediaWikiTestCase::overrideMwServices() instead.
367
368 === Deprecations in 1.33 ===
369 * The configuration option $wgUseESI has been deprecated, and is expected
370 to be removed in a future release.
371 * The configuration option $wgSquidPurgeUseHostHeader has been deprecated,
372 and is expected to be removed in a future release.
373 * The configuration options $wgFixArabicUnicode and $wgFixMalayalamUnicode,
374 introduced in MW 1.17, have been deprecated. These fixes will always be
375 applied for Arabic and Malayalam in the future. Please enable these on
376 your local wiki (if you have them explicitly set to false) and run
377 maintenance/cleanupTitles.php to fix any existing page titles.
378 * The LegacyHookPreAuthenticationProvider class, deprecated since its creation
379 in 1.27 as part of the AuthManager re-write, now emits deprecation warnings.
380 This will help identify the issue if you added it to $wgAuthManagerConfig.
381 * wfSplitWikiId() is now deprecated. Cache key generation should have the wiki
382 domain ID as a key component and use makeGlobalKey().
383 * (T202094) Title::getUserCaseDBKey() is deprecated; instead, please use
384 Title::getDBKey(), which doesn't vary case.
385 * User::getPasswordValidity() is now deprecated. User::checkPasswordValidity()
386 returns the same information in a more useful format.
387 * For Linker::generateTOC() and Linker::tocList(), passing strings or booleans
388 as the $lang parameter was deprecated. The same applies to DummyLinker.
389 * The PasswordPolicy 'PasswordCannotBePopular' has been deprecated. To
390 follow best practices, it is reccommended to use 'PasswordNotInLargeBlacklist'
391 instead which blacklists 100,000 commonly used passwords.
392 * (T208862) Action::requiresUnblock() is now called from
393 Title::getUserPermissionsErrors() and Title::userCan(). Previously, the method
394 was only called in Action::checkCanExecute(). Actions should ensure that their
395 requiresUnblock() returns the proper result (the default is `true`).
396 * (T211608) The MediaWiki\Services namespace has been renamed to
397 Wikimedia\Services. The old name is still supported, but deprecated.
398 * (T155582) Content::getNativeData has been deprecated. Please use model-
399 specific getters, such as TextContent::getText().
400 * The class WebInstallerOutput is now marked as @private.
401 * (T209699) The jquery.async module has been deprecated. JavaScript code that
402 needs asynchronous behaviour should use Promises.
403 * Password::equals() is deprecated, use verify().
404 * BaseTemplate::msgWiki() and QuickTemplate::msgWiki() will be removed. Use
405 other means to fetch a properly escaped message string or Message object.
406 * (T126091) The 'ResourceLoaderTestModules' hook, which lets you declare QUnit
407 testing code for your JavaScript modules, is deprecated. Instead, you can now
408 use the new extension registration key 'QUnitTestModule'.
409 * (T213426) The jquery.throttle-debounce module has been deprecated. JavaScript
410 code that needs this behaviour should use OO.ui.debounce/throttle.
411 * The mw.language.specialCharacters property from the
412 'mediawiki.language.specialCharacters' module has been deprecated.
413 Use require( 'mediawiki.language.specialCharacters' ) instead.
414 * ChangeTags::purgeTagUsageCache() has been deprecated, and is expected to be
415 removed in a future release.
416 * Passing a User object or null as the third parameter to
417 ApiBase::checkTitleUserPermissions() has been deprecated. Pass an array
418 [ 'user' => $user ] instead.
419 * (T211578) Block::prevents is deprecated. Use Block::isEmailBlocked,
420 Block::isCreateAccountBlocked and Block::isUsertalkEditAllowed to get and set
421 block properties; use Block::appliesToRight and Block::appliesToUsertalk to
422 check block behaviour.
423 * The api-feature-usage log channel now has log context. The text message is
424 deprecated and will be removed in the future.
425 * The FileBasedSiteLookup class has been deprecated. For a cacheable SiteLookup
426 implementation, use CachingSiteStore instead.
427 * Language::viewPrevNext function is deprecated, use
428 SpecialPage::buildPrevNextNavigation instead
429 * ManualLogEntry::setTags() is deprecated, use ManualLogEntry::addTags()
430 instead. The setTags() method was overriding the tags, addTags() doesn't
431 override, only adds new tags.
432 * Block::isValid is deprecated, since it is no longer needed in core.
433 * Calling Maintenance::hasArg() as well as Maintenance::getArg() with no
434 parameter has been deprecated. Please pass the argument number 0.
435 * ResourceLoaderContext::expandModuleNames has been deprecated.
436 Use ResourceLoader::expandModuleNames instead.
437
438 === Other changes in 1.33 ===
439 * (T201747) Html::openElement() warns if given an element name with a space
440 in it.
441 * The implementation of buildStringCast() in Wikimedia\Rdbms\Database has
442 changed to explicitly cast. Subclasses relying on the base-class
443 implementation should check whether they need to override it now.
444 * BagOStuff::add is now abstract and must explicitly be defined in subclasses.
445 * LinksDeletionUpdate is now a subclass of LinksUpdate. As a consequence,
446 the following hooks will now be triggered upon page deletion in addition
447 to page updates: LinksUpdateConstructed, LinksUpdate, LinksUpdateComplete.
448 LinksUpdateAfterInsert is not triggered since deletions do not cause
449 insertions into links tables.
450 * Category::newFromID( $id )->getID() will now return $id without any
451 validation, to avoid a mostly unnecessary DB query.
452 * On Special:Version, the name for an extension can no longer be arbitrary
453 html when no link is specified.
454
455 == Compatibility ==
456 MediaWiki 1.33 requires PHP 7.0.13 or later. Although HHVM 3.18.5 or later is
457 supported, it is generally advised to use PHP 7.0.13 or later for long term
458 support.
459
460 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
461 but support for them is somewhat less mature. There is experimental support for
462 Oracle and Microsoft SQL Server.
463
464 The supported versions are:
465
466 * MySQL 5.5.8 or later
467 * PostgreSQL 9.2 or later
468 * SQLite 3.8.0 or later
469 * Oracle 9.0.1 or later
470 * Microsoft SQL Server 2005 (9.00.1399)
471
472 == Online documentation ==
473 Documentation for both end-users and site administrators is available on
474 MediaWiki.org, and is covered under the GNU Free Documentation License (except
475 for pages that explicitly state that their contents are in the public domain):
476
477 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
478
479 == Mailing list ==
480 A mailing list is available for MediaWiki user support and discussion:
481
482 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
483
484 A low-traffic announcements-only list is also available:
485
486 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
487
488 It's highly recommended that you sign up for one of these lists if you're
489 going to run a public MediaWiki, so you can be notified of security fixes.
490
491 == IRC help ==
492 There's usually someone online in #mediawiki on irc.freenode.net.