Merge "Add two more categories to Special:TrackingCategories"
[lhc/web/wiklou.git] / RELEASE-NOTES-1.24
1 Security reminder: MediaWiki does not require PHP's register_globals. If you
2 have it on, turn it '''off''' if you can.
3
4 == MediaWiki 1.24 ==
5
6 THIS IS NOT A RELEASE YET
7
8 MediaWiki 1.24 is an alpha-quality branch and is not recommended for use in
9 production.
10
11 === Configuration changes in 1.24 ===
12 * The server's canonical hostname is available as $wgServerName, which is
13 exposed in both mw.config and ApiQuerySiteInfo.
14
15 === New features in 1.24 ===
16 * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
17 WhatLinksHere entries.
18 * Added a new hook, "ContentGetParserOutput", to customize parser output for
19 a given content object.
20 * Deprecated the hook "ShowRawCssJs", use "ContentGetParserOutput" instead.
21 * HTMLForm's HTMLTextField now supports the 'url' type.
22 * HTMLForm fields may now be dynamically hidden based on the values of other
23 fields in the form.
24 * HTMLForm now supports multiple copies of an input field or set of input
25 fields, e.g. the form may request "one or more usernames" without having to
26 have the user enter delimited list of names into a text field.
27 * Added a new hook, "SidebarBeforeOutput", to allow to edit the structure of
28 the sidebar just before its display.
29
30 === Bug fixes in 1.24 ===
31 * (bug 62258) A bug was fixed in File::getUnscaledThumb when a height
32 restriction was present in the parameters. Images with both the "frame"
33 option and a size specification set will now always ignore the provided
34 size and display an unscaled image, as the documentation has always
35 claimed it would.
36 * (bug 39035) Improved Vector skin performance by removing collapsibleNav,
37 which used to collapse some sidebar elements by default.
38 * (bug 890) Links in Special:RecentChanges and Special:Watchlist no longer
39 follow redirects to their target pages.
40 * Parser now dies early if called recursively, instead of producing subtle bugs.
41
42 === Web API changes in 1.24 ===
43 * action=parse API now supports prop=modules, which provides the list of
44 ResourceLoader modules that should be used to enhance the parsed content.
45
46 === Languages updated in 1.24 ===
47
48 MediaWiki supports over 350 languages. Many localisations are updated
49 regularly. Below only new and removed languages are listed, as well as
50 changes to languages because of Bugzilla reports.
51
52 === Other changes in 1.24 ===
53 * The deprecated jquery.delayedBind ResourceLoader module was removed.
54 * The deprecated function mw.util.toggleToc was removed.
55 * The Special:Search hooks SpecialSearchGo and SpecialSearchResultsAppend
56 were removed as they were unused.
57 * mediawiki.util.$content no longer supports old versions of the Vector,
58 Monobook, Modern and CologneBlue skins that don't yet implement the "mw-body"
59 and/or "mw-body-primary" class name in their html.
60
61 ==== Renamed classes ====
62 * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
63 * CLDRPluralRuleConverter_Fragment to CLDRPluralRuleConverterFragment
64 * CLDRPluralRuleConverter_Operator to CLDRPluralRuleConverterOperator
65 * CLDRPluralRuleEvaluator_Range to CLDRPluralRuleEvaluatorRange
66 * CSSJanus_Tokenizer to CSSJanusTokenizer
67 * MediaWiki_I18N to MediaWikiI18N
68 * RevDel_ArchiveItem to RevDelArchiveItem
69 * RevDel_ArchiveList to RevDelArchiveList
70 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
71 * RevDel_ArchivedFileList to RevDelArchivedFileList
72 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
73 * RevDel_FileItem to RevDelFileItem
74 * RevDel_FileList to RevDelFileList
75 * RevDel_Item to RevDelItem
76 * RevDel_List to RevDelList
77 * RevDel_LogItem to RevDelLogItem
78 * RevDel_LogList to RevDelLogList
79 * RevDel_RevisionItem to RevDelRevisionItem
80 * RevDel_RevisionList to RevDelRevisionList
81
82 ==== Removed classes ====
83 * IPBlockForm - Use SpecialBlock directly
84 * WatchlistEditor - Use SpecialEditWatchlist directly
85
86 == Compatibility ==
87
88 MediaWiki 1.24 requires PHP 5.3.2 or later.
89
90 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
91 support for them is somewhat less mature. There is experimental support for
92 Oracle and Microsoft SQL Server.
93
94 The supported versions are:
95
96 * MySQL 5.0.2 or later
97 * PostgreSQL 8.3 or later
98 * SQLite 3.3.7 or later
99 * Oracle 9.0.1 or later
100 * Microsoft SQL Server 2005 (9.00.1399)
101
102 == Upgrading ==
103
104 1.24 has several database changes since 1.23, and will not work without schema
105 updates. Note that due to changes to some very large tables like the revision
106 table, the schema update may take quite long (minutes on a medium sized site,
107 many hours on a large site).
108
109 If upgrading from before 1.11, and you are using a wiki as a commons
110 repository, make sure that it is updated as well. Otherwise, errors may arise
111 due to database schema changes.
112
113 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
114 new database fields are filled with data.
115
116 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
117 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
118 with MediaWiki 1.21.
119
120 Don't forget to always back up your database before upgrading!
121
122 See the file UPGRADE for more detailed upgrade instructions.
123
124 For notes on 1.22.x and older releases, see HISTORY.
125
126 == Online documentation ==
127
128 Documentation for both end-users and site administrators is available on
129 MediaWiki.org, and is covered under the GNU Free Documentation License (except
130 for pages that explicitly state that their contents are in the public domain):
131
132 https://www.mediawiki.org/wiki/Documentation
133
134 == Mailing list ==
135
136 A mailing list is available for MediaWiki user support and discussion:
137
138 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
139
140 A low-traffic announcements-only list is also available:
141
142 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
143
144 It's highly recommended that you sign up for one of these lists if you're
145 going to run a public MediaWiki, so you can be notified of security fixes.
146
147 == IRC help ==
148
149 There's usually someone online in #mediawiki on irc.freenode.net.