2009-01-31 13:05:12 +00:00
|
|
|
= MediaWiki release notes =
|
2007-09-04 19:19:59 +00:00
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
== MediaWiki 1.16 ==
|
2007-09-04 19:19:59 +00:00
|
|
|
|
2007-09-06 00:17:56 +00:00
|
|
|
THIS IS NOT A RELEASE YET
|
2007-09-04 19:19:59 +00:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
2009-07-15 18:52:54 +00:00
|
|
|
=== Configuration changes in 1.16 ===
|
|
|
|
|
|
2009-09-11 16:06:34 +00:00
|
|
|
* $wgEnableFirefogg enable support for firefogg extension, firefogg supports
|
|
|
|
|
in-browser transcoding, chunk uploads and client side hash checking.
|
2009-07-15 18:52:54 +00:00
|
|
|
* $wgEnableTemporalOggUrls enable oggz_chop support a server side ogg seeking
|
2009-09-11 16:06:34 +00:00
|
|
|
helper
|
2009-07-15 18:52:54 +00:00
|
|
|
* $wgEnableScriptLoader if the script-loader shoudl be enabled
|
|
|
|
|
* $wgJSAutoloadClasses array of javascript classes to file paths used by
|
2009-09-11 16:06:34 +00:00
|
|
|
script-loader to load javascript by class name.
|
|
|
|
|
* $wgEnableJS2system if we should include js2 stuff like jquery, mv_embed.js
|
|
|
|
|
(script-loader helper) and use new interfaces for upload
|
2009-07-15 18:52:54 +00:00
|
|
|
* $wgEnableScriptLoaderJsFile if we support grabbing js files with the script
|
2009-09-11 16:06:34 +00:00
|
|
|
loader. By default we only grab classes in $wgJSAutoloadClasses
|
2009-07-15 18:52:54 +00:00
|
|
|
* $wgEnableScriptMinify if you want the script loader to minify js
|
|
|
|
|
* $wgEnableScriptLocalization if you want the script loader to do msg lookups
|
|
|
|
|
* $wgMwEmbedDirectory the path to MwEmbed Directory (maybe we can depreciate
|
2009-09-11 16:06:34 +00:00
|
|
|
this. Was used when mwEmbed was going to be an extension.
|
2009-07-15 18:52:54 +00:00
|
|
|
* $wgDebugJavaScript if we want to enable fresh debug javascript
|
|
|
|
|
* $wgPhpCliPath Path to php-cli for spinning up background php processes
|
2009-03-28 16:43:02 +00:00
|
|
|
* (bug 18222) $wgMinimalPasswordLength default is now 1
|
2009-04-10 14:53:32 +00:00
|
|
|
* $wgSessionHandler can be used to configure session.save_handler
|
2009-05-07 16:18:42 +00:00
|
|
|
* $wgLocalFileRepo/$wgForeignFileRepos now have a 'fileMode' parameter to
|
|
|
|
|
be used when uploading/moving files
|
2009-05-19 17:07:46 +00:00
|
|
|
* (bug 18761) $wgHiddenPrefs is a new array for specifying preferences not
|
|
|
|
|
to be shown to users
|
2009-05-24 12:09:15 +00:00
|
|
|
* $wgAllowRealName and $wgAllowUserSkin were deprecated in favor of
|
|
|
|
|
$wgHiddenPrefs[] = 'realname', but the former are still retained
|
|
|
|
|
for backwards-compatibility
|
2009-05-23 08:42:09 +00:00
|
|
|
* (bug 9257) $wgRCMaxAge now defaults to three months
|
2009-05-23 10:14:24 +00:00
|
|
|
* $wgDevelopmentWarnings can be set to true to show warnings about deprecated
|
|
|
|
|
functions and other potential errors when developing.
|
2009-05-29 16:32:10 +00:00
|
|
|
* Subpages are now enabled in the MediaWiki namespace by default. This is
|
|
|
|
|
mainly a cosmetic change, and does not in any way affect the MessageCache,
|
|
|
|
|
which was already effectively treating the namespace as if it had subpages.
|
2009-06-01 16:54:30 +00:00
|
|
|
* (bug 10837) $wgVariant is a user variant selected in the user's preferences
|
2009-05-30 19:49:51 +00:00
|
|
|
if the $wgContLang does not have variant, then the $wgLang is used instead.
|
2009-06-05 11:45:32 +00:00
|
|
|
* Oracle: maintenance/ora/user.sql script for creating DB user on oracle with
|
2009-06-08 18:30:27 +00:00
|
|
|
appropriate privileges. Creating this user with web-install page requires
|
|
|
|
|
oci8.privileged_connect set to On in php.ini.
|
2009-06-18 14:47:18 +00:00
|
|
|
* Removed UserrightsChangeableGroups hook introduced in 1.14
|
* Introduced a new system for localisation caching. The system is based around fast fetches of individual messages, minimising memory overhead and startup time in the typical case. It handles both core messages (formerly in Language.php) and extension messages (formerly in MessageCache.php). Profiling indicates a significant win for average throughput.
* The serialized message cache, which would have been redundant, has been removed. Similar performance characteristics can be achieved with $wgLocalisationCacheConf['manualRecache'] = true;
* Added a maintenance script rebuildLocalisationCache.php for offline rebuilding of the localisation cache.
* Extension i18n files can now contain any of the variables which can be set in Messages*.php. It is possible, and recommended, to use this feature instead of the hooks for special page aliases and magic words.
* $wgExtensionAliasesFiles, LanguageGetMagic and LanguageGetSpecialPageAliases are retained for backwards compatibility. $wgMessageCache->addMessages() and related functions have been removed. wfLoadExtensionMessages() is a no-op and can continue to be called for b/c.
* Introduced $wgCacheDirectory as a default location for the various local caches that have accumulated. Suggested $IP/cache as a good place for it in the default LocalSettings.php and created this directory with a deny-all .htaccess.
* Patched Exception.php to avoid using the message cache when an exception is thrown from within LocalisationCache, since this tends to fail horribly.
* Removed Language::getLocalisationArray(), Language::loadLocalisation(), Language::load()
* Fixed FileDependency::__sleep()
* In Cdb.php, fixed newlines in debug messages
In MessageCache::get():
* Replaced calls to $wgContLang capitalisation functions with plain PHP functions, reducing the typical case from 99us to 93us. Message cache keys are already documented as being restricted to ASCII.
* Implemented a more efficient way to filter out bogus language codes, reducing the "foo/en" case from 430us to 101us
* Optimised wfRunHooks() in the typical do-nothing case, from ~30us to ~3us. This reduced MessageCache::get() typical case time from 93us to 38us.
* Removed hook MessageNotInMwNs to save an extra 3us per cache hit. Reimplemented the only user (LocalisationUpdate) using the new hook LocalisationCacheRecache.
2009-06-28 07:11:43 +00:00
|
|
|
* Added $wgCacheDirectory, to replace $wgFileCacheDirectory,
|
|
|
|
|
$wgLocalMessageCache, and any other local caches which need a place to put
|
|
|
|
|
files.
|
|
|
|
|
* $wgFileCacheDirectory is no longer set to anything by default, and so either
|
|
|
|
|
needs to be set explicitly, or $wgCacheDirectory needs to be set instead.
|
|
|
|
|
* $wgLocalMessageCache has been removed. Instead, set $wgUseLocalMessageCache
|
|
|
|
|
to true
|
|
|
|
|
* Removed $wgEnableSerializedMessages and $wgCheckSerialized. Similar
|
|
|
|
|
functionality is now available via $wgLocalisationCacheConf.
|
2009-07-03 06:19:39 +00:00
|
|
|
* $wgMessageCache->addMessages() is deprecated. Messages added via this
|
|
|
|
|
interface will not appear in Special:AllMessages.
|
2009-07-15 01:02:13 +00:00
|
|
|
* $wgRegisterInternalExternals can be used to record external links pointing
|
|
|
|
|
to same server
|
2009-07-17 14:49:15 +00:00
|
|
|
* $wgSpecialVersionExtended shows the extended version information besides
|
|
|
|
|
PHP and database version.
|
2009-08-21 00:22:08 +00:00
|
|
|
* (bug 19907) $wgCrossSiteAJAXdomains and $wgCrossSiteAJAXdomainExceptions added
|
2009-07-31 21:56:34 +00:00
|
|
|
to control which external domains may access the API via cross-site AJAX.
|
2009-08-02 19:35:17 +00:00
|
|
|
* $wgMaintenanceScripts for extensions to add their scripts to the default list
|
2009-08-04 02:47:39 +00:00
|
|
|
* $wgMemoryLimit has been added, default value '50M'
|
2009-08-17 15:23:51 +00:00
|
|
|
* $wgExtraRandompageSQL is deprecated, the SpecialRandomGetRandomTitle hook
|
|
|
|
|
should be used instead
|
2009-09-11 16:06:34 +00:00
|
|
|
* (bug 20489) $wgIllegalFileChars added to override the default list of illegal
|
|
|
|
|
characters in file names.
|
|
|
|
|
* (bug 19646) $wgImgAuthDetails added to display reason access to uploaded file
|
|
|
|
|
was denied to users(img_auth only)
|
|
|
|
|
* (bug 19646) $wgImgAuthPublicTest added to test to see if img_auth set up
|
|
|
|
|
correctly (img_auth only)
|
2009-09-12 08:25:54 +00:00
|
|
|
* $wgUploadMaintenance added to disable file deletions and restorations during
|
|
|
|
|
maintenance
|
2009-09-20 20:28:27 +00:00
|
|
|
* UserLoginForm and UserCreateForm hooks, and AuthPlugin::modifyUITemplate, now receive a
|
|
|
|
|
SpecialPage subclass instead of a QuickTemplate subclass. Hence there is no
|
|
|
|
|
$template->set(), etc. The hook has access to most of the stuff that will go into the
|
|
|
|
|
Login/Create form; see the documentation on HTMLForm for syntax for extra fields.
|
|
|
|
|
LoginForm class is deprecated, its state constants are now in the Login class.
|
2008-09-17 18:41:40 +00:00
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
=== New features in 1.16 ===
|
|
|
|
|
|
2009-03-25 20:00:53 +00:00
|
|
|
* Add CSS defintion of the 'wikitable' class to shared.css
|
2009-03-29 11:04:20 +00:00
|
|
|
* (bug 17163) Added MediaWiki:Talkpageheader which will be displayed when
|
|
|
|
|
viewing talk pages
|
2009-04-03 14:46:32 +00:00
|
|
|
* Superfluous border="0" removed from images
|
2009-05-17 14:34:28 +00:00
|
|
|
* Added new hook 'MessageCacheReplace' into MessageCache.php. For instance
|
2009-04-08 14:23:14 +00:00
|
|
|
to allow extensions to update caches in similar way as MediaWiki invalidates
|
|
|
|
|
a cached MonoBook sidebar
|
2009-04-15 09:36:53 +00:00
|
|
|
* Special:AllPages: Move hardcoded styles from code to CSS
|
2009-04-20 13:05:15 +00:00
|
|
|
* (bug 18529) New hook: SoftwareInfo for adding information about the software
|
|
|
|
|
to Special:Version
|
2009-05-17 14:34:28 +00:00
|
|
|
* Added $wgExtPGAlteredFields to allow extensions to easily alter the data
|
2009-04-20 22:43:42 +00:00
|
|
|
type of columns when using the Postgres backend.
|
2009-04-24 17:20:48 +00:00
|
|
|
* (bug 16950) Show move log when viewing/creating a deleted page
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 18242) Show the Subversion revision number per extensions in
|
2009-04-26 05:22:33 +00:00
|
|
|
Special:Version
|
2009-04-26 11:12:39 +00:00
|
|
|
* (bug 18420) Missing file revisions are handled gracefully now
|
2009-05-01 01:27:22 +00:00
|
|
|
* (bug 9219) Auth plugins can control editing RealName/Email/Nick preferences
|
2009-05-17 17:32:25 +00:00
|
|
|
* (bug 18466) Add note or warning when overruling a move (semi-)protection
|
2009-05-17 19:04:05 +00:00
|
|
|
* (bug 18342) insertTags works in edit summary box
|
2009-05-17 19:23:12 +00:00
|
|
|
* (bug 18411) The upload form also checks post_max_size
|
2009-05-25 18:02:58 +00:00
|
|
|
* Watchlist now has a specialized <div> tag that contains a unique class for
|
|
|
|
|
each page
|
2009-05-19 17:02:55 +00:00
|
|
|
* Added Minguo calendar support for the Taiwan Chinese language
|
2009-05-23 02:24:54 +00:00
|
|
|
* Database: unionQueries function to be used for UNION sql construction, so
|
2009-05-19 17:23:47 +00:00
|
|
|
it can be overloaded on DB abstraction level for DB specific functionality
|
2009-05-20 01:53:39 +00:00
|
|
|
* (bug 18849) Implement Japanese and North Korean calendars
|
2009-05-20 07:14:03 +00:00
|
|
|
* (bug 5755) Introduce {{CURRENTMONTH1}} and {{LOCALMONTH1}} to display the
|
|
|
|
|
month number without the leading zero
|
2009-05-21 17:52:43 +00:00
|
|
|
* (bug 13456) categoriespagetext supports PLURAL
|
2009-05-21 20:32:28 +00:00
|
|
|
* (bug 18860) Blocks of IPs affecting registered users can now block email
|
2009-05-25 18:02:58 +00:00
|
|
|
* (bug 17093) Date and time are separate parameters in Special:BlockList
|
2009-05-26 21:22:42 +00:00
|
|
|
* (bug 11484) Added ISO speed rating to default collapsed EXIF metadata view
|
2009-06-03 23:56:42 +00:00
|
|
|
* (bug 14866) Messages 'recentchangeslinked-toolbox' and
|
|
|
|
|
'recentchangeslinked-toolbox' were added to allow more fine grained
|
|
|
|
|
customisation of the user interface
|
2009-09-11 16:06:34 +00:00
|
|
|
* DISPLAYTITLE now accepts a limited amount of wiki markup (the single-quote
|
|
|
|
|
items)
|
2009-06-09 19:19:14 +00:00
|
|
|
* Special:Search now could search terms in all variant-forms. ONLY apply on
|
2009-09-17 19:51:33 +00:00
|
|
|
wikis enabled LanguageConverter.
|
2009-06-25 21:10:10 +00:00
|
|
|
* Add autopromote condition APCOND_BLOCKED to autopromote blocked users to various
|
|
|
|
|
user groups.
|
2009-09-11 16:06:34 +00:00
|
|
|
* Add $wgRevokePermissions as a means of restricting a group's rights. The
|
|
|
|
|
syntax is identical to $wgGroupPermissions, but users in these groups will
|
|
|
|
|
have these rights stripped from them.
|
2009-06-20 15:59:56 +00:00
|
|
|
* Added a PHP port of CDB (constant database), for improved local caching when
|
|
|
|
|
the DBA extension is not available.
|
* Introduced a new system for localisation caching. The system is based around fast fetches of individual messages, minimising memory overhead and startup time in the typical case. It handles both core messages (formerly in Language.php) and extension messages (formerly in MessageCache.php). Profiling indicates a significant win for average throughput.
* The serialized message cache, which would have been redundant, has been removed. Similar performance characteristics can be achieved with $wgLocalisationCacheConf['manualRecache'] = true;
* Added a maintenance script rebuildLocalisationCache.php for offline rebuilding of the localisation cache.
* Extension i18n files can now contain any of the variables which can be set in Messages*.php. It is possible, and recommended, to use this feature instead of the hooks for special page aliases and magic words.
* $wgExtensionAliasesFiles, LanguageGetMagic and LanguageGetSpecialPageAliases are retained for backwards compatibility. $wgMessageCache->addMessages() and related functions have been removed. wfLoadExtensionMessages() is a no-op and can continue to be called for b/c.
* Introduced $wgCacheDirectory as a default location for the various local caches that have accumulated. Suggested $IP/cache as a good place for it in the default LocalSettings.php and created this directory with a deny-all .htaccess.
* Patched Exception.php to avoid using the message cache when an exception is thrown from within LocalisationCache, since this tends to fail horribly.
* Removed Language::getLocalisationArray(), Language::loadLocalisation(), Language::load()
* Fixed FileDependency::__sleep()
* In Cdb.php, fixed newlines in debug messages
In MessageCache::get():
* Replaced calls to $wgContLang capitalisation functions with plain PHP functions, reducing the typical case from 99us to 93us. Message cache keys are already documented as being restricted to ASCII.
* Implemented a more efficient way to filter out bogus language codes, reducing the "foo/en" case from 430us to 101us
* Optimised wfRunHooks() in the typical do-nothing case, from ~30us to ~3us. This reduced MessageCache::get() typical case time from 93us to 38us.
* Removed hook MessageNotInMwNs to save an extra 3us per cache hit. Reimplemented the only user (LocalisationUpdate) using the new hook LocalisationCacheRecache.
2009-06-28 07:11:43 +00:00
|
|
|
* Introduced a new system for localisation caching. The system is based around
|
|
|
|
|
fast fetches of individual messages, minimising memory overhead and startup
|
|
|
|
|
time in the typical case. The database backend will be used by default, but
|
|
|
|
|
set $wgCacheDirectory to get a faster CDB-based implementation.
|
|
|
|
|
* Expanded the number of variables which can be set in the extension messages
|
|
|
|
|
files.
|
Implemented the PoolCounter feature and did some general refactoring in the areas that it touched.
* Renamed Article::outputFromWikitext() to Article::getOutputFromWikitext()
* Factored out cascade protection updates
* Removed recently-added Article::tryParserCache(): misnamed, can be done in one line of code in the caller. Deprecated OutputPage::tryParserCache().
* Made some functions public instead of protected when they could be useful from hooks.
* In ParserCache, removed PHP 4-style ampersands
In Article::view():
* Factored out robot policy logic, "redirected from" header, patrol footer, diff page, revdelete header, CSS/JS formatting, footer, namespace header, missing article error
* Removed some variables, renamed some others, fixed incorrect use of empty()
* Used the refactored footer section to do a couple of early returns and unindent a massive if(!$outputDone) block
* Removed fantasy interpretation of $this->getContent()===false in comment
* Don't try the parser cache when ArticleViewHeader specified $outputDone=true
* Move timing hack to getOutputFromWikitext()
* Stop using $wgOut->parserOptions() with save/restore nonsense every time you want to change something in it. This is meant to be OOP.
* Don't overwrite the article text with an error message and then pretend to write it to the cache, that's confusing
2009-07-08 08:12:35 +00:00
|
|
|
* Added a feature to allow per-article process pool size control for the parsing
|
|
|
|
|
task, to limit resource usage when the cache for a heavily-viewed article is
|
|
|
|
|
invalidated. Requires an external daemon.
|
2009-07-21 04:19:34 +00:00
|
|
|
* (bug 19576) Moved the id attribues from the anchors accompanying section
|
|
|
|
|
headers to the <span class="mw-headline"> elements within the section headers,
|
|
|
|
|
removing the redundant anchor elements.
|
2009-07-15 01:02:13 +00:00
|
|
|
* Parser::setFunctionTagHook now can be used to add a new tag which is parsed at
|
|
|
|
|
preprocesor level.
|
|
|
|
|
* Added $wgShowArchiveThumbnails, allowing sysadmins to disable thumbnail
|
|
|
|
|
display for old versions of images.
|
2009-07-15 05:10:38 +00:00
|
|
|
* In watchlists and Special:RecentChanges, the difference in page size now
|
|
|
|
|
appears in dark green if bytes were added and dark red if bytes were removed.
|
2009-07-16 18:07:23 +00:00
|
|
|
* Added FSRepo configuration properties thumbUrl and thumbDir, to allow the
|
|
|
|
|
thumbnails to be stored in a separate location to the source images.
|
2009-07-18 18:06:30 +00:00
|
|
|
* If config/ directory is not executable, the command to make it executable
|
|
|
|
|
now asks the user to cd to the correct directory
|
2009-07-23 00:31:37 +00:00
|
|
|
* Add experimental new external authentication framework, ExternalAuth
|
|
|
|
|
* (bug 18768) Remove AdminSettings requirements. Maintenance environment
|
|
|
|
|
will still load it if it exists, but it's not required for anything
|
2009-07-23 19:39:37 +00:00
|
|
|
* (bug 19900) The "listgrouprights-key" message is now wrapped in a div with
|
|
|
|
|
class "mw-listgrouprights-key"
|
2009-07-24 01:22:06 +00:00
|
|
|
* (bug 471) Allow RSS feeds for watchlist, using an opt-in security token
|
2009-07-25 14:28:53 +00:00
|
|
|
* (bug 10812) Interwiki links can have names and descriptions, fetched from
|
|
|
|
|
message 'interwiki-desc-PREFIX', not really used anywhere yet though
|
2009-09-11 16:06:34 +00:00
|
|
|
* (bug 9691) Add type (signup or login) parameter to
|
|
|
|
|
AuthPlugin::ModifyUITemplate()
|
|
|
|
|
* (bug 14454) "Member of group(s)" in Special:Preferences causes language
|
|
|
|
|
difficulties
|
|
|
|
|
* (bug 16697) Unicode combining characters are difficult to edit in some
|
|
|
|
|
browsers
|
2009-07-30 22:24:04 +00:00
|
|
|
* Parser test supports uploading results to remote CodeReview instance
|
2009-07-31 03:07:58 +00:00
|
|
|
* (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
|
|
|
|
|
extension version in Special:Version
|
|
|
|
|
* (bug 20014) Added CSS class "mw-listgrouprights-right-name" is wrapped on the
|
|
|
|
|
right name in Special:ListGroupRights
|
2009-08-02 18:16:56 +00:00
|
|
|
* (bug 12920) New CoreParserFunction {{nse:...}} as an url-friendly equivalent
|
|
|
|
|
to {{ns:...}}
|
2009-09-11 16:06:34 +00:00
|
|
|
* (bug 16322) Allow maintenance scripts to accept DB user/pass over input or
|
|
|
|
|
params
|
2009-08-02 19:35:17 +00:00
|
|
|
* (bug 18566) Maintenance script to un/protect pages
|
2009-08-02 22:15:28 +00:00
|
|
|
* (bug 671) The HTML <abbr> tag is now permitted.
|
2009-08-02 22:15:55 +00:00
|
|
|
* RecentChanges now has a legend to explain what the Nmb! flags mean, and the
|
|
|
|
|
flags have tooltips.
|
2009-08-03 22:31:52 +00:00
|
|
|
* (bug 15209) New hook BeforeInitialize called after everything has been setup
|
|
|
|
|
but before Mediawiki::performRequestForTitle()
|
2009-08-04 19:17:31 +00:00
|
|
|
* wgMainPageTitle variable now available to JavaScript code to identify the main
|
|
|
|
|
page link, so it doesn't have to be extracted from the link URLs.
|
2009-09-11 16:06:34 +00:00
|
|
|
* (bug 16836) Display preview of signature in user preferences and describe its
|
|
|
|
|
use
|
Start using some HTML 5 form features
autofocus attribute added in some places; this looks like it's respected
by both recent Opera and recent WebKit. Its function is
self-explanatory. :) I used this in a few obvious places like
Special:UserLogin and Special:ResetPass to focus the first field in the
form. Could be used in other places too: Special:Search, etc.
required attribute added in some places. This is only supported in
recent Opera at the moment. Also self-explanatory: it won't allow form
submission if the field is empty.
For stuff using HTMLForm (i.e., Special:Preferences), validation will be
done for integers and floats. Browsers that support this (recent Opera)
will not allow non-integers to be submitted for integer fields, will not
allow non-floating-point values to be submitted for float fields, and
will enforce any min/max values specified. Opera also gives little up
and down arrows to allow the user to increment/decrement the value in
addition to letting them edit the field as text.
For HTMLForm and account creation, the email input type is used for
e-mails. This enforces a sane set of values for e-mails (alphanumerics
plus some ASCII punctuation, with an @ in it). Again, this is supported
only by recent Opera (yay Opera!). Note that this is actually more
restrictive than what we currently check for on the server side; it
might be sane to tighten up our server-side checks to forbid e-mail
addresses that HTML 5 forbids.
In all cases, the extra features aren't added if $wgHtml5 is false, and
will be ignored by non-supporting browsers.
The major room for further improvement here is use of the pattern
attribute. We can have the client refuse to submit the form unless it
matches a regex! The HTML 5 spec says that if a title attribute is
provided, it should be a message that explains what the valid values
are and browsers should provide it to the user if the regex doesn't
match, so it's not a usability problem. I didn't bother adding that
anywhere at this point because it would require adding new messages, but
it should be easy to do. Note of course that HTMLForm should be updated
to verify that pattern matches on the server side as well -- this way we
have a clean, unified way of ensuring that our client and server checks
are the same.
2009-08-07 03:32:20 +00:00
|
|
|
* The default output format is now HTML 5 instead of XHTML 1.0 Transitional.
|
|
|
|
|
This can be disabled by setting $wgHtml5 = false;. Specific features enabled
|
|
|
|
|
if HTML 5 is used:
|
|
|
|
|
** New HTML 5 input attributes allow JavaScript-free input validation in some
|
|
|
|
|
cutting-edge browsers. E.g., some inputs will be autofocused, users will
|
|
|
|
|
not be allowed to submit forms with certain types of invalid values (like
|
|
|
|
|
numbers outside the permitted ranges), etc.
|
2009-08-10 01:42:45 +00:00
|
|
|
** The summary attribute has been removed from tables of contents. summary is
|
|
|
|
|
obsolete in HTML 5 and wasn't useful here anyway.
|
2009-08-11 00:09:24 +00:00
|
|
|
** Unnecessary type="" attribute removed for CSS and JS.
|
|
|
|
|
** If $wgWellFormedXml is set to false, some bytes will be shaved off of HTML
|
|
|
|
|
output by omitting some things like quotation marks where HTML 5 allows.
|
2009-08-11 07:08:08 +00:00
|
|
|
* The description message in $wgExtensionCredits can be an array with parameters
|
2009-08-17 15:23:51 +00:00
|
|
|
* New hook SpecialRandomGetRandomTitle allows extensions to modify the selection
|
|
|
|
|
criteria used by Special:Random and subclasses, or substitute a custom result,
|
|
|
|
|
deprecating the $wgExtraRandompageSQL config variable
|
2009-08-20 09:13:29 +00:00
|
|
|
* (bug 20318) Distinct CSS classes for ISBN/RFC/PMID special links added
|
2009-08-27 14:15:02 +00:00
|
|
|
* (bug 20404) Custom fields in the user creation form template can now have
|
2009-08-27 17:15:12 +00:00
|
|
|
detail labels in prefsectiontip divs.
|
2009-08-28 20:41:36 +00:00
|
|
|
* MakeSysop and MakeBot are now aliases for Special:UserRights
|
2009-08-31 11:30:50 +00:00
|
|
|
* IndexPager->mLimitsShown can now be an associative array of limit => text-to-
|
|
|
|
|
display-in-limit-form.
|
2009-08-31 11:54:53 +00:00
|
|
|
* (bug 18880) LogEventsList::showLogExtract() can now take a string-by-reference
|
|
|
|
|
and add its HTML to it, rather than having to go straight to $wgOut.
|
2009-09-04 01:49:34 +00:00
|
|
|
* Added $wgShowDBErrorBacktrace, to allow users to easily gather backtraces for
|
|
|
|
|
database connection and query errors.
|
2009-09-06 22:53:04 +00:00
|
|
|
* Show change block / unblock link on Special:Contributions if user is blocked
|
2009-09-07 01:29:50 +00:00
|
|
|
* Display note on Special:Contributions if the user is blocked, and provide an
|
|
|
|
|
excerpt from the block log.
|
2009-09-11 16:06:34 +00:00
|
|
|
* (bug 19646) New hook: ImgAuthBeforeStream for tests and functionality before
|
|
|
|
|
file is streamed to user, but only when using img_auth
|
2009-09-14 18:10:13 +00:00
|
|
|
* Note on non-existing user and user talk pages if user does not exist
|
|
|
|
|
* New hook ShowMissingArticle so extensions can modify the output for
|
|
|
|
|
non-existent pages.
|
2009-09-17 10:05:48 +00:00
|
|
|
* Added $wgUseAJAXCategories allow enabling AJAX based categories system.
|
|
|
|
|
This works on all namespaces. Enabled namespaces can be reduces using
|
|
|
|
|
$wgAJAXCategoriesNamespaces.
|
2009-09-17 19:51:33 +00:00
|
|
|
* Admins could disable some variants using $wgDisabledVariants now. ONLY apply on
|
|
|
|
|
wikis enabled LanguageConverter.
|
2009-09-19 12:50:00 +00:00
|
|
|
* A new permission, 'root', is created. Analogous to root users on Unix systems,
|
|
|
|
|
the root permission effectively grants all other permissions on a wiki. Useful
|
|
|
|
|
for debugging and administration.
|
2009-03-25 10:11:33 +00:00
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
=== Bug fixes in 1.16 ===
|
|
|
|
|
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 18031) Make namespace selector on Special:Export remember the previous
|
2009-03-26 03:29:06 +00:00
|
|
|
selection
|
2009-03-26 17:40:17 +00:00
|
|
|
* The svn-version version numbers on Special:Version have been removed
|
2009-03-27 22:01:12 +00:00
|
|
|
* (bug 17374) Special:Export no longer exports two copies of the same page
|
2009-03-28 08:21:29 +00:00
|
|
|
* (bug 18190) Proper parsing in MediaWiki:Sharedupload message
|
2009-03-28 16:41:00 +00:00
|
|
|
* (bug 17617) HTML cleanup for ImagePage
|
2009-03-28 21:01:49 +00:00
|
|
|
* (bug 17964) namespaceDupes.php no longer fails on an empty interwiki table
|
2009-03-29 13:42:29 +00:00
|
|
|
* Improved error handling for image moving
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 17974) On Special:SpecialPages, restricted special pages are now marked
|
2009-03-30 01:56:07 +00:00
|
|
|
with <strong> tags, helps with text-based browsers
|
2009-03-30 16:54:32 +00:00
|
|
|
* (bug 18259) Special:DeletedContributions now also uses
|
|
|
|
|
MediaWiki:Sp-contributions-logs for the link to Special:Log
|
2009-03-31 14:26:40 +00:00
|
|
|
* Don't add empty title="" attributes to links to anchors on the current page
|
2009-04-01 07:10:24 +00:00
|
|
|
* (bug 18291) rebuildrecentchanges.php failed to add deletion log entries
|
2009-04-02 11:23:38 +00:00
|
|
|
* (bug 18304) rebuildrecentchanges.php got size changes wrong
|
2009-04-02 19:16:24 +00:00
|
|
|
* (bug 18170) Fixed a PHP warning in Parser::preSaveTransform() in PHP 5.3
|
2009-04-02 20:38:25 +00:00
|
|
|
* (bug 18289) Database connection error page now returns correct HTML
|
2009-04-03 19:23:16 +00:00
|
|
|
* "successbox", "errorbox" and related CSS classes are now available in all
|
|
|
|
|
skins
|
2009-04-04 03:07:34 +00:00
|
|
|
* (bug 18316) Removed superfluous name="fulltext" from Special:Search
|
2009-04-04 20:05:06 +00:00
|
|
|
* (bug 18331) MediaWiki:Undelete-revision can now have wikitext
|
2009-04-05 14:02:37 +00:00
|
|
|
* The "noautoblock" flag is no longer displayed in the block log when blocking
|
|
|
|
|
an IP address
|
2009-04-06 12:41:20 +00:00
|
|
|
* (bug 18009) $wgHooks and $wgExtensionFunctions now support closures
|
2009-04-06 14:41:33 +00:00
|
|
|
* (bug 17948) Maintenance scripts now exit(0) or exit(1) as appropriate
|
2009-04-07 06:43:39 +00:00
|
|
|
* (bug 18377) Time in Enhanced ChangesList lacking localisation
|
2009-04-09 05:15:43 +00:00
|
|
|
* (bug 12998) Allow <sup>, <sub>, etc. in DISPLAYTITLE
|
2009-04-09 05:27:25 +00:00
|
|
|
* (bug 1553) Lowercase navigation headings in German
|
2009-04-10 14:27:29 +00:00
|
|
|
* (bug 7830) Pending transactions failed to commit on loginToUse() error
|
2009-04-10 14:53:32 +00:00
|
|
|
* (bug 11613) session.save_handler being over-ridden
|
|
|
|
|
* (bug 11381) session.save_handler being set twice (causes error)
|
2009-04-10 21:24:35 +00:00
|
|
|
* (bug 17835) ForeignAPIRepo throwing error on first page load for file
|
|
|
|
|
* (bug 18115) ForeignAPIRepo cache isn't working
|
2009-04-13 10:48:11 +00:00
|
|
|
* Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-'
|
|
|
|
|
after some parsed math syntax.
|
2009-04-13 12:16:29 +00:00
|
|
|
* (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions
|
2009-04-13 12:39:12 +00:00
|
|
|
* (bug 18317) Bolded selections in 1 | 3 | etc days on RecentChanges now use
|
|
|
|
|
<strong> instead of hardcoded styles
|
2009-04-16 16:31:29 +00:00
|
|
|
* (bug 18449) Fixed items number per column on category pages when the total is
|
|
|
|
|
divisible by 3
|
2009-04-20 19:17:34 +00:00
|
|
|
* (bug 18121) maintenance/deleteArchivedRevisions.php no longer deletes
|
|
|
|
|
revisions when --delete is not passed
|
2009-04-20 22:32:48 +00:00
|
|
|
* (bug 13172) GPS coordinates in image Exif data are now actually displayed
|
2009-04-24 01:31:17 +00:00
|
|
|
* Overhaul of preferences system, includes the following bug fixes:
|
2009-04-24 23:11:07 +00:00
|
|
|
* (bug 5363) Changes to default preferences now impact registered users.
|
|
|
|
|
* (bug 14806) Hook to enable putting preferences in existing tabs.
|
|
|
|
|
* (bug 17191) Registration date now listed on preferences page.
|
|
|
|
|
* Note that this change will break some extensions which have not been adapted
|
|
|
|
|
for it.
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 17020) Adding fallback encodings for Traditional and Simplified Chinese
|
2009-04-24 23:11:07 +00:00
|
|
|
languages while the the text is typed as URLs.
|
2009-06-20 06:41:59 +00:00
|
|
|
* (bug 17614) Prev / Next links are not shown if all results are shown
|
2009-05-01 10:31:55 +00:00
|
|
|
* (bug 18207) Strange spacing before [[irc:...]] links
|
2009-05-01 19:08:22 +00:00
|
|
|
* Removed float from the user login form in RTL interface - caused display
|
|
|
|
|
problems in FF2
|
2009-05-01 21:22:25 +00:00
|
|
|
* (bug 15008) Redirect images are now subject to Bad image list rules
|
2009-05-04 18:35:49 +00:00
|
|
|
* (bug 6802) profileinfo.php now also work on other database servers than MySQL
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to
|
|
|
|
|
'wikidiff' or 'wikidiff2' but extension is not installed
|
2009-05-07 16:18:42 +00:00
|
|
|
* (bug 18326) Chmod errors in file repos have been hidden
|
2009-05-08 20:33:42 +00:00
|
|
|
* (bug 18718) Comma after a } create a error in IE
|
2009-05-14 20:22:42 +00:00
|
|
|
* (bug 18716) Removed redundant class in Modern skin CSS for category links and
|
|
|
|
|
tweaked spacing.
|
2009-05-14 20:45:14 +00:00
|
|
|
* (bug 18656) Use proper directory separators in wfMkdirParents()
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 18549) Make Special:Blockip respect $wgEnableUserEmail and
|
|
|
|
|
$wgSysopEmailBans
|
2009-05-15 19:43:09 +00:00
|
|
|
* (bug 16912) Tooltips on images with link= disappear
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 18389) Localise numbers in EXIF data
|
2009-05-17 14:57:30 +00:00
|
|
|
* (bug 18522) Wrap MediaWiki:Protect-cascadeon in a div for identification
|
2009-05-17 17:55:15 +00:00
|
|
|
* (bug 18438) Tweak HTML for preview bar for consistency and accessibility
|
2009-05-17 19:28:02 +00:00
|
|
|
* (bug 18432) Updated documentation for dumpBackup.php
|
2009-05-24 08:59:39 +00:00
|
|
|
* Fix array logic in Sanitizer::removeHTMLtags so that it doesn't strip good
|
|
|
|
|
tags that were redundantly defined.
|
2009-05-23 10:14:24 +00:00
|
|
|
* (bug 14118) SpecialPage::getTitleFor does not return a localised name
|
2009-05-24 08:59:39 +00:00
|
|
|
* (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
|
|
|
|
|
.inc
|
2009-05-24 09:05:49 +00:00
|
|
|
* Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
|
|
|
|
|
Title::userCanEdit() and Title::userCanMove() have been removed
|
2009-05-24 20:45:31 +00:00
|
|
|
* Only show upload links on file description if $wgEnableUploads = true
|
|
|
|
|
and user can upload
|
|
|
|
|
* Don't say "You need to log in to upload/move", because it's possible that
|
|
|
|
|
uploading/moving is disabled for registered users as well (e.g. only sysops)
|
2009-05-27 19:07:27 +00:00
|
|
|
* (bug 18943) Handle invalid titles gracefully at Special:Mostlinked
|
2009-05-28 12:53:34 +00:00
|
|
|
* (bug 8873) Enable variant conversion in text on 'alt' and 'title' attributes
|
2009-06-01 16:54:30 +00:00
|
|
|
* (bug 10837) Introducing the StubUserVariant class to determine the variant
|
2009-05-30 19:49:51 +00:00
|
|
|
variable instead of using this to overrules the user language preference.
|
2009-06-01 16:54:30 +00:00
|
|
|
* (bug 19014) If user had deletedhistory right, but not undeleted right, then
|
2009-05-30 21:17:17 +00:00
|
|
|
show "view" instead of "view/restore" on logs.
|
2009-06-01 16:39:18 +00:00
|
|
|
* (bug 19017) TOC level calculation error in an odd case
|
2009-06-01 16:48:14 +00:00
|
|
|
* (bug 18999) CSS update for RTL interwiki links
|
2009-06-01 16:54:30 +00:00
|
|
|
* (bug 18925) history.js removes class names of list elements on initialization
|
2009-06-02 19:32:51 +00:00
|
|
|
* Multiple whitespace in TOC anchors is now stripped, for consistency with the
|
|
|
|
|
link from the edit comment
|
2009-08-12 21:39:35 +00:00
|
|
|
* (bug 19112) Preferences now respects $wgUseExternalEditor
|
2009-06-12 01:38:19 +00:00
|
|
|
* (bug 18173) MediaWiki now fails when unable to determine a client IP
|
2009-06-13 23:30:17 +00:00
|
|
|
* (bug 19170) Special:Version should follow the content language direction
|
2009-06-15 03:05:28 +00:00
|
|
|
* (bug 19160) maintenance/purgeOldText.inc is now compatible with PostgreSQL
|
2009-06-17 07:31:00 +00:00
|
|
|
* Fixed performance regression in "bad image list" feature
|
2009-06-17 18:23:36 +00:00
|
|
|
* Show user preference 'Use live preview' if $wgLivePreview is enabled only
|
2009-06-19 22:57:24 +00:00
|
|
|
* (bug 17014) Blocked users can no longer use Special:UserRights unless they
|
|
|
|
|
can add/remove *all* groups (have 'userrights' permission).
|
2009-06-19 19:29:30 +00:00
|
|
|
* (bug 19294) Always show Sp-contributions-footer(-anon)
|
2009-06-20 14:37:42 +00:00
|
|
|
* Attempts to restrict reading of pages while anonymous viewing is allowed
|
2009-09-11 16:06:34 +00:00
|
|
|
via extensions not using the userCan hook and via $wgRevokePermissions now
|
|
|
|
|
work.
|
|
|
|
|
* (bug 8445) Multiple-character search terms are now handled properly for
|
|
|
|
|
Chinese
|
2009-06-30 19:06:34 +00:00
|
|
|
* (bug 19450) Use formatNum for "Number of edits" in Special:Preferences
|
2009-07-02 01:00:22 +00:00
|
|
|
* (bug 11242) Check for MySQL storage engines during installation now checks
|
|
|
|
|
whether the engines are actually available
|
2009-07-02 09:27:33 +00:00
|
|
|
* (bug 19390) Omit the "printable version" link on the printable version
|
2009-07-03 20:06:01 +00:00
|
|
|
* (bug 18394) img_auth.php now respects userCan
|
2009-07-04 01:37:31 +00:00
|
|
|
* (bug 19509) Uploading to a file named '0' previously treated it as null input
|
|
|
|
|
and attempted to upload with the source name. Now warns about not having an
|
|
|
|
|
extension (since 0.ext is perfectly valid)
|
2009-07-04 01:46:41 +00:00
|
|
|
* (bug 19468) Enotif preferences are now only displayed when they are turned on
|
2009-07-05 09:11:09 +00:00
|
|
|
* (bug 19442) Show/hide options on watchlist only work once
|
2009-07-15 01:02:13 +00:00
|
|
|
* (bug 19602) PubMed Magic links now use updated NIH url
|
|
|
|
|
* (bug 19637) externallinks have links to self
|
|
|
|
|
* Don't load Opera 9.5 RTL fixes for Opera 9.6
|
|
|
|
|
* Remove five-year-old KHTMLFixes.css, which is unlikely to be relevant anymore
|
|
|
|
|
and was causing problems.
|
|
|
|
|
* Removed repetition of URIs in the title attributes of external links.
|
|
|
|
|
* (bug 19693) User name is now escaped in "Contributions for ..." link on
|
|
|
|
|
Special:BlockIP
|
2009-07-13 21:56:24 +00:00
|
|
|
* (bug 19571) Override buildConcat for SQLite.
|
2009-07-14 21:25:33 +00:00
|
|
|
* Log in and log out links no longer return to page view when clicked from
|
|
|
|
|
history view, edit page, or something similar
|
2009-07-14 23:14:14 +00:00
|
|
|
* (bug 19513) RTL fixes for new Search UI
|
2009-07-15 02:03:21 +00:00
|
|
|
* (bug 16497) Special:Allmessages is paginated
|
2009-07-15 23:36:16 +00:00
|
|
|
* (bug 18708) CSS plainlinks class now available to all skins
|
2009-07-16 15:18:57 +00:00
|
|
|
* (bug 19590) Database error messages no longer have "MySQL" hardcoded as the
|
|
|
|
|
database type
|
2009-07-18 21:25:11 +00:00
|
|
|
* (bug 19759) successbox on Special:Preferences now correctly aligned on
|
|
|
|
|
standard, nostalgia and cologneblue skin
|
2009-07-18 22:49:31 +00:00
|
|
|
* (bug 19814) interwiki links from file links ([[File:Foo.jpg|link=de:Test]])
|
|
|
|
|
are no longer recorded in the pagelinks table
|
2009-07-19 16:49:58 +00:00
|
|
|
* (bug 19784) date option "ISO 8601" produced illegal id
|
2009-07-19 17:07:03 +00:00
|
|
|
* (bug 19761) Removed autogenerated <meta keywords> tag with link data.
|
|
|
|
|
Keyword set was not useful, and is ignored by modern search engines anway.
|
2009-07-19 17:24:48 +00:00
|
|
|
* (bug 19827) Special:SpecialPages title is "Upload file
|
2009-07-19 19:41:56 +00:00
|
|
|
* (bug 19355) Added .xhtml, .xht to upload file extension blacklist
|
2009-07-19 19:59:12 +00:00
|
|
|
* (bug 19287) Workaround for lag on history page in Firefox 3.5
|
2009-07-19 20:03:13 +00:00
|
|
|
* (bug 19564) Updated docs/hooks.txt
|
2009-07-19 20:21:28 +00:00
|
|
|
* (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
|
2009-07-19 21:25:47 +00:00
|
|
|
* (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
|
2009-09-11 16:06:34 +00:00
|
|
|
* (bug 19445) Change oldimage table to use ON UPDATE CASCADE for FK to image
|
|
|
|
|
table.
|
2009-07-20 02:07:56 +00:00
|
|
|
* (bug 14080) Short notation links to subpages didn't work in edit summaries
|
2009-07-20 02:47:48 +00:00
|
|
|
* (bug 17374) Special:Export no longer exports multiple copies of pages
|
2009-07-20 05:14:35 +00:00
|
|
|
* (bug 19818) Edits to user CSS/JS subpages can now be marked as patrolled by
|
|
|
|
|
users who can't edit them
|
2009-07-20 12:07:07 +00:00
|
|
|
* (bug 19839) Comments in log items are no more double escaped
|
2009-07-21 11:18:27 +00:00
|
|
|
* (bug 18161) Fix inconsistent separators in watchlist link toolbars with
|
|
|
|
|
"enhanced recent changes"
|
2009-07-22 20:09:23 +00:00
|
|
|
* (bug 16877) Moving a page over a redirect no longer leaves an orphan entry in
|
|
|
|
|
the recentchanges table
|
2009-07-23 20:18:34 +00:00
|
|
|
* (bug 16009) Limit selection forms based on Pager now links to the correct page
|
2009-07-24 17:41:01 +00:00
|
|
|
when using long urls
|
|
|
|
|
* The display of the language list on the preferences is more comply with the
|
|
|
|
|
BCP 47 standards.
|
2009-07-24 20:01:23 +00:00
|
|
|
* (bug 19849) Custom X-Vary-Options header now disabled unless $wgUseXVO is set
|
2009-07-25 19:36:14 +00:00
|
|
|
* (bug 19301) Duplicates entries in $wgAddGroups, $wgRemoveGroups,
|
|
|
|
|
$wgGroupsAddToSelf and $wgGroupsRemoveFromSelf are no more displayed on
|
|
|
|
|
Special:ListGroupRights
|
2009-07-25 20:11:01 +00:00
|
|
|
* (bug 18799) Special:Userlogin now handles correctly the returnto parameter
|
|
|
|
|
to not link back to Special:Userlogout when user's language isn't the same as
|
|
|
|
|
content's language
|
2009-07-26 20:09:14 +00:00
|
|
|
* (bug 19479) Show proper error message when unable to connect to PostgreSQL
|
|
|
|
|
database with username/password in MediaWiki's setup
|
2009-07-27 13:55:50 +00:00
|
|
|
* (bugs 18407, 18409) Special:Upload is now listed on Special:Specialpages only
|
|
|
|
|
if uploads are enabled and the user can access it
|
2009-07-27 19:42:24 +00:00
|
|
|
* (bug 17988) Spaces before [[Category:]] links are no longer ignored
|
2009-07-29 01:10:09 +00:00
|
|
|
* (bug 19957) All known-failing tests now marked disabled; added --run-disabled
|
|
|
|
|
option to parser test suite to run disabled tests if desired.
|
2009-07-29 22:15:52 +00:00
|
|
|
* (bug 16311) Make recent change flags (n/m/b) <abbr>s instead of <span>s
|
2009-08-01 07:41:57 +00:00
|
|
|
* (bug 15680) Split the edit tip message of user CSS/JS subpage into
|
|
|
|
|
"usercssyoucanpreview" and "userjsyoucanpreview" respectively.
|
2009-08-01 16:44:44 +00:00
|
|
|
* (bug 12110) Split the rights for editing users' CSS/JS subpage from
|
|
|
|
|
"editusercssjs" into "editusercss" and edituserjs" respectively.
|
2009-08-02 03:07:07 +00:00
|
|
|
* (bug 19394) RecentChanges feed URLs for log items with no revisions
|
|
|
|
|
(eg Newuser, Userrights) are no longer broken
|
2009-08-02 15:22:06 +00:00
|
|
|
* (bug 17395) Remote file descriptions use user language ($wgLang), not wiki
|
|
|
|
|
language ($wgContLang)
|
2009-08-02 19:35:17 +00:00
|
|
|
* (bug 11867) Lock error on redirect table when running orphans.php
|
|
|
|
|
* (bug 18930) initStats.php now refreshes active users count
|
2009-08-03 19:51:25 +00:00
|
|
|
* (bug 18699) Using the nosummary URL option no longer triggers the "You have
|
|
|
|
|
not provided a summary" warning for those who activated it in their
|
|
|
|
|
preferences
|
2009-08-03 21:56:41 +00:00
|
|
|
* (bug 18855) commandLine.inc and Maintenance.php are now properly included
|
|
|
|
|
using the full path
|
2009-08-19 02:17:05 +00:00
|
|
|
* (bug 18497) Fixed broken style sheets in Opera fullscreen mode
|
2009-08-04 02:47:39 +00:00
|
|
|
* (bug 16084) Default memory limit has be increased to 50M, see $wgMemoryLimit
|
2009-08-05 04:42:54 +00:00
|
|
|
* (bug 17864/19519) Added proper input normalization in Special:UserRights
|
2009-08-06 13:46:59 +00:00
|
|
|
* (bug 20086) Add Hook to add extra statistics at the end of Special:Statistics
|
2009-08-07 00:53:21 +00:00
|
|
|
* (bug 19289) importDump.php can now handle bzip2 and 7zip
|
2009-08-08 20:47:11 +00:00
|
|
|
* (bug 20131) Fixed a PHP notice for users having the "rollback" right on
|
|
|
|
|
Special:RecentChangesLinked
|
2009-08-11 08:36:18 +00:00
|
|
|
* Do not transform EXIF fields with pure text to avoid results like
|
|
|
|
|
foo,bar@example,com
|
2009-08-11 17:50:03 +00:00
|
|
|
* (bug 20176) Fix login/logout links in skin CologneBlue
|
2009-08-13 00:47:56 +00:00
|
|
|
* (bug 20203) "Powered by Mediawiki" now has height/width on image tag
|
2009-08-16 06:23:07 +00:00
|
|
|
* (bug 20273) Fix broken output when no pages are found in the content
|
|
|
|
|
namespaces
|
2009-08-17 00:59:25 +00:00
|
|
|
* (bug 20265) Make AncientPages and UnusedFiles work on SQLite
|
2009-08-17 13:23:45 +00:00
|
|
|
* Fixed XSS vulnerability for Internet Explorer clients (only pre-release
|
|
|
|
|
versions of MediaWiki were affected).
|
2009-08-18 20:13:37 +00:00
|
|
|
* (bug 14817) Moving a page to a subpage of itself moves it twice
|
2009-08-18 23:25:36 +00:00
|
|
|
* (bug 20289) $wgMaximumMovedPages should only count pages actually moved
|
2009-08-20 14:56:11 +00:00
|
|
|
* (bug 15248) Non-breaking spaces and certain other Unicode space characters
|
|
|
|
|
are now normalized to ordinary spaces in titles; if your wiki has existing
|
|
|
|
|
titles with such characters, run cleanupTitles.php and/or cleanupImages.php
|
2009-08-23 00:45:36 +00:00
|
|
|
* (bug 11143) Links containing invalid UTF-8 percent-code sequences are now
|
|
|
|
|
cleanly disabled instead of breaking parsing entirely on PHP 5.2.
|
2009-08-21 20:18:20 +00:00
|
|
|
* (bug 20296) Fixed an PHP warning in Language::getMagic() in PHP 5.3
|
2009-08-23 00:14:03 +00:00
|
|
|
* (bug 20358) Unprotect tab was missing accesskey; now same as protect tab.
|
2009-08-23 01:25:48 +00:00
|
|
|
* (bug 20317) Cleaned up default main page link accesskey settings
|
2009-08-23 08:16:24 +00:00
|
|
|
* (bug 20362) Special:Statistics now produces valid HTML when view counters are
|
|
|
|
|
enabled
|
2009-08-23 09:39:13 +00:00
|
|
|
* (bug 19857) maintenance/deleteRevision.php on last revision no longer breaks
|
|
|
|
|
target page
|
2009-08-23 20:19:22 +00:00
|
|
|
* (bug 20365) Page name with with c/g/h/j/s/u + x are now correctly handled in
|
|
|
|
|
Special:MovePage with Esperanto as content language
|
2009-08-23 23:27:32 +00:00
|
|
|
* (bug 20364) Fixed regression in GIF metadata loading
|
2009-08-24 08:35:05 +00:00
|
|
|
* (bug 20299) MediaWiki:Move-subpages and MediaWiki:Move-talk-subpages can now
|
|
|
|
|
use wikitext
|
2009-08-24 08:54:28 +00:00
|
|
|
* (bug 15475) DatabaseBase::setFlag(), DatabaseBase::clearFlag() and
|
|
|
|
|
DatabaseBase::getFlag() now have documentation
|
2009-08-24 18:06:15 +00:00
|
|
|
* (bug 19966) MediaWiki:License-header is now used for the licensing header in
|
|
|
|
|
the file description page instead of MediaWiki:License
|
2009-08-26 17:37:42 +00:00
|
|
|
* (bug 20380) Links to history/deleted edits at the top of
|
|
|
|
|
Special:RevisionDelete are no more displayed when when doing log suppression
|
2009-08-26 15:47:03 +00:00
|
|
|
* (bug 8143) Localised parser function names are now correctly case insensitive
|
|
|
|
|
if they contain non-ASCII characters
|
2009-08-28 18:04:40 +00:00
|
|
|
* (bug 19055) maintenance/rebuildrecentchanges.php now purges
|
|
|
|
|
Special:Recentchanges's RSS and Atom feed cache
|
2009-08-29 07:40:18 +00:00
|
|
|
* The installer will now try to bypass PHP's max_execution_time
|
2009-08-29 12:35:40 +00:00
|
|
|
* (bug 20260) SQLite no longer tries to automatically create the database at
|
|
|
|
|
execution time, this now happens only at install time; if it is not available
|
|
|
|
|
at script execution, it now throws an exception
|
2009-08-30 05:55:47 +00:00
|
|
|
* Fixed EditFilterMerged hook so the hookError parameter serves a purpose
|
|
|
|
|
(analogous to EditFilter hook)
|
2009-08-30 06:37:10 +00:00
|
|
|
* (bug 2257) Tag extensions can expand template parameters provided to the tag,
|
|
|
|
|
by using a new parameter added to the recursiveTagParse function
|
2009-08-31 19:19:12 +00:00
|
|
|
* (bug 14900) __INDEX__ and __NOINDEX__ no longer override site config set in
|
|
|
|
|
$wgArticleRobotPolicies.
|
2009-09-01 20:22:00 +00:00
|
|
|
* (bug 20466) Hidden categories are no more displayed when printing
|
2009-09-02 15:58:49 +00:00
|
|
|
* (bug 20446) When changing user rights with User@remotewiki and remotewiki is
|
|
|
|
|
the local wiki, the user is now treated as the local user
|
2009-09-03 21:15:07 +00:00
|
|
|
* (bug 20494) OutputPage::getArticleBodyOnly() no longer requires an useless
|
|
|
|
|
argument
|
2009-09-06 04:10:26 +00:00
|
|
|
* (bug 20136) Protection form JavaScript now synchronizes the expiry boxes on
|
|
|
|
|
any change, in addition to onkeyup.
|
2009-09-11 16:06:34 +00:00
|
|
|
* Don't link to "edit this page" on MediaWiki:Noarticletext if user is not
|
|
|
|
|
allowed to create page. Done via new message
|
|
|
|
|
MediaWiki:Noarticletext-nopermission
|
|
|
|
|
* Improved compatibility between the Vector skin and addPortletLink() from
|
|
|
|
|
wikibits.js: empty portlets are now present but hidden, adding an element to a
|
|
|
|
|
portlet unhides it
|
|
|
|
|
* (bug 19531) addPortletLink() now wraps inserted labels in a <span> element to
|
|
|
|
|
be compatible with the CSS for the Vector skin
|
2009-09-11 06:08:15 +00:00
|
|
|
* (bug 20578) Wrong localized image metadata - duplicated string?
|
2009-09-11 15:53:48 +00:00
|
|
|
* (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a
|
|
|
|
|
correct type="text" parameter
|
2009-09-12 13:44:23 +00:00
|
|
|
* (bug 482) Don't include TOC in the printable version if it has been hidden
|
2009-09-12 17:06:11 +00:00
|
|
|
* Adjust the time according to the user configuration on Special:Revisiondelete
|
2009-09-13 14:13:36 +00:00
|
|
|
* (bug 20624) Installation no longer allows "qqq" as the chosen language
|
2009-09-14 18:40:45 +00:00
|
|
|
* (bug 20634) The installer-created database user will now have all rights on
|
|
|
|
|
the database so that upgrades will go more smoothly.
|
2009-09-14 12:57:37 +00:00
|
|
|
* (bug 18180) Special:Export ignores limit, dir, offset parameters
|
2009-09-14 19:34:18 +00:00
|
|
|
* User::getBlockedStatus() works for all kinds of user objects and doesn't
|
|
|
|
|
assume the user object is equal to the current-user object ($wgUser)
|
2009-09-16 20:43:14 +00:00
|
|
|
* (bug 20517) Cancel link from edit page now returns to the old version when
|
|
|
|
|
editing an old version
|
2009-09-20 08:47:12 +00:00
|
|
|
* (bug 16902) Installer no longer shows warnings when exec() has been disabled
|
|
|
|
|
by disable_functions
|
2009-08-02 15:22:06 +00:00
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
== API changes in 1.16 ==
|
|
|
|
|
|
2009-03-26 13:10:13 +00:00
|
|
|
* Added uiprop=changeablegroups to meta=userinfo
|
2009-03-31 03:48:08 +00:00
|
|
|
* Added usprop=gender to list=users
|
2009-04-03 13:27:30 +00:00
|
|
|
* (bug 18311) action=purge now works for images too
|
2009-04-13 10:48:11 +00:00
|
|
|
* Add parentid to prop=revisions output
|
2009-04-17 10:49:20 +00:00
|
|
|
* (bug 17832) action=delete returns 'unknownerror' instead of 'permissiondenied'
|
|
|
|
|
when the user is blocked
|
2009-04-21 14:49:13 +00:00
|
|
|
* (bug 18546) Added timestamp of new revision to action=edit output
|
2009-04-22 09:21:33 +00:00
|
|
|
* (bug 18554) Also list hidden revisions in list=usercontribs for privileged
|
|
|
|
|
users
|
2009-04-27 14:09:47 +00:00
|
|
|
* (bug 13049) "API must be accessed from the primary script entry point" error
|
2009-04-28 11:42:14 +00:00
|
|
|
* (bug 16422) Don't display help for format=jsonfm unless specifically requested
|
2009-05-05 14:30:13 +00:00
|
|
|
* Added PHP and database version to meta=siteinfo output
|
2009-05-02 14:24:11 +00:00
|
|
|
* (bug 18533) Add readonly message to meta=siteinfo output
|
2009-05-04 15:10:42 +00:00
|
|
|
* (bug 18518) Add clprop=hidden to prop=categories
|
2009-05-08 17:24:49 +00:00
|
|
|
* (bug 18710) Fixed internal error with empty parameter in action=paraminfo
|
|
|
|
|
* (bug 18709) Missing descriptions for some parameters in action=paraminfo
|
|
|
|
|
output
|
2009-05-09 12:52:38 +00:00
|
|
|
* (bug 18731) Show correct SVN links for extension modules in api.php?version
|
2009-05-09 13:00:59 +00:00
|
|
|
* (bug 18730) Add version information to action=paraminfo output
|
2009-05-10 09:25:46 +00:00
|
|
|
* (bug 18743) Add ucprop=size to list=usercontribs
|
2009-05-10 09:52:31 +00:00
|
|
|
* (bug 18749) Add generator flag to action=paraminfo output
|
2009-05-17 14:34:28 +00:00
|
|
|
* Make action=block respect $wgEnableUserEmail and $wgSysopEmailBans
|
2009-06-05 19:18:56 +00:00
|
|
|
* Made deleting file description pages without files possible
|
2009-06-07 18:09:57 +00:00
|
|
|
* (bug 18773) Add content flag to siprop=namespaces output
|
2009-06-07 18:20:01 +00:00
|
|
|
* (bug 18785) Add siprop=languages to meta=siteinfo
|
2009-06-19 08:03:52 +00:00
|
|
|
* (bug 14200) Added user and excludeuser parameters to list=watchlist and
|
|
|
|
|
list=recentchanges
|
2009-06-20 18:25:30 +00:00
|
|
|
* Added index, fromtitle and byteoffset fields to action=parse&prop=sections
|
|
|
|
|
output
|
2009-06-21 09:49:52 +00:00
|
|
|
* (bug 19313) action=rollback returns wrong revid on master/slave setups
|
2009-06-21 12:52:24 +00:00
|
|
|
* (bug 19323) action=parse doesn't return section tree on pages with Cite
|
|
|
|
|
warnings
|
2009-06-25 11:05:22 +00:00
|
|
|
* (bug 18720) Add anchor field to action=parse&prop=sections output
|
2009-07-01 00:52:22 +00:00
|
|
|
* (bug 19423) The initial file description page used caption in user lang
|
|
|
|
|
rather than UI lang
|
2009-07-15 01:02:13 +00:00
|
|
|
* (bug 17809) Add number of users in user groups to meta=siteinfo
|
|
|
|
|
* (bug 18533) Add readonly reason to readonly exception
|
2009-07-13 21:37:49 +00:00
|
|
|
* (bug 19528) Added XSLT parameter to API queries in format=xml
|
2009-07-14 20:14:47 +00:00
|
|
|
* (bug 19040) Fix prependtext and appendtext in combination with section
|
|
|
|
|
parameter in action=edit
|
2009-07-14 20:48:00 +00:00
|
|
|
* (bug 19090) Added watchlist parameter, deprecated watch and unwatch
|
|
|
|
|
parameter in action=edit
|
* Added fields to list=search output: size, wordcount, timestamp, snippet
* Where supported by backend, list=search adds a 'searchinfo' element with
optional info: 'totalhits' count and 'suggestion' alternate query term
Snippets added to result items earlier by Roan; extended this with the other
byte size, word count, and timestamp available on the result items and exposed
through the regular UI.
Had to work out a backwards-compatible method for the search meta-information
with Roan; added a second 'searchinfo' element since adding attributes to
'search' would break compatibility for JSON output (despite being safe in XML).
'searchinfo' is present only if the backend supports the extra info and has
something available; 'totalhits' with a total hit count and 'suggestion' for
an alternate query suggestion (exposed as "Did you mean X?" link in UI).
Note that total hit counts can be enabled for MySQL backend now by setting
the experimental option $wgSearchMySQLTotalHits, but did-you-mean suggestions
are not yet supported and need to be tested with a hack or another backend.
Sample XML and JSON output with the new searchinfo items (which can be
present whether or not there are any result items):
<?xml version="1.0"?>
<api>
<query>
<searchinfo totalhits="0" suggestion="joe momma" />
<search />
</query>
</api>
{
"query": {
"searchinfo": {
"totalhits": 0,
"suggestion": "joe momma"
},
"search": [
]
}
}
The suggestion value is suitable for plugging back in as a search term,
if present.
2009-07-28 21:13:48 +00:00
|
|
|
* Added fields to list=search output: size, wordcount, timestamp, snippet
|
|
|
|
|
* Where supported by backend, list=search adds a 'searchinfo' element with
|
|
|
|
|
optional info: 'totalhits' count and 'suggestion' alternate query term
|
2009-07-31 21:56:34 +00:00
|
|
|
* (bug 19907) $wgCrossSiteAJAXdomains added to allow specified (or all)
|
|
|
|
|
external domains to access api.php via AJAX, if the browser supports the
|
|
|
|
|
Access-Control-Allow-Origin HTTP header
|
2009-08-25 20:18:12 +00:00
|
|
|
* (bug 19999) Made metadata and properties of search results optional. Added
|
|
|
|
|
srprop and srinfo.
|
2009-09-18 15:24:00 +00:00
|
|
|
* (bug 20700) Add amprop=default to meta=allmessages to list default value for
|
|
|
|
|
customized messages
|
|
|
|
|
* Don't parse magic words in meta=allmessages, output messages unparsed
|
2009-01-12 14:11:20 +00:00
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
=== Languages updated in 1.16 ===
|
2007-09-04 19:19:59 +00:00
|
|
|
|
2008-05-24 17:58:21 +00:00
|
|
|
MediaWiki supports over 300 languages. Many localisations are updated
|
2009-01-31 23:28:02 +00:00
|
|
|
regularly. Below only new and removed languages are listed, as well as
|
|
|
|
|
changes to languages because of MediaZilla reports.
|
2008-05-24 17:58:21 +00:00
|
|
|
|
2009-05-17 10:33:28 +00:00
|
|
|
* Lower Silesian (sli) (new)
|
2009-08-08 00:19:11 +00:00
|
|
|
* Picard (pcd) (new)
|
2009-05-17 10:33:28 +00:00
|
|
|
* Uyghur (Arabic script) (ug-arab) (new)
|
2009-08-28 15:15:37 +00:00
|
|
|
* Eastern Yiddish (ydd) (removed)
|
|
|
|
|
* Iriga Bicolano (bto) (removed)
|
|
|
|
|
* Palembang (plm) (removed)
|
|
|
|
|
* Tamazight (tzm) (removed)
|
2009-05-17 10:33:28 +00:00
|
|
|
|
2009-04-17 10:49:20 +00:00
|
|
|
* (bug 18474) Sorani (ckb - Central Kurdish) (renamed from ku-arab)
|
2009-04-17 13:32:49 +00:00
|
|
|
* Add PLURAL function for Scots Gaelic (gd)
|
2009-07-15 09:49:48 +00:00
|
|
|
* Add Estonian letters äöõšüž to linktrail (et)
|
2009-05-12 20:40:44 +00:00
|
|
|
* (bug 18776) Native name of Burmese language (my)
|
2009-05-17 14:34:28 +00:00
|
|
|
* (bug 18806) Use correct unicode characters in spelling of native Chuvash
|
2009-07-15 09:49:48 +00:00
|
|
|
(Чӑвашла)
|
2009-05-30 21:00:44 +00:00
|
|
|
* (bug 18864) Updated autonym for Zhuang language
|
2009-06-19 08:52:17 +00:00
|
|
|
* (bug 18308) Updated date formatting in Occitan (oc)
|
2009-07-15 09:49:48 +00:00
|
|
|
* (bug 19080) Added ăâîşţșțĂÂÎŞŢȘȚ to Romanion (ro) linktrail
|
2009-06-19 08:52:17 +00:00
|
|
|
* (bug 19286) Correct commafying function in Polish (pl)
|
2009-07-01 06:23:30 +00:00
|
|
|
* (bug 19441) Updated date formatting for Lithuanian
|
2009-07-15 09:49:48 +00:00
|
|
|
* (bug 19630) Added ÄäÇçĞğŇňÖöŞşÜüÝýŽž to Turkmen (tk) linktrail
|
2009-07-28 07:07:33 +00:00
|
|
|
* (bug 19949) New linktrail for Greek (el)
|
2009-07-29 14:32:06 +00:00
|
|
|
* (bug 19809) Korean (North Korea) (ko-kp) (new)
|
2009-07-29 18:18:25 +00:00
|
|
|
* (bug 19968) Fixed "Project talk" namespace name for Maltese (mt)
|
2009-01-21 15:04:46 +00:00
|
|
|
|
2007-09-04 19:19:59 +00:00
|
|
|
== Compatibility ==
|
|
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
MediaWiki 1.16 requires PHP 5 (5.2 recommended). PHP 4 is no longer supported.
|
2007-09-04 19:19:59 +00:00
|
|
|
|
|
|
|
|
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 ==
|
|
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
1.16 has several database changes since 1.15, and will not work without schema
|
2008-09-18 19:18:22 +00:00
|
|
|
updates.
|
|
|
|
|
|
2008-11-12 00:40:33 +00:00
|
|
|
If upgrading from before 1.11, and you are using a wiki as a commons reposito-
|
|
|
|
|
ry, make sure that it is updated as well. Otherwise, errors may arise due to
|
2007-12-26 18:52:54 +00:00
|
|
|
database schema changes.
|
|
|
|
|
|
2008-07-23 16:11:57 +00:00
|
|
|
If upgrading from before 1.7, you may want to run refreshLinks.php to ensure
|
|
|
|
|
new database fields are filled with data.
|
|
|
|
|
|
2007-09-04 19:19:59 +00:00
|
|
|
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.
|
|
|
|
|
|
2007-09-06 00:17:56 +00:00
|
|
|
|
2007-09-04 19:19:59 +00:00
|
|
|
=== 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.)
|
|
|
|
|
|
2009-05-01 03:38:02 +00:00
|
|
|
For notes on 1.15.x and older releases, see HISTORY.
|
2007-09-04 19:19:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
=== 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 ===
|
|
|
|
|
|
2009-02-27 07:13:37 +00:00
|
|
|
There's usually someone online in #mediawiki on irc.freenode.net
|