Adding release note about counting page moves as edits
[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 * $wgShellLocale is now applied for all requests. wfInitShellLocale() is
25 deprecated and a no-op, as it is no longer needed.
26 * WikiPage::getParserOutput() will now throw an exception if passed
27 ParserOptions would pollute the parser cache. Callers should use
28 WikiPage::makeParserOptions() to create the ParserOptions object and only
29 change options that affect the parser cache key.
30
31 === New features in 1.30 ===
32 * (T37247) Output from Parser::parse() will now be wrapped in a div with
33 class="mw-parser-output" by default. This may be changed or disabled using
34 ParserOptions::setWrapOutputClass().
35 * Added 'ChangeTagsAllowedAdd' hook, enabling extensions to allow software-
36 specific tags to be added by users.
37 * File storage backends that supports headers (eg. Swift) now store an
38 X-Content-Dimensions header for originals that contain the media's dimensions
39 as page ranges keyed by dimensions.
40 * Added a 'ParserOptionsRegister' hook to allow extensions to register
41 additional parser options.
42
43 === Languages updated in 1.30 ===
44
45 * Support for kbp (Kabɩyɛ / Kabiyè) was added.
46
47 === External library changes in 1.30 ===
48
49 ==== Upgraded external libraries ====
50 * …
51
52 ==== New external libraries ====
53 * The class \TestingAccessWrapper has been moved to the external library
54 wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
55
56 ==== Removed and replaced external libraries ====
57 * …
58
59 === Bug fixes in 1.30 ===
60 * (T151633) Ordered list items use now Devanagari digits in Nepalese
61 (thanks to Sfic)
62
63 === Action API changes in 1.30 ===
64 * (T37247) action=parse output will be wrapped in a div with
65 class="mw-parser-output" by default. This may be changed or disabled using
66 the new 'wrapoutputclass' parameter.
67 * When errorformat is not 'bc', abort reasons from action=login will be
68 formatted as specified by the error formatter parameters.
69 * action=compare can now handle arbitrary text, deleted revisions, and
70 returning users and edit comments.
71
72 === Action API internal changes in 1.30 ===
73 * …
74
75 === Languages updated in 1.30 ===
76 MediaWiki supports over 350 languages. Many localisations are updated
77 regularly. Below only new and removed languages are listed, as well as
78 changes to languages because of Phabricator reports.
79
80 * …
81
82 === Other changes in 1.30 ===
83 * The use of an associative array for $wgProxyList, where the IP address is in
84 the key instead of the value, is deprecated (e.g. [ '127.0.0.1' => 'value' ]).
85 Please convert these arrays to indexed/sequential ones (e.g. [ '127.0.0.1' ]).
86 * mw.user.bucket (deprecated in 1.23) was removed.
87 * LoadBalancer::getServerInfo() and LoadBalancer::setServerInfo() are
88 deprecated. There are no known callers.
89 * File::getStreamHeaders() was deprecated.
90 * MediaHandler::getStreamHeaders() was deprecated.
91 * The ExtractThumbParameters hook (deprecated in 1.21) was removed.
92 * The OutputPage::addParserOutputNoText and ::getHeadLinks methods (both
93 deprecated in 1.24) were removed.
94 * wfMemcKey() and wfGlobalCacheKey() were deprecated. BagOStuff::makeKey() and
95 BagOStuff::makeGlobalKey() should be used instead.
96 * (T146304) Preprocessor handling of LanguageConverter markup has been improved.
97 As a result of the new uniform handling, '-{' may need to be escaped
98 (for example, as '-<nowiki/>{') where it occurs inside template arguments
99 or wikilinks.
100 * (T163966) Page moves are now counted as edits for the purposes of
101 autopromotion, i.e., they increment the user_editcount field in the database.
102
103 == Compatibility ==
104 MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for
105 HHVM 3.6.5 or later.
106
107 MySQL/MariaDB is the recommended DBMS. PostgreSQL or SQLite can also be used,
108 but support for them is somewhat less mature. There is experimental support for
109 Oracle and Microsoft SQL Server.
110
111 The supported versions are:
112
113 * MySQL 5.0.3 or later
114 * PostgreSQL 8.3 or later
115 * SQLite 3.3.7 or later
116 * Oracle 9.0.1 or later
117 * Microsoft SQL Server 2005 (9.00.1399)
118
119 == Upgrading ==
120 1.30 has several database changes since 1.29, and will not work without schema
121 updates. Note that due to changes to some very large tables like the revision
122 table, the schema update may take quite long (minutes on a medium sized site,
123 many hours on a large site).
124
125 Don't forget to always back up your database before upgrading!
126
127 See the file UPGRADE for more detailed upgrade instructions, including
128 important information when upgrading from versions prior to 1.11.
129
130 For notes on 1.29.x and older releases, see HISTORY.
131
132 == Online documentation ==
133 Documentation for both end-users and site administrators is available on
134 MediaWiki.org, and is covered under the GNU Free Documentation License (except
135 for pages that explicitly state that their contents are in the public domain):
136
137 https://www.mediawiki.org/wiki/Special:MyLanguage/Documentation
138
139 == Mailing list ==
140 A mailing list is available for MediaWiki user support and discussion:
141
142 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
143
144 A low-traffic announcements-only list is also available:
145
146 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
147
148 It's highly recommended that you sign up for one of these lists if you're
149 going to run a public MediaWiki, so you can be notified of security fixes.
150
151 == IRC help ==
152 There's usually someone online in #mediawiki on irc.freenode.net.