Merge "Update html5 specs link in comment"
[mediawiki.git] / RELEASE-NOTES-1.24
blob1bf308cec660e9134e5b2cff2b00b6caae3d7072
1 Security reminder: MediaWiki does not require PHP's register_globals. If you
2 have it on, turn it '''off''' if you can.
4 == MediaWiki 1.24 ==
6 THIS IS NOT A RELEASE YET
8 MediaWiki 1.24 is an alpha-quality branch and is not recommended for use in
9 production.
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.
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.
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.
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.
46 === Languages updated in 1.24 ===
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.
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.
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 * RevDel_ArchiveItem to RevDelArchiveItem
68 * RevDel_ArchiveList to RevDelArchiveList
69 * RevDel_ArchivedFileItem to RevDelArchivedFileItem
70 * RevDel_ArchivedFileList to RevDelArchivedFileList
71 * RevDel_ArchivedRevisionItem to RevDelArchivedRevisionItem
72 * RevDel_FileItem to RevDelFileItem
73 * RevDel_FileList to RevDelFileList
74 * RevDel_Item to RevDelItem
75 * RevDel_List to RevDelList
76 * RevDel_LogItem to RevDelLogItem
77 * RevDel_LogList to RevDelLogList
78 * RevDel_RevisionItem to RevDelRevisionItem
79 * RevDel_RevisionList to RevDelRevisionList
81 ==== Removed classes ====
82 * IPBlockForm - Use SpecialBlock directly
83 * WatchlistEditor - Use SpecialEditWatchlist directly
85 == Compatibility ==
87 MediaWiki 1.24 requires PHP 5.3.2 or later.
89 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
90 support for them is somewhat less mature. There is experimental support for
91 Oracle and Microsoft SQL Server.
93 The supported versions are:
95 * MySQL 5.0.2 or later
96 * PostgreSQL 8.3 or later
97 * SQLite 3.3.7 or later
98 * Oracle 9.0.1 or later
99 * Microsoft SQL Server 2005 (9.00.1399)
101 == Upgrading ==
103 1.24 has several database changes since 1.23, and will not work without schema
104 updates. Note that due to changes to some very large tables like the revision
105 table, the schema update may take quite long (minutes on a medium sized site,
106 many hours on a large site).
108 If upgrading from before 1.11, and you are using a wiki as a commons
109 repository, make sure that it is updated as well. Otherwise, errors may arise
110 due to database schema changes.
112 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
113 new database fields are filled with data.
115 If you are upgrading from MediaWiki 1.4.x or earlier, you should upgrade to
116 1.5 first. The upgrade script maintenance/upgrade1_5.php has been removed
117 with MediaWiki 1.21.
119 Don't forget to always back up your database before upgrading!
121 See the file UPGRADE for more detailed upgrade instructions.
123 For notes on 1.22.x and older releases, see HISTORY.
125 == Online documentation ==
127 Documentation for both end-users and site administrators is available on
128 MediaWiki.org, and is covered under the GNU Free Documentation License (except
129 for pages that explicitly state that their contents are in the public domain):
131         https://www.mediawiki.org/wiki/Documentation
133 == Mailing list ==
135 A mailing list is available for MediaWiki user support and discussion:
137         https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
139 A low-traffic announcements-only list is also available:
141         https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
143 It's highly recommended that you sign up for one of these lists if you're
144 going to run a public MediaWiki, so you can be notified of security fixes.
146 == IRC help ==
148 There's usually someone online in #mediawiki on irc.freenode.net.