Revert "Use CSS columns instead of tables in Special:SpecialPages"
[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 * (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.
131
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.
160
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.
194
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
272 === Action API internal changes in 1.25 ===
273 * ApiHelp has been rewritten to support i18n and paginated HTML output.
274 Most existing modules should continue working without changes, but should do
275 the following:
276 * Add an i18n message "apihelp-{$moduleName}-description" to replace getDescription().
277 * Add i18n messages "apihelp-{$moduleName}-param-{$param}" for each parameter
278 to replace getParamDescription(). If necessary, the settings array returned
279 by getParams() can use the new ApiBase::PARAM_HELP_MSG key to override the
280 message.
281 * Implement getExamplesMessages() to replace getExamples().
282 * Modules with submodules (like action=query) must have their submodules
283 override ApiBase::getParent() to return the correct parent object.
284 * The 'APIGetDescription' and 'APIGetParamDescription' hooks are deprecated,
285 and will have no effect for modules using i18n messages. Use
286 'APIGetDescriptionMessages' and 'APIGetParamDescriptionMessages' instead.
287 * Api formatters will no longer be asked to display the help screen on errors.
288 * ApiMain::getCredits() was removed. The credits are available in the
289 'api-credits' i18n message.
290 * ApiFormatBase has been changed to support i18n and syntax highlighting via
291 extensions with the new 'ApiFormatHighlight' hook. Core syntax highlighting
292 has been removed.
293 * ApiFormatBase now always buffers. Output is done when
294 ApiFormatBase::closePrinter is called.
295 * Much of the logic in ApiQueryRevisions has been split into ApiQueryRevisionsBase.
296 * The 'revids' parameter supplied by ApiPageSet will now count deleted
297 revisions as "good" if the user has the 'deletedhistory' right. New methods
298 ApiPageSet::getLiveRevisionIDs() and ApiPageSet::getDeletedRevisionIDs() are
299 provided to access just the live or just the deleted revids.
300 * Added ApiPageSet::setGeneratorData() and ApiPageSet::populateGeneratorData()
301 to allow generators to include data in the action=query result.
302 * New hooks 'ApiMain::moduleManager' and 'ApiQuery::moduleManager', can be
303 used for conditional registration of API modules.
304 * Added ApiBase::lacksSameOriginSecurity() to allow modules to easily check if
305 the current request was sent with the 'callback' parameter (or any future
306 method that breaks the same-origin policy).
307 * Profiling methods in ApiBase are deprecated and no longer need to be called.
308 * ApiResult was greatly overhauled. See inline documentation for details.
309 * ApiResult will automatically convert objects to strings or arrays (depending
310 on whether a __toString() method exists on the object), and will refuse to
311 add unsupported value types.
312 * An informal interface, ApiSerializable, exists to override the default
313 object conversion.
314 * ApiResult/ApiFormatBase "raw mode" is deprecated.
315 * ApiFormatXml now assumes defaults and so on instead of throwing errors when
316 metadata isn't set.
317 * (T35235) LogFormatter subclasses are now responsible for formatting log event
318 parameters for the API.
319 * The following methods have been deprecated and may be removed in a future
320 release:
321 * ApiBase::getDescription
322 * ApiBase::getParamDescription
323 * ApiBase::getExamples
324 * ApiBase::makeHelpMsg
325 * ApiBase::makeHelpArrayToString
326 * ApiBase::makeHelpMsgParameters
327 * ApiBase::getModuleProfileName
328 * ApiBase::profileIn
329 * ApiBase::profileOut
330 * ApiBase::safeProfileOut
331 * ApiBase::getProfileTime
332 * ApiBase::profileDBIn
333 * ApiBase::profileDBOut
334 * ApiBase::getProfileDBTime
335 * ApiBase::getResultData
336 * ApiFormatBase::setUnescapeAmps
337 * ApiFormatBase::getWantsHelp
338 * ApiFormatBase::setHelp
339 * ApiFormatBase::formatHTML
340 * ApiFormatBase::setBufferResult
341 * ApiFormatBase::getDescription
342 * ApiFormatBase::getNeedsRawData
343 * ApiMain::setHelp
344 * ApiMain::reallyMakeHelpMsg
345 * ApiMain::makeHelpMsgHeader
346 * ApiResult::setRawMode
347 * ApiResult::getIsRawMode
348 * ApiResult::getData
349 * ApiResult::setElement
350 * ApiResult::setContent
351 * ApiResult::setIndexedTagName_recursive
352 * ApiResult::setIndexedTagName_internal
353 * ApiResult::setParsedLimit
354 * ApiResult::beginContinuation
355 * ApiResult::setContinueParam
356 * ApiResult::setGeneratorContinueParam
357 * ApiResult::endContinuation
358 * ApiResult::size
359 * ApiResult::convertStatusToArray
360 * ApiQueryImageInfo::getPropertyDescriptions
361 * ApiQueryLogEvents::addLogParams
362 * The following classes have been deprecated and may be removed in a future
363 release:
364 * ApiQueryDeletedrevs
365
366 === Languages updated in 1.25 ===
367
368 MediaWiki supports over 350 languages. Many localisations are updated
369 regularly. Below only new and removed languages are listed, as well as
370 changes to languages because of Bugzilla reports.
371
372 * (T66440) Kazakh (kk) wikis should no longer forcefully reset the user's
373 interface language to kk where unexpected.
374 * The Chinese conversion table was substantially updated to fix a lot of
375 bugs and ensure better reading experience for different variants.
376
377 === Other changes in 1.25 ===
378 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
379 removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
380 migration guide for creators and users of custom skins that relied on it.
381 * Javascript variables 'wgFileCanRotate' and 'wgFileExtensions' now only
382 available on Special:Upload.
383 * (T58257) Set site logo from mediawiki.skinning.interface module instead of
384 inline styles in the HTML.
385 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
386 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
387 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
388 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
389 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since 1.20)
390 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
391 since 1.20)
392 * Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated
393 since 1.20)
394 * Removed 'jquery.json' module. (deprecated since 1.24)
395 Use the 'json' module and global JSON object instead.
396 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
397 Also, the former will now throw an MWException if called with one or more
398 arguments.
399 * Removed hitcounters and associated code.
400 * The "temp" zone of the upload respository is now considered private. If it
401 already exists (such as under the images/ directory), please make sure that
402 the directory is not web readable (e.g. via a .htaccess file).
403 * BREAKING CHANGE: In the XML dump format used by Special:Export and
404 dumpBackup.php, the <model> and <format> tags now apprear before the <text>
405 tag, instead of after the <text> and <sha1> tags.
406 The new schema version is 0.10, the new schema URI is:
407 https://www.mediawiki.org/xml/export-0.10.xsd
408 * MWFunction::call() and MWFunction::callArray() were removed, having being
409 deprecated in 1.22.
410 * Deprecated the getInternalLinkAttributes, getInternalLinkAttributesObj,
411 and getInternalLinkAttributes methods in Linker, and removed
412 getExternalLinkAttributes method, which was deprecated in MediaWiki 1.18.
413 * Removed Sites class, which was deprecated in 1.21 and replaced by SiteSQLStore.
414 * The mw.api.getToken() method now uses action=query?meta=tokens. This will now
415 fail for custom tokens registered only via the deprecated ApiTokensGetTokenTypes
416 hook. The ApiQueryTokensRegisterTypes hook should be used for this to work.
417 * Added wgRelevantArticleId to the client-side config, for use on special pages.
418 * Deprecated the TitleIsCssOrJsPage hook. Superseded by the
419 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
420 * Deprecated the TitleIsWikitextPage hook. Superseded by the
421 ContentHandlerDefaultModelFor hook since MediaWiki 1.21.
422 * Changed parsing of variables in schema (.sql) files:
423 ** The substituted values are no longer parsed. (Formerly, several passes
424 were made for each variable, so depending on the order in which variables
425 were defined, variables might have been found inside encoded values. This
426 is no longer the case.)
427 ** Variables are no longer string encoded when the /*$var*/ syntax is used.
428 If string encoding is necessary, use the '{$var}' syntax instead.
429 ** Variable names must only consist of one or more of the characters
430 "A-Za-z0-9_".
431 ** In source text of the form '{$A}'{$B}' or `{$A}`{$B}`, where variable A
432 does not exist yet variable B does, the latter may not be replaced.
433 However, this difference is unlikely to arise in practice.
434 * (T67278) RFC, PMID, and ISBN "magic links" must be surrounded by non-word
435 characters on both sides.
436 * The FormatAutocomments hook will now receive $pre and $post as booleans,
437 rather than as strings that must be prepended or appended to $comment.
438 * (T30950, T31025) RFC, PMID, and ISBN "magic links" can no longer contain
439 newlines; but they can contain &nbsp; and other non-newline whitespace.
440 * The 'mediawiki.action.edit' ResourceLoader module no longer generates the edit
441 toolbar, which has been moved to a separate 'mediawiki.toolbar' module. If you
442 relied on this behavior, update your scripts' dependencies.
443 * HTMLForm's 'vform' display style has been separated to a subclass. Therefore:
444 * HTMLForm::isVForm() is now deprecated.
445 * You can no longer do this:
446 $form = new HTMLForm( … );
447 $form->setDisplayFormat( 'vform' ); // throws exception
448 Instead, do this:
449 $form = HTMLForm::factory( 'vform', … );
450 * Deprecated Revision methods getRawUser(), getRawUserText() and getRawComment().
451 * BREAKING CHANGE: mediawiki.user.generateRandomSessionId:
452 The alphabet of the prior string returned was A-Za-z0-9 and now it is 0-9A-F
453 * (T87504) Avoid serving SVG background-images in CSS for Opera 12, which
454 renders them incorrectly when combined with border-radius or background-size.
455 * Removed maintenance script dumpSisterSites.php.
456 * DatabaseBase class constructors must be called using the array argument style.
457 Ideally, DatabaseBase:factory() should be used instead in most cases.
458 * Deprecated ParserOutput::addSecondaryDataUpdate and ParserOutput::getSecondaryDataUpdates.
459 This is a hard deprecation, with getSecondaryDataUpdates returning an empty array and
460 addSecondaryDataUpdate throwing an exception. These functions will be removed in 1.26,
461 since they interfere with caching of ParserOutput objects.
462 * Introduced new hook 'SecondaryDataUpdates' that allows extensions to inject custom updates.
463 * Introduced new hook 'OpportunisticLinksUpdate' that allows extensions to perform
464 updates when a page is re-rendered.
465 * EditPage::attemptSave has been modified not to call handleStatus itself and
466 instead just returns the Status object. Extension calling it should be aware of
467 this.
468 * Removed class DBObject. (unused since 1.10)
469 * wfDiff() is deprecated.
470 * The -m (maximum replication lag) option of refreshLinks.php was removed.
471 It had no effect since MediaWiki 1.18 and should be removed from any cron
472 jobs or similar scripts you may have set up.
473 * (T85864) The following messages no longer support raw html: redirectto,
474 thisisdeleted, viewdeleted, editlink, retrievedfrom, version-poweredby-others,
475 retrievedfrom, thisisdeleted, viewsourcelink, lastmodifiedat, laggedslavemode,
476 protect-summary-cascade
477 * All BloomCache related code has been removed. This was largely experimental.
478 * $wgResourceModuleSkinStyles no longer supports per-module local or remote paths. They
479 can only be set for the entire skin.
480 * Removed global function swap(). (deprecated since 1.24)
481 * The global importScript and importStylesheet functions, as well as the loadedScripts object,
482 from wikibits.js (deprecated since 1.17) now emit warnings through mw.log.warn when accessed.
483
484 == Compatibility ==
485
486 MediaWiki 1.25 requires PHP 5.3.3 or later. There is experimental support for
487 HHVM 3.3.0.
488
489 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
490 support for them is somewhat less mature. There is experimental support for
491 Oracle and Microsoft SQL Server.
492
493 The supported versions are:
494
495 * MySQL 5.0.3 or later
496 * PostgreSQL 8.3 or later
497 * SQLite 3.3.7 or later
498 * Oracle 9.0.1 or later
499 * Microsoft SQL Server 2005 (9.00.1399)
500
501 == Upgrading ==
502
503 1.25 has several database changes since 1.24, and will not work without schema
504 updates. Note that due to changes to some very large tables like the revision
505 table, the schema update may take quite long (minutes on a medium sized site,
506 many hours on a large site).
507
508 If upgrading from before 1.11, and you are using a wiki as a commons
509 repository, make sure that it is updated as well. Otherwise, errors may arise
510 due to database schema changes.
511
512 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
513 new database fields are filled with data.
514
515 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
516 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
517 with MediaWiki 1.21.
518
519 Don't forget to always back up your database before upgrading!
520
521 See the file UPGRADE for more detailed upgrade instructions.
522
523 For notes on 1.24.x and older releases, see HISTORY.
524
525 == Online documentation ==
526
527 Documentation for both end-users and site administrators is available on
528 MediaWiki.org, and is covered under the GNU Free Documentation License (except
529 for pages that explicitly state that their contents are in the public domain):
530
531 https://www.mediawiki.org/wiki/Documentation
532
533 == Mailing list ==
534
535 A mailing list is available for MediaWiki user support and discussion:
536
537 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
538
539 A low-traffic announcements-only list is also available:
540
541 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
542
543 It's highly recommended that you sign up for one of these lists if you're
544 going to run a public MediaWiki, so you can be notified of security fixes.
545
546 == IRC help ==
547
548 There's usually someone online in #mediawiki on irc.freenode.net.