Thiemo Mättig (WMDE) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/258149

Change subject: Make all namespaces PSR-4 compatible
......................................................................

Make all namespaces PSR-4 compatible

Change-Id: Id8b8fe83e804c4bda9c7720cda2c8ba6b4599986
---
M ArticlePlaceholder.php
M includes/SpecialAboutTopic.php
M tests/phpunit/includes/SpecialAboutTopicTest.php
3 files changed, 5 insertions(+), 5 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ArticlePlaceholder 
refs/changes/49/258149/1

diff --git a/ArticlePlaceholder.php b/ArticlePlaceholder.php
index 2c2dab7..340e797 100644
--- a/ArticlePlaceholder.php
+++ b/ArticlePlaceholder.php
@@ -20,7 +20,7 @@
        'descriptionmsg' => 'articleplaceholder-desc',
 );
 
-$wgAutoloadClasses['ArticlePlaceholder\Specials\SpecialAboutTopic']
+$wgAutoloadClasses['ArticlePlaceholder\SpecialAboutTopic']
        = __DIR__ . '/includes/SpecialAboutTopic.php';
 $wgAutoloadClasses['ArticlePlaceholder\Hooks'] = __DIR__ . 
'/includes/Hooks.php';
 $wgAutoloadClasses['ArticlePlaceholder\SearchHookHandler']
@@ -37,7 +37,7 @@
 $wgExtensionMessagesFiles['ArticlePlaceholderAliases'] = __DIR__ . 
'/ArticlePlaceholder.alias.php';
 
 $wgSpecialPages['AboutTopic'] = array(
-       'ArticlePlaceholder\Specials\SpecialAboutTopic',
+       'ArticlePlaceholder\SpecialAboutTopic',
        'newFromGlobalState'
 );
 
diff --git a/includes/SpecialAboutTopic.php b/includes/SpecialAboutTopic.php
index dc342b6..5f834cf 100644
--- a/includes/SpecialAboutTopic.php
+++ b/includes/SpecialAboutTopic.php
@@ -1,6 +1,6 @@
 <?php
 
-namespace ArticlePlaceholder\Specials;
+namespace ArticlePlaceholder;
 
 use Html;
 use OOUI;
diff --git a/tests/phpunit/includes/SpecialAboutTopicTest.php 
b/tests/phpunit/includes/SpecialAboutTopicTest.php
index e52d7b6..e0b0504 100644
--- a/tests/phpunit/includes/SpecialAboutTopicTest.php
+++ b/tests/phpunit/includes/SpecialAboutTopicTest.php
@@ -2,13 +2,13 @@
 
 namespace ArticlePlaceholder\Tests;
 
-use ArticlePlaceholder\Specials\SpecialAboutTopic;
+use ArticlePlaceholder\SpecialAboutTopic;
 use Language;
 use MediaWikiTestCase;
 use Wikibase\Client\Store\TitleFactory;
 
 /**
- * @covers ArticlePlaceholder\Specials\SpecialAboutTopic
+ * @covers ArticlePlaceholder\SpecialAboutTopic
  *
  * @group ArticlePlaceholder
  *

-- 
To view, visit https://gerrit.wikimedia.org/r/258149
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8b8fe83e804c4bda9c7720cda2c8ba6b4599986
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ArticlePlaceholder
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to