Merge "API: created a new api to flag messages as read"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 8 Sep 2014 15:20:30 +0000 (15:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 8 Sep 2014 15:20:30 +0000 (15:20 +0000)
1  2 
RELEASE-NOTES-1.24
includes/AutoLoader.php

diff --combined RELEASE-NOTES-1.24
@@@ -70,10 -70,6 +70,10 @@@ production
    we will send rel=alternate.
  
  === New features in 1.24 ===
 +* Added new hook WatchlistEditorBeforeFormRender, allowing subscribers to
 +  manipulate the list of pages and/or preload lots of data at once.
 +* Added new argument &$link in hook WatchlistEditorBuildRemoveLine, allowing the
 +  link to the title to be changed.
  * Added a new hook, "WhatLinksHereProps", to allow extensions to annotate
    WhatLinksHere entries.
  * Added a new hook, "ContentGetParserOutput", to customize parser output for
    Special:PageLanguage. All pages are set to wiki language by default.
    The feature needs to be enabled with $wgPageLanguageUseDB=true and
    permission needs to be set for 'pagelang'.
 -* Upgrade Moment.js to v2.8.1.
 +* Upgrade Moment.js to v2.8.3.
  * (bug 67042) Added support for the HTML5 <rtc> tag for East Asian typography.
  * Upgrade Sinon.JS to 1.10.3.
  * Added the es5-shim polyfill for older or non-compliant javascript engines.
  * API token handling has been rewritten. Any API module using tokens will need
    to be updated. See the entry below under "Action API internal changes".
  * Added HTMLAutoCompleteSelectField.
 +* Added a new hook, "SkinPreloadExistence", to allow extensions to add titles to
 +  link existence cache before the page is rendered.
  
  === Bug fixes in 1.24 ===
  * (bug 50572) MediaWiki:Blockip should support gender
  * (bugs 57238, 65206) Blank pages can now be directly created.
  * (bug 69789) Title::getContentModel() now loads from the database when
    necessary instead of incorrectly returning the default content model.
 +* (bug 69249) wfBaseConvert() now works around PHP Bug #50175 when using GMP.
  
  === Action API changes in 1.24 ===
  * action=parse API now supports prop=modules, which provides the list of
    of fetching tokens are deprecated. The value needed for meta=tokens's 'type'
    parameter for each module is documented in the action=help output and is
    returned from action=paraminfo.
+ * New action ClearHasMsg that can be used to clear HasMsg flag.
  
  === Action API internal changes in 1.24 ===
  * Methods for handling continuation are added to ApiResult, so actions other
@@@ -355,13 -349,6 +356,13 @@@ changes to languages because of Bugzill
    the "headelement" template key are no longer supported. Setting
    $useHeadElement = false; is no longer supported and will not cause old keys
    like "headlinks", "skinnameclass", etc. to be defined.
 +* BREAKING CHANGE: The files commonElements.css, commonContent.css and
 +  commonInterface.css (in skins/common/) have been removed. Skins may no longer
 +  rely on their presence and include them in their style modules. ResourceLoader
 +  modules introduced in MediaWiki 1.23 should be loaded instead:
 +  - skins/common/commonElements.css  → 'mediawiki.skinning.elements' module
 +  - skins/common/commonContent.css   → 'mediawiki.skinning.content' module
 +  - skins/common/commonInterface.css → 'mediawiki.skinning.interface' module
  * The deprecated 'SpecialVersionExtensionTypes' hook was removed.
  * (bug 63891) Add 'X-Robots-Tag: noindex' header in action=render pages.
  * SpecialPage no longer supports the syntax for invoking wfSpecial*() functions.
    stylesheet. It was ignored by most browsers these days anyway.
  * SpecialSearchNoResults hook has been removed. SpecialSearchResults is now
    called unconditionally.
 +* TablePager::getBody() is now 'final' and can't be overridden in subclasses.
 +* TablePager::getBody() is deprecated, use getBodyOutput() or getFullOutput().
 +* log_page for move log entries store the original page ID, rather than that 
 +  of the new redirect page. This is not retroactive.
 +* LCStoreAccel was removed. $wgLocalisationCacheConf can no longer be set to 
 +  use this store class.
  
  ==== Renamed classes ====
  * CLDRPluralRuleConverter_Expression to CLDRPluralRuleConverterExpression
diff --combined includes/AutoLoader.php
@@@ -36,12 -36,8 +36,12 @@@ $wgAutoloadLocalClasses = array
        'AuthPluginUser' => 'includes/AuthPlugin.php',
        'Autopromote' => 'includes/Autopromote.php',
        'Block' => 'includes/Block.php',
 +      'BloomCache' => 'includes/cache/bloom/BloomCache.php',
 +      'BloomCacheRedis' => 'includes/cache/bloom/BloomCacheRedis.php',
 +      'BloomFilterTitleHasLogs' => 'includes/cache/bloom/BloomFilters.php',
 +      'CacheHelper' => 'includes/CacheHelper.php',
        'Category' => 'includes/Category.php',
 -      'Categoryfinder' => 'includes/Categoryfinder.php',
 +      'CategoryFinder' => 'includes/CategoryFinder.php',
        'CategoryViewer' => 'includes/CategoryViewer.php',
        'ChangeTags' => 'includes/ChangeTags.php',
        'ChannelFeed' => 'includes/Feed.php',
@@@ -69,7 -65,6 +69,7 @@@
        'DumpPipeOutput' => 'includes/Export.php',
        'EditPage' => 'includes/EditPage.php',
        'EmailNotification' => 'includes/UserMailer.php',
 +      'EmptyBloomCache' => 'includes/cache/bloom/BloomCache.php',
        'Fallback' => 'includes/Fallback.php',
        'FauxRequest' => 'includes/WebRequest.php',
        'FauxResponse' => 'includes/WebResponse.php',
        # includes/api
        'ApiBase' => 'includes/api/ApiBase.php',
        'ApiBlock' => 'includes/api/ApiBlock.php',
+       'ApiClearHasMsg' => 'includes/api/ApiClearHasMsg.php',
        'ApiComparePages' => 'includes/api/ApiComparePages.php',
        'ApiCreateAccount' => 'includes/api/ApiCreateAccount.php',
        'ApiDelete' => 'includes/api/ApiDelete.php',
        'HTMLFileCache' => 'includes/cache/HTMLFileCache.php',
        'ICacheHelper' => 'includes/cache/CacheHelper.php',
        'LCStore' => 'includes/cache/LocalisationCache.php',
 -      'LCStoreAccel' => 'includes/cache/LocalisationCache.php',
        'LCStoreCDB' => 'includes/cache/LocalisationCache.php',
        'LCStoreDB' => 'includes/cache/LocalisationCache.php',
        'LCStoreNull' => 'includes/cache/LocalisationCache.php',