mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-09-23 10:21:31 +00:00
Remove global namespace class aliases
Depends-On: I7e8e7f5ec0ac2f995489a559e88fc55ab877e06e Change-Id: Ie3f5d5880363777eda4608fe8753a69e7ff3c5f9
This commit is contained in:
parent
cfc2f4f319
commit
df89742072
|
@ -15,20 +15,6 @@
|
|||
"requires": {
|
||||
"MediaWiki": ">= 1.36.0"
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
"MathDataUpdater": "src/MathDataUpdater.php",
|
||||
"MathHooks": "src/Hooks.php",
|
||||
"MathLaTeXML": "src/MathLaTeXML.php",
|
||||
"MathMathML": "src/MathMathML.php",
|
||||
"MathRenderer": "src/MathRenderer.php",
|
||||
"MathRestbaseInterface": "src/MathRestbaseInterface.php",
|
||||
"MediaWiki\\Extension\\Math\\MathDataUpdater": "src/MathDataUpdater.php",
|
||||
"MediaWiki\\Extension\\Math\\Hooks": "src/Hooks.php",
|
||||
"MediaWiki\\Extension\\Math\\MathLaTeXML": "src/MathLaTeXML.php",
|
||||
"MediaWiki\\Extension\\Math\\MathMathML": "src/MathMathML.php",
|
||||
"MediaWiki\\Extension\\Math\\MathRenderer": "src/MathRenderer.php",
|
||||
"MediaWiki\\Extension\\Math\\MathRestbaseInterface": "src/MathRestbaseInterface.php"
|
||||
},
|
||||
"AutoloadNamespaces": {
|
||||
"MediaWiki\\Extension\\Math\\": "src/"
|
||||
},
|
||||
|
|
|
@ -90,5 +90,3 @@ class Hooks {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
class_alias( Hooks::class, 'MathHooks' );
|
||||
|
|
|
@ -58,5 +58,3 @@ class MathDataUpdater implements StatementDataUpdater {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
class_alias( MathDataUpdater::class, 'MathDataUpdater' );
|
||||
|
|
|
@ -223,5 +223,3 @@ class MathLaTeXML extends MathMathML {
|
|||
return 'mathlatexml';
|
||||
}
|
||||
}
|
||||
|
||||
class_alias( MathLaTeXML::class, 'MathLaTeXML' );
|
||||
|
|
|
@ -582,5 +582,3 @@ class MathMathML extends MathRenderer {
|
|||
return $this->userInputTex === '';
|
||||
}
|
||||
}
|
||||
|
||||
class_alias( MathMathML::class, 'MathMathML' );
|
||||
|
|
|
@ -731,5 +731,3 @@ abstract class MathRenderer {
|
|||
$this->logger->debug( "$msg for \"{tex}\".", [ 'tex' => $this->userInputTex ] );
|
||||
}
|
||||
}
|
||||
|
||||
class_alias( MathRenderer::class, 'MathRenderer' );
|
||||
|
|
|
@ -472,5 +472,3 @@ class MathRestbaseInterface {
|
|||
throw new MWException( "Cannot get $type. $detail" );
|
||||
}
|
||||
}
|
||||
|
||||
class_alias( MathRestbaseInterface::class, 'MathRestbaseInterface' );
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
namespace MediaWiki\Extension\Math\Render;
|
||||
|
||||
use MathMathML;
|
||||
use MediaWiki\Config\ServiceOptions;
|
||||
use MediaWiki\Extension\Math\MathConfig;
|
||||
use MediaWiki\Extension\Math\MathLaTeXML;
|
||||
use MediaWiki\Extension\Math\MathMathML;
|
||||
use MediaWiki\Extension\Math\MathMathMLCli;
|
||||
use MediaWiki\Extension\Math\MathPng;
|
||||
use MediaWiki\Extension\Math\MathRenderer;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace MediaWiki\Extension\Math\InputCheck;
|
||||
|
||||
use HashBagOStuff;
|
||||
use MathMathML;
|
||||
use MediaWiki\Extension\Math\MathMathML;
|
||||
use MediaWiki\Http\HttpRequestFactory;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWikiTestCase;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Extension\Math\MathDataUpdater;
|
||||
use Wikibase\DataModel\Entity\NumericPropertyId;
|
||||
use Wikibase\DataModel\Services\Entity\PropertyDataTypeMatcher;
|
||||
use Wikibase\DataModel\Snak\PropertyNoValueSnak;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\Extension\Math\MathMathML;
|
||||
use MediaWiki\Extension\Math\MathRestbaseInterface;
|
||||
use MediaWiki\Extension\Math\Tests\MathMockHttpTrait;
|
||||
use Wikimedia\TestingAccessWrapper;
|
||||
|
||||
|
|
Loading…
Reference in a new issue