1 = MediaWiki release notes =
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.
8 THIS IS NOT A RELEASE YET
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.
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.
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
21 === Configuration changes in 1.13 ===
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 * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated
32 for only some namespaces
33 * Removed the emailconfirmed implicit group by default. To re-add it, use:
34 $wgAutopromote['emailconfirmed'] = APCOND_EMAILCONFIRMED;
35 in your LocalSettings.php.
36 * (bug 2396) New shared database configuration variables. $wgSharedPrefix allows
37 you to use a shared database with a different prefix. Or you can now use a local
38 database and use prefixes to separate wiki and the shared tables. And the new
39 $wgSharedTables variable allows you to specify a list of tables to share.
42 === New features in 1.13 ===
44 * __HIDDENCAT__ on a category page causes the category to be hidden on the
46 * Don't show edit permissions errors on a red link click, just redirect to the
47 article. This is so that readers who don't know what a red link is aren't
48 confused when they are told they are range-blocked.
49 * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext
51 * (bug 13100) Added 'preloadtitle' parameter to action=edit§ion=new that
52 pre-fills the section title field
53 * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked
54 * (bug 13130) Moved edit token and autosummary fields above edit tools to
55 reduce broken form submissions
56 * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old
57 redirects to the redirect table
58 * Add links to page and file deletion forms to edit predefined delete reasons
59 * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload
60 * (bug 2815) Search results for media now use thumbnail instead of text extract
61 * When a page doesn't exist, the tab should say "create", not "edit"
62 * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled"
64 * Magic word formatnum can now take raw suffix to undo formatting
65 * Add updatelog table to reliably permit updates that don't change the schema
66 * Add category table to allow better tracking of category membership counts
67 ** (bug 1212) Give correct membership counts on the pages of large categories
68 ** Use category table for more efficient display of Special:Categories
69 * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch
70 * (bug 9447) Added hooks for search result headings
71 * Image redirects are now enabled by default
72 * (bug 13450) Email confirmation can now be canceled before the expiration
73 * (bug 13490) Show upload/file size limit on upload form
74 * Redesign of Special:UserRights
75 * Make rev_deleted log entries more intelligible
76 * (bug 6943) Added PAGESINCATEGORY: magic word
77 * (bug 13604) Added Special:ListGroupRights
78 * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of
79 'mainpage' and added it to message 'sidebar'
80 * Automatically add old redirects to the redirect table when needed
81 * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or
82 off on Special:WhatLinksHere
83 * Cache image redirects
84 * (bug 10457) Organize Special:SpecialPages into sections
85 * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor
86 to modify the output for edit conflicts
87 * Add class="nested" for <fieldset>s so fieldsets inside fieldsets get
88 a slightly less huge margin and padding
89 * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format
90 * Allow \C and \Q as TeX commands to match \R, \N, \Z
91 * On Special:UserRights, when you can add a group you can't remove or remove
92 one you can't add, a notice is printed to warn you
93 * (bug 12698) Create PAGESIZE parser function, to return the size of a page
94 * Allow the "log in / create account" link in the toolbar to have different
95 text from Special:UserLogin title (new message 'nav-login-createaccount')
96 * Say "log in / create account" if an anonymous user can create an account,
97 otherwise just "log in", consistently across skins
98 * Special:Shortpages and Special:Longpages now returns pages in all content
99 namespaces, not just NS_MAIN.
100 * (bug 889) Improve conflict-handling between shared upload repository
102 * Update documentation links in auto-generated LocalSettings.php
103 * (bug 13584) The new hook SkinTemplateToolboxEnd was added.
104 * (bug 709) Cannot rename/move images and other media files [EXPERIMENTAL]
105 * Custom rollback summaries now accept the same arguments as the default message
106 * (bug 12542) Added hooks for expansion of Special:Listusers
107 * Drop-down AJAX search suggestions (turn on $wgEnableMWSuggest)
108 * More relevant search snippets (turn on $wgAdvancedSearchHighlighting)
109 * (bug 13950) Allow users to watch the user/talk pages of users they block.
110 * (bug 13970) Allow MonoBook-based skins to specify their own print stylesheet
111 * Show image links on Special:Whatlinkshere
112 * Use rel="start", "prev", "next" appropriately on Pager-based pages
113 * Add support for SQLite
115 === Bug fixes in 1.13 ===
117 * (bug 10677) Add link to the file description page on the shared repository
118 * (bug 13084) Increase size of source/destination filename fields in upload form
119 * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge
120 * (bug 13140) Show parent categories in category namespace
121 * (bug 13149) Correctly format 'fileexists' message on Upload page
122 * Make the default filepageexists message accurate
123 * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
124 * (bug 13022) Fix upload from URL on PHP 5.0.x
125 * (bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki
126 * (bug 12723) OpenSearch description name now uses more compact language code
127 to avoid passing the length limit as often, is customizable per site via
128 'opensearch-desc' message.
129 * (bug 13135) Special:Userrights now passes IDs through form submission
130 to allow functionality on not-quite-right usernames
131 * (bug 12575) Prevent duplicate patrol log entries from being created
132 * (bug 13174) __HIDDENCAT__ now applies only to category pages
133 * (bug 13031) Add links to user pages in e-mail form
134 * (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded
135 * (bug 11561) Fix fatal error when calling action=revert to non-image page
136 * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in
137 maintenance/cleanupSpam.php
138 * All skins should have the "mediawiki" class on the body element
139 * (bug 13019) Message cache for some extensions not loaded at time of editing
140 * (bug 13247) Prettified ISBN links
141 * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option
142 * (bug 13110) Don't show "Permission error" page if the edit is already rolled
143 back when using rollback
144 * (bug 13012) Use content messages for block options when generating the
146 * (bug 13274) Change links for messages to ucfirst
147 * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
149 * Parse MediaWiki message translations with a correct language setting on preview
150 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
151 case-insensitive names.
152 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
153 * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
154 * (bug 10721) Duplicate section anchors with differing case now disambiguated
155 for Internet Explorer's sake and standards compliance
156 * (bug 13298) Tighter limits on Special:Newpages limits when embedding
157 * Email subject in content language instead of sending user's UI language
158 * (bug 13251) Allow maintenance rebuild scripts to work with Postgres
159 * (bug 2084) Fixed incorrect regex to match redirects
160 * (bug 3131) Manually-specified upload destination filename is no longer
161 overwritten by browsing for a file after you wrote it.
162 * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class
164 * (bug 13265) Media handler is missing 'image/x-bmp'
165 * (bug 13407) MediaWiki:Powersearch is used in two places
166 * (bug 13403) Fix cache invalidation of history pages when old revisions change
167 * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL
168 * (bug 12801) Fix link in subtitle message in AJAX search
169 * (bug 13428) Fix regression in protection form layout HTML validity
170 * (bug 9403) Sanitize newlines from search term input
171 * (bug 13429) Separate date and time in message sp-newimages-showfrom
172 * (bug 13137) Allow setting 'editprotected' right separately from 'protect',
173 so groups may optionally edit protected pages without having 'protect' perms
174 * Disallow deletion of big pages by means of moving a page to its title and
175 using the "delete and move" option.
176 * (bug 13466, 13632) White space differences not shown in diffs
177 * (bug 1953) Search form now honors namespace selections more reliably
178 * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility
179 * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters
180 * (bug 6447) Trackbacks now work with transactional tables, if enabled
181 * (bug 6892, 7147) Trackback error handling, optional fields more robust
182 * (bug 6813) Don't break HTML validator when using trackbacks
183 * Fix for size checks on SVG images with global 'stroke-width' attribute
184 * (bug 11874) Inline CSS with !important no longer borken
185 * (bug 1600) Strip extra == section markup == in new-comment field
186 * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely
187 * (bug 12077) Fix HTML nesting for TOC
188 * (bug 344) Purge cache for talk/article pages when deleting the other tab
189 * (bug 13436) Treat image captions correctly when they include option keywords
190 (like ending with "px" or starting with "upright")
191 * Trackback display formatting fixed
192 * Don't die when single-element arrays are passed to SQL query constructors
193 that have an array index other than 0
194 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams
195 * (bug 13532) Use proper timestamp call when reverting images
196 * (bug 13543) Updated FAQ link in the installer sidebar
197 * (bug 13540) Date format in confirmation e-mail now matches message language
198 * (bug 13554) PHP Notice in old pre-processor when list item is empty.
199 * (bug 13556) Don't show a blank form if no image is attached in Special:Upload
200 * (bug 13576) maintenance/rebuildrecentchanges.php fails
201 * (bug 13441) Allow Special:Recentchanges to show bots only
202 * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml
203 * (bug 13463) Login successful page doesn't use user's preferred interface language
204 * (bug 13630) Fixed warnings for pass by reference at call time in
205 Special:Revisiondelete when generating the log entry.
206 * (bug 12064) BeforePageDisplay hook is now called for all skins
207 * (bug 13624) Fix regression with manual thumb= parameter on images
208 * (bug 11039) Add missing labels on protection form
209 * (bug 13458) Preview/edit toolbar spacing now works consistently
210 * (bug 13433) Fix action=render on Image: pages
211 * (bug 13678) Fix CSS validation for Monobook
212 * (bug 13684) Links in Special:ListGroupRights should be in content language
213 * (bug 13690) Fix PHP notice on accessing some URLs
214 * Hide (undo) link if user isn't able to edit page
215 * Invalidate cache of pages that includes images via redirects on upload
216 * (bug 13705) Don't show rollback link in page history on incorrect revisions
217 * (bug 13708) Don't set "Search results" title when loading Special:Search
219 * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses
220 * (bug 13728) Don't trim initial whitespace during section edits
221 * (bug 13727) Don't delete log entries from recentchanges on page deletion
222 * (bug 13752) Redirects to sections now work again
223 * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile
224 * (bug 13756) Don't show the form and navigation links of Special:Newpages if
226 * When hiding things on WhatLinksHere, generated URLs should hide them too
227 * Properly escape search terms with regex chars so they appear highlighted in
229 * (bug 13768) pt_title field encoding fixed
230 * Do not display empty columns on Special:UserRights if all groups are
231 changeable or all unchangeable
232 * Fix fatal error on calling PAGESINCATEGORY with invalid category name
233 * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of before
234 * (bug 13796) Show links to parent pages even if some of them are missing
235 * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere
236 * (bug 13822) Fatal error on some pages when calculating subpage subtitle
237 * (bug 13824) AJAX search suggestion now works with non-SkinTemplate skins
238 * Added 'application/x-dia-diagram' MediaWiki's known MIME types
239 * (bug 13866) skins/common/shared.css - invalid attribute fixing
240 * Hide edit section links on Special:Undelete
241 * (bug 13860) Fix "Justify paragraphs" option for Modern skin
242 * (bug 13168) accessibility links in Modern skin link to wrong anchor id
243 * (bug 13185) No line break after 'subpages' class in Modern skin
244 * (bug 13583) No "poweredby" in Modern skin
245 * (bug 13880) "Printable" link in Modern skin now formats as print mode
246 * (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
247 * (bug 13891) Show categories box even if all categories are hidden and user has
248 "show hidden categories" option on
249 * (bug 13915) Undefined variable $wltsfield in includes/SpecialWatchlist.php
250 * (bug 13913) Special:Whatlinkshere now has correct HTML markup
251 * (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
252 * (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
253 * (bug 13924) Fix bad HTML on power search form
254 * (bug 13820) Fix updater for rev_parent_id population
255 * (bug 13925) Fix bad HTML on search results list
256 * (bug 13934) Fixing the link to GNU General Public License Version 2
257 * Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
258 * (bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
259 * (bug 13770) Use Preprocessor_Hash by default to avoid missing DOM module errors
260 * (bug 13982) Disable ccmeonemails preference when user-to-user mails disabled
261 * (bug 13615) Update case mappings and normalization to Unicode 5.1.0
262 Note that case mappings will only be used if mbstring extension is not present.
263 * (bug 14044) Don't increment page view counters on views from bot users
264 * (bug 14042) Calling Database::limitResult() misplaced the comment in the log file
265 * (bug 14047) Fix regression in installer which hid DB-specific options.
266 Also makes SQLite path configurable in the installer.
267 * (bug 13546) Follow image redirects on image page
268 * (bug 12644) Template list on edit page now sorted on preview
270 === API changes in 1.13 ===
272 * Fixing main page display in meta=siteinfo
273 * (bug 13128) Added patrolled flag to list=recentchanges
274 * Implemented {bl,ei,iu}redirect (lists links through redirects as well)
275 * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces
276 * (bug 13157) Added ucuserprefix parameter to list=usercontibs
277 * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid
279 * (bug 13218) Fix inclusion of " character in hyperlinks
280 * Added watch and unwatch parameters to action=delete and action=move
282 * (bug 11401) Added xmldoublequote to xml formatter
283 * Added rvsection parameter to prop=revisions to allow fetching the content of
284 a certain section only
285 * Introduced list=allimages
286 * (bug 13371) Build page set from image hashes
287 * Mark non-existent messages in meta=allmessages as missing
288 * (bug 13390) One invalid title no longer kills an entire API query
289 * (bug 13419) Fix gblredirect so it actually works
290 * (bug 13418) Disable eiredirect because it's useless
291 * (bug 13395) list=allcategories should use category table
292 * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now
294 * (bug 13444) Add description to list=watchlist
295 * (bug 13482) Disabled search types handled properly
296 * Added inprop=talkid,subjectid to prop=info
297 * Added help text message that specifies whether a module is POST-only
298 * Added createonly parameter to action=edit
299 * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows
300 * (bug 11719) Remove trailing blanks in YAML output.
301 * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo
302 * Added fallback8bitEncoding field to meta=siteinfo&siprop=general output
303 * (bug 13544) Added prop=revid to action=parse
304 * (bug 13603) Added siprop=usergroups to meta=siteinfo
305 * Cleaned up redirect resolution
306 * Added possibility to obtain all external links through list=exturlusage
307 * (bug 13606) Added archivename to iiprop
308 * (bug 11633) Explicitly convert redirect titles to strings due to PHP's
309 very weak typing on array keys.
310 * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9
311 * (bug 11673) Return error 'unknown_action' in specified format
312 * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges
313 * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions
314 * (bug 13718) Return the proper continue parameter for cmsort=timestamp
315 * action=login now returns the correct waiting time in the details property
316 * (bug 13792) Broken titles are now silently skipped in search results.
317 * (bug 13819) exturlusage paging skipped an item
318 * Fixed handling of usernames containing spaces in list=block
319 * (bug 13836) Fixed fatal errors resulting from combining iiprop=metadata with
321 * (bug 13735) Added prop=categoryinfo module
322 * (bug 13945) Retrieve cascading protection sources via inprop=protection
323 * (bug 13965) Hardcoded 51 limit on titles is too limiting
324 * (bug 13993) apfrom doesn't work with apdir=descending
325 * (bug 14018) Introduced alcontinue to list=alllinks to improve paging
326 * (bug 14013) Added rcshow=patrolled to list=recentchanges
328 === Languages updated in 1.13 ===
331 * Gheg Albanian (aln)
338 * Egyptian Spoken Arabic (arz) (new)
341 * Samogitian (bat-smg)
342 * Bikol Central (bcl)
351 * Min Dong Chinese (cdo)
353 * Crimean Turkish (Cyrillic) (crh-cyrl)
354 * Crimean Turkish (Latin) (crh-latn)
363 * Lower Sorbian (dsb)
364 * Middle Dutch (dum) (removed)
369 * British English (en-gb) (new)
380 * Franco-Provençal (frp)
382 * Western Frisian (fy)
392 * Fiji Hindi (Latin) (hif-latn) (new)
394 * Upper Sorbian (hsb)
400 * Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ike-cans)
401 * Eastern Canadian (Latin) (ike-latn)
412 * Kazakh (Arabic script) (kk-arab)
413 * Kazakh (Cyrillic script) (kk-cyrl)
414 * Kazakh (Latin script) (kk-latn)
421 * Kurdish (Latin) (ku-latn)
425 * Lingua Franca Nova (lfn)
448 * Nedersaksisch (nds-nl)
452 * Norwegian Nynorsk (nn)
453 * Norwegian (bokmål) (no)
454 * Old Norse (non) (removed)
455 * Northern Sotho (nso)
456 * Classical Newari (nwc)
466 * Brazilian Portuguese (pt-br)
480 * Southern Sami (sma)
483 * Serbian Cyrillic ekavian (sr-ec)
487 * Southern Sotho (st)
492 * Silesian (szl) (new)
501 * Toki Pona (tokipona)
504 * Tatar (Cyrillic) (tt-cyrl)
505 * Tatar (Latin) (tt-latn)
520 * Old Chinese / Late Time Chinese (zh-classical)
521 * Simplified Chinese (zh-hans)
522 * Traditional Chinese (zh-hant)
523 * Chinese (Taiwan) (zh-tw)
527 MediaWiki 1.13 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported.
529 PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing:
530 http://bugs.php.net/bug.php?id=34879
531 Upgrade affected systems to PHP 5.1 or higher.
533 MySQL 3.23.x is no longer supported; some older hosts may need to upgrade.
534 At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases.
539 1.13 has several database changes since 1.12, and will not work without schema
542 If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
543 new database fields are filled with data.
545 If upgrading from before 1.11, and you are using a wiki as a commons repository,
546 make sure that it is updated as well. Otherwise, errors may arise due to
547 database schema changes.
549 If you are upgrading from MediaWiki 1.4.x or earlier, some major database
550 changes are made, and there is a slightly higher chance that things could
551 break. Don't forget to always back up your database before upgrading!
553 See the file UPGRADE for more detailed upgrade instructions.
558 Some output, particularly involving user-supplied inline HTML, may not
559 produce 100% valid or well-formed XHTML output. Testers are welcome to
560 set $wgMimeType = "application/xhtml+xml"; to test for remaining problem
561 cases, but this is not recommended on live sites. (This must be set for
562 MathML to display properly in Mozilla.)
564 For notes on 1.12.x and older releases, see HISTORY.
567 === Online documentation ===
569 Documentation for both end-users and site administrators is currently being
570 built up on MediaWiki.org, and is covered under the GNU Free Documentation
571 License (except for pages that explicitly state that their contents are in
574 http://www.mediawiki.org/wiki/Documentation
579 A MediaWiki-l mailing list has been set up distinct from the Wikipedia
582 http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
584 A low-traffic announcements-only list is also available:
586 http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce
588 It's highly recommended that you sign up for one of these lists if you're
589 going to run a public MediaWiki, so you can be notified of security fixes.
594 There's usually someone online in #mediawiki on irc.freenode.net