Merge "Deprecate wfMemcKey() and wfGlobalCacheKey()"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.30
1 == MediaWiki 1.30 ==
2
3 THIS IS NOT A RELEASE YET
4
5 MediaWiki 1.30 is an alpha-quality branch and is not recommended for use in
6 production.
7
8 === Configuration changes in 1.30 ===
9 * The C.UTF-8 locale should be used for $wgShellLocale, if available, to avoid
10 unexpected behavior when things use local-sensitive string comparisons. For
11 example, Scribunto considers "bar" < "Foo" in most locales since it ignores
12 case.
13 * $wgShellLocale now affects LC_ALL rather than only LC_CTYPE. See
14 documentation of $wgShellLocale for details.
15 * $wgJobClasses may now specify callback functions
16 as an alternative to plain class names.
17 This is intended for extensions that want control
18 over the instantiation of their jobs,
19 to allow for proper dependency injection.
20 * $wgResourceModules may now specify callback functions as an alternative
21 to plain class names, using the 'factory' key in the module description
22 array. This allows dependency injection to be used for ResourceLoader modules.
23 * $wgExceptionHooks has been removed.
24
25 === New features in 1.30 ===
26 * (T37247) Output from Parser::parse() will now be wrapped in a div with
27 class="mw-parser-output" by default. This may be changed or disabled using
28 ParserOptions::setWrapOutputClass().
29 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
30 specific tags to be added by users.
31 * File storage backends that supports headers (eg. Swift) now store an
32 X-Content-Dimensions header for originals that contain the media's dimensions
33 as page ranges keyed by dimensions.
34
35 === External library changes in 1.30 ===
36
37 ==== Upgraded external libraries ====
38 * …
39
40 ==== New external libraries ====
41 * …
42
43 ==== Removed and replaced external libraries ====
44 * …
45
46 === Bug fixes in 1.30 ===
47 * (T151633) Ordered list items use now Devanagari digits in Nepalese
48 (thanks to Sfic)
49
50 === Action API changes in 1.30 ===
51 * (T37247) action=parse output will be wrapped in a div with
52 class="mw-parser-output" by default. This may be changed or disabled using
53 the new 'wrapoutputclass' parameter.
54 * When errorformat is not 'bc', abort reasons from action=login will be
55 formatted as specified by the error formatter parameters.
56
57 === Action API internal changes in 1.30 ===
58 * …
59
60 === Languages updated in 1.30 ===
61 MediaWiki supports over 350 languages. Many localisations are updated
62 regularly. Below only new and removed languages are listed, as well as
63 changes to languages because of Phabricator reports.
64
65 * …
66
67 === Other changes in 1.30 ===
68 * The use of an associative array for $wgProxyList, where the IP address is in
69 the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
70 Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
71 * mw.user.bucket (deprecated in 1.23) was removed.
72 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
73 deprecated. There are no known callers.
74 * File::getStreamHeaders() was deprecated.
75 * MediaHandler::getStreamHeaders() was deprecated.
76 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
77 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
78 deprecated in 1.24) were removed.
79 * wfMemcKey() and wfGlobalCacheKey() were deprecated. ObjectCache::makeKey() and
80 ObjectCache::makeGlobalKey() should be used instead.
81
82 == Compatibility ==
83 MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for
84 HHVM 3.6.5 or later.
85
86 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
87 but support for them is somewhat less mature. There is experimental support for
88 Oracle and Microsoft SQL Server.
89
90 The supported versions are:
91
92 * MySQL 5.0.3 or later
93 * PostgreSQL 8.3 or later
94 * SQLite 3.3.7 or later
95 * Oracle 9.0.1 or later
96 * Microsoft SQL Server 2005 (9.00.1399)
97
98 == Upgrading ==
99 1.30 has several database changes since 1.29, and will not work without schema
100 updates. Note that due to changes to some very large tables like the revision
101 table, the schema update may take quite long (minutes on a medium sized site,
102 many hours on a large site).
103
104 Don't forget to always back up your database before upgrading!
105
106 See the file UPGRADE for more detailed upgrade instructions, including
107 important information when upgrading from versions prior to 1.11.
108
109 For notes on 1.29.x and older releases, see HISTORY.
110
111 == Online documentation ==
112 Documentation for both end-users and site administrators is available on
113 MediaWiki.org, and is covered under the GNU Free Documentation License (except
114 for pages that explicitly state that their contents are in the public domain):
115
116 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
117
118 == Mailing list ==
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 There's usually someone online in #mediawiki on irc.freenode.net.