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