jenkins-bot has submitted this change and it was merged.

Change subject: NamespaceCss: using extension.json
......................................................................


NamespaceCss: using extension.json

Patch Set 2: whitespace, authors, license

Change-Id: I18e6cd473664b40608dd22f09f302d17b7032d3f
---
M NamespaceCss/NamespaceCss.class.php
M NamespaceCss/NamespaceCss.setup.php
A NamespaceCss/extension.json
3 files changed, 30 insertions(+), 29 deletions(-)

Approvals:
  Mglaser: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/NamespaceCss/NamespaceCss.class.php 
b/NamespaceCss/NamespaceCss.class.php
index 092b274..b909cb7 100644
--- a/NamespaceCss/NamespaceCss.class.php
+++ b/NamespaceCss/NamespaceCss.class.php
@@ -33,29 +33,6 @@
 // Last review MRG (07.11.11 18:22)
 
 class NamespaceCss extends BsExtensionMW {
-
-       public function __construct() {
-               wfProfileIn( 'BS::NamespaceCss_construct' );
-
-               // Base settings
-               $this->mExtensionFile = __FILE__;
-               $this->mExtensionType = EXTTYPE::VARIABLE;
-               $this->mInfo = array(
-                       EXTINFO::NAME        => 'NamespaceCss',
-                       EXTINFO::DESCRIPTION => 'bs-namespacecss-desc',
-                       EXTINFO::AUTHOR      => 'Robert Vogel, Tobias Weichart, 
Patric Wirth',
-                       EXTINFO::VERSION     => 'default',
-                       EXTINFO::STATUS      => 'default',
-                       EXTINFO::PACKAGE     => 'default',
-                       EXTINFO::URL         => 
'https://help.bluespice.com/index.php/NamespaceCss',
-                       EXTINFO::DEPS        => array( 'bluespice' => '2.22.0' )
-               );
-
-               $this->mExtensionKey = 'MW::NamespaceCss';
-
-               wfProfileOut( 'BS::NamespaceCss_construct' );
-       }
-
        public function initExt() {
                wfProfileIn( 'BS::'.__METHOD__ );
 
diff --git a/NamespaceCss/NamespaceCss.setup.php 
b/NamespaceCss/NamespaceCss.setup.php
index f0eb4e6..c84ac88 100644
--- a/NamespaceCss/NamespaceCss.setup.php
+++ b/NamespaceCss/NamespaceCss.setup.php
@@ -1,7 +1,2 @@
 <?php
-
-BsExtensionManager::registerExtension( 'NamespaceCss', 
BsRUNLEVEL::FULL|BsRUNLEVEL::REMOTE );
-
-$wgAutoloadClasses['NamespaceCss'] = __DIR__ . '/NamespaceCss.class.php';
-
-$wgMessagesDirs['NamespaceCss'] = __DIR__ . '/i18n';
+wfLoadExtension( 'BlueSpiceExtensions/NamespaceCss' );
\ No newline at end of file
diff --git a/NamespaceCss/extension.json b/NamespaceCss/extension.json
new file mode 100644
index 0000000..c6f8f83
--- /dev/null
+++ b/NamespaceCss/extension.json
@@ -0,0 +1,29 @@
+{
+       "name": "NamespaceCss",
+       "version": "2.27.0",
+       "url": "https://help.bluespice.com/index.php/NamespaceCss";,
+       "author": [
+               "Robert Vogel",
+               "Tobias Weichart",
+               "Patric Wirth"
+       ],
+       "descriptionmsg": "bs-namespacecss-desc",
+       "license-name": "GPL-2.0+",
+       "type": "bluespice",
+       "bsgExtensions": {
+               "NamespaceCss": {
+                       "className": "NamespaceCss",
+                       "extPath": "/BlueSpiceExtensions/NamespaceCss"
+               }
+       },
+
+       "MessagesDirs": {
+               "NamespaceCss": [
+                       "i18n"
+               ]
+       },
+       "AutoloadClasses": {
+               "NamespaceCss": "NamespaceCss.class.php"
+       },
+       "manifest_version": 1
+}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I18e6cd473664b40608dd22f09f302d17b7032d3f
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Gerharddiller85 <gerharddil...@icloud.com>
Gerrit-Reviewer: Dvogel hallowelt <daniel.vo...@hallowelt.com>
Gerrit-Reviewer: Ljonka <l.verhovs...@gmail.com>
Gerrit-Reviewer: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Pwirth <wi...@hallowelt.biz>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to