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