API: (bug 18749) Add generator flag to action=paraminfo output. Also fixes an interna...
[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
28 === New features in 1.16 ===
29
30 * Add CSS defintion of the 'wikitable' class to shared.css
31 * (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
32 viewing talk pages
33 * Add group convertsion support for LanguageConverter. New magic word
34 "{{GROUPCONVERT:xxx}}" enabled for this new feature. You can set related
35 conversion rules in [[MediaWiki:Groupconversiontable-xxx/language_code]].
36 * Superfluous border="0" removed from images
37 * Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
38 to allow extensions to update caches in similar way as MediaWiki invalidates
39 a cached MonoBook sidebar
40 * Special:AllPages: Move hardcoded styles from code to CSS
41 * (bug 6092) Add parser function equivalents of {{REVISIONID}},
42 {{REVISIONTIMESTAMP}} (and friends) and {{REVISIONUSER}} magic words
43 * (bug 18529) New hook: SoftwareInfo for adding information about the software
44 to Special:Version
45 * Added $wgExtPGAlteredFields to allow extensions to easily alter the data
46 type of columns when using the Postgres backend.
47 * (bug 16950) Show move log when viewing/creating a deleted page
48 * (bug 18242) Show the Subversion revision number per extensions in
49 Special:Version
50 * (bug 18420) Missing file revisions are handled gracefully now
51 * (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
52
53 === Bug fixes in 1.16 ===
54
55 * (bug 18031) Make namespace selector on Special:Export remember the previous
56 selection
57 * The svn-version version numbers on Special:Version have been removed
58 * (bug 17374) Special:Export no longer exports two copies of the same page
59 * (bug 18190) Proper parsing in MediaWiki:Sharedupload message
60 * (bug 17617) HTML cleanup for ImagePage
61 * (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
62 * Improved error handling for image moving
63 * (bug 17974) On Special:SpecialPages, restricted special pages are now marked
64 with <strong> tags, helps with text-based browsers
65 * (bug 18259) Special:DeletedContributions now also uses
66 MediaWiki:Sp-contributions-logs for the link to Special:Log
67 * Don't add empty title="" attributes to links to anchors on the current page
68 * (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
69 * (bug 18304) rebuildrecentchanges.php got size changes wrong
70 * (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
71 * (bug 18289) Database connection error page now returns correct HTML
72 * "successbox", "errorbox" and related CSS classes are now available in all
73 skins
74 * Fixed a PHP notice when $wgEnableSerializedMessages was set to false
75 * (bug 18316) Removed superfluous name="fulltext" from Special:Search
76 * (bug 18331) MediaWiki:Undelete-revision can now have wikitext
77 * The "noautoblock" flag is no longer displayed in the block log when blocking
78 an IP address
79 * (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
80 * (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
81 * (bug 18377) Time in Enhanced ChangesList lacking localisation
82 * (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
83 * (bug 1553) Lowercase navigation headings in German
84 * (bug 7830) Pending transactions failed to commit on loginToUse() error
85 * (bug 11613) session.save_handler being over-ridden
86 * (bug 11381) session.save_handler being set twice (causes error)
87 * (bug 17835) ForeignAPIRepo throwing error on first page load for file
88 * (bug 18115) ForeignAPIRepo cache isn't working
89 * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
90 after some parsed math syntax.
91 * (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
92 * (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
93 <strong> instead of hardcoded styles
94 * (bug 18449) Fixed items number per column on category pages when the total is
95 divisible by 3
96 * (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
97 revisions when --delete is not passed
98 * (bug 13172) GPS coordinates in image Exif data are now actually displayed
99 * Overhaul of preferences system, includes the following bug fixes:
100 * (bug 5363) Changes to default preferences now impact registered users.
101 * (bug 14806) Hook to enable putting preferences in existing tabs.
102 * (bug 17191) Registration date now listed on preferences page.
103 * Note that this change will break some extensions which have not been adapted
104 for it.
105 * (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
106 languages while the the text is typed as URLs.
107 * (bug 18535) Search tab tool-tops are corrupted
108 * (bug 17614) Prev / Next links not need on ImagePage file history if less than limit
109 * (bug 18207) Strange spacing before [[irc:...]] links
110 * Removed float from the user login form in RTL interface - caused display
111 problems in FF2
112 * (bug 15008) Redirect images are now subject to Bad image list rules
113 * (bug 6802) profileinfo.php now also work on other database servers than MySQL
114 * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to 'wikidiff'
115 or 'wikidiff2' but extension is not installed
116 * (bug 18326) Chmod errors in file repos have been hidden
117 * (bug 18718) Comma after a } create a error in IE
118
119 == API changes in 1.16 ==
120
121 * Added uiprop=changeablegroups to meta=userinfo
122 * Added usprop=gender to list=users
123 * (bug 18311) action=purge now works for images too
124 * Add parentid to prop=revisions output
125 * (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
126 when the user is blocked
127 * (bug 18546) Added timestamp of new revision to action=edit output
128 * (bug 18554) Also list hidden revisions in list=usercontribs for privileged
129 users
130 * (bug 13049) "API must be accessed from the primary script entry point" error
131 * (bug 16422) Don't display help for format=jsonfm unless specifically requested
132 * Added PHP and database version to meta=siteinfo output
133 * (bug 18533) Add readonly message to meta=siteinfo output
134 * (bug 18518) Add clprop=hidden to prop=categories
135 * (bug 18710) Fixed internal error with empty parameter in action=paraminfo
136 * (bug 18709) Missing descriptions for some parameters in action=paraminfo
137 output
138 * (bug 18731) Show correct SVN links for extension modules in api.php?version
139 * (bug 18730) Add version information to action=paraminfo output
140 * (bug 18743) Add ucprop=size to list=usercontribs
141 * (bug 18749) Add generator flag to action=paraminfo output
142
143 === Languages updated in 1.16 ===
144
145 MediaWiki supports over 300 languages. Many localisations are updated
146 regularly. Below only new and removed languages are listed, as well as
147 changes to languages because of MediaZilla reports.
148
149 * (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
150 * Add PLURAL function for Scots Gaelic (gd)
151
152 == Compatibility ==
153
154 MediaWiki 1.16 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
155
156 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
157 http://bugs.php.net/bug.php?id=34879
158 Upgrade affected systems to PHP 5.1 or higher.
159
160 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
161 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
162
163
164 == Upgrading ==
165
166 1.16 has several database changes since 1.15, and will not work without schema
167 updates.
168
169 If upgrading from before 1.11, and you are using a wiki as a commons reposito-
170 ry, make sure that it is updated as well. Otherwise, errors may arise due to
171 database schema changes.
172
173 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
174 new database fields are filled with data.
175
176 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
177 changes are made, and there is a slightly higher chance that things could
178 break. Don't forget to always back up your database before upgrading!
179
180 See the file UPGRADE for more detailed upgrade instructions.
181
182
183 === Caveats ===
184
185 Some output, particularly involving user-supplied inline HTML, may not
186 produce 100% valid or well-formed XHTML output. Testers are welcome to
187 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
188 cases, but this is not recommended on live sites. (This must be set for
189 MathML to display properly in Mozilla.)
190
191 For notes on 1.15.x and older releases, see HISTORY.
192
193
194 === Online documentation ===
195
196 Documentation for both end-users and site administrators is currently being
197 built up on MediaWiki.org, and is covered under the GNU Free Documentation
198 License (except for pages that explicitly state that their contents are in
199 the public domain) :
200
201 http://www.mediawiki.org/wiki/Documentation
202
203
204 === Mailing list ===
205
206 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
207 wikitech-l list:
208
209 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
210
211 A low-traffic announcements-only list is also available:
212
213 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
214
215 It's highly recommended that you sign up for one of these lists if you're
216 going to run a public MediaWiki, so you can be notified of security fixes.
217
218
219 === IRC help ===
220
221 There's usually someone online in #mediawiki on irc.freenode.net