Merge "Remove the showjumplinks user preference"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 2 Aug 2013 17:23:59 +0000 (17:23 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 2 Aug 2013 17:23:59 +0000 (17:23 +0000)
1  2 
RELEASE-NOTES-1.22
includes/DefaultSettings.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

diff --combined RELEASE-NOTES-1.22
@@@ -167,12 -167,6 +167,12 @@@ production
  * (bug 30713) New mw.hook "wikipage.content".
  * (bug 40430) jquery.placeholder gets a new parameter to set the attribute value
    to be used.
 +* $wgHTCPMulticastRouting renamed $wgHTCPRouting since it accepts unicast.
 +* $wgHTCPRouting rules can now be passed an array of hosts/ports to send purge
 +  too. Can be used whenever several multicast group could be interested by a
 +  specific purge.
 +* (bug 25931) Add Special:RandomInCategory.
 +* mediawiki.util: addPortletLink now supports passing a jQuery object as nextnode.
  
  === Bug fixes in 1.22 ===
  * Disable Special:PasswordReset when $wgEnableEmail is false. Previously one
  * (bug 51891) Fixed PHP notice on Special:PagesWithProp when no properties
    are defined.
  * (bug 52006) Corrected documentation of $wgTranscludeCacheExpiry.
 +* (bug 52077) The APIEditBeforeSave hook is giving the content of the whole
 +  revision as second argument now, rather than just the current section.
  * (bug 49694) $wgSpamRegex is now also applied on the new section headline text
    adding a new topic on a page
  
@@@ -373,6 -365,8 +373,8 @@@ changes to languages because of Bugzill
    jobs to the job table to update pages which use the edited page as a template.
  * The LivePreviewPrepare and LivePreviewDone events triggered on "jQuery( mw )"
    have been deprecated in favour of using mw.hook.
+ * The 'showjumplinks' user preference has been removed, jump links are now
+   always included.
  
  == Compatibility ==
  
@@@ -2166,12 -2166,12 +2166,12 @@@ $wgSquidPurgeUseHostHeader = true
   * Each key in this array is a regular expression to match against the purged
   * URL, or an empty string to match all URLs. The purged URL is matched against
   * the regexes in the order specified, and the first rule whose regex matches
 - * is used.
 + * is used, all remaining rules will thus be ignored.
   *
 - * Example configuration to send purges for upload.wikimedia.org to one
 + * @par Example configuration to send purges for upload.wikimedia.org to one
   * multicast group and all other purges to another:
   * @code
 - * $wgHTCPMulticastRouting = array(
 + * $wgHTCPRouting = array(
   *         '|^https?://upload\.wikimedia\.org|' => array(
   *                 'host' => '239.128.0.113',
   *                 'port' => 4827,
   * );
   * @endcode
   *
 - * @since 1.20
 + * You can also pass an array of hosts to send purges too. This is useful when
 + * you have several multicast groups or unicast address that should receive a
 + * given purge.  Multiple hosts support was introduced in MediaWiki 1.22.
 + *
 + * @par Example of sending purges to multiple hosts:
 + * @code
 + * $wgHTCPRouting = array(
 + *     '' => array(
 + *         // Purges to text caches using multicast
 + *         array( 'host' => '239.128.0.114', 'port' => '4827' ),
 + *         // Purges to a hardcoded list of caches
 + *         array( 'host' => '10.88.66.1', 'port' => '4827' ),
 + *         array( 'host' => '10.88.66.2', 'port' => '4827' ),
 + *         array( 'host' => '10.88.66.3', 'port' => '4827' ),
 + *     ),
 + * );
 + * @endcode
 + *
 + * @since 1.22
 + *
 + * $wgHTCPRouting replaces $wgHTCPMulticastRouting that was introduced in 1.20.
 + * For back compatibility purposes, whenever its array is empty
 + * $wgHTCPMutlicastRouting will be used as a fallback if it not null.
   *
   * @see $wgHTCPMulticastTTL
   */
 -$wgHTCPMulticastRouting = array();
 +$wgHTCPRouting = array();
 +
 +/**
 + * @deprecated since 1.22, please use $wgHTCPRouting instead.
 + *
 + * Whenever this is set and $wgHTCPRouting evaluates to false, $wgHTCPRouting 
 + * will be set to this value.
 + * This is merely for back compatibility.
 + *
 + * @since 1.20
 + */
 +$wgHTCPMulticastRouting = null;
  
  /**
   * HTCP multicast address. Set this to a multicast IP address to enable HTCP.
   * Note that MediaWiki uses the old non-RFC compliant HTCP format, which was
   * present in the earliest Squid implementations of the protocol.
   *
 - * This setting is DEPRECATED in favor of $wgHTCPMulticastRouting , and kept
 - * for backwards compatibility only. If $wgHTCPMulticastRouting is set, this
 - * setting is ignored. If $wgHTCPMulticastRouting is not set and this setting
 - * is, it is used to populate $wgHTCPMulticastRouting.
 + * This setting is DEPRECATED in favor of $wgHTCPRouting , and kept for
 + * backwards compatibility only. If $wgHTCPRouting is set, this setting is
 + * ignored. If $wgHTCPRouting is not set and this setting is, it is used to
 + * populate $wgHTCPRouting.
   *
 - * @deprecated since 1.20 in favor of $wgHTCPMulticastRouting
 + * @deprecated since 1.20 in favor of $wgHTCPMulticastRouting and since 1.22 in
 + * favor of $wgHTCPRouting.
   */
  $wgHTCPMulticastAddress = false;
  
  /**
   * HTCP multicast port.
 - * @deprecated since 1.20 in favor of $wgHTCPMulticastRouting
 + * @deprecated since 1.20 in favor of $wgHTCPMulticastRouting and since 1.22 in
 + * favor of $wgHTCPRouting.
 + *
   * @see $wgHTCPMulticastAddress
   */
  $wgHTCPPort = 4827;
  
  /**
   * HTCP multicast TTL.
 - * @see $wgHTCPMulticastRouting
 + * @see $wgHTCPRouting
   */
  $wgHTCPMulticastTTL = 1;
  
@@@ -3712,7 -3676,6 +3712,6 @@@ $wgDefaultUserOptions = array
        'rows' => 25,
        'searchlimit' => 20,
        'showhiddencats' => 0,
-       'showjumplinks' => 1,
        'shownumberswatching' => 1,
        'showtoc' => 1,
        'showtoolbar' => 1,
@@@ -161,25 -161,21 +161,25 @@@ $datePreferenceMigrationMap = array
  $dateFormats = array(
        'mdy time' => 'H:i',
        'mdy date' => 'F j, Y',
 +      'mdy monthonly' => 'F Y',
        'mdy both' => 'H:i, F j, Y',
        'mdy pretty' => 'F j',
  
        'dmy time' => 'H:i',
        'dmy date' => 'j F Y',
 +      'dmy monthonly' => 'F Y',
        'dmy both' => 'H:i, j F Y',
        'dmy pretty' => 'j F',
  
        'ymd time' => 'H:i',
        'ymd date' => 'Y F j',
 +      'ymd monthonly' => 'Y F',
        'ymd both' => 'H:i, Y F j',
        'ymd pretty' => 'F j',
  
        'ISO 8601 time' => 'xnH:xni:xns',
        'ISO 8601 date' => 'xnY-xnm-xnd',
 +      'ISO 8601 monthonly' => 'xnY-xnm',
        'ISO 8601 both' => 'xnY-xnm-xnd"T"xnH:xni:xns',
        'ISO 8601 pretty' => 'xnm-xnd'
  );
@@@ -450,7 -446,6 +450,7 @@@ $specialPageAliases = array
        'Protectedpages'            => array( 'ProtectedPages' ),
        'Protectedtitles'           => array( 'ProtectedTitles' ),
        'Randompage'                => array( 'Random', 'RandomPage' ),
 +      'RandomInCategory'          => array( 'RandomInCategory' ),
        'Randomredirect'            => array( 'RandomRedirect' ),
        'Recentchanges'             => array( 'RecentChanges' ),
        'Recentchangeslinked'       => array( 'RecentChangesLinked', 'RelatedChanges' ),
@@@ -680,7 -675,6 +680,6 @@@ future releases. Also note that since e
  'tog-shownumberswatching'     => 'Show the number of watching users',
  'tog-oldsig'                  => 'Existing signature:',
  'tog-fancysig'                => 'Treat signature as wikitext (without an automatic link)',
- 'tog-showjumplinks'           => 'Enable "jump to" accessibility links',
  'tog-uselivepreview'          => 'Use live preview (requires JavaScript) (experimental)',
  'tog-forceeditsummary'        => 'Prompt me when entering a blank edit summary',
  'tog-watchlisthideown'        => 'Hide my edits from the watchlist',
@@@ -2114,7 -2108,7 +2113,7 @@@ Your email address is not revealed whe
  'right-hideuser'              => 'Block a username, hiding it from the public',
  'right-ipblock-exempt'        => 'Bypass IP blocks, auto-blocks and range blocks',
  'right-proxyunbannable'       => 'Bypass automatic blocks of proxies',
 -'right-unblockself'           => 'Unblock themselves',
 +'right-unblockself'           => 'Unblock oneself',
  'right-protect'               => 'Change protection levels and edit cascade-protected pages',
  'right-editprotected'         => 'Edit pages protected as "{{int:protect-level-sysop}}"',
  'right-editsemiprotected'     => 'Edit pages protected as "{{int:protect-level-autoconfirmed}}"',
@@@ -2629,13 -2623,6 +2628,13 @@@ Remember to check for other links to th
  'randompage-nopages' => 'There are no pages in the following {{PLURAL:$2|namespace|namespaces}}: $1.',
  'randompage-url'     => 'Special:Random', # do not translate or duplicate this message to other languages
  
 +# Random page in category
 +'randomincategory'                  => 'Random page in category',
 +'randomincategory-invalidcategory'  => '"$1" is not a valid category name.',
 +'randomincategory-nopages'          => 'There are no pages in [[:Category:$1]].',
 +'randomincategory-selectcategory'   => 'Get random page from category: $1 $2.',
 +'randomincategory-selectcategory-submit' => 'Go',
 +
  # Random redirect
  'randomredirect'         => 'Random redirect',
  'randomredirect-nopages' => 'There are no redirects in the namespace "$1".',
@@@ -4850,7 -4837,6 +4849,7 @@@ You can also [[Special:EditWatchlist|us
  'version-license'                       => 'License',
  'version-poweredby-credits'             => "This wiki is powered by '''[//www.mediawiki.org/ MediaWiki]''', copyright © 2001-$1 $2.",
  'version-poweredby-others'              => 'others',
 +'version-poweredby-translators'         => 'translatewiki.net translators',
  'version-credits-summary'               => 'We would like to recognize the following persons for their contribution to [[Special:Version|MediaWiki]].',
  'version-license-info'                  => 'MediaWiki is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
  
@@@ -56,7 -56,6 +56,6 @@@ $wgMessageStructure = array
                'tog-shownumberswatching',
                'tog-oldsig',
                'tog-fancysig',
-               'tog-showjumplinks',
                'tog-uselivepreview',
                'tog-forceeditsummary',
                'tog-watchlisthideown',
                'randompage-nopages',
                'randompage-url',
        ),
 +      'randomincategory' => array(
 +              'randomincategory',
 +              'randomincategory-invalidcategory',
 +              'randomincategory-nopages',
 +              'randomincategory-selectcategory',
 +              'randomincategory-selectcategory-submit',
 +      ),
        'randomredirect' => array(
                'randomredirect',
                'randomredirect-nopages',
                'version-license',
                'version-poweredby-credits',
                'version-poweredby-others',
 +              'version-poweredby-translators',
                'version-credits-summary',
                'version-license-info',
                'version-software',
@@@ -4036,7 -4027,6 +4035,7 @@@ future releases. Also note that since e
        'listredirects'       => 'List redirects',
        'unusedtemplates'     => 'Unused templates',
        'randompage'          => 'Random page',
 +      'randomincategory'    => 'Special:RandomInCategory',
        'randomredirect'      => 'Random redirect',
        'statistics'          => 'Statistics',
        'disambiguations'     => '',