refactor: use proper extension namespaces

This commit is contained in:
alistair3149 2022-06-29 17:22:14 -04:00
parent 380d52e24c
commit 831eeee16c
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
5 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@
] ]
}, },
"AutoloadNamespaces": { "AutoloadNamespaces": {
"TabberNeue\\": "includes/" "MediaWiki\\Extension\\TabberNeue\\": "includes/"
}, },
"TrackingCategories": [ "TrackingCategories": [
"tabberneue-tabber-category", "tabberneue-tabber-category",
@ -134,7 +134,7 @@
}, },
"HookHandlers": { "HookHandlers": {
"TabberHooks": { "TabberHooks": {
"class": "TabberNeue\\Hooks" "class": "MediaWiki\\Extension\\TabberNeue\\Hooks"
} }
}, },
"attributes": { "attributes": {

View file

@ -2,7 +2,7 @@
declare( strict_types=1 ); declare( strict_types=1 );
namespace TabberNeue; namespace MediaWiki\Extension\TabberNeue;
use MediaWiki\Hook\ParserFirstCallInitHook; use MediaWiki\Hook\ParserFirstCallInitHook;
use OutputPage; use OutputPage;

View file

@ -12,7 +12,7 @@
declare( strict_types=1 ); declare( strict_types=1 );
namespace TabberNeue; namespace MediaWiki\Extension\TabberNeue;
use Parser; use Parser;
use PPFrame; use PPFrame;

View file

@ -12,7 +12,7 @@
declare( strict_types=1 ); declare( strict_types=1 );
namespace TabberNeue; namespace MediaWiki\Extension\TabberNeue;
use Wikimedia\Parsoid\Ext\ExtensionTagHandler; use Wikimedia\Parsoid\Ext\ExtensionTagHandler;
use Wikimedia\Parsoid\Ext\ParsoidExtensionAPI; use Wikimedia\Parsoid\Ext\ParsoidExtensionAPI;

View file

@ -12,7 +12,7 @@
declare( strict_types=1 ); declare( strict_types=1 );
namespace TabberNeue; namespace MediaWiki\Extension\TabberNeue;
use Hooks; use Hooks;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;