Some bugzilla.wikimedia.org -> phabricator.wikimedia.org changes

Changed some old bugzilla links to new phabricator links in comments,
test data and error message. This reduces the need for redirects from
old bugzilla to new phabricator from our source code.

Change-Id: Id98278e26ce31656295a23f3cadb536859c4caa5
This commit is contained in:
umherirrender 2015-09-12 15:54:13 +02:00
parent 4bdfdcbae3
commit 271da88127
25 changed files with 37 additions and 37 deletions

View file

@ -5,7 +5,7 @@ specific problems, check
* the documentation at https://www.mediawiki.org * the documentation at https://www.mediawiki.org
* the mediawiki-l mailing list archive at * the mediawiki-l mailing list archive at
http://lists.wikimedia.org/pipermail/mediawiki-l/ http://lists.wikimedia.org/pipermail/mediawiki-l/
* the bug tracker at https://bugzilla.wikimedia.org * the bug tracker at https://phabricator.wikimedia.org
for information and workarounds to common issues. for information and workarounds to common issues.

View file

@ -635,7 +635,7 @@ function wfExpandUrl( $url, $defaultProto = PROTO_CURRENT ) {
$bits = wfParseUrl( $url ); $bits = wfParseUrl( $url );
// ensure proper port for HTTPS arrives in URL // ensure proper port for HTTPS arrives in URL
// https://bugzilla.wikimedia.org/show_bug.cgi?id=65184 // https://phabricator.wikimedia.org/T67184
if ( $defaultProto === PROTO_HTTPS && $wgHttpsPort != 443 ) { if ( $defaultProto === PROTO_HTTPS && $wgHttpsPort != 443 ) {
$bits['port'] = $wgHttpsPort; $bits['port'] = $wgHttpsPort;
} }

View file

@ -75,7 +75,7 @@ class HtmlFormatter {
// Workaround for bug that caused spaces before references // Workaround for bug that caused spaces before references
// to disappear during processing: // to disappear during processing:
// https://bugzilla.wikimedia.org/show_bug.cgi?id=53086 // https://phabricator.wikimedia.org/T55086
// //
// Please replace with a better fix if one can be found. // Please replace with a better fix if one can be found.
$html = str_replace( ' <', '&#32;<', $html ); $html = str_replace( ' <', '&#32;<', $html );

View file

@ -69,7 +69,7 @@ class ApiFormatPhp extends ApiFormatBase {
) { ) {
$this->dieUsage( $this->dieUsage(
'This response cannot be represented using format=php. ' . 'This response cannot be represented using format=php. ' .
'See https://bugzilla.wikimedia.org/show_bug.cgi?id=66776', 'See https://phabricator.wikimedia.org/T68776',
'internalerror' 'internalerror'
); );
} }

View file

@ -302,7 +302,7 @@ abstract class DatabaseMysqlBase extends DatabaseBase {
// We are not checking for any errors here, since // We are not checking for any errors here, since
// these are no errors mysql_num_rows can cause. // these are no errors mysql_num_rows can cause.
// See http://dev.mysql.com/doc/refman/5.0/en/mysql-fetch-row.html. // See http://dev.mysql.com/doc/refman/5.0/en/mysql-fetch-row.html.
// See https://bugzilla.wikimedia.org/42430 // See https://phabricator.wikimedia.org/T44430
return $n; return $n;
} }

View file

