Phabricator: Use Tddddd instead of Bug ddddd in comments
authorFomafix <fomafix@googlemail.com>
Thu, 4 Oct 2018 07:06:00 +0000 (09:06 +0200)
committerFomafix <fomafix@googlemail.com>
Thu, 4 Oct 2018 07:15:02 +0000 (09:15 +0200)
Change-Id: Ic9fe03cab270bd6be738af346164ad5d31a0d780

15 files changed:
includes/Block.php
includes/Defines.php
includes/EditPage.php
includes/actions/Action.php
includes/actions/HistoryAction.php
includes/content/JavaScriptContent.php
includes/exception/MWExceptionRenderer.php
includes/libs/rdbms/database/DatabaseSqlite.php
includes/page/ImagePage.php
includes/specialpage/ChangesListSpecialPage.php
includes/utils/UIDGenerator.php
maintenance/archives/patch-categorylinks-better-collation2.sql
resources/src/mediawiki.special.search.styles.css
tests/phpunit/includes/cache/MessageCacheTest.php
tests/phpunit/includes/utils/UIDGeneratorTest.php

index a7d89e2..913aeb9 100644 (file)
@@ -1420,7 +1420,7 @@ class Block {
                }
 
                # Consider the possibility that this is not a username at all
-               # but actually an old subpage (bug #29797)
+               # but actually an old subpage (T31797)
                if ( strpos( $target, '/' ) !== false ) {
                        # An old subpage, drill down to the user behind it
                        $target = explode( '/', $target )[0];
index 72cddd2..5ab27cc 100644 (file)
@@ -59,7 +59,7 @@ define( 'NS_SPECIAL', -1 );
  * Number 100 and beyond are reserved for custom namespaces;
  * DO NOT assign standard namespaces at 100 or beyond.
  * DO NOT Change integer values as they are most probably hardcoded everywhere
- * see bug #696 which talked about that.
+ * see T2696 which talked about that.
  */
 define( 'NS_MAIN', 0 );
 define( 'NS_TALK', 1 );
index 8c4b3c8..29abfb1 100644 (file)
@@ -943,7 +943,7 @@ class EditPage {
                        # Note that wpSectionTitle is not yet a part of the actual edit form, as wpSummary is
                        # currently doing double duty as both edit summary and section title. Right now this
                        # is just to allow API edits to work around this limitation, but this should be
-                       # incorporated into the actual edit form when EditPage is rewritten (Bugs 18654, 26312).
+                       # incorporated into the actual edit form when EditPage is rewritten (T20654, T28312).
                        $this->sectiontitle = $request->getText( 'wpSectionTitle' );
                        $this->sectiontitle = preg_replace( '/^\s*=+\s*(.*?)\s*=+\s*$/', '$1', $this->sectiontitle );
 
index 66f4d59..fb761a7 100644 (file)
@@ -132,7 +132,7 @@ abstract class Action implements MessageLocalizer {
                        $actionName = 'nosuchaction';
                }
 
-               // Workaround for bug #20966: inability of IE to provide an action dependent
+               // Workaround for T22966: inability of IE to provide an action dependent
                // on which submit button is clicked.
                if ( $actionName === 'historysubmit' ) {
                        if ( $request->getBool( 'revisiondelete' ) ) {
index 2778a1d..7d6b548 100644 (file)
@@ -571,7 +571,7 @@ class HistoryPager extends ReverseChronologicalPager {
 
        private function getRevisionButton( $name, $msg ) {
                $this->preventClickjacking();
-               # Note bug #20966, <button> is non-standard in IE<8
+               # Note T22966, <button> is non-standard in IE<8
                $element = Html::element(
                        'button',
                        [
index 6d23656..4bde738 100644 (file)
@@ -58,7 +58,7 @@ class JavaScriptContent extends TextContent {
        public function preSaveTransform( Title $title, User $user, ParserOptions $popts ) {
                global $wgParser;
                // @todo Make pre-save transformation optional for script pages
-               // See bug #32858
+               // See T34858
 
                $text = $this->getNativeData();
                $pst = $wgParser->preSaveTransform( $text, $title, $user, $popts );
index de2af6b..f99ce1c 100644 (file)
@@ -272,7 +272,7 @@ class MWExceptionRenderer {
         */
        private static function printError( $message ) {
                // NOTE: STDERR may not be available, especially if php-cgi is used from the
-               // command line (bug #15602). Try to produce meaningful output anyway. Using
+               // command line (T17602). Try to produce meaningful output anyway. Using
                // echo may corrupt output to STDOUT though.
                if ( defined( 'STDERR' ) ) {
                        fwrite( STDERR, $message );
index 9d5eca6..0e6240f 100644 (file)
@@ -406,7 +406,7 @@ class DatabaseSqlite extends Database {
        function numFields( $res ) {
                $r = $res instanceof ResultWrapper ? $res->result : $res;
                if ( is_array( $r ) && count( $r ) > 0 ) {
-                       // The size of the result array is twice the number of fields. (Bug: 65578)
+                       // The size of the result array is twice the number of fields. (T67578)
                        return count( $r[0] ) / 2;
                } else {
                        // If the result is empty return 0
index d3d6da7..bf3eaf4 100644 (file)
@@ -1038,7 +1038,7 @@ EOT
                }
 
                // The user offset might still be incorrect, specially if
-               // $wgImageLimits got changed (see bug #8858).
+               // $wgImageLimits got changed (see T10858).
                if ( !isset( $wgImageLimits[$option] ) ) {
                        // Default to the first offset in $wgImageLimits
                        $option = 0;
index 57f7187..8ae4649 100644 (file)
@@ -1395,7 +1395,7 @@ abstract class ChangesListSpecialPage extends SpecialPage {
        /**
         * Convert parameters values from true/false to 1/0
         * so they are not omitted by wfArrayToCgi()
-        * Bug 36524
+        * T38524
         *
         * @param array $params
         * @return array
index 4b5410e..10095e9 100644 (file)
@@ -592,7 +592,7 @@ class UIDGenerator {
         * @since 1.23
         */
        protected function deleteCacheFiles() {
-               // Bug: 44850
+               // T46850
                foreach ( $this->fileHandles as $path => $handle ) {
                        if ( $handle !== null ) {
                                fclose( $handle );
@@ -619,7 +619,7 @@ class UIDGenerator {
         * @since 1.23
         */
        public static function unitTestTearDown() {
-               // Bug: 44850
+               // T46850
                $gen = self::singleton();
                $gen->deleteCacheFiles();
        }
index e957469..f706853 100644 (file)
@@ -1,7 +1,7 @@
 --
 -- patch-categorylinks-better-collation2.sql
 --
--- Bugs 164, 1211, 23682.  This patch exists for trunk users who already
+-- Bugs T2164, T3211, T25682.  This patch exists for trunk users who already
 -- applied the first patch in its original version.  The first patch was
 -- updated to incorporate the changes as well, so as not to do two alters on a
 -- large table unnecessarily for people upgrading from 1.16, so this will be
index ea9b987..59a15a9 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
  * Fixes sister projects box moving down the extract
- * of the first result (bug #16886).
+ * of the first result (T18886).
  * It only happens when the window is small and
  * This changes slightly the layout for big screens
  * where there was space for the extracts and the
index f6ea680..16448ee 100644 (file)
@@ -74,7 +74,7 @@ class MessageCacheTest extends MediaWikiLangTestCase {
        }
 
        /**
-        * Test message fallbacks, bug #1495
+        * Test message fallbacks, T3495
         *
         * @dataProvider provideMessagesForFallback
         */
index d335a93..1a65b25 100644 (file)
@@ -5,7 +5,7 @@ class UIDGeneratorTest extends PHPUnit\Framework\TestCase {
        use MediaWikiCoversValidator;
 
        protected function tearDown() {
-               // Bug: 44850
+               // T46850
                UIDGenerator::unitTestTearDown();
                parent::tearDown();
        }