Merge "convertExtensionToRegistration.php: Ignore i18n shims"
[mediawiki.git] / RELEASE-NOTES-1.25
blob8bc51be505e65df419048e3221ba1db974efaef5
1 Security reminder: If you have PHP's register_globals option set, you must
2 turn it off. MediaWiki will not work with it enabled.
4 == MediaWiki 1.25 ==
6 THIS IS NOT A RELEASE YET
8 MediaWiki 1.25 is an alpha-quality branch and is not recommended for use in
9 production.
11 === Configuration changes in 1.25 ===
12 * $wgPageShowWatchingUsers was removed.
13 * $wgLocalVirtualHosts has been added to replace $wgConf->localVHosts.
14 * $wgAntiLockFlags was removed.
15 * $wgJavaScriptTestConfig was removed.
16 * Edit tokens returned from User::getEditToken may change on every call. Token
17   validity must be checked by passing the user-supplied token to
18   User::matchEditToken rather than by testing for equality with a
19   newly-generated token.
20 * (T74951) The UserGetLanguageObject hook may be passed any IContextSource
21   for its $context parameter. Formerly it was documented as receiving a
22   RequestContext specifically.
23 * Profiling was restructured and $wgProfiler now requires an 'output' parameter.
24   See StartProfiler.sample for details.
25 * $wgMangleFlashPolicy was added to make MediaWiki's mangling of anything that
26   might be a flash policy directive configurable.
27 * ApiOpenSearch now supports XML output. The OpenSearchXml extension should no
28   longer be used. If extracts and page images are desired, the TextExtracts and
29   PageImages extensions are required.
30 * $wgOpenSearchTemplate is deprecated in favor of $wgOpenSearchTemplates.
31 * Edits are now prepared via AJAX as users type edit summaries. This behavior
32   can be disabled via $wgAjaxEditStash.
33 * (T46740) The temporary option $wgIncludejQueryMigrate was removed, along
34   with the jQuery Migrate library, as indicated when this option was provided in
35   MediaWiki 1.24.
36 * ProfilerStandard and ProfilerSimpleTrace were removed. Make sure that any
37   StartProfiler.php config is updated to reflect this. Xhprof is available
38   for zend/hhvm. Also, for hhvm, one can consider using its xenon profiler.
39 * Default value of $wgSVGConverters['rsvg'] now uses the 'rsvg-convert' binary
40   rather than 'rsvg'.
41 * Default value of $wgSVGConverters['ImageMagick'] now uses transparent
42   background with white fallback color, rather than just white background.
43  * MediaWikiBagOStuff class removed, make sure any object cache config
44    uses SqlBagOStuff instead.
45 * The 'daemonized' flag must be set to true in $wgJobTypeConf for any redis
46   job queues. This means that mediawiki/services/jobrunner service has to
47   be installed and running for any such queues to work.
48 * $wgAutopromoteOnce no longer supports the 'view' event. For keeping some
49   compatibility, any 'view' event triggers will still trigger on 'edit'.
51 === New features in 1.25 ===
52 * (T64861) Updated plural rules to CLDR 26. Includes incompatible changes
53   for plural forms in Russian, Prussian, Tagalog, Manx and several languages
54   that fall back to Russian.
55 * (T60139) ResourceLoaderFileModule now supports language fallback
56   for 'languageScripts'.
57 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify the
58   parser output for a content object before links update.
59 * (T37785) Enhanced recent changes and extended watchlist are now default.
60   Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
61   and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions.
62 * (T69341) SVG images will no longer be base64-encoded when being embedded
63   in CSS. This results in slight size increase before gzip compression (due to
64   percent-encoding), but up to 20% decrease after it.
65 * Update jStorage to v0.4.12.
66 * MediaWiki now natively supports page status indicators: icons (or short text
67   snippets) usually displayed in the top-right corner of the page. They have
68   been in use on Wikipedia for a long time, implemented using templates and CSS
69   absolute positioning.
70   - Basic wikitext syntax: <indicator name="foo">[[File:Foo.svg|20px]]</indicator>
71   - Usage instructions: https://www.mediawiki.org/wiki/Help:Page_status_indicators
72   - Adjusting custom skins to support indicators:
73     https://www.mediawiki.org/wiki/Manual:Skinning#Page_status_indicators
74 * Edit tokens may now be time-limited: passing a maximum age to
75   User::matchEditToken will reject any older tokens.
76 * The debug logging internals have been overhauled, and are now using the
77   PSR-3 interfaces.
78 * Update CSSJanus to v1.1.1.
79 * Update lessphp to v0.5.0.
80 * Added a hook, "ApiOpenSearchSuggest", to allow extensions to provide extracts
81   and images for ApiOpenSearch output. The semantics are identical to the
82   "OpenSearchXml" hook provided by the OpenSearchXml extension.
83 * PrefixSearchBackend hook now has an $offset parameter. Combined with $limit,
84   this allows for pagination of prefix results. Extensions using this hook
85   should implement supporting behavior. Not doing so can result in undefined
86   behavior from API clients trying to continue through prefix results.
87 * Update jQuery from v1.11.1 to v1.11.3.
88 * External libraries installed via composer will now be displayed
89   on Special:Version in their own section. Extensions or skins that are
90   installed via composer will not be shown in this section as it is assumed
91   they will add the proper credits to the skins or extensions section. They
92   can also be accessed through the API via the new siprop=libraries to
93   ApiQuerySiteInfo.
94 * Update QUnit from v1.14.0 to v1.16.0.
95 * Update Moment.js from v2.8.3 to v2.8.4.
96 * Special:Tags now allows for manipulating the list of user-modifiable change
97   tags.
98 * Added 'managetags' user right and 'ChangeTagCanCreate', 'ChangeTagCanDelete',
99   and 'ChangeTagCanCreate' hooks to allow for managing user-modifiable change
100   tags.
101 * Added 'ChangeTagsListActive' hook, to separate the concepts of "defined" and
102   "active" formerly conflated by the 'ListDefinedTags' hook.
103 * Added TemplateParser class that provides a server-side interface to cachable
104   dynamically-compiled Mustache templates (currently uses lightncandy library).
105 * Clickable anchors for each section heading in the content are now generated
106   and appear in the gutter on hovering over the heading.
107 * Added 'CategoryViewer::doCategoryQuery' and 'CategoryViewer::generateLink' hooks
108   to allow extensions to override how links to pages are rendered within NS_CATEGORY
109 * (T19665) Special:WantedPages only lists page which having at least one red link
110   pointing to it.
111 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
112   used for conditional registration of API modules.
113 * New hook 'EnhancedChangesList::getLogText' to alter, remove or add to the
114   links of a group of changes in EnhancedChangesList.
115 * A full interface for StatsD metric reporting has been added to the context
116   interface, reachable via IContextSource::getStats().
117 * Move the jQuery Client library from being mastered in MediaWiki as v0.1.0 to a
118   proper, published library, which is now tagged as v1.0.0.
119 * A new message (defaulting to blank), 'editnotice-notext', can be shown to users
120   when they are editing if no edit notices apply to the page being edited.
121 * (T94536) You can now make the sitenotice appear to logged-in users only by
122   editing MediaWiki:Anonnotice and replacing its content with "". Setting it to
123   "-" (default) will continue disable it and fallback to MediaWiki:Sitenotice.
124 * Modifying the tagging of a revision or log entry is now available via
125   Special:EditTags, generally accessed via the revision-deletion-like interface
126   on history pages and Special:Log is likely to be more useful.
127 * Added 'applychangetags' and 'changetags' user rights.
128 * (T35235) LogFormatter subclasses are now responsible for formatting the
129   parameters for API log event output. Extensions should implement the new
130   getParametersForApi() method in their log formatters.
132 ==== External libraries ====
133 * MediaWiki now requires certain external libraries to be installed. In the past
134   these were bundled inside the Git repository of MediaWiki core, but now they
135   need to be installed separately. For users using the tarball, this will be taken
136   care of and no action will be required. Users using Git will either need to use
137   composer to fetch dependencies or use the mediawiki/vendor repository which includes
138   all dependencies for MediaWiki core and ones used in Wikimedia deployment. Detailed
139   instructions can be found at:
140   https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
141 * The following libraries are now required:
142 ** psr/log
143    This library provides the interfaces set by the PSR-3 standard (http://www.php-fig.org/psr/psr-3/)
144    which are used by MediaWiki internally via the
145    MediaWiki\Logger\LoggerFactory class.
146    See the structured logging RfC (https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging)
147    for more background information.
148 ** cssjanus/cssjanus
149    This library was formerly bundled with MediaWiki core and has been removed.
150    It automatically flips CSS for RTL support.
151 ** leafo/lessphp
152    This library was formerly bundled with MediaWiki core and has been removed.
153    It compiles LESS files into CSS.
154 ** wikimedia/cdb
155    This library was formerly a part of MediaWiki core, and has been moved into a separate library.
156    It provides CDB functions which are used in the Interwiki and Localization caches.
157    More information about the library can be found at https://www.mediawiki.org/wiki/CDB.
158 ** liuggio/statsd-php-client
159    This library provides a StatsD client API for logging application metrics to a remote server.
161 === Bug fixes in 1.25 ===
162 * (T73003) No additional code will be generated to try to load CSS-embedded
163   SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
164 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
165   10- and 13-digit forms) containing "X".
166 * Page moving was refactored into a MovePage class. As part of that:
167 ** The AbortMove hook was removed.
168 ** MovePageIsValidMove is for extensions to specify whether a page
169    cannot be moved for technical reasons, and should not be overridden.
170 ** MovePageCheckPermissions is for checking whether the given user is
171    allowed to make the move.
172 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
173 ** Title::moveTo() was deprecated. Use the MovePage class instead.
174 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
175    and MovePage::checkPermissions().
176 * (T18530) Multiple autocomments are now formatted in an edit summary.
177 * (T70361) Autocomments containing "/*" are parsed correctly.
178 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
179   on action=info about a file page does not list file links anymore.
180 * (T78637) Search bar is not autofocused unless it is empty so that proper scrolling using arrow keys is possible.
181 * (T50853) Database::makeList() modified to handle 'NULL' separately when building IN clause
182 * (T85192) Captcha position modified in Usercreate template. As a result:
183 ** extrafields parameter added to Usercreate.php to insert additional data
184 ** 'extend' method added to QuickTemplate to append additional values to any field of data array
185 * (T86974) Several Title methods now load from the database when necessary
186   (instead of returning incorrect results) even when the page ID is known.
187 * (T74070) Duplicate search for archived files on file upload now omits the extension.
188   This requires the fa_sha1 field being populated.
189 * Removed rel="archives" from the "View history" link, as it did not pass
190   HTML validation.
191 * $wgUseTidy is now set when parserTests are run with the tidy option to match
192   output on wiki.
193 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed to it.
195 === Action API changes in 1.25 ===
196 * (T67403) XML tag highlighting is now only performed for formats
197   "xmlfm" and "wddxfm".
198 * action=paraminfo supports generalized submodules (modules=query+value),
199   querymodules and formatmodules are deprecated
200 * action=paraminfo no longer outputs descriptions and other help text by
201   default. If needed, it may be requested using the new 'helpformat' parameter.
202 * action=help has been completely rewritten, and outputs help in HTML
203   rather than plain text.
204 * Hitting api.php without specifying an action now displays only the help for
205   the main module, with links to submodule help.
206 * API help is no longer displayed on errors.
207 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
208   explicitly select the language from the current user's preferences, and
209   "uselang=content" may be used to select the wiki's content language.
210 * Default output format for the API is now jsonfm.
211 * Simplified continuation will return a "batchcomplete" property in the result
212   when a batch of pages is complete.
213 * Pretty-printed HTML output now has nicer formatting and (if available)
214   better syntax highlighting.
215 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
216   list=alldeletedrevisions.
217 * prop=revisions will gracefully continue when given too many revids or titles,
218   rather than just ignoring the extras.
219 * prop=revisions will no longer die if rvcontentformat doesn't match a
220   revision's content model; it will instead warn and omit the content.
221 * If the user has the 'deletedhistory' right, action=query's revids parameter
222   will now recognize deleted revids.
223 * prop=revisions may be used as a generator, generating revids.
224 * (T68776) format=json results will no longer be corrupted when
225   $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
226   error instead of returning invalid serialized data.
227 * Generators may now return data for the generated pages when used with
228   action=query.
229 * Query page data for generator=search and generator=prefixsearch will now
230   include an "index" field, which may be used by the client for sorting the
231   search results.
232 * ApiOpenSearch now supports XML output.
233 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
234   in JSON format.
235 * (T76051) list=tags will now continue correctly.
236 * (T76052) list=tags can now indicate whether a tag is defined.
237 * (T75522) list=prefixsearch now supports continuation
238 * (T78737) action=expandtemplates can now return page properties.
239 * (T78690) list=allimages now accepts multiple pipe-separated values
240   for the 'aimime' parameter.
241 * prop=info with inprop=protections will now return applicable protection types
242   with the 'restrictiontypes' key.
243 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
244   interwiki redirects to the list of interwiki titles.
245 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
246   property (like the existing 'tofragment' property) will be set.
247 * Added action=managetags to allow for managing the list of
248   user-modifiable change tags. Actually modifying the tagging of a revision or
249   log entry is not implemented yet.
250 * list=tags has additional properties to indicate 'active' status and tag
251   sources.
252 * siprop=libraries was added to ApiQuerySiteInfo to list installed external libraries.
253 * (T88010) Added action=checktoken, to test a CSRF token's validity.
254 * (T88010) Added intestactions to prop=info, to allow querying of
255   Title::userCan() via the API.
256 * Default type param for query list=watchlist and list=recentchanges has
257   been changed from all types (e.g. including 'external') to 'edit|new|log'.
258 * Added formatversion to format=json, still experimental.
259 * (T73020) Log event details are now always under a 'params' subkey for
260   list=logevents, and a 'logparams' subkey for list=watchlist and
261   list=recentchanges.
262 * Log event details are changing formatting:
263   * block events now report flags as an array rather than as a comma-separated
264     list.
265   * patrol events now report the 'auto' flag as a boolean (absent/empty string
266     for BC formats) rather than as an integer.
267   * rights events now report the old and new group lists as arrays rather than
268     as comma-separated lists.
269   * merge events use new-style formatting.
270   * delete/event and delete/revision events use new-style formatting.
271 * The root node and various other nodes will now always be an object in formats
272   such as json that distinguish between arrays and objects.
273   * Except for action=opensearch where the spec requires an array.
275 === Action API internal changes in 1.25 ===
276 * ApiHelp has been rewritten to support i18n and paginated HTML output.
277   Most existing modules should continue working without changes, but should do
278   the following:
279   * Add an i18n message "apihelp-{$moduleName}-description" to replace getDescription().
280   * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
281     to replace getParamDescription(). If necessary, the settings array returned
282     by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
283     message.
284   * Implement getExamplesMessages() to replace getExamples().
285 * Modules with submodules (like action=query) must have their submodules
286   override ApiBase::getParent() to return the correct parent object.
287 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
288   and will have no effect for modules using i18n messages. Use
289   'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
290 * Api formatters will no longer be asked to display the help screen on errors.
291 * ApiMain::getCredits() was removed. The credits are available in the
292   'api-credits' i18n message.
293 * ApiFormatBase has been changed to support i18n and syntax highlighting via
294   extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
295   has been removed.
296 * ApiFormatBase now always buffers. Output is done when
297   ApiFormatBase::closePrinter is called.
298 * Much of the logic in ApiQueryRevisions has been split into ApiQueryRevisionsBase.
299 * The 'revids' parameter supplied by ApiPageSet will now count deleted
300   revisions as "good" if the user has the 'deletedhistory' right. New methods
301   ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
302   provided to access just the live or just the deleted revids.
303 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
304   to allow generators to include data in the action=query result.
305 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
306   used for conditional registration of API modules.
307 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
308   the current request was sent with the 'callback' parameter (or any future
309   method that breaks the same-origin policy).
310 * Profiling methods in ApiBase are deprecated and no longer need to be called.
311 * ApiResult was greatly overhauled. See inline documentation for details.
312 * ApiResult will automatically convert objects to strings or arrays (depending
313   on whether a __toString() method exists on the object), and will refuse to
314   add unsupported value types.
315   * An informal interface, ApiSerializable, exists to override the default
316     object conversion.
317 * ApiResult/ApiFormatBase "raw mode" is deprecated.
318 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
319   metadata isn't set.
320 * (T35235) LogFormatter subclasses are now responsible for formatting log event
321   parameters for the API.
322 * Many modules have changed result data formats. While this shouldn't affect
323   clients not using the experimental formatversion=2015, code using
324   ApiResult::getResultData() and not using ApiResult::transformForBC() may need
325   updating.
326 * The following methods have been deprecated and may be removed in a future
327   release:
328   * ApiBase::getDescription
329   * ApiBase::getParamDescription
330   * ApiBase::getExamples
331   * ApiBase::makeHelpMsg
332   * ApiBase::makeHelpArrayToString
333   * ApiBase::makeHelpMsgParameters
334   * ApiBase::getModuleProfileName
335   * ApiBase::profileIn
336   * ApiBase::profileOut
337   * ApiBase::safeProfileOut
338   * ApiBase::getProfileTime
339   * ApiBase::profileDBIn
340   * ApiBase::profileDBOut
341   * ApiBase::getProfileDBTime
342   * ApiBase::getResultData
343   * ApiFormatBase::setUnescapeAmps
344   * ApiFormatBase::getWantsHelp
345   * ApiFormatBase::setHelp
346   * ApiFormatBase::formatHTML
347   * ApiFormatBase::setBufferResult
348   * ApiFormatBase::getDescription
349   * ApiFormatBase::getNeedsRawData
350   * ApiMain::setHelp
351   * ApiMain::reallyMakeHelpMsg
352   * ApiMain::makeHelpMsgHeader
353   * ApiResult::setRawMode
354   * ApiResult::getIsRawMode
355   * ApiResult::getData
356   * ApiResult::setElement
357   * ApiResult::setContent
358   * ApiResult::setIndexedTagName_recursive
359   * ApiResult::setIndexedTagName_internal
360   * ApiResult::setParsedLimit
361   * ApiResult::beginContinuation
362   * ApiResult::setContinueParam
363   * ApiResult::setGeneratorContinueParam
364   * ApiResult::endContinuation
365   * ApiResult::size
366   * ApiResult::convertStatusToArray
367   * ApiQueryImageInfo::getPropertyDescriptions
368   * ApiQueryLogEvents::addLogParams
369 * The following classes have been deprecated and may be removed in a future
370   release:
371   * ApiQueryDeletedrevs
373 === Languages updated in 1.25 ===
375 MediaWiki supports over 350 languages. Many localisations are updated
376 regularly. Below only new and removed languages are listed, as well as
377 changes to languages because of Bugzilla reports.
379 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
380   interface language to kk where unexpected.
381 * The Chinese conversion table was substantially updated to fix a lot of
382   bugs and ensure better reading experience for different variants.
384 === Other changes in 1.25 ===
385 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
386   removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
387   migration guide for creators and users of custom skins that relied on it.
388 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
389   available on Special:Upload.
390 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
391   inline styles in the HTML.
392 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
393 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
394 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
395 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
396 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since 1.20)
397 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
398   since 1.20)
399 * Removed 'async' parameter from the  mw.Api#getCategories() method. (deprecated
400   since 1.20)
401 * Removed 'jquery.json' module. (deprecated since 1.24)
402   Use the 'json' module and global JSON object instead.
403 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
404   Also, the former will now throw an MWException if called with one or more
405   arguments.
406 * Removed hitcounters and associated code.
407 * The "temp" zone of the upload respository is now considered private. If it
408   already exists (such as under the images/ directory), please make sure that
409   the directory is not web readable (e.g. via a .htaccess file).
410 * BREAKING CHANGE: In the XML dump format used by Special:Export and
411   dumpBackup.php, the <model> and <format> tags now apprear before the <text>
412   tag, instead of after the <text> and <sha1> tags.
413   The new schema version is 0.10, the new schema URI is:
414   https://www.mediawiki.org/xml/export-0.10.xsd
415 * MWFunction::call() and MWFunction::callArray() were removed, having being
416   deprecated in 1.22.
417 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
418   and getInternalLinkAttributes methods in Linker, and removed
419   getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
420 * Removed Sites class, which was deprecated in 1.21 and replaced by SiteSQLStore.
421 * Added wgRelevantArticleId to the client-side config, for use on special pages.
422 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
423   ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
424 * Deprecated the TitleIsWikitextPage hook. Superseded by the
425   ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
426 * Changed parsing of variables in schema (.sql) files:
427 ** The substituted values are no longer parsed. (Formerly, several passes
428    were made for each variable, so depending on the order in which variables
429    were defined, variables might have been found inside encoded values. This
430    is no longer the case.)
431 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
432    If string encoding is necessary, use the '{$var}' syntax instead.
433 ** Variable names must only consist of one or more of the characters
434    "A-Za-z0-9_".
435 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
436    does not exist yet variable B does, the latter may not be replaced.
437    However, this difference is unlikely to arise in practice.
438 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
439   characters on both sides.
440 * The FormatAutocomments hook will now receive $pre and $post as booleans,
441   rather than as strings that must be prepended or appended to $comment.
442 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
443   newlines; but they can contain &nbsp; and other non-newline whitespace.
444 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
445   toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
446   relied on this behavior, update your scripts' dependencies.
447 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
448   * HTMLForm::isVForm() is now deprecated.
449   * You can no longer do this:
450       $form = new HTMLForm( … );
451       $form->setDisplayFormat( 'vform' ); // throws exception
452     Instead, do this:
453       $form = HTMLForm::factory( 'vform', … );
454 * Deprecated Revision methods getRawUser(), getRawUserText() and getRawComment().
455 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
456   The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
457 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
458   renders them incorrectly when combined with border-radius or background-size.
459 * Removed maintenance script dumpSisterSites.php.
460 * DatabaseBase class constructors must be called using the array argument style.
461   Ideally, DatabaseBase:factory() should be used instead in most cases.
462 * Deprecated ParserOutput::addSecondaryDataUpdate and ParserOutput::getSecondaryDataUpdates.
463   This is a hard deprecation, with getSecondaryDataUpdates returning an empty array and
464   addSecondaryDataUpdate throwing an exception. These functions will be removed in 1.26,
465   since they interfere with caching of ParserOutput objects.
466 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject custom updates.
467 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to perform
468   updates when a page is re-rendered.
469 * EditPage::attemptSave has been modified not to call handleStatus itself and
470   instead just returns the Status object. Extension calling it should be aware of
471   this.
472 * Removed class DBObject. (unused since 1.10)
473 * wfDiff() is deprecated.
474 * The -m (maximum replication lag) option of refreshLinks.php was removed.
475   It had no effect since MediaWiki 1.18 and should be removed from any cron
476   jobs or similar scripts you may have set up.
477 * (T85864) The following messages no longer support raw html: redirectto,
478   thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
479   retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
480   protect-summary-cascade
481 * All BloomCache related code has been removed. This was largely experimental.
482 * $wgResourceModuleSkinStyles no longer supports per-module local or remote paths. They
483   can only be set for the entire skin.
484 * Removed global function swap(). (deprecated since 1.24)
485 * Deprecated the ".php5" file extension entry points. Refer to the ".php" files
486   instead. If you want ".php5" URLs to continue to work, set up redirects. In
487   Apache, this can be done by enabling mod_rewrite and adding the following
488   rules to your configuration:
490     RewriteEngine On
491     RewriteBase /
492     RewriteRule ^(.*)\.php5 $1.php [R=301,L]
494 * The global importScriptURI and importStylesheetURI functions, as well as the
495   loadedScripts object, from wikibits.js (deprecated since 1.17) now emit
496   warnings through mw.log.warn when accessed.
499 == Compatibility ==
501 MediaWiki 1.25 requires PHP 5.3.3 or later. There is experimental support for
502 HHVM 3.3.0.
504 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
505 support for them is somewhat less mature. There is experimental support for
506 Oracle and Microsoft SQL Server.
508 The supported versions are:
510 * MySQL 5.0.3 or later
511 * PostgreSQL 8.3 or later
512 * SQLite 3.3.7 or later
513 * Oracle 9.0.1 or later
514 * Microsoft SQL Server 2005 (9.00.1399)
516 == Upgrading ==
518 1.25 has several database changes since 1.24, and will not work without schema
519 updates. Note that due to changes to some very large tables like the revision
520 table, the schema update may take quite long (minutes on a medium sized site,
521 many hours on a large site).
523 If upgrading from before 1.11, and you are using a wiki as a commons
524 repository, make sure that it is updated as well. Otherwise, errors may arise
525 due to database schema changes.
527 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
528 new database fields are filled with data.
530 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
531 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
532 with MediaWiki 1.21.
534 Don't forget to always back up your database before upgrading!
536 See the file UPGRADE for more detailed upgrade instructions.
538 For notes on 1.24.x and older releases, see HISTORY.
540 == Online documentation ==
542 Documentation for both end-users and site administrators is available on
543 MediaWiki.org, and is covered under the GNU Free Documentation License (except
544 for pages that explicitly state that their contents are in the public domain):
546         https://www.mediawiki.org/wiki/Documentation
548 == Mailing list ==
550 A mailing list is available for MediaWiki user support and discussion:
552         https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
554 A low-traffic announcements-only list is also available:
556         https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
558 It's highly recommended that you sign up for one of these lists if you're
559 going to run a public MediaWiki, so you can be notified of security fixes.
561 == IRC help ==
563 There's usually someone online in #mediawiki on irc.freenode.net.