2 Security reminder: MediaWiki does not require PHP's register_globals. If you
3 have it on, turn it '''off''' if you can.
7 THIS IS NOT A RELEASE YET
9 MediaWiki 1.21 is an alpha-quality branch and is not recommended for use in
12 === Configuration changes in 1.21 ===
13 * (bug 29374) $wgVectorUseSimpleSearch is now enabled by default.
14 * Deprecated $wgAllowRealName is removed. Use $wgHiddenPrefs[] = 'realname'
17 === New features in 1.21 ===
18 * (bug 34876) jquery.makeCollapsible has been improved in performance.
19 * Added ContentHandler facility to allow extensions to support other content
20 than wikitext. See docs/contenthandler.txt for details.
21 * New feature was developed for showing high-DPI thumbnails for high-DPI mobile
22 and desktop displays (configurable with $wgResponsiveImages).
23 * Added new backend to represent and store information about sites and site
24 specific configuration.
25 * jQuery upgraded from 1.8.2 to 1.8.3.
26 * jQuery UI upgraded from 1.8.23 to 1.8.24.
27 * Added separate fa_sha1 field to filearchive table. This allows sha1
28 searches with the api in miser mode for deleted files.
29 * Add initial and programmatic sorting for tablesorter.
30 * Add the event "sortEnd.tablesorter", triggered after sorting has completed.
31 * The Job system was refactored to allow for different backing stores for
32 queues as well as cross-wiki access to queues, among other things. The schema
33 for the DB queue was changed to support better concurrency and reduce
35 * Added ApiQueryORM class to facilitate creation of query API modules based on
36 tables that have a corresponding ORMTable class.
37 * (bug 40876) Icon for PSD (Adobe Photoshop) file types.
38 * (bug 40641) Implemented Special:Version/Credits with a list of contributors.
39 * (bug 7851) Implemented one-click AJAX patrolling.
40 * The <data>, <time>, <meta>, and <link> elements are allowed within WikiText
41 for use with Microdata.
42 * The HTML5 <mark> tag has been whitelisted.
43 * Added ParserCloned hook for when the Parser object is cloned.
44 * Added AlternateEditPreview hook to allow extensions to replace the page
45 preview from the edit page.
46 * Added EditPage::showStandardInputs:options hook to allow extensions to add
47 new fields to the "editOptions" area of the edit form.
49 === Bug fixes in 1.21 ===
50 * (bug 40353) SpecialDoubleRedirect should support interwiki redirects.
51 * (bug 40352) fixDoubleRedirects.php should support interwiki redirects.
52 * (bug 9237) SpecialBrokenRedirect should not list interwiki redirects.
53 * (bug 34960) Drop unused fields rc_moved_to_ns and rc_moved_to_title from
55 * (bug 32951) Do not register internal externals with absolute protocol,
56 when server has relative protocol.
57 * (bug 39005) When purging proxies listed in $wgSquidServers using HTTP PURGE
58 method requests, we now send a Host header by default, for Varnish
59 compatibility. This also works with Squid in reverse-proxy mode. If you wish
60 to support Squid configured in forward-proxy mode, set
61 $wgSquidPurgeUseHostHeader to false.
62 * (bug 37020) sql.php with readline eats semicolon.
63 * (bug 11748) Properly handle optionally-closed HTML tags when Tidy is
64 disabled, and don't wrap HTML-syntax definition lists in paragraphs.
65 * (bug 41409) Diffs while editing an old revision should again diff against the
67 * (bug 41494) Honor $wgLogExceptionBacktrace when logging non-API exceptions
68 caught during API execution.
69 * (bug 37963) Fixed loading process for user options.
70 * (bug 26995) Update filename field on Upload page after having sanitized it.
71 * (bug 41793) Contribution links to users with 0 edits on Special:ListUsers
73 * (bug 41899) A PHP notice no longer occurs when using the "rvcontinue" API
75 * (bug 42036) Account creation emails now contain canonical (not
76 protocol-relative) URLs.
77 * (bug 41990) Fix regression: API edit with redirect=true and lacking
78 starttimestamp and basetimestamp should not cause an edit conflict.
79 * (bug 41706) EditPage: Preloaded page should be converted if possible and
81 * (bug 41886) Rowspans are no longer exploded by tablesorter until the table is
83 * (bug 2865) User interface HTML elements don't use lang attribute
84 (completed the fix by adding the lang attribute to firstHeading).
85 * (bug 42173) Removed namespace prefixes on Special:UncategorizedCategories.
86 * (bug 36053) Log in "returnto" feature forgets query parameters if no
87 title parameter was specified.
88 * (bug 42410) API action=edit now returns correct timestamp for the new edit.
89 * (bug 14901) Email notification mistakes log action for new page creation.
90 Enotif no longer sends "page has been created" notifications for some log
91 actions. The following events now have a correct message: page creation,
92 deletion, move, restore (undeletion), change (edit).
93 * (bug 457) In the sidebar of Vector, CologneBlue, Monobook, and Monobook-based
94 skins, the heading levels have been changed from (variously per skin)
95 <h4>, <h5> or <h6> to only <h3>s, with a <h2> hidden heading above them.
96 If you are styling or scripting the headings in a custom way, this change
97 will require updates to your site's CSS or JS.
99 === API changes in 1.21 ===
100 * prop=revisions can now report the contentmodel and contentformat.
101 See docs/contenthandler.txt.
102 * action=edit and action=parse now support contentmodel and contentformat
103 parameters to control the interpretation of page content.
104 See docs/contenthandler.txt for details.
105 * (bug 35693) ApiQueryImageInfo now suppresses errors when unserializing metadata.
106 * (bug 40111) Disable minor edit for page/section creation by API.
107 * (bug 41042) Revert change to action=parse&page=... behavior when the page
110 === Languages updated in 1.21 ===
112 MediaWiki supports over 350 languages. Many localisations are updated
113 regularly. Below only new and removed languages are listed, as well as
114 changes to languages because of Bugzilla reports.
116 * (bug 30040) Autonym for nds-nl is now 'Nedersaksies' (was 'Nedersaksisch').
117 * (bug 34977) Now formatted numbers in Spanish use space as separator
118 for thousands, as mandated by the Real Academia EspaƱola.
119 * (bug 35031) Kurdish formatted numbers now use period and comma
120 as separators for thousands and decimals respectively.
122 === Other changes in 1.21 ===
126 MediaWiki 1.21 requires PHP 5.3.2 or later.
128 MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but
129 support for them is somewhat less mature. There is experimental support for IBM
132 The supported versions are:
134 * MySQL 5.0.2 or later
135 * PostgreSQL 8.3 or later
136 * SQLite 3.3.7 or later
137 * Oracle 9.0.1 or later
141 1.21 has several database changes since 1.20, and will not work without schema
142 updates. Note that due to changes to some very large tables like the revision
143 table, the schema update may take quite long (minutes on a medium sized site,
144 many hours on a large site).
146 If upgrading from before 1.11, and you are using a wiki as a commons
147 repository, make sure that it is updated as well. Otherwise, errors may arise
148 due to database schema changes.
150 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
151 new database fields are filled with data.
153 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
154 changes are made, and there is a slightly higher chance that things could
155 break. Don't forget to always back up your database before upgrading!
157 See the file UPGRADE for more detailed upgrade instructions.
159 For notes on 1.19.x and older releases, see HISTORY.
161 == Online documentation ==
163 Documentation for both end-users and site administrators is available on
164 MediaWiki.org, and is covered under the GNU Free Documentation License (except
165 for pages that explicitly state that their contents are in the public domain):
167 https://www.mediawiki.org/wiki/Documentation
171 A mailing list is available for MediaWiki user support and discussion:
173 https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
175 A low-traffic announcements-only list is also available:
177 https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
179 It's highly recommended that you sign up for one of these lists if you're
180 going to run a public MediaWiki, so you can be notified of security fixes.
184 There's usually someone online in #mediawiki on irc.freenode.net.