647138e560e216a32eb5d33d11f517d48e7ab0bc
[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
16 === New features in 1.25 ===
17 * (bug 58139) ResourceLoaderFileModule now supports language fallback
18 for 'languageScripts'.
19 * Added a new hook, "ContentAlterParserOutput", to allow extensions to modify the
20 parser output for a content object before links update.
21 * (bug 35785) Enhanced recent changes and extended watchlist are now default.
22 Documentation: https://meta.wikimedia.org/wiki/Help:Enhanced_recent_changes
23 and https://www.mediawiki.org/wiki/Manual:$wgDefaultUserOptions.
24 * (bug 67341) SVG images will no longer be base64-encoded when being embedded
25 in CSS. This results in slight size increase before gzip compression (due to
26 percent-encoding), but up to 20% decrease after it.
27
28 === Bug fixes in 1.25 ===
29 * (bug 71003) No additional code will be generated to try to load CSS-embedded
30 SVG images in Internet Explorer 6 and 7, as they don't support them anyway.
31 * (bug 67021) On Special:BookSources, corrected validation of ISBNs (both
32 10- and 13-digit forms) containing "X".
33
34 === Action API changes in 1.25 ===
35 * (bug 65403) XML tag highlighting is now only performed for formats
36 "xmlfm" and "wddxfm".
37
38 === Action API internal changes in 1.25 ===
39
40 === Languages updated in 1.25 ===
41
42 MediaWiki supports over 350 languages. Many localisations are updated
43 regularly. Below only new and removed languages are listed, as well as
44 changes to languages because of Bugzilla reports.
45
46 === Other changes in 1.25 ===
47 * The skin autodiscovery mechanism, deprecated in MediaWiki 1.23, has been
48 removed. See https://www.mediawiki.org/wiki/Manual:Skin_autodiscovery for
49 migration guide for creators and users of custom skins that relied on it.
50 * Javascript variable 'wgFileCanRotate' now only available on Special:Upload.
51 * (bug 56257) Set site logo from mediawiki.skinning.interface module instead of
52 inline styles in the HTML.
53 * Removed ApiQueryUsers::getAutoGroups(). (deprecated since 1.20)
54 * Removed XmlDumpWriter::schemaVersion(). (deprecated since 1.20)
55 * Removed LogEventsList::getDisplayTitle(). (deprecated since 1.20)
56 * Removed Preferences::trySetUserEmail(). (deprecated since 1.20)
57 * Removed mw.user.name() and mw.user.anonymous() methods. (deprecated since 1.20)
58 * Removed 'ok' and 'err' parameters in the mediawiki.api modules. (deprecated
59 since 1.20)
60 * Removed 'async' parameter from the mw.Api#getCategories() method. (deprecated
61 since 1.20)
62 * Removed 'jquery.json' module. (deprecated since 1.24)
63 Use the 'json' module and global JSON object instead.
64 * Deprecated OutputPage::readOnlyPage() and OutputPage::rateLimited().
65 Also, the former will now throw an MWException if called with one or more
66 arguments.
67
68 == Compatibility ==
69
70 MediaWiki 1.25 requires PHP 5.3.2 or later. There is experimental support for
71 HHVM 3.3.0.
72
73 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
74 support for them is somewhat less mature. There is experimental support for
75 Oracle and Microsoft SQL Server.
76
77 The supported versions are:
78
79 * MySQL 5.0.2 or later
80 * PostgreSQL 8.3 or later
81 * SQLite 3.3.7 or later
82 * Oracle 9.0.1 or later
83 * Microsoft SQL Server 2005 (9.00.1399)
84
85 == Upgrading ==
86
87 1.25 has several database changes since 1.24, and will not work without schema
88 updates. Note that due to changes to some very large tables like the revision
89 table, the schema update may take quite long (minutes on a medium sized site,
90 many hours on a large site).
91
92 If upgrading from before 1.11, and you are using a wiki as a commons
93 repository, make sure that it is updated as well. Otherwise, errors may arise
94 due to database schema changes.
95
96 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
97 new database fields are filled with data.
98
99 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
100 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
101 with MediaWiki 1.21.
102
103 Don't forget to always back up your database before upgrading!
104
105 See the file UPGRADE for more detailed upgrade instructions.
106
107 For notes on 1.23.x and older releases, see HISTORY.
108
109 == Online documentation ==
110
111 Documentation for both end-users and site administrators is available on
112 MediaWiki.org, and is covered under the GNU Free Documentation License (except
113 for pages that explicitly state that their contents are in the public domain):
114
115 https://www.mediawiki.org/wiki/Documentation
116
117 == Mailing list ==
118
119 A mailing list is available for MediaWiki user support and discussion:
120
121 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
122
123 A low-traffic announcements-only list is also available:
124
125 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
126
127 It's highly recommended that you sign up for one of these lists if you're
128 going to run a public MediaWiki, so you can be notified of security fixes.
129
130 == IRC help ==
131
132 There's usually someone online in #mediawiki on irc.freenode.net.