2015-09-26 12:38:37 +00:00
|
|
|
Security reminder: If you have PHP's register_globals option set, you must
|
|
|
|
|
turn it off. MediaWiki will not work with it enabled.
|
|
|
|
|
|
|
|
|
|
== MediaWiki 1.27 ==
|
|
|
|
|
|
|
|
|
|
THIS IS NOT A RELEASE YET
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.27 is an alpha-quality branch and is not recommended for use in
|
|
|
|
|
production.
|
|
|
|
|
|
|
|
|
|
=== Configuration changes in 1.27 ===
|
2015-10-20 21:36:53 +00:00
|
|
|
* $wgUseLinkNamespaceDBFields was removed.
|
2015-09-30 20:39:20 +00:00
|
|
|
* Deprecated $wgResourceLoaderMinifierStatementsOnOwnLine and
|
|
|
|
|
$wgResourceLoaderMinifierMaxLineLength, because there was little value in
|
|
|
|
|
making the behavior configurable. The default values (`false` for the former,
|
|
|
|
|
1000 for the latter) are now hard-coded.
|
2015-10-04 18:39:58 +00:00
|
|
|
* $wgDebugDumpSqlLength was removed (deprecated in 1.24).
|
|
|
|
|
* $wgDebugDBTransactions was removed (deprecated in 1.20).
|
2015-10-06 07:01:10 +00:00
|
|
|
* $wgUseXVO has been removed, as it provides functionality only used by
|
|
|
|
|
custom Wikimedia patches against Squid 2.x that probably noone uses in
|
|
|
|
|
production anymore. There is now $wgUseKeyHeader that provides similar
|
|
|
|
|
functionality but instead of the MediaWiki-specific X-Vary-Options header,
|
|
|
|
|
uses the draft Key header standard.
|
2015-10-07 16:47:25 +00:00
|
|
|
* $wgScriptExtension (and support for '.php5' entry points) was removed. See the
|
|
|
|
|
deprecation notice in the release notes for version 1.25 for advice on how to
|
|
|
|
|
preserve support for '.php5' entry points via URL rewriting.
|
2015-09-04 16:17:42 +00:00
|
|
|
* Password handling via the User object has been deprecated and partially
|
|
|
|
|
removed, pending the future introduction of AuthManager. In particular:
|
|
|
|
|
** expirePassword(), getPasswordExpireDate(), resetPasswordExpiration(), and
|
|
|
|
|
getPasswordExpired() have been removed. They were unused outside of core.
|
|
|
|
|
** The mPassword, mNewpassword, mNewpassTime, and mPasswordExpires fields are
|
|
|
|
|
now private and will be removed in the future.
|
|
|
|
|
** The getPassword() and getTemporaryPassword() methods now throw
|
|
|
|
|
BadMethodCallException and will be removed in the future.
|
|
|
|
|
** The ability to pass 'password' and 'newpassword' to createNew() has been
|
|
|
|
|
removed. The only users of it seem to have been using it to set invalid
|
|
|
|
|
passwords, and so shouldn't be greatly affected.
|
|
|
|
|
** setPassword(), setInternalPassword(), and setNewpassword() have been
|
|
|
|
|
deprecated, pending the introduction of AuthManager.
|
|
|
|
|
** User::randomPassword() is deprecated in favor of a new method
|
|
|
|
|
PasswordFactory::generateRandomPasswordString()
|
|
|
|
|
** User::getPasswordFactory() is deprecated, callers should just create a
|
|
|
|
|
PasswordFactory themselves.
|
|
|
|
|
** A new constructor, User::newSystemUser(), has been added to simplify the
|
|
|
|
|
creation of passwordless "system" users for logged actions.
|
2015-10-19 16:42:06 +00:00
|
|
|
* $wgMaxSquidPurgeTitles was removed.
|
2015-10-20 21:36:53 +00:00
|
|
|
* $wgAjaxWatch was removed. This is now enabled by default.
|
2015-10-27 02:54:45 +00:00
|
|
|
* $wgUseInstantCommons now hotlinks Commons images by default instead of
|
2015-11-06 19:24:30 +00:00
|
|
|
downloading originals and thumbnailing them locally. This allows wikis to save
|
|
|
|
|
on CPU and bandwidth while reducing time to first byte for pages, even without
|
|
|
|
|
a thumbnail handler. See $wgForeignFileRepos documentation for tweaks.
|
|
|
|
|
* (T27397) WebP is enabled by default as an uploadable filetype.
|
2015-11-10 23:33:23 +00:00
|
|
|
* (T48998) $wgArticlePath must now be either a full url, or start with a "/".
|
2015-11-17 21:55:42 +00:00
|
|
|
* $wgRateLimitLog was removed; use $wgDebugLogGroups['ratelimit'] instead.
|
2015-11-12 17:58:46 +00:00
|
|
|
* Deprecated API formats dbg, txt, and yaml have been removed.
|
2016-01-07 22:56:18 +00:00
|
|
|
* CLDRPluralRule* classes have been replaced with
|
|
|
|
|
wikimedia/cldr-plural-rule-parser.
|
2015-12-07 19:49:38 +00:00
|
|
|
* Removed $wgProfilePerHost, $wgUDPProfilerHost, $wgUDPProfilerPort,
|
2016-01-07 22:56:18 +00:00
|
|
|
$wgUDPProfilerFormatString, $wgStatsMethod, $wgAggregateStatsID,
|
|
|
|
|
$wgStatsFormatString, and $wgProfileCallTree (deprecated since 1.20).
|
2015-12-09 14:46:43 +00:00
|
|
|
* For proper operation of LocalIdLookup with shared user tables, ensure that
|
|
|
|
|
$wgSharedDB and $wgSharedTables are properly set even on the "central" wiki
|
|
|
|
|
that all others are sharing from and that $wgLocalDatabases is set to the
|
|
|
|
|
full list of sharing wikis on all those wikis.
|
2016-02-01 20:44:03 +00:00
|
|
|
* Massive overhaul to session handling:
|
|
|
|
|
** $wgSessionsInObjectCache is no longer supported and must be true, due to
|
|
|
|
|
MediaWiki\Session\SessionManager. $wgSessionHandler is similarly no longer
|
|
|
|
|
used.
|
|
|
|
|
** ObjectCacheSessionHandler is removed, replaced with
|
|
|
|
|
MediaWiki\Session\PhpSessionHandler.
|
|
|
|
|
** PHP session handling in general ($_SESSION, session_id(), and so on) is
|
|
|
|
|
deprecated. Use MediaWiki\Session\SessionManager instead. A new config
|
|
|
|
|
variable, $wgPHPSessionHandling, is available to cause use of $_SESSION to
|
|
|
|
|
issue a deprecation warning or to cause most PHP session handling to throw
|
|
|
|
|
exceptions.
|
|
|
|
|
** Deprecated UserSetCookies hook. Session-handling extensions should generally
|
|
|
|
|
be creating a custom subclass of CookieSessionProvider. Other extensions
|
|
|
|
|
messing with cookies can no longer count on user data being saved in cookies
|
|
|
|
|
versus other methods.
|
|
|
|
|
** Deprecated UserLoadFromSession hook, extensions should create a
|
|
|
|
|
MediaWiki\Session\SessionProvider.
|
|
|
|
|
** The User cannot be loaded from session until after Setup.php completes.
|
|
|
|
|
Attempts to do so will be ignored and the User will remain unloaded.
|
|
|
|
|
** CSRF tokens may be fetched from the MediaWiki\Session\Session, which uses
|
|
|
|
|
the MediaWiki\Session\Token class.
|
|
|
|
|
* MediaWiki will now auto-create users as necessary, removing the need for
|
|
|
|
|
extensions to do so. An 'autocreateaccount' right is added to allow
|
|
|
|
|
auto-creation when 'createaccount' is not granted to all users.
|
|
|
|
|
* Deprecated AuthPluginAutoCreate hook in favor of LocalUserCreated.
|
|
|
|
|
* Most cookie-handling methods in User are deprecated.
|
2016-01-21 22:45:10 +00:00
|
|
|
* $wgAllowAsyncCopyUploads and $CopyUploadAsyncTimeout were removed. This was an
|
|
|
|
|
experimental feature that has never worked.
|
2016-02-01 20:44:03 +00:00
|
|
|
* Login and createaccount tokens now vary by timestamp.
|
|
|
|
|
* LoginForm::getLoginToken() and LoginForm::getCreateaccountToken()
|
|
|
|
|
return a MediaWiki\Session\Token, and tokens must be checked using that
|
|
|
|
|
class's methods.
|
2016-01-22 04:14:44 +00:00
|
|
|
* $wgEnotifUseJobQ was removed and the job queue is always used.
|
2015-05-07 17:11:09 +00:00
|
|
|
* The functionality of the ApiSandbox extension has been merged into core. The
|
|
|
|
|
extension should no longer be used.
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
=== New features in 1.27 ===
|
2016-01-29 20:09:56 +00:00
|
|
|
* $wgDataCenterUpdateStickTTL was also added. This decides how long a user
|
|
|
|
|
sticks to the primary DC (via cookies) after they make changes to the site.
|
2015-10-01 03:05:23 +00:00
|
|
|
* Added a new hook, 'UserMailerTransformContent', to transform the contents
|
|
|
|
|
of an email. This is similar to the EmailUser hook but applies to all mail
|
|
|
|
|
sent via UserMailer.
|
|
|
|
|
* Added a new hook, 'UserMailerTransformMessage', to transform the contents
|
|
|
|
|
of an emai after MIME encoding.
|
|
|
|
|
* Added a new hook, 'UserMailerSplitTo', to control which users have to be
|
|
|
|
|
emailed separately (ie. there is a single address in the To: field) so
|
|
|
|
|
user-specific changes to the email can be applied safely.
|
2015-10-01 07:24:18 +00:00
|
|
|
* $wgCdnMaxageLagged was added, which limits the CDN cache TTL
|
|
|
|
|
when any load balancer uses a DB that is lagged beyond the 'max lag'
|
|
|
|
|
setting in the relevant section of $wgLBFactoryConf.
|
2015-09-04 16:17:42 +00:00
|
|
|
* User::newSystemUser() may be used to simplify the creation of passwordless
|
|
|
|
|
"system" users for logged actions from scripts and extensions.
|
2015-10-19 12:30:40 +00:00
|
|
|
* Extensions can now return detailed error information via the API when
|
|
|
|
|
preventing user actions using 'getUserPermissionsErrors' and similar hooks
|
|
|
|
|
by using ApiMessage instances instead of strings for the $result value.
|
2015-10-02 00:57:07 +00:00
|
|
|
* $wgAPIMaxLagThreshold was added to limit bot changes when databases lag
|
|
|
|
|
becomes too high.
|
2015-10-27 02:54:45 +00:00
|
|
|
* Skins and extensions can now use FlexBox mixins (.flex-display(@display: flex)
|
|
|
|
|
and .flex(@grow: 1, @shrink: 1, @width: auto, @order: 1)) in Less to create
|
|
|
|
|
cross-browser-compatible FlexBox rules. Users will still need to add fallback
|
|
|
|
|
float rules or the like for compatibility with IE9- separately.
|
2015-11-20 22:43:01 +00:00
|
|
|
* Added MWTimestamp::getTimezoneString() which returns the localized timezone
|
|
|
|
|
string, if available. To localize this string, see the comments of
|
|
|
|
|
$wgLocaltimezone in includes/DefaultSettings.php.
|
2015-11-12 23:21:19 +00:00
|
|
|
* Added CentralIdLookup, a service that allows extensions needing a concept of
|
|
|
|
|
"central" users to get that without having to know about specific central
|
|
|
|
|
authentication extensions.
|
2015-10-24 10:22:41 +00:00
|
|
|
* $wgMaxUserDBWriteDuration added to limit huge user-generated transactions.
|
|
|
|
|
Regular web request transactions that takes longer than this are aborted.
|
2016-01-07 22:56:18 +00:00
|
|
|
* Added a new hook, 'TitleMoveCompleting', which runs before a page move is
|
|
|
|
|
committed.
|
2015-11-13 06:41:37 +00:00
|
|
|
* $wgCdnReboundPurgeDelay was added to provide secondary delayed purges of URLs
|
|
|
|
|
from CDN to mitigate DB replication lag and WAN cache purge lag.
|
2015-10-23 22:44:32 +00:00
|
|
|
* (T49162) Installer will default to setting CACHE_ACCEL as the main cache type
|
|
|
|
|
if it is available.
|
2016-01-07 23:07:05 +00:00
|
|
|
* It is now possible to patrol file uploads (both for new files and new versions
|
|
|
|
|
of existing files). Special:NewFiles has gained an option to filter by patrol
|
|
|
|
|
status. This functionality can be disabled using $wgUseFilePatrol.
|
2016-02-01 20:44:03 +00:00
|
|
|
* MediaWiki\Session infrastructure allows for easier use of session mechanisms
|
|
|
|
|
other than the usual cookies.
|
|
|
|
|
** SessionMetadata and SessionCheckInfo hooks allow for setting and checking
|
|
|
|
|
custom session metadata.
|
2015-12-02 17:10:26 +00:00
|
|
|
* Added MWGrants and associated configuration settings $wgGrantPermissions and
|
|
|
|
|
$wgGrantPermissionGroups to hold configuration for authentication features
|
|
|
|
|
such as OAuth that want to allow restricting the user rights a user may make
|
|
|
|
|
use of.
|
|
|
|
|
** If you're already using the OAuth extension, these new variables are
|
|
|
|
|
identical to (and will replace) $wgMWOAuthGrantPermissions and
|
|
|
|
|
$wgMWOAuthGrantPermissionGroups.
|
|
|
|
|
* Added MWRestrictions as a class to check restrictions on a WebRequest, e.g.
|
|
|
|
|
to assert that the request comes from a particular IP range.
|
2016-02-01 20:44:03 +00:00
|
|
|
* Added bot passwords, a rights-restricted login mechanism for API-using bots.
|
2016-01-18 01:19:26 +00:00
|
|
|
* Whitelisted the following HTML attributes for all elements in wikitext:
|
|
|
|
|
aria-describedby, aria-flowto, aria-label, aria-labelledby, aria-owns.
|
|
|
|
|
* Removed "presentation" restriction on the HTML role attribute in wikitext.
|
|
|
|
|
All values are now allowed for the role attribute.
|
2015-09-26 12:38:37 +00:00
|
|
|
|
2015-10-07 01:52:29 +00:00
|
|
|
=== External library changes in 1.27 ===
|
2016-01-02 22:01:10 +00:00
|
|
|
|
2015-10-07 01:52:29 +00:00
|
|
|
==== Upgraded external libraries ====
|
|
|
|
|
* Updated oojs/oojs-ui from v0.12.12 to v0.13.3.
|
|
|
|
|
* Updated composer/semver from v1.0.0 to v1.2.0.
|
2015-11-23 00:37:33 +00:00
|
|
|
* Update liuggio/statsd-php-client to 1.0.18.
|
2015-11-20 22:35:25 +00:00
|
|
|
|
2015-10-07 01:52:29 +00:00
|
|
|
==== New external libraries ====
|
|
|
|
|
* Added wikimedia/base-convert v1.0.1.
|
|
|
|
|
* Added wikimedia/cldr-plural-rule-parser v1.0.0.
|
|
|
|
|
* Added wikimedia/relpath v1.0.3.
|
|
|
|
|
* Added wikimedia/running-stat v1.1.0.
|
2016-02-01 20:44:03 +00:00
|
|
|
* Added wikimedia/php-session-serializer v1.0.3.
|
2015-10-07 01:52:29 +00:00
|
|
|
|
|
|
|
|
==== Removed and replaced external libraries ====
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
=== Bug fixes in 1.27 ===
|
2015-10-23 16:03:43 +00:00
|
|
|
* Special:Upload will now display correct maximum allowed file size when running
|
|
|
|
|
under HHVM (T116347).
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
=== Action API changes in 1.27 ===
|
2015-09-27 19:43:05 +00:00
|
|
|
* Added list=allrevisions.
|
2015-09-27 15:18:47 +00:00
|
|
|
* generator=recentchanges now has the option to generate revids.
|
2015-10-07 21:03:15 +00:00
|
|
|
* ApiPageSet::setRedirectMergePolicy() was added. This allows generator
|
|
|
|
|
modules to define how generator data for a redirect source gets merged
|
|
|
|
|
into the redirect destination.
|
UploadBase: Return 'was-deleted' warning in addition to 'exists-normalized', not instead of
The 'was-deleted' warning was generated by getExistsWarning(), which
was returning immediately if this was found to be the case. A bunch of
later checks were incorrectly skipped, in particular 'exists-normalized',
which was resulting in UploadWizard incorrectly ignoring that problem.
I'm not sure why that was part of getExistsWarning() at all, it
doesn't seem very relevant. For that matter, neither do the 'thumb',
'thumb-name' and 'bad-prefix' warnings that it also generates, but
this should not be a problem in practice and so I'm leaving them alone.
Other than by allowing some more warning types to appear together or
in different order, this should not affect action=upload API output or
Special:Upload (which was updated appropriately). It does affect
'action=query&prop=imageinfo' output's 'html' property (used for AJAX
checks on Special:Upload), which no longer includes the 'was-deleted'
warning; this was never specified anywhere and just a side-effect.
Bug: T48741
Change-Id: I3686ee8ffd635f5f06f51971b6f16e3e66f33a9e
2015-09-11 18:49:36 +00:00
|
|
|
* prop=imageinfo&iiprop=uploadwarning will no longer include the possibility of
|
|
|
|
|
"was-deleted" warning.
|
2014-03-31 07:58:54 +00:00
|
|
|
* Added difftotextpst to query=revisions which preforms a pre-save transform on
|
|
|
|
|
the text before diffing it.
|
2015-11-12 17:58:46 +00:00
|
|
|
* Deprecated formats dbg, txt, and yaml have been removed.
|
2015-11-20 22:47:52 +00:00
|
|
|
* (T47988) The protect log event details now use new-style formatting.
|
2015-12-15 16:11:27 +00:00
|
|
|
* The following response properties from action=login are deprecated, and may
|
|
|
|
|
be removed in the future: lgtoken, cookieprefix, sessionid. Clients should
|
|
|
|
|
handle cookies to properly manage session state.
|
2016-02-01 20:44:03 +00:00
|
|
|
* action=login transparently allows login using bot passwords. Clients should
|
|
|
|
|
merely need to change the username and password used after setting up a bot
|
|
|
|
|
password.
|
2016-01-21 22:45:10 +00:00
|
|
|
* action=upload no longer understands statuskey, asyncdownload or leavemessage.
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
=== Action API internal changes in 1.27 ===
|
2015-10-15 16:53:14 +00:00
|
|
|
* ApiQueryORM removed.
|
2015-11-12 17:58:46 +00:00
|
|
|
* The following classes have been removed:
|
|
|
|
|
** ApiFormatDbg
|
|
|
|
|
** ApiFormatTxt
|
|
|
|
|
** ApiFormatYaml
|
2015-12-20 17:03:34 +00:00
|
|
|
* ApiQueryBase::titleToKey(), ApiQueryBase::keyToTitle() and
|
|
|
|
|
ApiQueryBase::keyPartToTitle() all removed (deprecated since 1.24).
|
|
|
|
|
* ApiQueryBase::checkRowCount() was removed (deprecated since 1.24).
|
|
|
|
|
* ApiQueryBase::getDirectionDescription() was removed (deprecated since 1.25).
|
2016-01-02 22:31:21 +00:00
|
|
|
* ApiQuery::getModules() was removed (deprecated since 1.21).
|
|
|
|
|
* ApiMain::getModules() was removed (deprecated since 1.21).
|
2016-01-30 01:16:31 +00:00
|
|
|
* ApiBase::getVersion() was removed (deprecated since 1.21).
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
=== Languages updated in 1.27 ===
|
|
|
|
|
|
|
|
|
|
MediaWiki supports over 350 languages. Many localisations are updated
|
|
|
|
|
regularly. Below only new and removed languages are listed, as well as
|
2015-11-21 02:26:15 +00:00
|
|
|
changes to languages because of Phabricator reports.
|
2015-09-26 12:38:37 +00:00
|
|
|
|
2015-11-07 15:29:33 +00:00
|
|
|
* (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale.
|
|
|
|
|
|
2015-09-26 12:38:37 +00:00
|
|
|
=== Other changes in 1.27 ===
|
2015-10-22 03:59:47 +00:00
|
|
|
* ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class.
|
2015-10-07 18:48:23 +00:00
|
|
|
* WikiPage::doDeleteArticleReal() and WikiPage::doDeleteArticle() now
|
|
|
|
|
ignore the 2nd and 3rd arguments (formerly $id and $commit).
|
2015-10-19 23:04:23 +00:00
|
|
|
* Removed "loaderScripts" option from ResourceLoaderFileModule class.
|
2015-10-06 15:58:18 +00:00
|
|
|
* Removed ORM-like wrapper added in 1.20.
|
2016-01-07 22:56:18 +00:00
|
|
|
* LinkCache::getGoodLinks and LinkCache::getBadLinks were removed
|
|
|
|
|
(deprecated in 1.26).
|
2015-11-04 02:13:45 +00:00
|
|
|
* WikiPage::doQuickEdit() was removed (deprecated since 1.21).
|
2015-11-04 12:16:10 +00:00
|
|
|
* Removed SiteObject and SiteArray classes (deprecated in 1.21).
|
2015-11-12 00:24:38 +00:00
|
|
|
* MessageBlobStore::getInstance() was removed (deprecated since 1.25).
|
2015-11-20 22:21:40 +00:00
|
|
|
* (T84937) Free external links ("autolinked" urls) will now be terminated
|
|
|
|
|
by and HTML entity encodings of  , <, and >.
|
2016-01-07 22:56:18 +00:00
|
|
|
* (T36948) The default file revert message's timestamp is now in
|
|
|
|
|
$wgLocaltimezone, instead of UTC.
|
2015-11-20 22:53:29 +00:00
|
|
|
* The default name of the 'suppress' group page has been changed from
|
|
|
|
|
'Project:Oversight' to 'Project:Suppress'.
|
2015-11-20 23:01:46 +00:00
|
|
|
* DatabaseBase::resultObject() is now protected (use outside Database classes
|
|
|
|
|
not necessary since 1.11).
|
2015-11-20 23:05:00 +00:00
|
|
|
* Calling ResourceLoaderFileModule::readStyleFiles() without a
|
|
|
|
|
ResourceLoaderContext instance is deprecated.
|
|
|
|
|
* ResourceLoader::getLessCompiler() now takes an optional parameter of
|
|
|
|
|
additional LESS variables to set for the compiler.
|
2016-01-07 22:56:18 +00:00
|
|
|
* wfBaseConvert() marked as deprecated, use Wikimedia\base_convert() directly
|
|
|
|
|
instead.
|
2015-12-07 19:49:38 +00:00
|
|
|
* Obsolete maintenance scripts clearCacheStats.php and showCacheStats.php
|
|
|
|
|
were removed. The underlying data is sent to StatsD (see $wgStatsdServer).
|
2015-11-06 23:43:44 +00:00
|
|
|
* Removed msg_resource_links database table and associated code.
|
2015-12-09 21:29:59 +00:00
|
|
|
* Removed msg_resource database table and associated code.
|
2015-12-14 19:03:47 +00:00
|
|
|
* Skin::getNamespaceNotice() was removed.
|
|
|
|
|
* wfIsConfiguredProxy() was removed (deprecated since 1.24).
|
|
|
|
|
* wfDebugTimer() was removed (deprecated since 1.25).
|
|
|
|
|
* wfIsTrustedProxy() was removed (deprecated since 1.24).
|
|
|
|
|
* wfGetIP() was removed (deprecated since 1.19).
|
|
|
|
|
* MWHookException was removed.
|
2015-12-17 01:56:17 +00:00
|
|
|
* OutputPage::appendSubtitle() was removed (deprecated since 1.19).
|
|
|
|
|
* OutputPage::loginToUse() was removed (deprecated since 1.19).
|
2015-12-15 22:27:36 +00:00
|
|
|
* Article::loadContent() was removed (deprecated since 1.19).
|
2015-12-15 22:30:53 +00:00
|
|
|
* User::editToken() was removed (deprecated since 1.19).
|
2015-09-28 23:15:49 +00:00
|
|
|
* Removed --force-normal option of dumpBackup.php, as it no longer served
|
|
|
|
|
any useful purpose since 1.22.
|
2015-12-31 09:46:54 +00:00
|
|
|
* The functions processOption() and processArgs() on the BackupDumper and
|
|
|
|
|
TextPassDumper classes have been removed.
|
|
|
|
|
* The maintenance/backupTextPass.inc file was deleted. You should include
|
|
|
|
|
maintenance/dumpTextPass.php instead.
|
2016-01-02 02:56:17 +00:00
|
|
|
* WikiPage::getUsedTemplates() was removed (deprecated since 1.19).
|
2016-01-02 03:05:05 +00:00
|
|
|
* wfEmptyMsg() was removed (deprecated since 1.18).
|
2016-01-02 15:37:15 +00:00
|
|
|
* OutputPage::permissionRequired() was removed (deprecated since 1.18).
|
2016-01-02 18:53:28 +00:00
|
|
|
* OutputPage::blockedPage() was removed (deprecated since 1.18).
|
2016-01-02 02:49:43 +00:00
|
|
|
* User::getSkin() was removed (deprecated since 1.18).
|
2016-01-02 15:17:11 +00:00
|
|
|
* OutputPage::includeJQuery() was removed (deprecated since 1.17).
|
2016-01-02 20:47:25 +00:00
|
|
|
* WikiPage::updateRestrictions() was removed (deprecated since 1.19).
|
2016-01-02 20:56:43 +00:00
|
|
|
* WikiPage::testPreSaveTransform() was removed (deprecated since 1.19).
|
2016-01-02 21:16:05 +00:00
|
|
|
* LogPage::logName() was removed (deprecated since 1.19).
|
|
|
|
|
* LogPage::logHeader() was removed (deprecated since 1.19).
|
2016-01-02 22:56:38 +00:00
|
|
|
* wfCheckLimits() was removed (deprecated since 1.24).
|
2016-01-02 22:41:37 +00:00
|
|
|
* Linker::makeKnownLinkObj() was removed (deprecated since 1.16).
|
2016-01-02 22:47:08 +00:00
|
|
|
* Linker::makeLinkObj() was removed (deprecated since 1.16).
|
2016-01-03 00:21:35 +00:00
|
|
|
* wfMsgForContentNoTrans() was removed (deprecated since 1.18).
|
2016-01-03 17:57:00 +00:00
|
|
|
* ChangesList::usePatrol was removed (deprecated since 1.22).
|
2016-01-03 13:00:15 +00:00
|
|
|
* wfMsgNoTrans() was removed (deprecated since 1.18).
|
2016-01-03 13:21:53 +00:00
|
|
|
* Linker::makeImageLink2 was removed (deprecated since 1.20).
|
2016-01-03 14:43:19 +00:00
|
|
|
* Title::userIsWatching() was removed (deprecated since 1.20).
|
2016-01-05 22:13:55 +00:00
|
|
|
* Removed WaitForSlave maintenance script; use SELECT MASTER_POS_WAIT()
|
|
|
|
|
database function directly instead.
|
2016-01-04 07:32:28 +00:00
|
|
|
* wfMsg() was removed (deprecated since 1.18).
|
|
|
|
|
* wfMsgForContent() was removed (deprecated since 1.18).
|
|
|
|
|
* wfMsgReal() was removed (deprecated since 1.18).
|
|
|
|
|
* wfMsgGetKey() was removed (deprecated since 1.18).
|
|
|
|
|
* wfMsgHtml() was removed (deprecated since 1.18).
|
|
|
|
|
* wfMsgWikiHtml() was removed (deprecated since 1.18).
|
|
|
|
|
* wfMsgExt() was removed (deprecated since 1.18).
|
2016-01-02 22:01:10 +00:00
|
|
|
* Language::armourMath() was removed (deprecated since 1.22).
|
|
|
|
|
* LanguageConverter::armourMath() was removed (deprecated since 1.22).
|
|
|
|
|
* FakeConverter::armourMath() was removed (deprecated since 1.22).
|
2016-01-08 03:55:43 +00:00
|
|
|
* The unused jquery.validate ResourceLoader module was removed.
|
2016-01-13 17:30:39 +00:00
|
|
|
* FileRepo::getRootUrl() was removed (deprecated since 1.20).
|
2016-01-13 18:11:53 +00:00
|
|
|
* User::generateToken() was removed (deprecated since 1.20).
|
2016-01-13 19:35:24 +00:00
|
|
|
* WikiPage::getRawText() was removed (deprecated since 1.21).
|
2016-01-17 10:28:39 +00:00
|
|
|
* ParserOutput::hasCustomDataUpdates() was removed (deprecated since 1.25).
|
2016-01-18 16:36:38 +00:00
|
|
|
* ParserOutput::addSecondaryDataUpdate() was removed (deprecated since 1.25).
|
|
|
|
|
* ParserOutput::getSecondaryDataUpdates() was removed (deprecated since 1.25).
|
2016-01-22 03:24:03 +00:00
|
|
|
* Gallery images with multiple caption pipes no longer concatenate them all
|
|
|
|
|
together but instead pick the final one, similar to image syntax.
|
2016-01-25 12:37:18 +00:00
|
|
|
* XML-like parser tags (such as <gallery>), when unclosed, will be left unparsed
|
|
|
|
|
rather than consume everything until the end of the page.
|
2015-11-23 23:32:33 +00:00
|
|
|
* New maintenance script resetUserEmail.php allows sysadmins to reset user emails in case
|
|
|
|
|
a user forgot password/account was stolen.
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
== Compatibility ==
|
|
|
|
|
|
|
|
|
|
MediaWiki 1.27 requires PHP 5.3.3 or later. There is experimental support for
|
2016-01-12 23:41:37 +00:00
|
|
|
HHVM 3.6.5 or later.
|
2015-09-26 12:38:37 +00:00
|
|
|
|
|
|
|
|
MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
|
|
|
|
|
support for them is somewhat less mature. There is experimental support for
|
|
|
|
|
Oracle and Microsoft SQL Server.
|
|
|
|
|
|
|
|
|
|
The supported versions are:
|
|
|
|
|
|
|
|
|
|
* MySQL 5.0.3 or later
|
|
|
|
|
* PostgreSQL 8.3 or later
|
|
|
|
|
* SQLite 3.3.7 or later
|
|
|
|
|
* Oracle 9.0.1 or later
|
|
|
|
|
* Microsoft SQL Server 2005 (9.00.1399)
|
|
|
|
|
|
|
|
|
|
== Upgrading ==
|
|
|
|
|
|
|
|
|
|
1.27 has several database changes since 1.26, and will not work without schema
|
|
|
|
|
updates. Note that due to changes to some very large tables like the revision
|
|
|
|
|
table, the schema update may take quite long (minutes on a medium sized site,
|
|
|
|
|
many hours on a large site).
|
|
|
|
|
|
|
|
|
|
If upgrading from before 1.11, and you are using a wiki as a commons
|
|
|
|
|
repository, make sure that it is updated as well. Otherwise, errors may arise
|
|
|
|
|
due to database schema changes.
|
|
|
|
|
|
|
|
|
|
If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
|
|
|
|
|
new database fields are filled with data.
|
|
|
|
|
|
|
|
|
|
If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
|
|
|
|
|
1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
|
|
|
|
|
with MediaWiki 1.21.
|
|
|
|
|
|
|
|
|
|
Don't forget to always back up your database before upgrading!
|
|
|
|
|
|
|
|
|
|
See the file UPGRADE for more detailed upgrade instructions.
|
|
|
|
|
|
|
|
|
|
For notes on 1.26.x and older releases, see HISTORY.
|
|
|
|
|
|
|
|
|
|
== Online documentation ==
|
|
|
|
|
|
|
|
|
|
Documentation for both end-users and site administrators is available on
|
|
|
|
|
MediaWiki.org, and is covered under the GNU Free Documentation License (except
|
|
|
|
|
for pages that explicitly state that their contents are in the public domain):
|
|
|
|
|
|
|
|
|
|
https://www.mediawiki.org/wiki/Documentation
|
|
|
|
|
|
|
|
|
|
== Mailing list ==
|
|
|
|
|
|
|
|
|
|
A mailing list is available for MediaWiki user support and discussion:
|
|
|
|
|
|
|
|
|
|
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|
|
|
|
|
|
|
|
|
|
A low-traffic announcements-only list is also available:
|
|
|
|
|
|
|
|
|
|
https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
|
|
|
|
|
|
|
|
|
|
It's highly recommended that you sign up for one of these lists if you're
|
|
|
|
|
going to run a public MediaWiki, so you can be notified of security fixes.
|
|
|
|
|
|
|
|
|
|
== IRC help ==
|
|
|
|
|
|
|
|
|
|
There's usually someone online in #mediawiki on irc.freenode.net.
|