= 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.19 == THIS IS NOT A RELEASE YET MediaWiki 1.19 is an alpha-quality branch and is not recommended for use in production. === Configuration changes in 1.19 === * $wgRateLimitsExcludedGroups (deprecated in 1.13) has been removed * $wgInputEncoding and $wgOutputEncoding (deprecated in 1.5) have now been removed * $wgAllowUserSkin (deprecated in 1.16) has now been removed * $wgExtraRandompageSQL (deprecated in 1.16) has now been removed * LogReader and LogViewer classes (deprecated in 1.14) have now been removed * (bug 26033) Added $wgArticleCountMethod to select the method to use to say whether a page is an article or not. $wgUseCommaCount is now deprecated. * $wgEnableDublinCoreRdf and $wgEnableCreativeCommonsRdf no longer work in core, and the functionality has been moved to the relevant extensions. See http://www.mediawiki.org/wiki/Extension:DublinCoreRdf and http://www.mediawiki.org/wiki/Extension:CreativeCoreRdf as appropriate * (bug 21107) Split error "customcssjsprotected" into separate messages for JS and CSS * Removed $wgCheckCopyrightUpload from DefaultSettings, since the relevant feature was removed in about 1.5. * LogPageValidTypes, LogPageLogName, LogPageLogHeader and LogPageActionText hooks have been removed. === New features in 1.19 === * BREAKING CHANGE: action=watch / action=unwatch now requires a token. * (bug 28916) A way to to toggle mw.config legacy globals settings from LocalSettings.php has been created by introducing $wgLegacyJavaScriptGlobals. * (bug 28503) Support for ircs:// URL protocols * (bug 26033) It is now possible to count all non-redirect pages in content namespaces as articles * Images can now be embedded in an XML dump stream using backupDump.php --include-files and can be imported using importDump.php --uploads; furthermore, it can import files from the filesystem using --image-base-path * Three new hooks in Special:Undelete, 'UndeleteForm::showHistory', 'UndeleteForm::showRevision' and 'UndeleteForm::undelete', so that extensions may override the usage of PageArchive class and replace it with their own class that extends PageArchive. * (bug 28915) Implement QUnit test suite for MediaWiki JavaScript. Also built-in support for distribution through a TestSwarm instance. * (bug 29036) For cascade-protected pages, the mw-textarea-cprotected class is added to the textarea on the edit form. * mw.util.getScript has been implemented (like wfScript in GlobalFunctions.php) * (bug 29067) Creating "user.tokens" module (like user.options) in ResourceLoader. * New 'Debug' hook used by wfDebug() and wfDebugLog() * (bug 27655) Require token for watching/unwatching pages) * (bug 28904) Update jQuery version from 1.4.4 to 1.6.1 (the latest version) * (bug 29441) Expose CapitalLinks config in JS to allow modules to properly handle titles on case-sensitive wikis. * (bug 29397) Implement mw.Title module in core. * In MySQL 4.1.9+ with replication enabled, get the slave lag from SHOW SLAVE STATUS instead of SHOW PROCESSLIST. === Bug fixes in 1.19 === * (bug 28868) Show total pages in the subtitle of an image on the file description page for multi-paged documents. * (bug 28883) Message names for different compression types commonly used in Tiff files. * When translcuding a special page, do not let it interpret url parameters. * (bug 28887) Special page classes are no longer re-used during 1 request. * (bug 28888) Searching for something starting with a # sign no longer tells the user a page named [[:]] already exists. * (bug 23002) Imagelinks table not updated after imagemove. * (bug 27864) Transcluding {{Special:Prefix}} with empty prefix now lists all pages. * (bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. * (bug 11868) If using links to count articles, the checking will now be based on the real presence of an internal link instead of the "[[" string * (bug 28287) The "your changes" box for edit conflicts is now read-only. * (bug 28940) When making a thumb of an SVG, and only specifying the height make the width be the max SVG size, not the natrual width of the SVG. * (bug 1780) Uploading files with non-ascii characters are now forbidden on Windows. * (bug 23464) File: prefixes are now chopped off during uploading. * (bug 28174) Message config-logo-help amended to not explicitly assume any LTR/RTL screen layout. * (bug 28992) Revision numbers in the patrol log are transformed in the user language. * (bug 27073) ResourceLoaderDynamicStyles should be dynamically appended to the document if it doesn't exist. * (bug 27023) After dom ready event, using mediawiki.loader.using will call callback too early. * (bug 4330) External URLs without custom title should be treated as LTR, also in RTL text. * (bug 29055) Make don't send email on minor edits preference apply to changes to talk page in addition to watchlist edits. * (bug 29071) mediawiki.action.watch.ajax.js should pass uselang to API. * (bug 28272) Special:Allmessages should have only one "Go" button * (bug 29101) Special:FileDuplicateSearch shows silly message * (bug 29048) jQuery.tabIndex: firstTabIndex() should not output the same as lastTabIndex(). * (bug 29332) Warn if user requests mediawiki-announce subscription but does not enter an e-mail address. * (bug 25375) Add canonical namespaces to JavaScript "wgNamespaceIds" * The class JpegOrTiffHandler was renamed ExifBitmapHandler. * (bug 29443) Special:Undelete should use JavaScript to invert all checkboxes without reloading the page * (bug 29325) Setting $wgStrictFileExtensions to false gives incorrect warning * (bug 29437) Multiple apostrophes in deleted article title cause odd rendering * (bug 29485) RSS feed of Special:RecentChange grouped together multiple consecutive edits by same user in included diff, but then linked to a single ungrouped diff. * Do not try to group together a page creation and edit in the RSS feed of RC. * (bug 29342) Patrol preferences shouldn't be visible to users who don't have patrol permissions * (bug 29471) Exception thrown for files with invalid date in metadata * (bug 29492) Long-running steps in the installer (such as Upgrade and Install) can sometimes timeout * (bug 29507) Change 'image link' to 'file link' in Special:Whatlinkshere * If the db is really screwed up, and doesn't have a recentchanges table, make the updater throw an exception instead of a fatal. * wfArrayToCGI() and wfCgiToArray() now handle nested and associative arrays correctly === API changes in 1.19 === * BREAKING CHANGE: action=watch now requires POST and token. * (bug 27790) add query type for querymodules to action=paraminfo * (bug 28963) add langbacklinks module to api * (bug 27593) API: add error message when sha1/sha1base36 is invalid * (bug 28578) API's parse module should not silently override invalid title inputs * (bug 20699) API watchlist should list log-events * (bug 29070) Add token to action=watch API * (bug 29221) Expose oldrevid in watchlist output * (bug 29267) always give the servername for meta=siteinfo&siprop=dbrepllag * (bug 28897) rvparse doesn’t seem to work with rvsection * (bug 25734) API: possible issue with revids validation * (bug 28002) Internal error in ApiFormatRaw::getMimeType * (bug 29237) add interwiki target url attribute to api/query/interwiki * (bug 28392) mark action=undelete×tamps as type "timestamp" * (bug 21346) Make deleted images searchable by hash (disabled in Miser Mode) * (bug 27595) sha1 search of list=filearchive does not work * (bug 26763) Make RSS/Atom of user contributions more visible * (bug 25133) allow redirects also for action=parse&pageid === Languages updated in 1.19 === MediaWiki supports over 330 languages. Many localisations are updated regularly. Below only new and removed languages are listed, as well as changes to languages because of Bugzilla reports. * Bhojpuri (bho) (renamed from "bh"). * (bug 29031) When translating block log entries, indefinite, infinite, and infinity are now considered the same. * Aromanian (rup) (renamed from "rua-rup"). === Other changes in 1.19 === * Removed legacy wgAjaxWatch javascript global object, no longer in use. * (bug 28556) Upload support for MacBinary files has been removed (Used by Internet Explorer 5 for MacOS 9) == Compatibility == MediaWiki 1.19 requires PHP 5.2.3. PHP 4 is no longer supported. MySQL is the recommended DBMS. PostgreSQL or SQLite can also be used, but support for them is somewhat less mature. There is experimental support for IBM DB2 and Microsoft SQL Server. The supported versions are: * MySQL 4.0 or later * PostgreSQL 8.3 or later * SQLite 3 * Oracle 9.0.1 or later == Upgrading == 1.19 has several database changes since 1.17, and will not work without schema updates. 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 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. For notes on 1.15.x and older releases, see HISTORY. == Online documentation == Documentation for both end-users and site administrators is available 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 mailing list is available for MediaWiki user support and discussion: 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.