In ParserCache, respect $useOutdated
[lhc/web/wiklou.git] / RELEASE-NOTES-1.27
1 == MediaWiki 1.27 ==
2
3 THIS IS NOT A RELEASE YET
4
5 MediaWiki 1.27 is an alpha-quality branch and is not recommended for use in
6 production.
7
8 === PHP version requirement ===
9 As of 1.27, MediaWiki now requires PHP 5.5.9 or higher. This corresponds with
10 HHVM 3.1. Additionally, the following PHP extensions are required:
11 * ctype
12 * iconv
13 * json
14 * mbstring
15 * xml
16
17 === Configuration changes in 1.27 ===
18 * $wgAllowMicrodataAttributes and $wgAllowRdfaAttributes were removed,
19 now always enabled. If you use RDFa on your wiki, you now have to explicitly
20 set $wgHtml5Version to 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
21 * $wgUseLinkNamespaceDBFields was removed.
22 * Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
23 $wgResourceLoaderMinifierMaxLineLength, because there was little value in
24 making the behavior configurable. The default values (`false` for the former,
25 1000 for the latter) are now hard-coded.
26 * $wgDebugDumpSqlLength was removed (deprecated in 1.24).
27 * $wgDebugDBTransactions was removed (deprecated in 1.20).
28 * $wgUseXVO has been removed, as it provides functionality only used by
29 custom Wikimedia patches against Squid 2.x that probably noone uses in
30 production anymore. There is now $wgUseKeyHeader that provides similar
31 functionality but instead of the MediaWiki-specific X-Vary-Options header,
32 uses the draft Key header standard.
33 * $wgScriptExtension (and support for '.php5' entry points) was removed. See the
34 deprecation notice in the release notes for version 1.25 for advice on how to
35 preserve support for '.php5' entry points via URL rewriting.
36 * Password handling via the User object has been deprecated and partially
37 removed, pending the future introduction of AuthManager. In particular:
38 ** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
39 getPasswordExpired() have been removed. They were unused outside of core.
40 ** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
41 now private and will be removed in the future.
42 ** The getPassword() and getTemporaryPassword() methods now throw
43 BadMethodCallException and will be removed in the future.
44 ** The ability to pass 'password' and 'newpassword' to createNew() has been
45 removed. The only users of it seem to have been using it to set invalid
46 passwords, and so shouldn't be greatly affected.
47 ** setPassword(), setInternalPassword(), and setNewpassword() have been
48 deprecated, pending the introduction of AuthManager.
49 ** User::randomPassword() is deprecated in favor of a new method
50 PasswordFactory::generateRandomPasswordString()
51 ** User::getPasswordFactory() is deprecated, callers should just create a
52 PasswordFactory themselves.
53 ** A new constructor, User::newSystemUser(), has been added to simplify the
54 creation of passwordless "system" users for logged actions.
55 * $wgMaxSquidPurgeTitles was removed.
56 * $wgAjaxWatch was removed. This is now enabled by default.
57 * $wgUseInstantCommons now hotlinks Commons images by default instead of
58 downloading originals and thumbnailing them locally. This allows wikis to save
59 on CPU and bandwidth while reducing time to first byte for pages, even without
60 a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
61 * (T27397) WebP is enabled by default as an uploadable filetype.
62 * (T48998) $wgArticlePath must now be either a full url, or start with a "/".
63 * $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
64 * Deprecated API formats dbg, txt, and yaml have been removed.
65 * CLDRPluralRule* classes have been replaced with
66 wikimedia/cldr-plural-rule-parser.
67 * Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
68 $wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
69 $wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
70 * For proper operation of LocalIdLookup with shared user tables, ensure that
71 $wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
72 that all others are sharing from and that $wgLocalDatabases is set to the
73 full list of sharing wikis on all those wikis.
74 * Massive overhaul to session handling:
75 ** $wgSessionsInObjectCache is no longer supported and must be true, due to
76 MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
77 used.
78 ** ObjectCacheSessionHandler is removed, replaced with
79 MediaWiki\Session\PhpSessionHandler.
80 ** PHP session handling in general ($_SESSION, session_id(), and so on) is
81 deprecated. Use MediaWiki\Session\SessionManager instead. A new config
82 variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
83 issue a deprecation warning or to cause most PHP session handling to throw
84 exceptions.
85 ** Deprecated UserSetCookies hook. Session-handling extensions should generally
86 be creating a custom subclass of CookieSessionProvider. Other extensions
87 messing with cookies can no longer count on user data being saved in cookies
88 versus other methods.
89 ** Deprecated UserLoadFromSession hook, extensions should create a
90 MediaWiki\Session\SessionProvider.
91 ** The User cannot be loaded from session until after Setup.php completes.
92 Attempts to do so will be ignored and the User will remain unloaded.
93 ** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
94 the MediaWiki\Session\Token class.
95 * MediaWiki will now auto-create users as necessary, removing the need for
96 extensions to do so. An 'autocreateaccount' right is added to allow
97 auto-creation when 'createaccount' is not granted to all users.
98 * Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
99 * Most cookie-handling methods in User are deprecated.
100 * $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
101 experimental feature that has never worked.
102 * Login and createaccount tokens now vary by timestamp.
103 * LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
104 return a MediaWiki\Session\Token, and tokens must be checked using that
105 class's methods.
106 * $wgEnotifUseJobQ was removed and the job queue is always used.
107 * The functionality of the ApiSandbox extension has been merged into core. The
108 extension should no longer be used.
109 * $wgPreloadJavaScriptMwUtil was removed (deprecated in 1.26).
110 Extensions, skins, gadgets and scripts that use the mediawiki.util module must
111 express a dependency on it.
112 * $wgIncludeLegacyJavaScript, deprecated in MediaWiki 1.26, now defaults false.
113 Extensions, skins, gadgets and scripts that need the mediawiki.legacy.wikibits
114 module should express a dependency on it.
115 * Removed configuration option $wgCopyrightIcon (deprecated since 1.18). Use
116 $wgFooterIcons['copyright']['copyright'] instead.
117
118 === New features in 1.27 ===
119 * $wgDataCenterUpdateStickTTL was also added. This decides how long a user
120 sticks to the primary DC (via cookies) after they make changes to the site.
121 * Added a new hook, 'UserMailerTransformContent', to transform the contents
122 of an email. This is similar to the EmailUser hook but applies to all mail
123 sent via UserMailer.
124 * Added a new hook, 'UserMailerTransformMessage', to transform the contents
125 of an emai after MIME encoding.
126 * Added a new hook, 'UserMailerSplitTo', to control which users have to be
127 emailed separately (ie. there is a single address in the To: field) so
128 user-specific changes to the email can be applied safely.
129 * $wgCdnMaxageLagged was added, which limits the CDN cache TTL
130 when any load balancer uses a DB that is lagged beyond the 'max lag'
131 setting in the relevant section of $wgLBFactoryConf.
132 * User::newSystemUser() may be used to simplify the creation of passwordless
133 "system" users for logged actions from scripts and extensions.
134 * Extensions can now return detailed error information via the API when
135 preventing user actions using 'getUserPermissionsErrors' and similar hooks
136 by using ApiMessage instances instead of strings for the $result value.
137 * $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
138 becomes too high.
139 * Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
140 and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
141 cross-browser-compatible FlexBox rules. Users will still need to add fallback
142 float rules or the like for compatibility with IE9- separately.
143 * Added MWTimestamp::getTimezoneString() which returns the localized timezone
144 string, if available. To localize this string, see the comments of
145 $wgLocaltimezone in includes/DefaultSettings.php.
146 * Added CentralIdLookup, a service that allows extensions needing a concept of
147 "central" users to get that without having to know about specific central
148 authentication extensions.
149 * $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
150 Regular web request transactions that takes longer than this are aborted.
151 * Added a new hook, 'TitleMoveCompleting', which runs before a page move is
152 committed.
153 * $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
154 from CDN to mitigate DB replication lag and WAN cache purge lag.
155 * (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
156 if it is available.
157 * It is now possible to patrol file uploads (both for new files and new versions
158 of existing files). Special:NewFiles has gained an option to filter by patrol
159 status. This functionality can be disabled using $wgUseFilePatrol.
160 * MediaWiki\Session infrastructure allows for easier use of session mechanisms
161 other than the usual cookies.
162 ** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
163 custom session metadata.
164 * Added MWGrants and associated configuration settings $wgGrantPermissions and
165 $wgGrantPermissionGroups to hold configuration for authentication features
166 such as OAuth that want to allow restricting the user rights a user may make
167 use of.
168 ** If you're already using the OAuth extension, these new variables are
169 identical to (and will replace) $wgMWOAuthGrantPermissions and
170 $wgMWOAuthGrantPermissionGroups.
171 * Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
172 to assert that the request comes from a particular IP range.
173 * Added bot passwords, a rights-restricted login mechanism for API-using bots.
174 * Whitelisted the following HTML attributes for all elements in wikitext:
175 aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
176 * Removed "presentation" restriction on the HTML role attribute in wikitext.
177 All values are now allowed for the role attribute.
178 * $wgContentHandlers now also supports callbacks to create an instance of the
179 appropriate ContentHandler subclass.
180 * Added $wgAuthenticationTokenVersion, which if non-null prevents the
181 user_token database field from being exposed in cookies. Setting this would
182 be a good idea, but will log out all current sessions.
183 * $wgEventRelayerConfig was added, for managing PubSub event relay configuration,
184 specifically for reliable CDN url purges.
185 * Requests have unique IDs, equal to the UNIQUE_ID environment variable (when
186 MediaWiki is behind Apache+mod_unique_id or something similar) or a randomly-
187 generated 24-character string. This request ID is used to annotate log records
188 and error messages. It is available client-side via mw.config.get( 'wgRequestId' ).
189 The request ID supplants exception IDs. Accordingly, MWExceptionHandler::getLogId()
190 is deprecated.
191 * (T33313) Add a preference for watching uploads by default, also applies
192 to API-based upload tools.
193
194 === External library changes in 1.27 ===
195
196 ==== Upgraded external libraries ====
197 * Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
198 * Updated composer/semver from v1.0.0 to v1.2.0.
199 * Updated liuggio/statsd-php-client to 1.0.18.
200 * Updated QUnit from v1.18.0 to v1.22.0.
201
202 ==== New external libraries ====
203 * Added wikimedia/base-convert v1.0.1.
204 * Added wikimedia/cldr-plural-rule-parser v1.0.0.
205 * Added wikimedia/relpath v1.0.3.
206 * Added wikimedia/running-stat v1.1.0.
207 * Added wikimedia/php-session-serializer v1.0.3.
208
209 ==== Removed and replaced external libraries ====
210
211 === Bug fixes in 1.27 ===
212 * Special:Upload will now display correct maximum allowed file size when running
213 under HHVM (T116347).
214
215 === Action API changes in 1.27 ===
216 * Added list=allrevisions.
217 * generator=recentchanges now has the option to generate revids.
218 * ApiPageSet::setRedirectMergePolicy() was added. This allows generator
219 modules to define how generator data for a redirect source gets merged
220 into the redirect destination.
221 * prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
222 "was-deleted" warning.
223 * Added difftotextpst to query=revisions which preforms a pre-save transform on
224 the text before diffing it.
225 * Deprecated formats dbg, txt, and yaml have been removed.
226 * (T47988) The protect log event details now use new-style formatting.
227 * The following response properties from action=login are deprecated, and may
228 be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
229 handle cookies to properly manage session state.
230 * action=login transparently allows login using bot passwords. Clients should
231 merely need to change the username and password used after setting up a bot
232 password.
233 * action=upload no longer understands statuskey, asyncdownload or leavemessage.
234
235 === Action API internal changes in 1.27 ===
236 * ApiQueryORM removed.
237 * The following classes have been removed:
238 ** ApiFormatDbg
239 ** ApiFormatTxt
240 ** ApiFormatYaml
241 * ApiBase::addTokenProperties() was removed (deprecated since 1.24).
242 * ApiBase::getFinalPossibleErrors() was removed (deprecated since 1.24).
243 * ApiBase::getFinalResultProperties() was removed (deprecated since 1.24).
244 * ApiBase::getRequireAtLeastOneParameterErrorMessages() was removed (deprecated since 1.24).
245 * ApiBase::getPossibleErrors() was removed (deprecated since 1.24).
246 * ApiBase::getRequireMaxOneParameterErrorMessages() was removed (deprecated since 1.24).
247 * ApiBase::getRequireOnlyOneParameterErrorMessages() was removed (deprecated since 1.24).
248 * ApiBase::getResultProperties() was removed (deprecated since 1.24).
249 * ApiBase::getTitleOrPageIdErrorMessage() was removed (deprecated since 1.24).
250 * ApiBase::parseErrors() was removed (deprecated since 1.24).
251 * ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
252 ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
253 * ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
254 * ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
255 * ApiQuery::getGenerators() was removed (deprecated since 1.21).
256 * ApiQuery::getModules() was removed (deprecated since 1.21).
257 * ApiQuery::getModuleType() was removed (deprecated since 1.21).
258 * ApiQuery::setGeneratorContinue() was removed (deprecated since 1.24).
259 * ApiMain::getModules() was removed (deprecated since 1.21).
260 * ApiBase::getVersion() was removed (deprecated since 1.21).
261 * ApiMain::getShowVersions() was removed (deprecated in 1.21).
262 * ApiMain::addModule() was removed (deprecated in 1.21).
263 * ApiMain::addFormat() was removed (deprecated in 1.21).
264 * ApiMain::getFormats() was removed (deprecated in 1.21).
265 * ApiPageSet::finishPageSetGeneration() was removed (deprecated in 1.21).
266
267 === Languages updated in 1.27 ===
268
269 MediaWiki supports over 350 languages. Many localisations are updated
270 regularly. Below only new and removed languages are listed, as well as
271 changes to languages because of Phabricator reports.
272
273 * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
274 * (T116020) Aliases of magic words in MessagesXx.php are sorted by usage.
275
276 === Other changes in 1.27 ===
277 * Added dependency injection (DI) infrastructure, see docs/injection.txt for details.
278 It is planned to incrementally move MediaWiki code towards using DI, using the
279 service locator (SL) pattern as a stepping stone.
280 * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
281 * WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
282 ignore the 2nd and 3rd arguments (formerly $id and $commit).
283 * Removed "loaderScripts" option from ResourceLoaderFileModule class.
284 * Removed ORM-like wrapper added in 1.20.
285 * LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
286 (deprecated in 1.26).
287 * WikiPage::doQuickEdit() was removed (deprecated since 1.21).
288 * Removed SiteObject and SiteArray classes (deprecated in 1.21).
289 * MessageBlobStore::getInstance() was removed (deprecated since 1.25).
290 * (T84937) Free external links ("autolinked" urls) will now be terminated
291 by &nbsp; and HTML entity encodings of &nbsp, <, and >.
292 * (T36948) The default file revert message's timestamp is now in
293 $wgLocaltimezone, instead of UTC.
294 * The default name of the 'suppress' group page has been changed from
295 'Project:Oversight' to 'Project:Suppress'.
296 * DatabaseBase::resultObject() is now protected (use outside Database classes
297 not necessary since 1.11).
298 * Calling ResourceLoaderFileModule::readStyleFiles() without a
299 ResourceLoaderContext instance is deprecated.
300 * ResourceLoader::getLessCompiler() now takes an optional parameter of
301 additional LESS variables to set for the compiler.
302 * wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
303 instead.
304 * Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
305 were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
306 * Removed msg_resource_links database table and associated code.
307 * Removed msg_resource database table and associated code.
308 * Skin::getNamespaceNotice() was removed.
309 * wfIsConfiguredProxy() was removed (deprecated since 1.24).
310 * wfDebugTimer() was removed (deprecated since 1.25).
311 * wfIsTrustedProxy() was removed (deprecated since 1.24).
312 * wfGetIP() was removed (deprecated since 1.19).
313 * MWHookException was removed.
314 * OutputPage::appendSubtitle() was removed (deprecated since 1.19).
315 * OutputPage::loginToUse() was removed (deprecated since 1.19).
316 * Article::loadContent() was removed (deprecated since 1.19).
317 * User::editToken() was removed (deprecated since 1.19).
318 * Removed --force-normal option of dumpBackup.php, as it no longer served
319 any useful purpose since 1.22.
320 * The functions processOption() and processArgs() on the BackupDumper and
321 TextPassDumper classes have been removed.
322 * The maintenance/backupTextPass.inc file was deleted. You should include
323 maintenance/dumpTextPass.php instead.
324 * WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
325 * wfEmptyMsg() was removed (deprecated since 1.18).
326 * OutputPage::permissionRequired() was removed (deprecated since 1.18).
327 * OutputPage::blockedPage() was removed (deprecated since 1.18).
328 * User::getSkin() was removed (deprecated since 1.18).
329 * OutputPage::includeJQuery() was removed (deprecated since 1.17).
330 * WikiPage::updateRestrictions() was removed (deprecated since 1.19).
331 * WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
332 * LogPage::logName() was removed (deprecated since 1.19).
333 * LogPage::logHeader() was removed (deprecated since 1.19).
334 * wfCheckLimits() was removed (deprecated since 1.24).
335 * Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
336 * Linker::makeLinkObj() was removed (deprecated since 1.16).
337 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
338 * ChangesList::usePatrol was removed (deprecated since 1.22).
339 * wfMsgNoTrans() was removed (deprecated since 1.18).
340 * Linker::makeImageLink2 was removed (deprecated since 1.20).
341 * Title::userIsWatching() was removed (deprecated since 1.20).
342 * Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
343 database function directly instead.
344 * wfMsg() was removed (deprecated since 1.18).
345 * wfMsgForContent() was removed (deprecated since 1.18).
346 * wfMsgReal() was removed (deprecated since 1.18).
347 * wfMsgGetKey() was removed (deprecated since 1.18).
348 * wfMsgHtml() was removed (deprecated since 1.18).
349 * wfMsgWikiHtml() was removed (deprecated since 1.18).
350 * wfMsgExt() was removed (deprecated since 1.18).
351 * Language::armourMath() was removed (deprecated since 1.22).
352 * LanguageConverter::armourMath() was removed (deprecated since 1.22).
353 * FakeConverter::armourMath() was removed (deprecated since 1.22).
354 * The unused jquery.validate ResourceLoader module was removed.
355 * FileRepo::getRootUrl() was removed (deprecated since 1.20).
356 * User::generateToken() was removed (deprecated since 1.20).
357 * WikiPage::getRawText() was removed (deprecated since 1.21).
358 * ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
359 * ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
360 * ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
361 * Gallery images with multiple caption pipes no longer concatenate them all
362 together but instead pick the final one, similar to image syntax.
363 * XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
364 rather than consume everything until the end of the page.
365 * New maintenance script resetUserEmail.php allows sysadmins to reset user emails in case
366 a user forgot password/account was stolen.
367 * wfCheckEntropy() was removed (deprecated in 1.27).
368 * Browser support for Internet Explorer 8 lowered from Grade A to Grade C.
369 * ContentHandler::supportsCategories method added. Default is true.
370 CategoryMembershipChangeJob updates are skipped for content that
371 does not support categories.
372 * wikidiff difference engine is no longer supported, anyone still using it are encouraged
373 to upgrade to wikidiff2 which is actively maintained and has better package availability.
374 * Database logic was removed from WatchedItem and a WatchedItemStore was created:
375 ** WatchedItem::IGNORE_USER_RIGHTS and WatchedItem::CHECK_USER_RIGHTS were deprecated.
376 User::IGNORE_USER_RIGHTS and User::CHECK_USER_RIGHTS were introduced.
377 ** WatchedItem::fromUserTitle was deprecated in favour of the constructor.
378 ** WatchedItem::resetNotificationTimestamp was deprecated.
379 ** WatchedItem::batchAddWatch was deprecated.
380 ** WatchedItem::addWatch was deprecated.
381 ** WatchedItem::removeWatch was deprecated.
382 ** WatchedItem::isWatched was deprecated.
383 ** WatchedItem::duplicateEntries was deprecated.
384 ** EmailNotification::updateWatchlistTimestamp was deprecated.
385 ** User::getWatchedItem was removed.
386 * Unit tests don't work with external PHPUnit anymore, Composer is now the only supported
387 way. Run `composer install` to install it and other dev dependencies to run unit tests.
388 * wl_id field added to the watchlist table.
389 * Revision::getRawText() was removed (deprecated since 1.21).
390 * WikiPage::replaceSection() was removed (deprecated since 1.21).
391 * Article::replaceSection() was removed (deprecated since 1.21).
392 * Language::getLangObj() was removed (deprecated since 1.24).
393 * Language::getLanguageName() was removed (deprecated since 1.20).
394 * Language::getLanguageNames() was removed (deprecated since 1.20).
395 * Language::getTranslatedLanguageNames() was removed (deprecated since 1.20).
396 * Language::specialPage() was removed (deprecated since 1.24).
397 * MediaWikiTestCase::assertException() was removed (deprecated since 1.22).
398 * OutputPage::getHeadItems() was removed (deprecated since 1.24).
399 * OutputPage::getScript() was removed (deprecated since 1.24).
400 * OutputPage::out() was removed (deprecated since 1.22).
401 * OutputPage::setAllowedModules() was removed (deprecated since 1.24).
402 * UserrightsPage::makeGroupNameListForLog() was removed (deprecated since 1.21).
403 * MediaWikiSite::newFromGlobalId() was removed (deprecated since 1.21).
404 * Title::newFromRedirect() was removed (deprecated since 1.21).
405 * Skin::commonPrintStylesheet() was removed (deprecated since 1.22).
406 * Skin::getCommonStylePath() was removed (deprecated since 1.24).
407 * Skin::newFromKey() was removed (deprecated since 1.24).
408 * Skin::getUsableSkins() was removed (deprecated since 1.23).
409 * LoadBalancer::pickRandom() was removed (deprecated in 1.21).
410 * Article::getUndoText() and WikiPage::getUndoText were removed (deprecated since
411 1.21).
412 * DifferenceEngine::setText() was removed (deprecated in 1.21).
413 * Title::newFromRedirectArray() was removed (deprecated in 1.21).
414 * UserMailer::send() no longer accepts $replyto as the 5th argument and $contentType
415 as the 6th. These must be passed in the options array now.
416 * Title::newFromRedirectRecurse() was removed (deprecated in 1.21).
417 * Skin::accesskey was removed (deprecated since 1.21).
418 * Skin::blockLink was removed (deprecated since 1.21).
419 * Skin::buildRollbackLink was removed (deprecated since 1.21).
420 * Skin::emailLink was removed (deprecated since 1.21).
421 * Skin::formatComment was removed (deprecated since 1.21).
422 * Skin::formatHiddenCategories was removed (deprecated since 1.21).
423 * Skin::formatLinksInComment was removed (deprecated since 1.21).
424 * Skin::formatRevisionSize was removed (deprecated since 1.21).
425 * Skin::formatSize was removed (deprecated since 1.21).
426 * Skin::formatTemplates was removed (deprecated since 1.21).
427 * Skin::generateTOC was removed (deprecated since 1.21).
428 * Skin::getInternalLinkAttributes was removed (deprecated since 1.21).
429 * Skin::getInternalLinkAttributesObj was removed (deprecated since 1.21).
430 * Skin::getInterwikiLinkAttributes was removed (deprecated since 1.21).
431 * Skin::getInvalidTitleDescription was removed (deprecated since 1.21).
432 * Skin::getLinkColour was removed (deprecated since 1.21).
433 * Skin::getRevDeleteLink was removed (deprecated since 1.21).
434 * Skin::getRollbackEditCount was removed (deprecated since 1.21).
435 * Skin::makeBrokenImageLinkObj was removed (deprecated since 1.21).
436 * Skin::makeCommentLink was removed (deprecated since 1.21).
437 * Skin::makeExternalImage was removed (deprecated since 1.21).
438 * Skin::makeExternalLink was removed (deprecated since 1.21).
439 * Skin::makeHeadline was removed (deprecated since 1.21).
440 * Skin::makeImageLink was removed (deprecated since 1.21).
441 * Skin::makeMediaLinkFile was removed (deprecated since 1.21).
442 * Skin::makeMediaLinkObj was removed (deprecated since 1.21).
443 * Skin::makeSelfLinkObj was removed (deprecated since 1.21).
444 * Skin::makeThumbLink2 was removed (deprecated since 1.21).
445 * Skin::makeThumbLinkObj was removed (deprecated since 1.21).
446 * Skin::normaliseSpecialPage was removed (deprecated since 1.21).
447 * Skin::normalizeSubpageLink was removed (deprecated since 1.21).
448 * Skin::processResponsiveImages was removed (deprecated since 1.21).
449 * Skin::revComment was removed (deprecated since 1.21).
450 * Skin::revDeleteLink was removed (deprecated since 1.21).
451 * Skin::revDeleteLinkDisabled was removed (deprecated since 1.21).
452 * Skin::revUserLink was removed (deprecated since 1.21).
453 * Skin::revUserTools was removed (deprecated since 1.21).
454 * Skin::specialLink was removed (deprecated since 1.21).
455 * Skin::splitTrail was removed (deprecated since 1.21).
456 * Skin::titleAttrib was removed (deprecated since 1.21).
457 * Skin::tocIndent was removed (deprecated since 1.21).
458 * Skin::tocLine was removed (deprecated since 1.21).
459 * Skin::tocLineEnd was removed (deprecated since 1.21).
460 * Skin::tocList was removed (deprecated since 1.21).
461 * Skin::tocUnindent was removed (deprecated since 1.21).
462 * Skin::tooltip was removed (deprecated since 1.21).
463 * Skin::tooltipAndAccesskeyAttribs was removed (deprecated since 1.21).
464 * Skin::userTalkLink was removed (deprecated since 1.21).
465 * Skin::userToolLinksRedContribs was removed (deprecated since 1.21).
466
467 == Compatibility ==
468
469 MediaWiki 1.27 requires PHP 5.5.9 or later. There is experimental support for
470 HHVM 3.6.5 or later.
471
472 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
473 support for them is somewhat less mature. There is experimental support for
474 Oracle and Microsoft SQL Server.
475
476 The supported versions are:
477
478 * MySQL 5.0.3 or later
479 * PostgreSQL 8.3 or later
480 * SQLite 3.3.7 or later
481 * Oracle 9.0.1 or later
482 * Microsoft SQL Server 2005 (9.00.1399)
483
484 == Upgrading ==
485
486 1.27 has several database changes since 1.26, and will not work without schema
487 updates. Note that due to changes to some very large tables like the revision
488 table, the schema update may take quite long (minutes on a medium sized site,
489 many hours on a large site).
490
491 If upgrading from before 1.11, and you are using a wiki as a commons
492 repository, make sure that it is updated as well. Otherwise, errors may arise
493 due to database schema changes.
494
495 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
496 new database fields are filled with data.
497
498 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
499 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
500 with MediaWiki 1.21.
501
502 Don't forget to always back up your database before upgrading!
503
504 See the file UPGRADE for more detailed upgrade instructions.
505
506 For notes on 1.26.x and older releases, see HISTORY.
507
508 == Online documentation ==
509
510 Documentation for both end-users and site administrators is available on
511 MediaWiki.org, and is covered under the GNU Free Documentation License (except
512 for pages that explicitly state that their contents are in the public domain):
513
514 https://www.mediawiki.org/wiki/Documentation
515
516 == Mailing list ==
517
518 A mailing list is available for MediaWiki user support and discussion:
519
520 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
521
522 A low-traffic announcements-only list is also available:
523
524 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
525
526 It's highly recommended that you sign up for one of these lists if you're
527 going to run a public MediaWiki, so you can be notified of security fixes.
528
529 == IRC help ==
530
531 There's usually someone online in #mediawiki on irc.freenode.net.