(bug 13554) PHP Notice in old pre-processor when list item is empty. Patch by Cedric...
[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.13 ==
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.13 ===
22
23 * New option $wgFeed can be set false to turn off syndication feeds
24 * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved
25 links through each redirect instead of hardcoded 500
26 * Set $wgUploadSizeWarning to false by default
27
28 === New features in 1.13 ===
29
30 * __HIDDENCAT__ on a category page causes the category to be hidden on the
31 article page.
32 * Don't show edit permissions errors on a red link click, just redirect to the
33 article. This is so that readers who don't know what a red link is aren't
34 confused when they are told they are range-blocked.
35 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
36 image syntax output.
37 * (bug 13100) Added 'preloadtitle' parameter to action=edit&section=new that
38 pre-fills the section title field.
39 * (bug 13112) Added Special:RelatedChanges alias to Special:Recentchangeslinked
40 * (bug 13130) Moved edit token and autosummary fields above edit tools to
41 reduce broken form submissions
42 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
43 redirects to the redirect table
44 * Add links to page and file deletion forms to edit predefined delete reasons
45 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
46 * (bug 2815) Search results for media now use thumb instead of text extract
47 * When a page doesn't exist, the tab should say "create", not "edit"
48 * (bug 12882) Added a span with class "patrollink" arround "Mark as patrolled"
49 link on diffs
50 * Magic word formatnum can now take raw suffix to undo formatting
51 * Add updatelog table to reliably permit updates that don't change the schema
52 * Add category table to allow better tracking of category membership counts
53 ** (bug 1212) Give correct membership counts on the pages of large categories
54 ** Use category table for more efficient display of Special:Categories
55 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
56 * (bug 9447) Added hooks for search result headings
57 * Image redirects are now enabled
58 * (bug 13450) Email confirmation can now be canceled before the expiration
59 * (bug 13490) Show upload/file size limit on upload form
60
61 === Bug fixes in 1.13 ===
62
63 * (bug 10677) Add link to the file description page on the shared repository
64 * (bug 13084) Increase size of source/destination filename fields in upload form
65 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
66 * (bug 13140) Show parent categories in category namespace
67 * (bug 13149) Correctly format 'fileexists' message on Upload page
68 * Make the default filepageexists message accurate
69 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
70 * (bug 13022) Fix upload from URL on PHP 5.0.x
71 * (bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki
72 * (bug 12723) OpenSearch description name now uses more compact language code
73 to avoid passing the length limit as often, is customizable per site via
74 'opensearch-desc' message.
75 * (bug 13135) Special:Userrights now passes IDs through form submission
76 to allow functionality on not-quite-right usernames
77 * (bug 12575) Prevent duplicate patrol log entries from being created
78 * (bug 13174) __HIDDENCAT__ now applies only to category pages
79 * (bug 13031) Add links to user pages in e-mail form
80 * (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded
81 * (bug 11561) Fix fatal error when calling action=revert to non-image page
82 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
83 maintenance/cleanupSpam.php
84 * All skins should have the "mediawiki" class on the body element
85 * (bug 13019) Message cache for some extensions not loaded at time of editing
86 * (bug 13247) Prettified ISBN links
87 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
88 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
89 back when using rollback
90 * (bug 13012) Use content messages for block options when generating the
91 recentchanges entry
92 * (bug 13274) Change links for messages to ucfirst
93 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
94 autocomment-prefix)
95 * Parse MediaWiki message translations with a correct language setting on preview
96 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
97 case-insensitive names.
98 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
99 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
100 * (bug 10721) Duplicate section anchors with differing case now disambiguated
101 for Internet Explorer's sake and standards compliance
102 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
103 * Email subject in content language instead of sending user's UI language
104 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
105 * (bug 2084) Fixed incorrect regex to match redirects
106 * (bug 3131) Manually-specified upload destination filename is no longer
107 overwritten by browsing for a file after you wrote it.
108 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
109 'generated-sidebar'.
110 * (bug 13265) Media handler is missing 'image/x-bmp'
111 * (bug 13407) MediaWiki:Powersearch is used in two places
112 * (bug 13403) Fix cache invalidation of history pages when old revisions change
113 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
114 * (bug 12801) Fix link in subtitle message in AJAX search
115 * (bug 13428) Fix regression in protection form layout HTML validity
116 * (bug 9403) Sanitize newlines from search term input
117 * (bug 13429) Separate date and time in message sp-newimages-showfrom
118 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
119 so groups may optionally edit protected pages without having 'protect' perms
120 * Disallow deletion of big pages by means of moving a page to its title and
121 using the "delete and move" option.
122 * (bug 13466) White space differences not shown in diffs
123 * (bug 1953) Search form now honors namespace selections more reliably
124 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
125 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
126 * (bug 6447) Trackbacks now work with transactional tables, if enabled
127 * (bug 6892, 7147) Trackback error handling, optional fields more robust
128 * (bug 6813) Don't break HTML validator when using trackbacks
129 * Fix for size checks on SVG images with global 'stroke-width' attribute
130 * (bug 11874) Inline CSS with !important no longer borken
131 * (bug 1600) Strip extra == section markup == in new-comment field
132 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
133 * (bug 12077) Fix HTML nesting for TOC
134 * (bug 344) Purge cache for talk/article pages when deleting the other tab
135 * (bug 13436) Treat image captions correctly when they include option keywords
136 (like ending with "px" or starting with "upright")
137 * Trackback display formatting fixed
138 * Don't die when single-element arrays are passed to SQL query constructors
139 that have an array index other than 0
140 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
141 * (bug 13532) Use proper timestamp call when reverting images
142 * (bug 13543) Updated FAQ link in the installer sidebar
143 * (bug 13540) Date format in confirmation e-mail now matches message language
144 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
145
146
147 === API changes in 1.13 ===
148
149 * Fixing main page display in meta=siteinfo
150 * (bug 13128) Added patrolled flag to list=recentchanges
151 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
152 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
153 * (bug 13157) Added ucuserprefix parameter to list=usercontibs
154 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
155 retrieval easier
156 * (bug 13218) Fix inclusion of " character in hyperlinks
157 * Added watch and unwatch parameters to action=delete and action=move
158 * Added action=edit
159 * (bug 11401) Added xmldoublequote to xml formatter
160 * Added rvsection parameter to prop=revisions to allow fetching the content of
161 a certain section only
162 * Introduced list=allimages
163 * (bug 13371) Build page set from image hashes
164 * Mark non-existent messages in meta=allmessages as missing
165 * (bug 13390) One invalid title no longer kills an entire API query
166 * (bug 13419) Fix gblredirect so it actually works
167 * (bug 13418) Disable eiredirect because it's useless
168 * (bug 13395) list=allcategories should use category table
169 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
170 handled properly.
171 * (bug 13444) Add description to list=watchlist
172 * (bug 13482) Disabled search types handled properly
173 * Added inprop=talkid,subjectid to prop=info
174 * Added help text message that specifies whether a module is POST-only
175 * Added createonly parameter to action=edit
176 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
177 * (bug 11719) Remove trailing blanks in YAML output.
178 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
179 * Added fallback8bitEncoding field to meta=siteinfo&siprop=general output
180 * (bug 13544) Added prop=revid to action=parse
181
182 === Languages updated in 1.13 ===
183
184 * Afrikaans (af)
185 * Gheg Albanian (aln)
186 * Amharic (am)
187 * Aragonese (an)
188 * Arabic (ar)
189 * Asturian (ast)
190 * Kotava (avk)
191 * Samogitian (bat-smg)
192 * Bulgarian (bg)
193 * Catalan (ca)
194 * Crimean Turkish (Cyrillic) (crh-cyrl)
195 * Crimean Turkish (Latin) (crh-latn)
196 * Czech (cs)
197 * Welsh (cy)
198 * Danish (da)
199 * Lower Sorbian (dsb)
200 * Greek (el)
201 * Esperanto (eo)
202 * Spanish (es)
203 * Estonian (et)
204 * Extremaduran (ext)
205 * Finnish (fi)
206 * Faroese (fo)
207 * French (fr)
208 * Franco-Provençal (frp)
209 * Friulian (fur)
210 * Irish (ga)
211 * Gan (gan)
212 * Galician (gl)
213 * Croatian (hr)
214 * Upper Sorbian (hsb)
215 * Hungarian (hu)
216 * Indonesian (id)
217 * Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ike-cans)
218 * Icelandic (is)
219 * Italian (it)
220 * Japanese (ja)
221 * Georgian (ka)
222 * Kalaallisut (kl)
223 * Khmer (km)
224 * Latin (la)
225 * Luxembourgish (lb)
226 * Limburgish (li)
227 * Lao (lo)
228 * Lithuanian (lt)
229 * Malayalam (ml)
230 * Moldavian (mo)
231 * Marathi (mr)
232 * Low German (nds)
233 * Dutch (nl)
234 * Norwegian Nynorsk (nn)
235 * Norwegian (bokmål)‬ (no)
236 * Polish (pl)
237 * Pashto (ps)
238 * Portuguese (pt)
239 * Russian (ru)
240 * Yakut (sah)
241 * Sassaresu (sdc)
242 * Slovak (sk)
243 * Somali (so)
244 * Albanian (sq)
245 * Sranan Tongo (srn)
246 * Seeltersk (stq)
247 * Swedish (sv)
248 * Tamil (ta)
249 * Telugu (te)
250 * Tajik (tg)
251 * Thai (th)
252 * Turkish (tr)
253 * Tuvinian (tyv)
254 * Venda (ve)
255 * Vietnamese (vi)
256 * Volapük (vo)
257 * Wolof (wo)
258 * Mingrelian (xmf)
259 * Yiddish (yi)
260 * Cantonese (yue)
261 * Old Chinese / Late Time Chinese (zh-classical)
262 * Chinese (Simplified) (zh-hans)
263 * Chinese (Traditional) (zh-hant)
264
265 == Compatibility ==
266
267 MediaWiki 1.13 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
268
269 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
270 http://bugs.php.net/bug.php?id=34879
271 Upgrade affected systems to PHP 5.1 or higher.
272
273 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
274 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
275
276
277 == Upgrading ==
278
279 1.13 has several database changes since 1.12, and will not work without schema
280 updates.
281
282 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
283 new database fields are filled with data.
284
285 If upgrading from before 1.11, and you are using a wiki as a commons repository,
286 make sure that it is updated as well. Otherwise, errors may arise due to
287 database schema changes.
288
289 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
290 changes are made, and there is a slightly higher chance that things could
291 break. Don't forget to always back up your database before upgrading!
292
293 See the file UPGRADE for more detailed upgrade instructions.
294
295
296 === Caveats ===
297
298 Some output, particularly involving user-supplied inline HTML, may not
299 produce 100% valid or well-formed XHTML output. Testers are welcome to
300 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
301 cases, but this is not recommended on live sites. (This must be set for
302 MathML to display properly in Mozilla.)
303
304 For notes on 1.12.x and older releases, see HISTORY.
305
306
307 === Online documentation ===
308
309 Documentation for both end-users and site administrators is currently being
310 built up on MediaWiki.org, and is covered under the GNU Free Documentation
311 License (except for pages that explicitly state that their contents are in
312 the public domain) :
313
314 http://www.mediawiki.org/wiki/Documentation
315
316
317 === Mailing list ===
318
319 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
320 wikitech-l list:
321
322 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
323
324 A low-traffic announcements-only list is also available:
325
326 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
327
328 It's highly recommended that you sign up for one of these lists if you're
329 going to run a public MediaWiki, so you can be notified of security fixes.
330
331
332 === IRC help ===
333
334 There's usually someone online in #mediawiki on irc.freenode.net