resourceloader: Allow modules to be registered via a factory callback
[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
24 === New features in 1.30 ===
25 * (T37247) Output from Parser::parse() will now be wrapped in a div with
26 class="mw-parser-output" by default. This may be changed or disabled using
27 ParserOptions::setWrapOutputClass().
28 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
29 specific tags to be added by users.
30 * File storage backends that supports headers (eg. Swift) now store an
31 X-Content-Dimensions header for originals that contain the media's dimensions
32 as page ranges keyed by dimensions.
33
34 === External library changes in 1.30 ===
35
36 ==== Upgraded external libraries ====
37 * …
38
39 ==== New external libraries ====
40 * …
41
42 ==== Removed and replaced external libraries ====
43 * …
44
45 === Bug fixes in 1.30 ===
46 * (T151633) Ordered list items use now Devanagari digits in Nepalese
47 (thanks to Sfic)
48
49 === Action API changes in 1.30 ===
50 * (T37247) action=parse output will be wrapped in a div with
51 class="mw-parser-output" by default. This may be changed or disabled using
52 the new 'wrapoutputclass' parameter.
53 * When errorformat is not 'bc', abort reasons from action=login will be
54 formatted as specified by the error formatter parameters.
55
56 === Action API internal changes in 1.30 ===
57 * …
58
59 === Languages updated in 1.30 ===
60 MediaWiki supports over 350 languages. Many localisations are updated
61 regularly. Below only new and removed languages are listed, as well as
62 changes to languages because of Phabricator reports.
63
64 * …
65
66 === Other changes in 1.30 ===
67 * The use of an associative array for $wgProxyList, where the IP address is in
68 the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
69 Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
70 * mw.user.bucket (deprecated in 1.23) was removed.
71 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
72 deprecated. There are no known callers.
73 * File::getStreamHeaders() was deprecated.
74 * MediaHandler::getStreamHeaders() was deprecated.
75 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
76 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
77 deprecated in 1.24) were removed.
78
79 == Compatibility ==
80 MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for
81 HHVM 3.6.5 or later.
82
83 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
84 but support for them is somewhat less mature. There is experimental support for
85 Oracle and Microsoft SQL Server.
86
87 The supported versions are:
88
89 * MySQL 5.0.3 or later
90 * PostgreSQL 8.3 or later
91 * SQLite 3.3.7 or later
92 * Oracle 9.0.1 or later
93 * Microsoft SQL Server 2005 (9.00.1399)
94
95 == Upgrading ==
96 1.30 has several database changes since 1.29, and will not work without schema
97 updates. Note that due to changes to some very large tables like the revision
98 table, the schema update may take quite long (minutes on a medium sized site,
99 many hours on a large site).
100
101 Don't forget to always back up your database before upgrading!
102
103 See the file UPGRADE for more detailed upgrade instructions, including
104 important information when upgrading from versions prior to 1.11.
105
106 For notes on 1.29.x and older releases, see HISTORY.
107
108 == Online documentation ==
109 Documentation for both end-users and site administrators is available on
110 MediaWiki.org, and is covered under the GNU Free Documentation License (except
111 for pages that explicitly state that their contents are in the public domain):
112
113 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
114
115 == Mailing list ==
116 A mailing list is available for MediaWiki user support and discussion:
117
118 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
119
120 A low-traffic announcements-only list is also available:
121
122 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
123
124 It's highly recommended that you sign up for one of these lists if you're
125 going to run a public MediaWiki, so you can be notified of security fixes.
126
127 == IRC help ==
128 There's usually someone online in #mediawiki on irc.freenode.net.