= 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.12 == 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.12 === === New features in 1.12 === * (bug 10735) Add a warning for non-descriptive filenames at Special:Upload * Add {{filepath:}} parser function to get full path to an uploaded file, complementing {{fullurl:}} for pages. * (bug 11136) If using Postgres, search path is explicitly set if wgDBmwschema is not set to 'mediawiki', allowing multiple mediawiki instances per user. * (bug 11151) Add descriptive to revision history page * (bug 5412) Add feed links for the site to all pages * (bug 11353) Add ability to retrieve raw section content via action=raw === Bug fixes in 1.12 === * Subpages are now indexed for searching properly when using PostgreSQL * (bug 3846) Suppress warnings from, e.g. open_basedir when scanning for ImageMagick, diff3 et al. during installation [patch by Jan Reininghaus] * (bug 7027) Shift handling of deletion permissions-checking to getUserPermissionsErrors. * Login and signup forms are now more correct for right-to-left languages. * (bug 5387) Block log items on RecentChanges don't make use of possible translations * (bug 11211) Pass, as a parameter to the protectedpagetext interface message, the level of protection. * (bug 9611) Supply the blocker and reason for the cantcreateaccounttext message. * (bug 8759) Fixed bug where rollback was allowed on protected pages for wikis where rollback is given to non-sysops. * (bug 8834) Split off permission for editing user JavaScript and CSS from editinterface to a new permission key editusercssjs. * (bug 11266) Set fallback language for Fulfulde (ff) to French * (bug 11179) Include image version deletion comment in public log * Fixed notice when accessing special page without read permission and whitelist is not defined * (bug 9252) Fix for tidy funkiness when using editintro mode * (bug 4021) Fix for MySQL wildcard search * (bug 10699) Fix for MySQL phrase search * (bug 11321) Fix width of gallerybox when option "width=xxx" is used * (bug 7890) Special:BrokenRedirects links deleted redirects to a non-existent page * Fix initial statistics when installing: add correct values * (bug 11342) Fix several 'returnto' links in permissions/error pages which linked to the main page instead of targetted page * Strike the link to the redirect rather than using an asterisk in Special:Listredirects * (bug 11355) Fix false positives in Safe Mode and other config detection when boolean settings are disabled with 'Off' via php_admin_value/php_value * (bug 11292) Fixed unserialize errors with Postgres by creating special Blob object. * (bug 11363) Make all metadata fields bytea when using Postgres. * (bug 11331) Add buildConcat() and use CASE not IF for DB compatibility. Make oldimage cascade delete via image table for Postgres, change fa_storage_key TEXT. * (bug 11438) Live Preview chops returned text * Show the right message on account creation when the user is blocked * (bug 11450) Fix creation of objectcache table on upgrade * Fix namespace selection after submit of Special:Newpages * Make input form of Special:Newpages nicer for RTL wikis * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name === API changes in 1.12 === Full API documentation is available at http://www.mediawiki.org/wiki/API * (bug 11275) Enable descending sort in categorymembers * (bug 11308) Allow the API to output the image metadata * (bug 11296) Temporary fix for escaping of ampersands inside links in pretty-printed help document. * (bug 11405) Expand templates implementation in the API * (bug 11218) Add option to feedwatchlist to display multiple revisions for each page. * (bug 11404) Provide name of exception caught in error code field of internal api error messages. === Languages updated in 1.12 === * Amharic (am) (new) * Arabic (ar) * Mapudungun (arn) (new) * Asturian (ast) * Samogitian (bat-smg) * Bikol Central (bcl) * Belarusian Taraskievica orthography (be-tarask) * Bulgarian (bg) * Bislama (bi) (new) * Bengali (bn) * Bishnupriya Manipuri (bpy) * Catalan (ca) * Breton (br) * Czech (cs) * Cassubian (csb) * Welsh (cy) * Danish (da) * German (de) * Lower Sorbian (dsb) (new) * Ewe (ee) (new) * Greek (el) * Spanish (es) * Extremaduran (ext) * Finnish (fi) * Persian (fa) * Võro (fiu-vro) * Frisian (fy) * French (fr) * Cajun French (frc) * Franco-Provençal (frp) * Irish (ga) * Gön-gnŷ (gan) (new) * Galician (gl) * Ancient Greek (grc) (new) * Hakka (hak) * Hebrew (he) * Upper Sorbian (hsb) * Indonesian (id) * Icelandic (is) * Italian (it) * Japanese (ja) * Kazakh (kk) * Korean (ko) * Latin (la) * Limbugian (li) * Malay (ms) * Low Saxon (nds) * Dutch (nl) * Norwegian (no) * Portugese (pt) * Russian (ru) * Sakha (sah) * Sicilian (scn) * Seri (sei) (new) * Slovak (sk) * Serbian (Cyrillic) (sr-ec) * Sundanese (su) * Tamil (ta) * Tetun (tet) (new) * Walloon (wa) * Yiddish (yi) * Zhuang (za) * Zealandic (zea) == Compatibility == MediaWiki 1.12 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.12 has several database changes since 1.11, 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 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.11.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