= MediaWiki release notes = Security reminder: MediaWiki does not require PHP's register_globals setting since version 1.2.0. If you have it on, turn it *off* if you can. == MediaWiki 1.13 == THIS IS NOT A RELEASE YET MediaWiki is now using a "continuous integration" development model with quarterly snapshot releases. The latest development code is always kept "ready to run", and in fact runs our own sites on Wikipedia. Release branches will continue to receive security updates for about a year from first release, but nonessential bugfixes and feature developments will be made on the development trunk and appear in the next quarterly release. Those wishing to use the latest code instead of a branch release can obtain it from source control: http://www.mediawiki.org/wiki/Download_from_SVN === Configuration changes in 1.13 === * New option $wgFeed can be set false to turn off syndication feeds * (bug 5745) Special:Whatlinkshere now shows up to $wgMaxRedirectLinksRetrieved links through each redirect instead of hardcoded 500 * Set $wgUploadSizeWarning to false by default * Added $wgLBFactoryConf, for generic configuration of multi-master wiki farms * Removed $wgAlternateMaster, use $wgLBFactoryConf * (bug 13562) Misspelled option $wgUserNotifedOnAllChanges changed to $wgUserNotifiedOnAllChanges * (bug 12860) New option $wgSitemapNamespaces allows sitemaps to be generated for only some namespaces === New features in 1.13 === * __HIDDENCAT__ on a category page causes the category to be hidden on the article page * Don't show edit permissions errors on a red link click, just redirect to the article. This is so that readers who don't know what a red link is aren't confused when they are told they are range-blocked. * Add a new hook ImageBeforeProduceHTML to allow extensions to modify wikitext image syntax output * (bug 13100) Added 'preloadtitle' parameter to action=edit§ion=new that pre-fills the section title field * (bug 13112) Added Special:RelatedChanges alias to Special:RecentChangesLinked * (bug 13130) Moved edit token and autosummary fields above edit tools to reduce broken form submissions * Add --old-redirects-only option to maintenance/refreshLinks.php, to add old redirects to the redirect table * Add links to page and file deletion forms to edit predefined delete reasons * (bug 13269) Added MediaWiki:Uploadfooter to the bottom of Special:Upload * (bug 2815) Search results for media now use thumbnail instead of text extract * When a page doesn't exist, the tab should say "create", not "edit" * (bug 12882) Added a span with class "patrollink" around "Mark as patrolled" link on diffs * Magic word formatnum can now take raw suffix to undo formatting * Add updatelog table to reliably permit updates that don't change the schema * Add category table to allow better tracking of category membership counts ** (bug 1212) Give correct membership counts on the pages of large categories ** Use category table for more efficient display of Special:Categories * (bug 1459) Search for duplicate files by hash: Special:FileDuplicateSearch * (bug 9447) Added hooks for search result headings * Image redirects are now enabled by default * (bug 13450) Email confirmation can now be canceled before the expiration * (bug 13490) Show upload/file size limit on upload form * Redesign of Special:UserRights * Make rev_deleted log entries more intelligible * (bug 6943) Added PAGESINCATEGORY: magic word * (bug 13604) Added Special:ListGroupRights * (bug 6332, 8617) Added message 'mainpage-description' as duplicate of 'mainpage' and added it to message 'sidebar' * Automatically add old redirects to the redirect table when needed * (bug 6934) Allow inclusions, links, redirects to be separately toggled on or off on Special:WhatLinksHere * Cache image redirects * (bug 10457) Organize Special:SpecialPages into sections * Add a new hook EditPageBeforeConflictDiff to allow extensions like FCKeditor to modify the output for edit conflicts * Add class="nested" for
s so fieldsets inside fieldsets get a slightly less huge margin and padding * (bug 13527) Use sitemaps.org format 0.9 instead of a Google-specific format * Allow \C and \Q as TeX commands to match \R, \N, \Z * On Special:UserRights, when you can add a group you can't remove or remove one you can't add, a notice is printed to warn you * (bug 12698) Create PAGESIZE parser function, to return the size of a page * Allow the "log in / create account" link in the toolbar to have different text from Special:UserLogin title (new message 'nav-login-createaccount') * Say "log in / create account" if an anonymous user can create an account, otherwise just "log in", consistently across skins === Bug fixes in 1.13 === * (bug 10677) Add link to the file description page on the shared repository * (bug 13084) Increase size of source/destination filename fields in upload form * (bug 13115) rebuildrecentchanges should print the current value of $wgRCMaxAge * (bug 13140) Show parent categories in category namespace * (bug 13149) Correctly format 'fileexists' message on Upload page * Make the default filepageexists message accurate * (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email * (bug 13022) Fix upload from URL on PHP 5.0.x * (bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki * (bug 12723) OpenSearch description name now uses more compact language code to avoid passing the length limit as often, is customizable per site via 'opensearch-desc' message. * (bug 13135) Special:Userrights now passes IDs through form submission to allow functionality on not-quite-right usernames * (bug 12575) Prevent duplicate patrol log entries from being created * (bug 13174) __HIDDENCAT__ now applies only to category pages * (bug 13031) Add links to user pages in e-mail form * (bug 13147) Description for categoriespagetext (used in Special:Categories) reworded * (bug 11561) Fix fatal error when calling action=revert to non-image page * (bug 12430) Fix call to private method LinkFilter::makeRegex fatal error in maintenance/cleanupSpam.php * All skins should have the "mediawiki" class on the body element * (bug 13019) Message cache for some extensions not loaded at time of editing * (bug 13247) Prettified ISBN links * maintenance/refreshLinks.php did not fix page_id 1 with the --new-only option * (bug 13110) Don't show "Permission error" page if the edit is already rolled back when using rollback * (bug 13012) Use content messages for block options when generating the recentchanges entry * (bug 13274) Change links for messages to ucfirst * (bug 13273) Un-hardcode some punctuation (add new messages colon-separator, autocomment-prefix) * Parse MediaWiki message translations with a correct language setting on preview * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as case-insensitive names. * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc * (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy. * (bug 10721) Duplicate section anchors with differing case now disambiguated for Internet Explorer's sake and standards compliance * (bug 13298) Tighter limits on Special:Newpages limits when embedding * Email subject in content language instead of sending user's UI language * (bug 13251) Allow maintenance rebuild scripts to work with Postgres * (bug 2084) Fixed incorrect regex to match redirects * (bug 3131) Manually-specified upload destination filename is no longer overwritten by browsing for a file after you wrote it. * (bug 7251) Sidebars generated by MediaWiki:Sidebar now have the class 'generated-sidebar'. * (bug 13265) Media handler is missing 'image/x-bmp' * (bug 13407) MediaWiki:Powersearch is used in two places * (bug 13403) Fix cache invalidation of history pages when old revisions change * (bug 11563) Deprecated SearchMySQL4 class; merged code to SearchMySQL * (bug 12801) Fix link in subtitle message in AJAX search * (bug 13428) Fix regression in protection form layout HTML validity * (bug 9403) Sanitize newlines from search term input * (bug 13429) Separate date and time in message sp-newimages-showfrom * (bug 13137) Allow setting 'editprotected' right separately from 'protect', so groups may optionally edit protected pages without having 'protect' perms * Disallow deletion of big pages by means of moving a page to its title and using the "delete and move" option. * (bug 13466, 13632) White space differences not shown in diffs * (bug 1953) Search form now honors namespace selections more reliably * (bug 12294) Namespace class renamed to MWNamespace for PHP 5.3 compatibility * PHP 5.3 compatibility fix for wfRunHooks() called with no parameters * (bug 6447) Trackbacks now work with transactional tables, if enabled * (bug 6892, 7147) Trackback error handling, optional fields more robust * (bug 6813) Don't break HTML validator when using trackbacks * Fix for size checks on SVG images with global 'stroke-width' attribute * (bug 11874) Inline CSS with !important no longer borken * (bug 1600) Strip extra == section markup == in new-comment field * (bug 11325) Wrapped page titles in MonoBook skin spaced more nicely * (bug 12077) Fix HTML nesting for TOC * (bug 344) Purge cache for talk/article pages when deleting the other tab * (bug 13436) Treat image captions correctly when they include option keywords (like ending with "px" or starting with "upright") * Trackback display formatting fixed * Don't die when single-element arrays are passed to SQL query constructors that have an array index other than 0 * (bug 13522) Fix fatal error in Parser::extractTagsAndParams * (bug 13532) Use proper timestamp call when reverting images * (bug 13543) Updated FAQ link in the installer sidebar * (bug 13540) Date format in confirmation e-mail now matches message language * (bug 13554) PHP Notice in old pre-processor when list item is empty. * (bug 13556) Don't show a blank form if no image is attached in Special:Upload * (bug 13576) maintenance/rebuildrecentchanges.php fails * (bug 13441) Allow Special:Recentchanges to show bots only * (bug 13431) Show true message source in Special:Allmessages&ot=php / xml * (bug 13463) Login successful page doesn't use user's preferred interface language * (bug 13630) Fixed warnings for pass by reference at call time in Special:Revisiondelete when generating the log entry. * (bug 12064) BeforePageDisplay hook is now called for all skins * (bug 13624) Fix regression with manual thumb= parameter on images * (bug 11039) Add missing labels on protection form * (bug 13458) Preview/edit toolbar spacing now works consistently * (bug 13433) Fix action=render on Image: pages * (bug 13678) Fix CSS validation for Monobook * (bug 13684) Links in Special:ListGroupRights should be in content language * (bug 13690) Fix PHP notice on accessing some URLs * Hide (undo) link if user isn't able to edit page * Invalidate cache of pages that includes images via redirects on upload * (bug 13705) Don't show rollback link in page history on incorrect revisions * (bug 13708) Don't set "Search results" title when loading Special:Search without query * (bug 13736) Don't show MediaWiki:Anontalkpagetext on non-existant IP addresses * (bug 13728) Don't trim initial whitespace during section edits * (bug 13727) Don't delete log entries from recentchanges on page deletion * (bug 13752) Redirects to sections now work again * (bug 13725) Upload form watch checkbox state set correctly with wpDestFile * (bug 13756) Don't show the form and navigation links of Special:Newpages if the page is included * When hiding things on WhatLinksHere, generated URLs should hide them too * Properly escape search terms with regex chars so they appear highlighted in search results * (bug 13768) pt_title field encoding fixed * Do not display empty columns on Special:UserRights if all groups are changeable or all unchangeable * Fix fatal error on calling PAGESINCATEGORY with invalid category name * (bug 13793) Special:Whatlinkshere filters wrong - after paginating instead of before * (bug 13796) Show links to parent pages even if some of them are missing * (bug 13816) Filter by main namespace doesn't work on WhatLinksHere * Fatal error on some pages when calculating subpage subtitle === API changes in 1.13 === * Fixing main page display in meta=siteinfo * (bug 13128) Added patrolled flag to list=recentchanges * Implemented {bl,ei,iu}redirect (lists links through redirects as well) * (bug 13154) Introduced subpages flag to meta=siteinfo&siprop=namespaces * (bug 13157) Added ucuserprefix parameter to list=usercontibs * (bug 12394) Added rctitles parameter to list=recentchanges, making rcid retrieval easier * (bug 13218) Fix inclusion of " character in hyperlinks * Added watch and unwatch parameters to action=delete and action=move * Added action=edit * (bug 11401) Added xmldoublequote to xml formatter * Added rvsection parameter to prop=revisions to allow fetching the content of a certain section only * Introduced list=allimages * (bug 13371) Build page set from image hashes * Mark non-existent messages in meta=allmessages as missing * (bug 13390) One invalid title no longer kills an entire API query * (bug 13419) Fix gblredirect so it actually works * (bug 13418) Disable eiredirect because it's useless * (bug 13395) list=allcategories should use category table * (bug 13442) Missing pages in prop=langlinks and prop=extlinks are now handled properly. * (bug 13444) Add description to list=watchlist * (bug 13482) Disabled search types handled properly * Added inprop=talkid,subjectid to prop=info * Added help text message that specifies whether a module is POST-only * Added createonly parameter to action=edit * Replaced $wgAPIUCUserPrefixMinLength by the more generic $wgAPIMaxDBRows * (bug 11719) Remove trailing blanks in YAML output. * (bug 13541) Added siprop=specialpagealiases to meta=siteinfo * Added fallback8bitEncoding field to meta=siteinfo&siprop=general output * (bug 13544) Added prop=revid to action=parse * (bug 13603) Added siprop=usergroups to meta=siteinfo * Cleaned up redirect resolution * Added possibility to obtain all external links through list=exturlusage * (bug 13606) Added archivename to iiprop * (bug 11633) Explicitly convert redirect titles to strings due to PHP's very weak typing on array keys. * (bug 12136) Extend allowed characters in JSON callback to ][.'"_A-Za-z0-9 * (bug 11673) Return error 'unknown_action' in specified format * (bug 13618) Added rcprop=redirect and rcshow=redirect to list=recentchanges * (bug 13544) Added oldid parameter to action=parse to allow for parsing of old revisions * (bug 13718) Return the proper continue parameter for cmsort=timestamp * action=login now returns the correct waiting time in the details property * (bug 13792) Broken titles are now silently skipped in search results. * (bug 13819) exturlusage paging skipped an item === Languages updated in 1.13 === * Afrikaans (af) * Gheg Albanian (aln) * Amharic (am) * Aragonese (an) * Old English (ang) * Arabic (ar) * Aramaic (arc) * Araucanian (arn) * Egyptian Spoken Arabic (arz) (new) * Asturian (ast) * Kotava (avk) * Samogitian (bat-smg) * Bikol Central (bcl) * Belarusian (be) * Bulgarian (bg) * Bihari (bh) * Bengali (bn) * Breton (br) * Bosnian (bs) * Buginese (bug) * Catalan (ca) * Min Dong Chinese (cdo) * Corsican (co) * Crimean Turkish (Cyrillic) (crh-cyrl) * Crimean Turkish (Latin) (crh-latn) * Czech (cs) * Kashubian (csb) * Church Slavic (cu) * Welsh (cy) * Danish (da) * Zazaki (diq) * Dalecarlian (dlc) * Lower Sorbian (dsb) * Middle Dutch (dum) (removed) * Divehi (dv) * Dzongkha (dz) * Greek (el) * English (en) * British English (en-gb) (new) * Esperanto (eo) * Spanish (es) * Estonian (et) * Basque (eu) * Extremaduran (ext) * Finnish (fi) * Võro (fiu-vro) * Faroese (fo) * French (fr) * Cajun French (frc) * Franco-Provençal (frp) * Friulian (fur) * Western Frisian (fy) * Irish (ga) * Gagauz (gag) * Gan (gan) * Galician (gl) * Swiss German (gsw) * Gujarati (gu) * Hakka (hak) * Hawaiian (haw) * Hindi (hi) * Fiji Hindi (Latin) (hif-latn) (new) * Croatian (hr) * Upper Sorbian (hsb) * Haitian (ht) * Hungarian (hu) * Armenian (hy) * Interlingua (ia) * Indonesian (id) * Eastern Canadian (Unified Canadian Aboriginal Syllabics) (ike-cans) * Eastern Canadian (Latin) (ike-latn) * Iloko (ilo) * Ido (io) * Icelandic (is) * Italian (it) * Japanese (ja) * Jutish (jut) * Javanese (jv) * Georgian (ka) * Kara-Kalpak (kaa) * Kabyle (kab) * Kazakh (Arabic script) (kk-arab) * Kazakh (Cyrillic script) (kk-cyrl) * Kazakh (Latin script) (kk-latn) * Kalaallisut (kl) * Khmer (km) * Kannada (kn) * Korean (ko) * Kinaray-a (krj) * Karelian (krl) * Kurdish (Latin)‬ (ku-latn) * Latin (la) * Luxembourgish (lb) * Lezghian (lez) * Lingua Franca Nova (lfn) * Ganda (lg) * Limburgish (li) * Líguru (lij) * Lumbaart (lmo) * Lao (lo) * Lozi (loz) * Lithuanian (lt) * Latvian (lv) * Maithili (mai) * Moksha (mdf) * Malagasy (mg) * Macedonian (mk) * Malayalam (ml) * Mongolian (mn) * Moldavian (mo) * Marathi (mr) * Malay (ms) * Mirandese (mwl) * Burmese (my) * Erzya (myv) * Nahuatl (nah) * Low German (nds) * Nedersaksisch (nds-nl) * Nepali (ne) * Newari (new) * Dutch (nl) * Norwegian Nynorsk (nn) * Norwegian (bokmål)‬ (no) * Old Norse (non) (removed) * Northern Sotho (nso) * Classical Newari (nwc) * Occitan (oc) * Oriya (or) * Pampanga (pam) * Pali (pi) * Polish (pl) * Piemontèis (pms) * Pontic (pnt) * Pashto (ps) * Portuguese (pt) * Brazilian Portuguese (pt-br) * Quechua (qu) * Romani (rmy) * Romanian (ro) * Russian (ru) * Yakut (sah) * Sicilian (scn) * Scots (sco) * Sassaresu (sdc) * Northern Sami (se) * Cmique Itom (sei) * Sinhalese (si) * Slovak (sk) * Slovenian (sl) * Southern Sami (sma) * Somali (so) * Albanian (sq) * Serbian Cyrillic ekavian (sr-ec) * latinica (sr-el) * Sranan Tongo (srn) * Swati (ss) * Southern Sotho (st) * Seeltersk (stq) * Sundanese (su) * Swedish (sv) * Swahili (sw) * Silesian (szl) (new) * Tamil (ta) * Telugu (te) * Tetum (tet) * Tajik (tg-cyrl) * Thai (th) * Tigrinya (ti) * Tagalog (tl) * Tonga (to) * Toki Pona (tokipona) * Tok Pisin (tpi) * Turkish (tr) * Tatar (Cyrillic) (tt-cyrl) * Tatar (Latin) (tt-latn) * Tuvinian (tyv) * Ukrainian (uk) * Venda (ve) * Venetian (vec) * Vietnamese (vi) * Volapük (vo) * Walloon (wa) * Waray (war) * Wolof (wo) * Mingrelian (xmf) * Yiddish (yi) * Yoruba (yo) * Cantonese (yue) * Zeeuws (zea) * Old Chinese / Late Time Chinese (zh-classical) * Simplified Chinese (zh-hans) * Traditional Chinese (zh-hant) * ‪Chinese (Taiwan) (zh-tw) == Compatibility == MediaWiki 1.13 requires PHP 5 (5.1 recommended). PHP 4 is no longer supported. PHP 5.0.x fails on 64-bit systems due to serious bugs with array processing: http://bugs.php.net/bug.php?id=34879 Upgrade affected systems to PHP 5.1 or higher. MySQL 3.23.x is no longer supported; some older hosts may need to upgrade. At this time we still recommend 4.0, but 4.1/5.0 will work fine in most cases. == Upgrading == 1.13 has several database changes since 1.12, and will not work without schema updates. If upgrading from before 1.7, you may want to run refreshLinks.php to ensure new database fields are filled with data. If upgrading from before 1.11, and you are using a wiki as a commons repository, make sure that it is updated as well. Otherwise, errors may arise due to database schema changes. If you are upgrading from MediaWiki 1.4.x or earlier, some major database changes are made, and there is a slightly higher chance that things could break. Don't forget to always back up your database before upgrading! See the file UPGRADE for more detailed upgrade instructions. === Caveats === Some output, particularly involving user-supplied inline HTML, may not produce 100% valid or well-formed XHTML output. Testers are welcome to set $wgMimeType = "application/xhtml+xml"; to test for remaining problem cases, but this is not recommended on live sites. (This must be set for MathML to display properly in Mozilla.) For notes on 1.12.x and older releases, see HISTORY. === Online documentation === Documentation for both end-users and site administrators is currently being built up on MediaWiki.org, and is covered under the GNU Free Documentation License (except for pages that explicitly state that their contents are in the public domain) : http://www.mediawiki.org/wiki/Documentation === Mailing list === A MediaWiki-l mailing list has been set up distinct from the Wikipedia wikitech-l list: http://lists.wikimedia.org/mailman/listinfo/mediawiki-l A low-traffic announcements-only list is also available: http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce It's highly recommended that you sign up for one of these lists if you're going to run a public MediaWiki, so you can be notified of security fixes. === IRC help === There's usually someone online in #mediawiki on irc.freenode.net