* (bug 14611) Added support showing the version of the diff/diff3 engine.
[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 and $wgAllowUserSkin were deprecated in favor of
30 $wgHiddenPrefs[] = 'realname', but the former are still retained
31 for backwards-compatibility
32 * (bug 9257) $wgRCMaxAge now defaults to three months
33 * $wgDevelopmentWarnings can be set to true to show warnings about deprecated
34 functions and other potential errors when developing.
35 * Subpages are now enabled in the MediaWiki namespace by default. This is
36 mainly a cosmetic change, and does not in any way affect the MessageCache,
37 which was already effectively treating the namespace as if it had subpages.
38 * (bug 10837) $wgVariant is a user variant selected in the user's preferences
39 if the $wgContLang does not have variant, then the $wgLang is used instead.
40 * Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
41 appropriate privileges. Creating this user with web-install page requires
42 oci8.privileged_connect set to On in php.ini.
43 * Removed UserrightsChangeableGroups hook introduced in 1.14
44
45 === New features in 1.16 ===
46
47 * Add CSS defintion of the 'wikitable' class to shared.css
48 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
49 viewing talk pages
50 * Superfluous border="0" removed from images
51 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
52 to allow extensions to update caches in similar way as MediaWiki invalidates
53 a cached MonoBook sidebar
54 * Special:AllPages: Move hardcoded styles from code to CSS
55 * (bug 18529) New hook: SoftwareInfo for adding information about the software
56 to Special:Version
57 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
58 type of columns when using the Postgres backend.
59 * (bug 16950) Show move log when viewing/creating a deleted page
60 * (bug 18242) Show the Subversion revision number per extensions in
61 Special:Version
62 * (bug 18420) Missing file revisions are handled gracefully now
63 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
64 * New hook: MessageNotInMwNs to handle localised messages that aren't in the
65 Mediawiki Namespace, before checking the message files
66 * (bug 18466) Add note or warning when overruling a move (semi-)protection
67 * (bug 18342) insertTags works in edit summary box
68 * (bug 18411) The upload form also checks post_max_size
69 * Watchlist now has a specialized <div> tag that contains a unique class for
70 each page
71 * Added Minguo calendar support for the Taiwan Chinese language
72 * Database: unionQueries function to be used for UNION sql construction, so
73 it can be overloaded on DB abstraction level for DB specific functionality
74 * (bug 18849) Implement Japanese and North Korean calendars
75 * (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
76 month number without the leading zero
77 * (bug 13456) categoriespagetext supports PLURAL
78 * (bug 18860) Blocks of IPs affecting registered users can now block email
79 * (bug 17093) Date and time are separate parameters in Special:BlockList
80 * (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
81 * (bug 14866) Messages 'recentchangeslinked-toolbox' and
82 'recentchangeslinked-toolbox' were added to allow more fine grained
83 customisation of the user interface
84 * DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote items)
85 * Special:Search now could search terms in all variant-forms. ONLY apply on
86 wikis with LanguageConverter
87 * Add autopromote condition APCOND_BLOCKED to autopromote blocked users to various
88 user groups.
89 * Add $wgRevokePermissions as a means of restricting a group's rights. The syntax is
90 identical to $wgGroupPermissions, but users in these groups will have these rights
91 stripped from them.
92 * Added a PHP port of CDB (constant database), for improved local caching when
93 the DBA extension is not available.
94 * (bug 14611) Added support showing the version of the image thumbnailing
95 engine and diff/diff3 engine.
96
97 === Bug fixes in 1.16 ===
98
99 * (bug 18031) Make namespace selector on Special:Export remember the previous
100 selection
101 * The svn-version version numbers on Special:Version have been removed
102 * (bug 17374) Special:Export no longer exports two copies of the same page
103 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
104 * (bug 17617) HTML cleanup for ImagePage
105 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
106 * Improved error handling for image moving
107 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
108 with <strong> tags, helps with text-based browsers
109 * (bug 18259) Special:DeletedContributions now also uses
110 MediaWiki:Sp-contributions-logs for the link to Special:Log
111 * Don't add empty title="" attributes to links to anchors on the current page
112 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
113 * (bug 18304) rebuildrecentchanges.php got size changes wrong
114 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
115 * (bug 18289) Database connection error page now returns correct HTML
116 * "successbox", "errorbox" and related CSS classes are now available in all
117 skins
118 * Fixed a PHP notice when $wgEnableSerializedMessages was set to false
119 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
120 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
121 * The "noautoblock" flag is no longer displayed in the block log when blocking
122 an IP address
123 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
124 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
125 * (bug 18377) Time in Enhanced ChangesList lacking localisation
126 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
127 * (bug 1553) Lowercase navigation headings in German
128 * (bug 7830) Pending transactions failed to commit on loginToUse() error
129 * (bug 11613) session.save_handler being over-ridden
130 * (bug 11381) session.save_handler being set twice (causes error)
131 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
132 * (bug 18115) ForeignAPIRepo cache isn't working
133 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
134 after some parsed math syntax.
135 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
136 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
137 <strong> instead of hardcoded styles
138 * (bug 18449) Fixed items number per column on category pages when the total is
139 divisible by 3
140 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
141 revisions when --delete is not passed
142 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
143 * Overhaul of preferences system, includes the following bug fixes:
144 * (bug 5363) Changes to default preferences now impact registered users.
145 * (bug 14806) Hook to enable putting preferences in existing tabs.
146 * (bug 17191) Registration date now listed on preferences page.
147 * Note that this change will break some extensions which have not been adapted
148 for it.
149 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
150 languages while the the text is typed as URLs.
151 * (bug 17614) Prev / Next links are not shown if all results are shown
152 * (bug 18207) Strange spacing before [[irc:...]] links
153 * Removed float from the user login form in RTL interface - caused display
154 problems in FF2
155 * (bug 15008) Redirect images are now subject to Bad image list rules
156 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
157 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
158 'wikidiff' or 'wikidiff2' but extension is not installed
159 * (bug 18326) Chmod errors in file repos have been hidden
160 * (bug 18718) Comma after a } create a error in IE
161 * (bug 18716) Removed redundant class in Modern skin CSS for category links and
162 tweaked spacing.
163 * (bug 18656) Use proper directory separators in wfMkdirParents()
164 * (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
165 $wgSysopEmailBans
166 * (bug 16912) Tooltips on images with link= disappear
167 * (bug 18389) Localise numbers in EXIF data
168 * (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
169 * (bug 18438) Tweak HTML for preview bar for consistency and accessibility
170 * (bug 18432) Updated documentation for dumpBackup.php
171 * Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
172 tags that were redundantly defined.
173 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
174 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
175 .inc
176 * Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
177 Title::userCanEdit() and Title::userCanMove() have been removed
178 * Only show upload links on file description if $wgEnableUploads = true
179 and user can upload
180 * Don't say "You need to log in to upload/move", because it's possible that
181 uploading/moving is disabled for registered users as well (e.g. only sysops)
182 * (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
183 * (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
184 * (bug 10837) Introducing the StubUserVariant class to determine the variant
185 variable instead of using this to overrules the user language preference.
186 * (bug 19014) If user had deletedhistory right, but not undeleted right, then
187 show "view" instead of "view/restore" on logs.
188 * (bug 19017) TOC level calculation error in an odd case
189 * (bug 18999) CSS update for RTL interwiki links
190 * (bug 18925) history.js removes class names of list elements on initialization
191 * Multiple whitespace in TOC anchors is now stripped, for consistency with the
192 link from the edit comment
193 * (bug 19112) Preferences now respects $wgUseExternalEditor, $wgExternalDiffEngine
194 * (bug 18173) MediaWiki now fails when unable to determine a client IP
195 * (bug 19170) Special:Version should follow the content language direction
196 * (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
197 * Fixed performance regression in "bad image list" feature
198 * Show user preference 'Use live preview' if $wgLivePreview is enabled only
199 * (bug 17014) Blocked users can no longer use Special:UserRights unless they
200 can add/remove *all* groups (have 'userrights' permission).
201 * (bug 19294) Always show Sp-contributions-footer(-anon)
202 * Attempts to restrict reading of pages while anonymous viewing is allowed
203 via extensions not using the userCan hook and via $wgRevokePermissions now work.
204 * (bug 8445) Multiple-character search terms are now handled properly for Chinese
205
206 == API changes in 1.16 ==
207
208 * Added uiprop=changeablegroups to meta=userinfo
209 * Added usprop=gender to list=users
210 * (bug 18311) action=purge now works for images too
211 * Add parentid to prop=revisions output
212 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
213 when the user is blocked
214 * (bug 18546) Added timestamp of new revision to action=edit output
215 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
216 users
217 * (bug 13049) "API must be accessed from the primary script entry point" error
218 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
219 * Added PHP and database version to meta=siteinfo output
220 * (bug 18533) Add readonly message to meta=siteinfo output
221 * (bug 18518) Add clprop=hidden to prop=categories
222 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
223 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
224 output
225 * (bug 18731) Show correct SVN links for extension modules in api.php?version
226 * (bug 18730) Add version information to action=paraminfo output
227 * (bug 18743) Add ucprop=size to list=usercontribs
228 * (bug 18749) Add generator flag to action=paraminfo output
229 * Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
230 * Made deleting file description pages without files possible
231 * (bug 18773) Add content flag to siprop=namespaces output
232 * (bug 18785) Add siprop=languages to meta=siteinfo
233 * (bug 14200) Added user and excludeuser parameters to list=watchlist and
234 list=recentchanges
235 * Return HTTP 503 status code on maxlag error, like index.php does
236 * Added index, fromtitle and byteoffset fields to action=parse&prop=sections
237 output
238 * (bug 19313) action=rollback returns wrong revid on master/slave setups
239 * (bug 19323) action=parse doesn't return section tree on pages with Cite
240 warnings
241 * (bug 18720) Add anchor field to action=parse&prop=sections output
242
243 === Languages updated in 1.16 ===
244
245 MediaWiki supports over 300 languages. Many localisations are updated
246 regularly. Below only new and removed languages are listed, as well as
247 changes to languages because of MediaZilla reports.
248
249 * Lower Silesian (sli) (new)
250 * Uyghur (Arabic script) (ug-arab) (new)
251
252 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
253 * Add PLURAL function for Scots Gaelic (gd)
254 * Add Estonian letters äöõšüž to linktrail (et)
255 * (bug 18776) Native name of Burmese language (my)
256 * (bug 18806) Use correct unicode characters in spelling of native Chuvash
257 (Чӑвашла)
258 * (bug 18864) Updated autonym for Zhuang language
259 * (bug 18308) Updated date formatting in Occitan (oc)
260 * (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
261 * (bug 19286) Correct commafying function in Polish (pl)
262
263 == Compatibility ==
264
265 MediaWiki 1.16 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
266
267 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
268 http://bugs.php.net/bug.php?id=34879
269 Upgrade affected systems to PHP 5.1 or higher.
270
271 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
272 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
273
274
275 == Upgrading ==
276
277 1.16 has several database changes since 1.15, and will not work without schema
278 updates.
279
280 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
281 ry, make sure that it is updated as well. Otherwise, errors may arise due to
282 database schema changes.
283
284 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
285 new database fields are filled with data.
286
287 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
288 changes are made, and there is a slightly higher chance that things could
289 break. Don't forget to always back up your database before upgrading!
290
291 See the file UPGRADE for more detailed upgrade instructions.
292
293
294 === Caveats ===
295
296 Some output, particularly involving user-supplied inline HTML, may not
297 produce 100% valid or well-formed XHTML output. Testers are welcome to
298 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
299 cases, but this is not recommended on live sites. (This must be set for
300 MathML to display properly in Mozilla.)
301
302 For notes on 1.15.x and older releases, see HISTORY.
303
304
305 === Online documentation ===
306
307 Documentation for both end-users and site administrators is currently being
308 built up on MediaWiki.org, and is covered under the GNU Free Documentation
309 License (except for pages that explicitly state that their contents are in
310 the public domain) :
311
312 http://www.mediawiki.org/wiki/Documentation
313
314
315 === Mailing list ===
316
317 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
318 wikitech-l list:
319
320 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
321
322 A low-traffic announcements-only list is also available:
323
324 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
325
326 It's highly recommended that you sign up for one of these lists if you're
327 going to run a public MediaWiki, so you can be notified of security fixes.
328
329
330 === IRC help ===
331
332 There's usually someone online in #mediawiki on irc.freenode.net