* $wgDevelopmentWarnings can be set to true to show warnings about deprecated
[lhc/web/wiklou.git] / RELEASE-NOTES
1 = MediaWiki release notes =
2
3 Security reminder: MediaWiki does not require PHP's register_globals
4 setting since version 1.2.0. If you have it on, turn it *off* if you can.
5
6 == MediaWiki 1.16 ==
7
8 THIS IS NOT A RELEASE YET
9
10 MediaWiki is now using a "continuous integration" development model with
11 quarterly snapshot releases. The latest development code is always kept
12 "ready to run", and in fact runs our own sites on Wikipedia.
13
14 Release branches will continue to receive security updates for about a year
15 from first release, but nonessential bugfixes and feature developments
16 will be made on the development trunk and appear in the next quarterly release.
17
18 Those wishing to use the latest code instead of a branch release can obtain
19 it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
20
21 === Configuration changes in 1.16 ===
22
23 * (bug 18222) $wgMinimalPasswordLength default is now 1
24 * $wgSessionHandler can be used to configure session.save_handler
25 * $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
26 be used when uploading/moving files
27 * (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
28 to be shown to users
29 * $wgAllowRealName was deprecated in favor of $wgHiddenPrefs[] = 'realname',
30 but the former is still retained for backwards-compatibility
31 * (bug 9257) $wgRCMaxAge now defaults to three months
32 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
33 functions and other potential errors when developing.
34
35 === New features in 1.16 ===
36
37 * Add CSS defintion of the 'wikitable' class to shared.css
38 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
39 viewing talk pages
40 * Add group convertsion support for LanguageConverter. New magic word
41 "{{GROUPCONVERT:xxx}}" enabled for this new feature. You can set related
42 conversion rules in [[MediaWiki:Groupconversiontable-xxx/language_code]].
43 * Superfluous border="0" removed from images
44 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
45 to allow extensions to update caches in similar way as MediaWiki invalidates
46 a cached MonoBook sidebar
47 * Special:AllPages: Move hardcoded styles from code to CSS
48 * (bug 6092) Add parser function equivalents of {{REVISIONID}},
49 {{REVISIONTIMESTAMP}} (and friends) and {{REVISIONUSER}} magic words
50 * (bug 18529) New hook: SoftwareInfo for adding information about the software
51 to Special:Version
52 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
53 type of columns when using the Postgres backend.
54 * (bug 16950) Show move log when viewing/creating a deleted page
55 * (bug 18242) Show the Subversion revision number per extensions in
56 Special:Version
57 * (bug 18420) Missing file revisions are handled gracefully now
58 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
59 * New hook: MessageNotInMwNs to handle localised messages that aren't in the
60 Mediawiki Namespace, before checking the message files
61 * (bug 18466) Add note or warning when overruling a move (semi-)protection
62 * (bug 18342) insertTags works in edit summary box
63 * (bug 18411) The upload form also checks post_max_size
64 * Watchlist now has a specialized <div> tag that contains a unique class for each page
65 * Added Minguo calendar support for the Taiwan Chinese language
66 * Database: unionQueries function to be used for UNION sql construction, so
67 it can be overloaded on DB abstraction level for DB specific functionality
68 * (bug 18849) Implement Japanese and North Korean calendars
69 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
70 month number without the leading zero
71 * (bug 13456) categoriespagetext supports PLURAL
72 * (bug 18860) Blocks of IPs affecting registered users can now block email
73
74 === Bug fixes in 1.16 ===
75
76 * (bug 18031) Make namespace selector on Special:Export remember the previous
77 selection
78 * The svn-version version numbers on Special:Version have been removed
79 * (bug 17374) Special:Export no longer exports two copies of the same page
80 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
81 * (bug 17617) HTML cleanup for ImagePage
82 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
83 * Improved error handling for image moving
84 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
85 with <strong> tags, helps with text-based browsers
86 * (bug 18259) Special:DeletedContributions now also uses
87 MediaWiki:Sp-contributions-logs for the link to Special:Log
88 * Don't add empty title="" attributes to links to anchors on the current page
89 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
90 * (bug 18304) rebuildrecentchanges.php got size changes wrong
91 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
92 * (bug 18289) Database connection error page now returns correct HTML
93 * "successbox", "errorbox" and related CSS classes are now available in all
94 skins
95 * Fixed a PHP notice when $wgEnableSerializedMessages was set to false
96 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
97 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
98 * The "noautoblock" flag is no longer displayed in the block log when blocking
99 an IP address
100 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
101 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
102 * (bug 18377) Time in Enhanced ChangesList lacking localisation
103 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
104 * (bug 1553) Lowercase navigation headings in German
105 * (bug 7830) Pending transactions failed to commit on loginToUse() error
106 * (bug 11613) session.save_handler being over-ridden
107 * (bug 11381) session.save_handler being set twice (causes error)
108 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
109 * (bug 18115) ForeignAPIRepo cache isn't working
110 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
111 after some parsed math syntax.
112 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
113 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
114 <strong> instead of hardcoded styles
115 * (bug 18449) Fixed items number per column on category pages when the total is
116 divisible by 3
117 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
118 revisions when --delete is not passed
119 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
120 * Overhaul of preferences system, includes the following bug fixes:
121 * (bug 5363) Changes to default preferences now impact registered users.
122 * (bug 14806) Hook to enable putting preferences in existing tabs.
123 * (bug 17191) Registration date now listed on preferences page.
124 * Note that this change will break some extensions which have not been adapted
125 for it.
126 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
127 languages while the the text is typed as URLs.
128 * (bug 18535) Search tab tool-tops are corrupted
129 * (bug 17614) Prev / Next links not need on ImagePage file history if less than
130 limit
131 * (bug 18207) Strange spacing before [[irc:...]] links
132 * Removed float from the user login form in RTL interface - caused display
133 problems in FF2
134 * (bug 15008) Redirect images are now subject to Bad image list rules
135 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
136 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
137 'wikidiff' or 'wikidiff2' but extension is not installed
138 * (bug 18326) Chmod errors in file repos have been hidden
139 * (bug 18718) Comma after a } create a error in IE
140 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
141 tweaked spacing.
142 * (bug 18656) Use proper directory separators in wfMkdirParents()
143 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
144 $wgSysopEmailBans
145 * (bug 16912) Tooltips on images with link= disappear
146 * (bug 18389) Localise numbers in EXIF data
147 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
148 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
149 * (bug 18432) Updated documentation for dumpBackup.php
150 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good tags
151 that were redundantly defined.
152 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
153
154 == API changes in 1.16 ==
155
156 * Added uiprop=changeablegroups to meta=userinfo
157 * Added usprop=gender to list=users
158 * (bug 18311) action=purge now works for images too
159 * Add parentid to prop=revisions output
160 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
161 when the user is blocked
162 * (bug 18546) Added timestamp of new revision to action=edit output
163 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
164 users
165 * (bug 13049) "API must be accessed from the primary script entry point" error
166 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
167 * Added PHP and database version to meta=siteinfo output
168 * (bug 18533) Add readonly message to meta=siteinfo output
169 * (bug 18518) Add clprop=hidden to prop=categories
170 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
171 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
172 output
173 * (bug 18731) Show correct SVN links for extension modules in api.php?version
174 * (bug 18730) Add version information to action=paraminfo output
175 * (bug 18743) Add ucprop=size to list=usercontribs
176 * (bug 18749) Add generator flag to action=paraminfo output
177 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
178
179 === Languages updated in 1.16 ===
180
181 MediaWiki supports over 300 languages. Many localisations are updated
182 regularly. Below only new and removed languages are listed, as well as
183 changes to languages because of MediaZilla reports.
184
185 * Lower Silesian (sli) (new)
186 * Uyghur (Arabic script) (ug-arab) (new)
187
188 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
189 * Add PLURAL function for Scots Gaelic (gd)
190 * Add Estonian letters äöõšüž to linktrail (et)
191 * (bug 18776) Native name of Burmese language (my)
192 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
193 (Чӑвашла)
194 * (bug 18864) Update autonym for Zhuang language
195
196 == Compatibility ==
197
198 MediaWiki 1.16 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
199
200 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
201 http://bugs.php.net/bug.php?id=34879
202 Upgrade affected systems to PHP 5.1 or higher.
203
204 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
205 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
206
207
208 == Upgrading ==
209
210 1.16 has several database changes since 1.15, and will not work without schema
211 updates.
212
213 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
214 ry, make sure that it is updated as well. Otherwise, errors may arise due to
215 database schema changes.
216
217 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
218 new database fields are filled with data.
219
220 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
221 changes are made, and there is a slightly higher chance that things could
222 break. Don't forget to always back up your database before upgrading!
223
224 See the file UPGRADE for more detailed upgrade instructions.
225
226
227 === Caveats ===
228
229 Some output, particularly involving user-supplied inline HTML, may not
230 produce 100% valid or well-formed XHTML output. Testers are welcome to
231 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
232 cases, but this is not recommended on live sites. (This must be set for
233 MathML to display properly in Mozilla.)
234
235 For notes on 1.15.x and older releases, see HISTORY.
236
237
238 === Online documentation ===
239
240 Documentation for both end-users and site administrators is currently being
241 built up on MediaWiki.org, and is covered under the GNU Free Documentation
242 License (except for pages that explicitly state that their contents are in
243 the public domain) :
244
245 http://www.mediawiki.org/wiki/Documentation
246
247
248 === Mailing list ===
249
250 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
251 wikitech-l list:
252
253 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
254
255 A low-traffic announcements-only list is also available:
256
257 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
258
259 It's highly recommended that you sign up for one of these lists if you're
260 going to run a public MediaWiki, so you can be notified of security fixes.
261
262
263 === IRC help ===
264
265 There's usually someone online in #mediawiki on irc.freenode.net