Merge "Add $linkTrail for Western Baluchi (bgn)"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.25
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.
3
4 == MediaWiki 1.25 ==
5
6 THIS IS NOT A RELEASE YET
7
8 MediaWiki 1.25 is an alpha-quality branch and is not recommended for use in
9 production.
10
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'.
50
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.2.
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
129 ==== External libraries ====
130 * MediaWiki now requires certain external libraries to be installed. In the past
131 these were bundled inside the Git repository of MediaWiki core, but now they
132 need to be installed separately. For users using the tarball, this will be taken
133 care of and no action will be required. Users using Git will either need to use
134 composer to fetch dependencies or use the mediawiki/vendor repository which includes
135 all dependencies for MediaWiki core and ones used in Wikimedia deployment. Detailed
136 instructions can be found at:
137 https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries
138 * The following libraries are now required:
139 ** psr/log
140 This library provides the interfaces set by the PSR-3 standard (http://www.php-fig.org/psr/psr-3/)
141 which are used by MediaWiki internally via the
142 MediaWiki\Logger\LoggerFactory class.
143 See the structured logging RfC (https://www.mediawiki.org/wiki/Requests_for_comment/Structured_logging)
144 for more background information.
145 ** cssjanus/cssjanus
146 This library was formerly bundled with MediaWiki core and has been removed.
147 It automatically flips CSS for RTL support.
148 ** leafo/lessphp
149 This library was formerly bundled with MediaWiki core and has been removed.
150 It compiles LESS files into CSS.
151 ** wikimedia/cdb
152 This library was formerly a part of MediaWiki core, and has been moved into a separate library.
153 It provides CDB functions which are used in the Interwiki and Localization caches.
154 More information about the library can be found at https://www.mediawiki.org/wiki/CDB.
155 ** liuggio/statsd-php-client
156 This library provides a StatsD client API for logging application metrics to a remote server.
157
158 === Bug fixes in 1.25 ===
159 * (T73003) No additional code will be generated to try to load CSS-embedded
160 SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
161 * (T69021) On Special:BookSources, corrected validation of ISBNs (both
162 10- and 13-digit forms) containing "X".
163 * Page moving was refactored into a MovePage class. As part of that:
164 ** The AbortMove hook was removed.
165 ** MovePageIsValidMove is for extensions to specify whether a page
166 cannot be moved for technical reasons, and should not be overridden.
167 ** MovePageCheckPermissions is for checking whether the given user is
168 allowed to make the move.
169 ** Title::moveNoAuth() was deprecated. Use the MovePage class instead.
170 ** Title::moveTo() was deprecated. Use the MovePage class instead.
171 ** Title::isValidMoveOperation() broken down into MovePage::isValidMove()
172 and MovePage::checkPermissions().
173 * (T18530) Multiple autocomments are now formatted in an edit summary.
174 * (T70361) Autocomments containing "/*" are parsed correctly.
175 * The Special:WhatLinksHere page linked from 'Number of redirects to this page'
176 on action=info about a file page does not list file links anymore.
177 * (T78637) Search bar is not autofocused unless it is empty so that proper scrolling using arrow keys is possible.
178 * (T50853) Database::makeList() modified to handle 'NULL' separately when building IN clause
179 * (T85192) Captcha position modified in Usercreate template. As a result:
180 ** extrafields parameter added to Usercreate.php to insert additional data
181 ** 'extend' method added to QuickTemplate to append additional values to any field of data array
182 * (T86974) Several Title methods now load from the database when necessary
183 (instead of returning incorrect results) even when the page ID is known.
184 * (T74070) Duplicate search for archived files on file upload now omits the extension.
185 This requires the fa_sha1 field being populated.
186 * Removed rel="archives" from the "View history" link, as it did not pass
187 HTML validation.
188 * $wgUseTidy is now set when parserTests are run with the tidy option to match
189 output on wiki.
190 * (T37472) update.php will purge ResourceLoader cache unless --nopurge is passed to it.
191
192 === Action API changes in 1.25 ===
193 * (T67403) XML tag highlighting is now only performed for formats
194 "xmlfm" and "wddxfm".
195 * action=paraminfo supports generalized submodules (modules=query+value),
196 querymodules and formatmodules are deprecated
197 * action=paraminfo no longer outputs descriptions and other help text by
198 default. If needed, it may be requested using the new 'helpformat' parameter.
199 * action=help has been completely rewritten, and outputs help in HTML
200 rather than plain text.
201 * Hitting api.php without specifying an action now displays only the help for
202 the main module, with links to submodule help.
203 * API help is no longer displayed on errors.
204 * 'uselang' is now a recognized API parameter; "uselang=user" may be used to
205 explicitly select the language from the current user's preferences, and
206 "uselang=content" may be used to select the wiki's content language.
207 * Default output format for the API is now jsonfm.
208 * Simplified continuation will return a "batchcomplete" property in the result
209 when a batch of pages is complete.
210 * Pretty-printed HTML output now has nicer formatting and (if available)
211 better syntax highlighting.
212 * Deprecated list=deletedrevs in favor of newly-added prop=deletedrevisions and
213 list=alldeletedrevisions.
214 * prop=revisions will gracefully continue when given too many revids or titles,
215 rather than just ignoring the extras.
216 * prop=revisions will no longer die if rvcontentformat doesn't match a
217 revision's content model; it will instead warn and omit the content.
218 * If the user has the 'deletedhistory' right, action=query's revids parameter
219 will now recognize deleted revids.
220 * prop=revisions may be used as a generator, generating revids.
221 * (T68776) format=json results will no longer be corrupted when
222 $wgMangleFlashPolicy is in effect. format=php results will cleanly return an
223 error instead of returning invalid serialized data.
224 * Generators may now return data for the generated pages when used with
225 action=query.
226 * Query page data for generator=search and generator=prefixsearch will now
227 include an "index" field, which may be used by the client for sorting the
228 search results.
229 * ApiOpenSearch now supports XML output.
230 * ApiOpenSearch will now output descriptions and URLs as array indexes 2 and 3
231 in JSON format.
232 * (T76051) list=tags will now continue correctly.
233 * (T76052) list=tags can now indicate whether a tag is defined.
234 * (T75522) list=prefixsearch now supports continuation
235 * (T78737) action=expandtemplates can now return page properties.
236 * (T78690) list=allimages now accepts multiple pipe-separated values
237 for the 'aimime' parameter.
238 * prop=info with inprop=protections will now return applicable protection types
239 with the 'restrictiontypes' key.
240 * (T85417) When resolving redirects, ApiPageSet will now add the targets of
241 interwiki redirects to the list of interwiki titles.
242 * (T85417) When outputting the list of redirect titles, a 'tointerwiki'
243 property (like the existing 'tofragment' property) will be set.
244 * Added action=managetags to allow for managing the list of
245 user-modifiable change tags. Actually modifying the tagging of a revision or
246 log entry is not implemented yet.
247 * list=tags has additional properties to indicate 'active' status and tag
248 sources.
249 * siprop=libraries was added to ApiQuerySiteInfo to list installed external libraries.
250 * (T88010) Added action=checktoken, to test a CSRF token's validity.
251 * (T88010) Added intestactions to prop=info, to allow querying of
252 Title::userCan() via the API.
253 * Default type param for query list=watchlist and list=recentchanges has
254 been changed from all types (e.g. including 'external') to 'edit|new|log'.
255 * Added formatversion to format=json, still experimental.
256
257 === Action API internal changes in 1.25 ===
258 * ApiHelp has been rewritten to support i18n and paginated HTML output.
259 Most existing modules should continue working without changes, but should do
260 the following:
261 * Add an i18n message "apihelp-{$moduleName}-description" to replace getDescription().
262 * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
263 to replace getParamDescription(). If necessary, the settings array returned
264 by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
265 message.
266 * Implement getExamplesMessages() to replace getExamples().
267 * Modules with submodules (like action=query) must have their submodules
268 override ApiBase::getParent() to return the correct parent object.
269 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
270 and will have no effect for modules using i18n messages. Use
271 'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
272 * Api formatters will no longer be asked to display the help screen on errors.
273 * ApiMain::getCredits() was removed. The credits are available in the
274 'api-credits' i18n message.
275 * ApiFormatBase has been changed to support i18n and syntax highlighting via
276 extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
277 has been removed.
278 * ApiFormatBase now always buffers. Output is done when
279 ApiFormatBase::closePrinter is called.
280 * Much of the logic in ApiQueryRevisions has been split into ApiQueryRevisionsBase.
281 * The 'revids' parameter supplied by ApiPageSet will now count deleted
282 revisions as "good" if the user has the 'deletedhistory' right. New methods
283 ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
284 provided to access just the live or just the deleted revids.
285 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
286 to allow generators to include data in the action=query result.
287 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
288 used for conditional registration of API modules.
289 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
290 the current request was sent with the 'callback' parameter (or any future
291 method that breaks the same-origin policy).
292 * Profiling methods in ApiBase are deprecated and no longer need to be called.
293 * ApiResult was greatly overhauled. See inline documentation for details.
294 * ApiResult will automatically convert objects to strings or arrays (depending
295 on whether a __toString() method exists on the object), and will refuse to
296 add unsupported value types.
297 * An informal interface, ApiSerializable, exists to override the default
298 object conversion.
299 * ApiResult/ApiFormatBase "raw mode" is deprecated.
300 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
301 metadata isn't set.
302 * The following methods have been deprecated and may be removed in a future
303 release:
304 * ApiBase::getDescription
305 * ApiBase::getParamDescription
306 * ApiBase::getExamples
307 * ApiBase::makeHelpMsg
308 * ApiBase::makeHelpArrayToString
309 * ApiBase::makeHelpMsgParameters
310 * ApiBase::getModuleProfileName
311 * ApiBase::profileIn
312 * ApiBase::profileOut
313 * ApiBase::safeProfileOut
314 * ApiBase::getProfileTime
315 * ApiBase::profileDBIn
316 * ApiBase::profileDBOut
317 * ApiBase::getProfileDBTime
318 * ApiBase::getResultData
319 * ApiFormatBase::setUnescapeAmps
320 * ApiFormatBase::getWantsHelp
321 * ApiFormatBase::setHelp
322 * ApiFormatBase::formatHTML
323 * ApiFormatBase::setBufferResult
324 * ApiFormatBase::getDescription
325 * ApiFormatBase::getNeedsRawData
326 * ApiMain::setHelp
327 * ApiMain::reallyMakeHelpMsg
328 * ApiMain::makeHelpMsgHeader
329 * ApiResult::setRawMode
330 * ApiResult::getIsRawMode
331 * ApiResult::getData
332 * ApiResult::setElement
333 * ApiResult::setContent
334 * ApiResult::setIndexedTagName_recursive
335 * ApiResult::setIndexedTagName_internal
336 * ApiResult::setParsedLimit
337 * ApiResult::beginContinuation
338 * ApiResult::setContinueParam
339 * ApiResult::setGeneratorContinueParam
340 * ApiResult::endContinuation
341 * ApiResult::size
342 * ApiResult::convertStatusToArray
343 * ApiQueryImageInfo::getPropertyDescriptions
344 * The following classes have been deprecated and may be removed in a future
345 release:
346 * ApiQueryDeletedrevs
347
348 === Languages updated in 1.25 ===
349
350 MediaWiki supports over 350 languages. Many localisations are updated
351 regularly. Below only new and removed languages are listed, as well as
352 changes to languages because of Bugzilla reports.
353
354 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
355 interface language to kk where unexpected.
356 * The Chinese conversion table was substantially updated to fix a lot of
357 bugs and ensure better reading experience for different variants.
358
359 === Other changes in 1.25 ===
360 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
361 removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
362 migration guide for creators and users of custom skins that relied on it.
363 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
364 available on Special:Upload.
365 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
366 inline styles in the HTML.
367 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
368 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
369 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
370 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
371 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since 1.20)
372 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
373 since 1.20)
374 * Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated
375 since 1.20)
376 * Removed 'jquery.json' module. (deprecated since 1.24)
377 Use the 'json' module and global JSON object instead.
378 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
379 Also, the former will now throw an MWException if called with one or more
380 arguments.
381 * Removed hitcounters and associated code.
382 * The "temp" zone of the upload respository is now considered private. If it
383 already exists (such as under the images/ directory), please make sure that
384 the directory is not web readable (e.g. via a .htaccess file).
385 * BREAKING CHANGE: In the XML dump format used by Special:Export and
386 dumpBackup.php, the <model> and <format> tags now apprear before the <text>
387 tag, instead of after the <text> and <sha1> tags.
388 The new schema version is 0.10, the new schema URI is:
389 https://www.mediawiki.org/xml/export-0.10.xsd
390 * MWFunction::call() and MWFunction::callArray() were removed, having being
391 deprecated in 1.22.
392 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
393 and getInternalLinkAttributes methods in Linker, and removed
394 getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
395 * Removed Sites class, which was deprecated in 1.21 and replaced by SiteSQLStore.
396 * The mw.api.getToken() method now uses action=query?meta=tokens. This will now
397 fail for custom tokens registered only via the deprecated ApiTokensGetTokenTypes
398 hook. The ApiQueryTokensRegisterTypes hook should be used for this to work.
399 * Added wgRelevantArticleId to the client-side config, for use on special pages.
400 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
401 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
402 * Deprecated the TitleIsWikitextPage hook. Superseded by the
403 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
404 * Changed parsing of variables in schema (.sql) files:
405 ** The substituted values are no longer parsed. (Formerly, several passes
406 were made for each variable, so depending on the order in which variables
407 were defined, variables might have been found inside encoded values. This
408 is no longer the case.)
409 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
410 If string encoding is necessary, use the '{$var}' syntax instead.
411 ** Variable names must only consist of one or more of the characters
412 "A-Za-z0-9_".
413 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
414 does not exist yet variable B does, the latter may not be replaced.
415 However, this difference is unlikely to arise in practice.
416 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
417 characters on both sides.
418 * The FormatAutocomments hook will now receive $pre and $post as booleans,
419 rather than as strings that must be prepended or appended to $comment.
420 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
421 newlines; but they can contain &nbsp; and other non-newline whitespace.
422 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
423 toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
424 relied on this behavior, update your scripts' dependencies.
425 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
426 * HTMLForm::isVForm() is now deprecated.
427 * You can no longer do this:
428 $form = new HTMLForm( … );
429 $form->setDisplayFormat( 'vform' ); // throws exception
430 Instead, do this:
431 $form = HTMLForm::factory( 'vform', … );
432 * Deprecated Revision methods getRawUser(), getRawUserText() and getRawComment().
433 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
434 The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
435 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
436 renders them incorrectly when combined with border-radius or background-size.
437 * Removed maintenance script dumpSisterSites.php.
438 * DatabaseBase class constructors must be called using the array argument style.
439 Ideally, DatabaseBase:factory() should be used instead in most cases.
440 * Deprecated ParserOutput::addSecondaryDataUpdate and ParserOutput::getSecondaryDataUpdates.
441 This is a hard deprecation, with getSecondaryDataUpdates returning an empty array and
442 addSecondaryDataUpdate throwing an exception. These functions will be removed in 1.26,
443 since they interfere with caching of ParserOutput objects.
444 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject custom updates.
445 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to perform
446 updates when a page is re-rendered.
447 * EditPage::attemptSave has been modified not to call handleStatus itself and
448 instead just returns the Status object. Extension calling it should be aware of
449 this.
450 * Removed class DBObject. (unused since 1.10)
451 * wfDiff() is deprecated.
452 * The -m (maximum replication lag) option of refreshLinks.php was removed.
453 It had no effect since MediaWiki 1.18 and should be removed from any cron
454 jobs or similar scripts you may have set up.
455 * (T85864) The following messages no longer support raw html: redirectto,
456 thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
457 retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
458 protect-summary-cascade
459 * All BloomCache related code has been removed. This was largely experimental.
460 * $wgResourceModuleSkinStyles no longer supports per-module local or remote paths. They
461 can only be set for the entire skin.
462 * Removed global function swap(). (deprecated since 1.24)
463 * The global importScript and importStylesheet functions, as well as the loadedScripts object,
464 from wikibits.js (deprecated since 1.17) now emit warnings through mw.log.warn when accessed.
465
466 == Compatibility ==
467
468 MediaWiki 1.25 requires PHP 5.3.3 or later. There is experimental support for
469 HHVM 3.3.0.
470
471 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
472 support for them is somewhat less mature. There is experimental support for
473 Oracle and Microsoft SQL Server.
474
475 The supported versions are:
476
477 * MySQL 5.0.3 or later
478 * PostgreSQL 8.3 or later
479 * SQLite 3.3.7 or later
480 * Oracle 9.0.1 or later
481 * Microsoft SQL Server 2005 (9.00.1399)
482
483 == Upgrading ==
484
485 1.25 has several database changes since 1.24, and will not work without schema
486 updates. Note that due to changes to some very large tables like the revision
487 table, the schema update may take quite long (minutes on a medium sized site,
488 many hours on a large site).
489
490 If upgrading from before 1.11, and you are using a wiki as a commons
491 repository, make sure that it is updated as well. Otherwise, errors may arise
492 due to database schema changes.
493
494 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
495 new database fields are filled with data.
496
497 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
498 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
499 with MediaWiki 1.21.
500
501 Don't forget to always back up your database before upgrading!
502
503 See the file UPGRADE for more detailed upgrade instructions.
504
505 For notes on 1.24.x and older releases, see HISTORY.
506
507 == Online documentation ==
508
509 Documentation for both end-users and site administrators is available on
510 MediaWiki.org, and is covered under the GNU Free Documentation License (except
511 for pages that explicitly state that their contents are in the public domain):
512
513 https://www.mediawiki.org/wiki/Documentation
514
515 == Mailing list ==
516
517 A mailing list is available for MediaWiki user support and discussion:
518
519 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
520
521 A low-traffic announcements-only list is also available:
522
523 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
524
525 It's highly recommended that you sign up for one of these lists if you're
526 going to run a public MediaWiki, so you can be notified of security fixes.
527
528 == IRC help ==
529
530 There's usually someone online in #mediawiki on irc.freenode.net.