@ -806,7 +806,7 @@ class DatabaseSqlite extends DatabaseBase {
// https://bugs.php.net/bug.php?id=62361 // https://bugs.php.net/bug.php?id=62361
// There is an additional bug regarding sorting this data after insert // There is an additional bug regarding sorting this data after insert
// on older versions of sqlite shipped with ubuntu 12.04 // on older versions of sqlite shipped with ubuntu 12.04
// https://bugzilla.wikimedia.org/show_bug.cgi?id=72367 // https://phabricator.wikimedia.org/T74367
wfDebugLog( __CLASS__, __FUNCTION__ . ': Quoting value containing null byte. For consistency all binary data should have been first processed with self::encodeBlob()' ); wfDebugLog( __CLASS__, __FUNCTION__ . ': Quoting value containing null byte. For consistency all binary data should have been first processed with self::encodeBlob()' );
return "x'" . bin2hex( $s ) . "'"; return "x'" . bin2hex( $s ) . "'";
} else { } else {

View file

@ -534,7 +534,7 @@ abstract class Installer {
// then some poorly-formed extensions try to call their own classes // then some poorly-formed extensions try to call their own classes
// after immediately registering them. We really need to get extension // after immediately registering them. We really need to get extension
// registration out of the global scope and into a real format. // registration out of the global scope and into a real format.
// @see https://bugzilla.wikimedia.org/67440 // @see https://phabricator.wikimedia.org/T69440
global $wgAutoloadClasses; global $wgAutoloadClasses;
$wgAutoloadClasses = array(); $wgAutoloadClasses = array();
@ -1477,7 +1477,7 @@ abstract class Installer {
* want here is $wgHooks['LoadExtensionSchemaUpdates']. This won't work * want here is $wgHooks['LoadExtensionSchemaUpdates']. This won't work
* if the extension has hidden hook registration in $wgExtensionFunctions, * if the extension has hidden hook registration in $wgExtensionFunctions,
* but we're not opening that can of worms * but we're not opening that can of worms
* @see https://bugzilla.wikimedia.org/show_bug.cgi?id=26857 * @see https://phabricator.wikimedia.org/T28857
*/ */
global $wgAutoloadClasses; global $wgAutoloadClasses;
$wgAutoloadClasses = array(); $wgAutoloadClasses = array();

View file

@ -113,9 +113,9 @@ class MediaWikiSite extends Site {
return $t->getPrefixedText(); return $t->getPrefixedText();
} else { } else {
// Make sure the string is normalized into NFC (due to the bug 40017) // Make sure the string is normalized into NFC (due to T42017)
// but do nothing to the whitespaces, that should work appropriately. // but do nothing to the whitespaces, that should work appropriately.
// @see https://bugzilla.wikimedia.org/show_bug.cgi?id=40017 // @see https://phabricator.wikimedia.org/T42017
$pageName = UtfNormal\Validator::cleanUp( $pageName ); $pageName = UtfNormal\Validator::cleanUp( $pageName );
// Build the args for the specific call // Build the args for the specific call

View file

@ -1380,7 +1380,7 @@ class LoginForm extends SpecialPage {
if ( $this->mType == 'signup' ) { if ( $this->mType == 'signup' ) {
// XXX hack pending RL or JS parse() support for complex content messages // XXX hack pending RL or JS parse() support for complex content messages
// https://bugzilla.wikimedia.org/show_bug.cgi?id=25349 // https://phabricator.wikimedia.org/T27349
$out->addJsConfigVars( 'wgCreateacctImgcaptchaHelp', $out->addJsConfigVars( 'wgCreateacctImgcaptchaHelp',
$this->msg( 'createacct-imgcaptcha-help' )->parse() ); $this->msg( 'createacct-imgcaptcha-help' )->parse() );

View file

@ -2678,7 +2678,7 @@ class Language {
# Even with //IGNORE iconv can whine about illegal characters in # Even with //IGNORE iconv can whine about illegal characters in
# *input* string. We just ignore those too. # *input* string. We just ignore those too.
# REF: http://bugs.php.net/bug.php?id=37166 # REF: http://bugs.php.net/bug.php?id=37166
# REF: https://bugzilla.wikimedia.org/show_bug.cgi?id=16885 # REF: https://phabricator.wikimedia.org/T18885
MediaWiki\suppressWarnings(); MediaWiki\suppressWarnings();
$text = iconv( $in, $out . '//IGNORE', $string ); $text = iconv( $in, $out . '//IGNORE', $string );
MediaWiki\restoreWarnings(); MediaWiki\restoreWarnings();

View file

@ -1,3 +1,3 @@
-- Hopefully temporary index. -- Hopefully temporary index.
-- For https://bugzilla.wikimedia.org/show_bug.cgi?id=21279 -- For https://phabricator.wikimedia.org/T23279
CREATE INDEX /*i*/ar_revid ON /*$wgDBprefix*/archive ( ar_rev_id ); CREATE INDEX /*i*/ar_revid ON /*$wgDBprefix*/archive ( ar_rev_id );

View file

@ -1,7 +1,7 @@
-- --
-- patch-backlinkindexes.sql -- patch-backlinkindexes.sql
-- --
-- Per bug 6440 / http://bugzilla.wikimedia.org/show_bug.cgi?id=6440 -- Per task T8440 / https://phabricator.wikimedia.org/T8440
-- --
-- Improve performance of the "what links here"-type queries -- Improve performance of the "what links here"-type queries
-- --

View file

@ -1,7 +1,7 @@
-- --
-- patch-categorylinksindex.sql -- patch-categorylinksindex.sql
-- --
-- Per bug 10280 / http://bugzilla.wikimedia.org/show_bug.cgi?id=10280 -- Per task T12280 / https://phabricator.wikimedia.org/T12280
-- --
-- Improve enum continuation performance of the what pages belong to a category query -- Improve enum continuation performance of the what pages belong to a category query
-- --

View file

@ -19,7 +19,7 @@
* *
* @file * @file
* @author TyA <tya.wiki@gmail.com> * @author TyA <tya.wiki@gmail.com>
* @see [[bugzilla:30976]] * @see https://phabricator.wikimedia.org/T32976
* @ingroup Maintenance * @ingroup Maintenance
*/ */

View file

@ -263,7 +263,7 @@
* *
* TODO: Is there a way we can ask the browser what's supported in `<img>`s? * TODO: Is there a way we can ask the browser what's supported in `<img>`s?
* *
* TODO: Put SVG back after working around Firefox 7 bug <https://bugzilla.wikimedia.org/show_bug.cgi?id=31643> * TODO: Put SVG back after working around Firefox 7 bug <https://phabricator.wikimedia.org/T33643>
* *
* @param {File} file * @param {File} file
* @return {boolean} * @return {boolean}

View file

@ -1151,7 +1151,7 @@ abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
/** /**
* Note: we are overriding this method to remove the deprecated error * Note: we are overriding this method to remove the deprecated error
* @see https://bugzilla.wikimedia.org/show_bug.cgi?id=69505 * @see https://phabricator.wikimedia.org/T71505
* @see https://github.com/sebastianbergmann/phpunit/issues/1292 * @see https://github.com/sebastianbergmann/phpunit/issues/1292
* @deprecated * @deprecated
* *

View file

@ -551,10 +551,10 @@ class GlobalTest extends MediaWikiTestCase {
public static function provideMakeUrlIndexes() { public static function provideMakeUrlIndexes() {
return array( return array(
// Testcase for T30627
array( array(
// just a regular :) 'https://example.org/test.cgi?id=12345',
'https://bugzilla.wikimedia.org/show_bug.cgi?id=28627', array( 'https://org.example./test.cgi?id=12345' )
array( 'https://org.wikimedia.bugzilla./show_bug.cgi?id=28627' )
), ),
array( array(
// mailtos are handled special // mailtos are handled special
@ -563,7 +563,7 @@ class GlobalTest extends MediaWikiTestCase {
array( 'mailto:org.wikimedia@wiki.' ) array( 'mailto:org.wikimedia@wiki.' )
), ),
// file URL cases per bug 28627... // file URL cases per T30627...
array( array(
// three slashes: local filesystem path Unix-style // three slashes: local filesystem path Unix-style
'file:///whatever/you/like.txt', 'file:///whatever/you/like.txt',
@ -587,12 +587,12 @@ class GlobalTest extends MediaWikiTestCase {
// Those will survive the algorithm but with results that // Those will survive the algorithm but with results that
// are less consistent. // are less consistent.
// protocol-relative URL cases per bug 29854... // protocol-relative URL cases per T31854...
array( array(
'//bugzilla.wikimedia.org/show_bug.cgi?id=28627', '//example.org/test.cgi?id=12345',
array( array(
'http://org.wikimedia.bugzilla./show_bug.cgi?id=28627', 'http://org.example./test.cgi?id=12345',
'https://org.wikimedia.bugzilla./show_bug.cgi?id=28627' 'https://org.example./test.cgi?id=12345'
) )
), ),
); );

View file

@ -114,7 +114,7 @@ class HtmlFormatterTest extends MediaWikiTestCase {
array(), array(),
$removeTags, // Have some rules to trigger a DOM parse $removeTags, // Have some rules to trigger a DOM parse
), ),
// https://bugzilla.wikimedia.org/show_bug.cgi?id=53086 // https://phabricator.wikimedia.org/T55086
array( array(
'Foo<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup>' 'Foo<sup id="cite_ref-1" class="reference"><a href="#cite_note-1">[1]</a></sup>'
. ' <a href="/wiki/Bar" title="Bar" class="mw-redirect">Bar</a>', . ' <a href="/wiki/Bar" title="Bar" class="mw-redirect">Bar</a>',

View file

@ -92,7 +92,7 @@ class ActionTest extends MediaWikiTestCase {
} }
public function testGetActionName_editredlinkWorkaround() { public function testGetActionName_editredlinkWorkaround() {
// See https://bugzilla.wikimedia.org/show_bug.cgi?id=20966 // See https://phabricator.wikimedia.org/T22966
$context = $this->getContext( 'editredlink' ); $context = $this->getContext( 'editredlink' );
$actionName = Action::getActionName( $context ); $actionName = Action::getActionName( $context );
@ -100,7 +100,7 @@ class ActionTest extends MediaWikiTestCase {
} }
public function testGetActionName_historysubmitWorkaround() { public function testGetActionName_historysubmitWorkaround() {
// See https://bugzilla.wikimedia.org/show_bug.cgi?id=20966 // See https://phabricator.wikimedia.org/T22966
$context = $this->getContext( 'historysubmit' ); $context = $this->getContext( 'historysubmit' );
$actionName = Action::getActionName( $context ); $actionName = Action::getActionName( $context );
@ -108,7 +108,7 @@ class ActionTest extends MediaWikiTestCase {
} }
public function testGetActionName_revisiondeleteWorkaround() { public function testGetActionName_revisiondeleteWorkaround() {
// See https://bugzilla.wikimedia.org/show_bug.cgi?id=20966 // See https://phabricator.wikimedia.org/T22966
$context = $this->getContext( 'historysubmit' ); $context = $this->getContext( 'historysubmit' );
$context->getRequest()->setVal( 'revisiondelete', true ); $context->getRequest()->setVal( 'revisiondelete', true );
$actionName = Action::getActionName( $context ); $actionName = Action::getActionName( $context );

View file

@ -30,11 +30,11 @@ class ApiBlockTest extends ApiTestCase {
/** /**
* This test has probably always been broken and use an invalid token * This test has probably always been broken and use an invalid token
* Bug tracking brokenness is https://bugzilla.wikimedia.org/35646 * Bug tracking brokenness is https://phabricator.wikimedia.org/T37646
* *
* Root cause is https://gerrit.wikimedia.org/r/3434 * Root cause is https://gerrit.wikimedia.org/r/3434
* Which made the Block/Unblock API to actually verify the token * Which made the Block/Unblock API to actually verify the token
* previously always considered valid (bug 34212). * previously always considered valid (T37646).
*/ */
public function testMakeNormalBlock() { public function testMakeNormalBlock() {
$tokens = $this->getTokens(); $tokens = $this->getTokens();

View file

@ -11,7 +11,7 @@
* @todo Port the other Upload tests, and other API tests to this framework * @todo Port the other Upload tests, and other API tests to this framework
* *
* @todo Broken test, reports false errors from time to time. * @todo Broken test, reports false errors from time to time.
* See https://bugzilla.wikimedia.org/26169 * See https://phabricator.wikimedia.org/T28169
* *
* @todo This is pretty sucky... needs to be prettified. * @todo This is pretty sucky... needs to be prettified.
* *

View file

@ -134,7 +134,7 @@ class ApiFormatPhpTest extends ApiFormatTestBase {
} catch ( UsageException $ex ) { } catch ( UsageException $ex ) {
ob_end_clean(); ob_end_clean();
$this->assertSame( $this->assertSame(
'This response cannot be represented using format=php. See https://bugzilla.wikimedia.org/show_bug.cgi?id=66776', 'This response cannot be represented using format=php. See https://phabricator.wikimedia.org/T68776',
$ex->getMessage(), $ex->getMessage(),
'Expected exception' 'Expected exception'
); );

View file

@ -193,7 +193,7 @@ class PreprocessorTest extends MediaWikiTestCase {
} }
/** /**
* Tests from Bug 28642 · https://bugzilla.wikimedia.org/28642 * Tests from T30642 · https://phabricator.wikimedia.org/T30642
*/ */
public static function provideHeadings() { public static function provideHeadings() {
// @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong // @codingStandardsIgnoreStart Ignore Generic.Files.LineLength.TooLong

View file

@ -41,7 +41,7 @@
'gender-msg-currentuser': '{{GENDER:|blue|pink|green}}', 'gender-msg-currentuser': '{{GENDER:|blue|pink|green}}',
'plural-msg': 'Found $1 {{PLURAL:$1|item|items}}', 'plural-msg': 'Found $1 {{PLURAL:$1|item|items}}',
// See https://bugzilla.wikimedia.org/69993 // See https://phabricator.wikimedia.org/T71993
'plural-msg-explicit-forms-nested': 'Found {{PLURAL:$1|$1 results|0=no results in {{SITENAME}}|1=$1 result}}', 'plural-msg-explicit-forms-nested': 'Found {{PLURAL:$1|$1 results|0=no results in {{SITENAME}}|1=$1 result}}',
// Assume the grammar form grammar_case_foo is not valid in any language // Assume the grammar form grammar_case_foo is not valid in any language
'grammar-msg': 'Przeszukaj {{GRAMMAR:grammar_case_foo|{{SITENAME}}}}', 'grammar-msg': 'Przeszukaj {{GRAMMAR:grammar_case_foo|{{SITENAME}}}}',

View file

@ -186,7 +186,7 @@
hello = mw.message( 'hello' ); hello = mw.message( 'hello' );
// https://bugzilla.wikimedia.org/show_bug.cgi?id=44459 // https://phabricator.wikimedia.org/T46459
assert.equal( hello.format, 'text', 'Message property "format" defaults to "text"' ); assert.equal( hello.format, 'text', 'Message property "format" defaults to "text"' );
assert.strictEqual( hello.map, mw.messages, 'Message property "map" defaults to the global instance in mw.messages' ); assert.strictEqual( hello.map, mw.messages, 'Message property "map" defaults to the global instance in mw.messages' );