}
# 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];
* 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 );
# 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 );
$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' ) ) {
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',
[
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 );
*/
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 );
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
}
// 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;
/**
* Convert parameters values from true/false to 1/0
* so they are not omitted by wfArrayToCgi()
- * Bug 36524
+ * T38524
*
* @param array $params
* @return array
* @since 1.23
*/
protected function deleteCacheFiles() {
- // Bug: 44850
+ // T46850
foreach ( $this->fileHandles as $path => $handle ) {
if ( $handle !== null ) {
fclose( $handle );
* @since 1.23
*/
public static function unitTestTearDown() {
- // Bug: 44850
+ // T46850
$gen = self::singleton();
$gen->deleteCacheFiles();
}
--
-- 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
/*
* 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
}
/**
- * Test message fallbacks, bug #1495
+ * Test message fallbacks, T3495
*
* @dataProvider provideMessagesForFallback
*/
use MediaWikiCoversValidator;
protected function tearDown() {
- // Bug: 44850
+ // T46850
UIDGenerator::unitTestTearDown();
parent::tearDown();
}