Ljonka has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/361473 )

Change subject: WidgetBar: Remove deprecated Extension
......................................................................

WidgetBar: Remove deprecated Extension

Change-Id: Iff511d93088d8be7051bc22d02ad6ff9b4a732c7
---
M BlueSpiceExtensions.default.php
D WidgetBar/WidgetBar.class.php
D WidgetBar/WidgetBar.setup.php
D WidgetBar/doc/Events.txt
D WidgetBar/doc/Hooks.txt
D WidgetBar/extension.json
D WidgetBar/i18n/ast.json
D WidgetBar/i18n/ba.json
D WidgetBar/i18n/br.json
D WidgetBar/i18n/ce.json
D WidgetBar/i18n/de-formal.json
D WidgetBar/i18n/de.json
D WidgetBar/i18n/diq.json
D WidgetBar/i18n/en.json
D WidgetBar/i18n/es.json
D WidgetBar/i18n/fa.json
D WidgetBar/i18n/fr.json
D WidgetBar/i18n/gl.json
D WidgetBar/i18n/ia.json
D WidgetBar/i18n/it.json
D WidgetBar/i18n/ja.json
D WidgetBar/i18n/ko.json
D WidgetBar/i18n/lb.json
D WidgetBar/i18n/lt.json
D WidgetBar/i18n/mk.json
D WidgetBar/i18n/nb.json
D WidgetBar/i18n/nl.json
D WidgetBar/i18n/pt.json
D WidgetBar/i18n/qqq.json
D WidgetBar/i18n/ru.json
D WidgetBar/i18n/sl.json
D WidgetBar/i18n/sv.json
D WidgetBar/i18n/uk.json
D WidgetBar/i18n/zh-hans.json
D WidgetBar/i18n/zh-hant.json
D WidgetBar/resources/BS.WidgetBar/dialog/Edit.js
D WidgetBar/resources/bluespice.widgetBar.css
D WidgetBar/resources/bluespice.widgetBar.js
D WidgetBar/resources/images/bs-star-orange.png
D WidgetBar/resources/images/bs-star-white.png
D WidgetBar/resources/images/bs-userpage-widgets.png
D WidgetBar/views/view.WidgetError.php
D WidgetBar/views/view.WidgetErrorList.php
D WidgetBar/views/view.WidgetList.php
44 files changed, 0 insertions(+), 877 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlueSpiceExtensions 
refs/changes/73/361473/1

diff --git a/BlueSpiceExtensions.default.php b/BlueSpiceExtensions.default.php
index 4629038..4378c89 100644
--- a/BlueSpiceExtensions.default.php
+++ b/BlueSpiceExtensions.default.php
@@ -43,8 +43,6 @@
 require_once( __DIR__."/WatchList/WatchList.setup.php" );
 require_once( __DIR__."/WhoIsOnline/WhoIsOnline.setup.php" );
 // This extension is deprecated as of BlueSpice 2.27.0 and will be removed soon
-#require_once( __DIR__."/WidgetBar/WidgetBar.setup.php" );
-// This extension is deprecated as of BlueSpice 2.27.0 and will be removed soon
 #require_once( __DIR__."/WantedArticle/WantedArticle.setup.php" );
 require_once( __DIR__."/ShoutBox/ShoutBox.setup.php" );
 require_once( __DIR__."/VisualEditor/VisualEditor.setup.php" );
diff --git a/WidgetBar/WidgetBar.class.php b/WidgetBar/WidgetBar.class.php
deleted file mode 100644
index 1663584..0000000
--- a/WidgetBar/WidgetBar.class.php
+++ /dev/null
@@ -1,227 +0,0 @@
-<?php
-/**
- * WidgetBar extension for BlueSpice
- *
- * Adds the widget flyout to the skin.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- * This file is part of BlueSpice for MediaWiki
- * For further information visit http://www.bluespice.com
- *
- * @author     Robert Vogel <vo...@hallowelt.com>
- * @version    2.23.1
- * @package    BlueSpice_Extensions
- * @subpackage WidgetBar
- * @copyright  Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved.
- * @license    http://www.gnu.org/copyleft/gpl.html GNU Public License v2 or 
later
- * @filesource
- */
-
-/**
- * Base class for WidgetBar extension
- * @package BlueSpice_Extensions
- * @subpackage WidgetBar
- */
-class WidgetBar extends BsExtensionMW {
-
-       protected $aKeywords = array();
-
-       /**
-        * Initialization of WidgetBar extension
-        */
-       protected function initExt() {
-               wfProfileIn( 'BS::'.__METHOD__ );
-               $this->setHook( 'BS:UserPageSettings', 'onUserPageSettings' );
-               $this->setHook( 'SkinTemplateOutputPageBeforeExec' );
-               $this->setHook( 'userCan', 'onUserCan' );
-               $this->setHook( 'GetPreferences' );
-               $this->setHook( 'BeforePageDisplay' );
-               $this->setHook( 'EditFormPreloadText' );
-
-               BsConfig::registerVar( 'MW::WidgetBar::LinkToEdit', array ( 
'href' => '', 'content' => '' ), BsConfig::LEVEL_USER | BsConfig::NO_DEFAULT, 
'bs-widgetbar-userpagesettings-link-title', 'link' );
-
-               wfProfileOut( 'BS::'.__METHOD__ );
-       }
-
-       /**
-        *
-        * @param OutputPage $oOutputPage
-        * @param SkinTemplate $oSkinTemplate
-        * @return boolean
-        */
-       public function onBeforePageDisplay( $oOutputPage, $oSkinTemplate ) {
-               $oOutputPage->addModules( 'ext.bluespice.widgetbar' );
-               $oOutputPage->addModuleStyles( 'ext.bluespice.widgetbar.style' 
);
-
-               return true;
-       }
-
-       /**
-        * Hook-Handler for 'userCan', prevents foreign access to a users 
widgetbar settings
-        * @param Title $oTitle Title object being checked against
-        * @param User $oUser Current user object
-        * @param string $sAction Action being checked
-        * @param bool $bResult Pointer to result returned if hook returns 
false. If null is returned,  userCan checks are continued by internal code.
-        * @return bool false if the user accesses a UserSidebar Title of 
another user, true in all other cases.
-        */
-       public function onUserCan( $oTitle, $oUser, $sAction, $bResult ){
-               if ( $sAction != 'edit' ) {
-                       return true;
-               }
-               if ( $oTitle->getNamespace() != NS_USER || 
!$oTitle->isSubpage() ){
-                       return true;
-               }
-               if ( strcasecmp( $oTitle->getSubpageText(), 'Widgetbar' ) == 0 
) {
-                       $oBasePage = Title::newFromText( 
$oTitle->getBaseText(), NS_USER );
-                       if ( !$oBasePage->equals( $oUser->getUserPage() ) ) {
-                               $bResult = false;
-                               return false;
-                       }
-               }
-               return true;
-       }
-
-       // TODO STM 08.10.12: Docblock
-       public function onGetPreferences( $user, &$preferences ) {
-               $oWidgetBarArticleTitle = Title::makeTitle( NS_USER, 
$user->getName().'/Widgetbar' );
-               $preferences['MW_WidgetBar_LinkToEdit']['default'] = array(
-                       'href' => $oWidgetBarArticleTitle->getEditURL(),
-                       'content' => wfMessage( 
'bs-widgetbar-userpagesettings-link-text' )->text()
-               );
-               return true;
-       }
-
-       /**
-        * Hook-handler for 'BS:UserPageSettings'
-        * @param User $oUser The current MediaWiki User object
-        * @param Title $oTitle The current MediaWiki Title object
-        * @param array $aSettingViews A list of View objects
-        * @return array The SettingsViews array with an andditional View object
-        */
-       public function onUserPageSettings( $oUser, $oTitle, &$aSettingViews ){
-               $oWidgetBarArticleTitle = Title::makeTitle( NS_USER, 
$oUser->getName().'/Widgetbar' );
-
-               // TODO MRG (01.07.11 02:13): Should be put in a view in BsCore
-               $oUserPageSettingsView = new ViewBaseElement();
-               $oUserPageSettingsView->setAutoWrap( '<div 
id="bs-widgetbar-settings" 
class="bs-userpagesettings-item">###CONTENT###</div>' );
-               $oUserPageSettingsView->setTemplate(
-                       '<a href="{URL}" title="{TITLE}"><img alt="{IMGALT}" 
src="{IMGSRC}" /><div class="bs-user-label">{TEXT}</div></a>'
-               );
-               $oUserPageSettingsView->addData(
-                       array(
-                               'HEADLINE' => wfMessage( 
'bs-widgetbar-userpagesettings-headline' )->plain(),
-                               'URL' => htmlspecialchars( 
$oWidgetBarArticleTitle->getEditURL() ),
-                               'TITLE' => wfMessage( 
'bs-widgetbar-userpagesettings-link-title' )->plain(),
-                               'TEXT' => wfMessage( 
'bs-widgetbar-userpagesettings-link-text' )->text(),
-                               'IMGALT' => wfMessage( 
'bs-widgetbar-userpagesettings-headline' )->plain(),
-                               'IMGSRC' => $this->getImagePath( true 
).'bs-userpage-widgets.png',
-                       )
-               );
-
-               $aSettingViews[] = $oUserPageSettingsView;
-               return true;
-       }
-
-       /**
-        * Hook-Handler for 'BlueSpiceSkin:Widgets'. Adds Widgets to the 
Widgetbar.
-        * @param SkinTemplate $sktemplate
-        * @param BaseTemplate $tpl
-        * @return boolean Always true to keep hook running
-        */
-       public function onSkinTemplateOutputPageBeforeExec( &$sktemplate, &$tpl 
) {
-               $oCurrentTitle = $sktemplate->getTitle();
-               $oUser = $sktemplate->getUser();
-               $oView = $this->getWidgets( $oCurrentTitle, $oUser );
-
-               if ( $tpl instanceof BsBaseTemplate ) {
-                       $tpl->data['bs_dataBeforeContent']['bs-widgetbar'] = 
array(
-                               'position' => 10,
-                               'label' => wfMessage( 'prefs-widgetbar' 
)->text(),
-                               'content' => $oView
-                       );
-               } else {
-                       $tpl->data['prebodyhtml'] .= $oView;
-               }
-               return true;
-       }
-
-       protected function getWidgets( $oCurrentTitle, $oUser ) {
-               $oWidgetListView = new ViewWidgetList();
-               $aWidgetViews = array();
-               if ( $oCurrentTitle->userCan( 'read' ) == false ) {
-                       if ( $oCurrentTitle->isSpecialPage() && 
$oUser->isLoggedIn() ) {
-                               $oView = $oWidgetListView->setWidgets(
-                                       $this->getDefaultWidgets( 
$aWidgetViews, $oUser, $oCurrentTitle )
-                               );
-                       } else {
-                               // set widget list to empty when user cannot 
read the page
-                               $oView = $oWidgetListView->setWidgets(
-                                       array()
-                               );
-                       }
-                       return $oView;
-               }
-
-               $oTitle = Title::makeTitle( NS_USER, 
$oUser->getName().'/Widgetbar' );
-
-               if ( $oTitle->exists() === false ) {
-                       $oView = $oWidgetListView->setWidgets(
-                               $this->getDefaultWidgets( $aWidgetViews, 
$oUser, $oTitle )
-                       );
-                       return $oView;
-               }
-
-               $aWidgets = BsWidgetListHelper::getInstanceForTitle( $oTitle 
)->getWidgets();
-               if( empty($aWidgets) ) {
-                       $aWidgets = $this->getDefaultWidgets( $aWidgetViews, 
$oUser, $oTitle );
-               }
-               $oWidgetListView->setWidgets( $aWidgets );
-
-               $oView = $oWidgetListView;
-               return $oView;
-       }
-
-       /**
-        * Fires event if user is not logged in or UserSidebar Article does not 
exist.
-        * @param array $aViews of WidgetView objects
-        * @param User $oUser The current MediaWiki User object
-        * @param Title $oTitle The UserSidebar Title object, containing the 
UserSidebar list
-        * @return array of WidgetView objects
-        */
-       private function getDefaultWidgets( &$aViews, $oUser, $oTitle) {
-               wfRunHooks( 'BSWidgetBarGetDefaultWidgets', array( &$aViews, 
$oUser, $oTitle ) );
-               return $aViews;
-       }
-
-       /**
-        * Fills default widget list definition into user's config page
-        * @param string $text
-        * @param Title $title
-        * @return boolean Always true to keep hook running
-        */
-       public function onEditFormPreloadText( &$text, &$title ) {
-               if( !$title->equals(Title::makeTitle(NS_USER, 
$this->getUser()->getName().'/Widgetbar')) ) {
-                       return true;
-               }
-               $aViews = array();
-               $aViews = $this->getDefaultWidgets($aViews, $this->getUser(), 
$title);
-               $aDefaultWidgetKeywords = array_keys($aViews);
-
-               $text = '* '. implode( "\n* ", $aDefaultWidgetKeywords );
-
-               return true;
-       }
-}
\ No newline at end of file
diff --git a/WidgetBar/WidgetBar.setup.php b/WidgetBar/WidgetBar.setup.php
deleted file mode 100644
index ffcc6e9..0000000
--- a/WidgetBar/WidgetBar.setup.php
+++ /dev/null
@@ -1,2 +0,0 @@
-<?php
-wfLoadExtension( 'BlueSpiceExtensions/WidgetBar' );
\ No newline at end of file
diff --git a/WidgetBar/doc/Events.txt b/WidgetBar/doc/Events.txt
deleted file mode 100644
index c0d4fe1..0000000
--- a/WidgetBar/doc/Events.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-'MW'
-    'MW::Widgetbar::DefaultWidgets': Fired if the widgets article does not 
exists
-       params: 'user'  -  The current MediaWiki User object
-               'sidebar-title'  -  The users Widgetbar-Title (MediaWiki Title 
object)
-       filter: $aKeywords  -  array( 'KEYWORD' => $callable );
\ No newline at end of file
diff --git a/WidgetBar/doc/Hooks.txt b/WidgetBar/doc/Hooks.txt
deleted file mode 100644
index 893bcba..0000000
--- a/WidgetBar/doc/Hooks.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-==WidgetBar.class.php==
-
-'BSWidgetBarGetDefaultWidgets':
-&$aViews:
- $oUser:
- $oTitle:
\ No newline at end of file
diff --git a/WidgetBar/extension.json b/WidgetBar/extension.json
deleted file mode 100644
index bf914fe..0000000
--- a/WidgetBar/extension.json
+++ /dev/null
@@ -1,44 +0,0 @@
-{
-       "name": "WidgetBar",
-       "version": "2.27.1-alpha",
-       "url": "https://help.bluespice.com/index.php/WidgetBar";,
-       "author": "Robert Vogel",
-       "descriptionmsg": "bs-widgetbar-desc",
-       "type": "bluespice",
-       "license-name": "GPL-2.0+",
-       "bsgExtensions": {
-               "WidgetBar": {
-                       "className": "WidgetBar",
-                       "extPath": "/BlueSpiceExtensions/WidgetBar"
-               }
-       },
-       "MessagesDirs": {
-               "WidgetBar": [
-                       "i18n"
-               ]
-       },
-       "AutoloadClasses": {
-               "WidgetBar": "WidgetBar.class.php",
-               "ViewWidgetError": "views/view.WidgetError.php",
-               "ViewWidgetErrorList": "views/view.WidgetErrorList.php",
-               "ViewWidgetList": "views/view.WidgetList.php"
-       },
-       "ResourceModules": {
-               "ext.bluespice.widgetbar.style": {
-                       "styles": "bluespice.widgetBar.css",
-                       "position": "top"
-               },
-               "ext.bluespice.widgetbar": {
-                       "scripts": "bluespice.widgetBar.js",
-                       "dependencies": [
-                               "jquery.cookie"
-                       ],
-                       "position": "bottom"
-               }
-       },
-       "ResourceFileModulePaths": {
-               "localBasePath": "resources",
-               "remoteExtPath": "BlueSpiceExtensions/WidgetBar/resources"
-       },
-       "manifest_version": 1
-}
diff --git a/WidgetBar/i18n/ast.json b/WidgetBar/i18n/ast.json
deleted file mode 100644
index 9ae70ee..0000000
--- a/WidgetBar/i18n/ast.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Xuacu"
-               ]
-       },
-       "bs-widgetbar-desc": "Añade ''widgets'' a la interfaz del usuariu",
-       "prefs-widgetbar": "Barra de ''widgets''",
-       "bs-widgetbar-userpagesettings-headline": "''Widgets''",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Edita}}'l 
conteníu de la barra de ''widgets'':",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Editar}} la mio 
barra de ''widgets''",
-       "bs-widget-container-tooltip": "''Widgets''",
-       "bs-widget-flyout-heading": "''Widgets''"
-}
diff --git a/WidgetBar/i18n/ba.json b/WidgetBar/i18n/ba.json
deleted file mode 100644
index eed324f..0000000
--- a/WidgetBar/i18n/ba.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Sagan"
-               ]
-       },
-       "bs-widgetbar-desc": "Ҡулланыусы интерфейсына виджет өҫтәй",
-       "prefs-widgetbar": "Виджет менюһы",
-       "bs-widgetbar-userpagesettings-headline": "Виджеттар",
-       "bs-widgetbar-userpagesettings-link-title": "Ошо панель виджеты 
эстәләген {{GENDER:|мөхәррирләгеҙ}}:",
-       "bs-widgetbar-userpagesettings-link-text": "Минеү панель 
виджетын{{GENDER:|мөхәррирләргә}}:",
-       "bs-widget-container-tooltip": "Виджеттар",
-       "bs-widget-flyout-heading": "Виджеттар"
-}
diff --git a/WidgetBar/i18n/br.json b/WidgetBar/i18n/br.json
deleted file mode 100644
index 810101c..0000000
--- a/WidgetBar/i18n/br.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Y-M D",
-                       "Fohanno"
-               ]
-       },
-       "prefs-widgetbar": "Barrenn ar widjedoù",
-       "bs-widgetbar-userpagesettings-headline": "Bitrakoù",
-       "bs-widget-container-tooltip": "Bitrakoù",
-       "bs-widget-flyout-heading": "Bitrakoù"
-}
diff --git a/WidgetBar/i18n/ce.json b/WidgetBar/i18n/ce.json
deleted file mode 100644
index 2b0a4e5..0000000
--- a/WidgetBar/i18n/ce.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Умар"
-               ]
-       },
-       "bs-widgetbar-desc": "Лелош йолу интерфейсан тӀетуху виджеташ",
-       "prefs-widgetbar": "Виджетийн меню",
-       "bs-widgetbar-userpagesettings-headline": "Виджеташ",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Табе}} хьайн 
виджетийн панелан чулацам:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Тае}} сан 
виджетийн панель",
-       "bs-widget-container-tooltip": "Виджеташ",
-       "bs-widget-flyout-heading": "Виджеташ"
-}
diff --git a/WidgetBar/i18n/de-formal.json b/WidgetBar/i18n/de-formal.json
deleted file mode 100644
index 76d1256..0000000
--- a/WidgetBar/i18n/de-formal.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Stephan Muggli <mug...@hallowelt.biz>"
-               ]
-       },
-       "bs-widgetbar-userpagesettings-link-title": "Inhalt Ihrer Widgetbar 
bearbeiten:"
-}
diff --git a/WidgetBar/i18n/de.json b/WidgetBar/i18n/de.json
deleted file mode 100644
index 827b88d..0000000
--- a/WidgetBar/i18n/de.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Stephan Muggli <mug...@hallowelt.biz>",
-                       "Sebastian Wallroth",
-                       "Metalhead64"
-               ]
-       },
-       "bs-widgetbar-desc": "Fügt der Oberfläche das Widget-Flyout hinzu",
-       "prefs-widgetbar": "Widget bar",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "Inhalt deiner Widgetbar 
{{GENDER:|bearbeiten}}:",
-       "bs-widgetbar-userpagesettings-link-text": "Meine Widget-Symbolleiste 
{{GENDER:|bearbeiten}}",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/diq.json b/WidgetBar/i18n/diq.json
deleted file mode 100644
index 89a0ede..0000000
--- a/WidgetBar/i18n/diq.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Gorizon",
-                       "Mirzali"
-               ]
-       },
-       "bs-widgetbar-desc": "Verriyê karberi rê Widget keno cı",
-       "prefs-widgetbar": "Widget bar",
-       "bs-widgetbar-userpagesettings-headline": "Widgeti",
-       "bs-widgetbar-userpagesettings-link-title": "Zerrek ke toolbar da 
widget da xo {{GENDER:|bıvurne}}:",
-       "bs-widgetbar-userpagesettings-link-text": "Tollbar'a widgetta mı 
{{GENDER:|bıvurne}}",
-       "bs-widget-container-tooltip": "Widgeti",
-       "bs-widget-flyout-heading": "Widgeti"
-}
diff --git a/WidgetBar/i18n/en.json b/WidgetBar/i18n/en.json
deleted file mode 100644
index 836943f..0000000
--- a/WidgetBar/i18n/en.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Stephan Muggli <mug...@hallowelt.biz>"
-               ]
-       },
-       "bs-widgetbar-desc": "Adds widgets to the user interface",
-       "prefs-widgetbar": "Widget bar",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Edit}} the 
content of your widget toolbar:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Edit}} my widget 
toolbar",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/es.json b/WidgetBar/i18n/es.json
deleted file mode 100644
index 5c5aae2..0000000
--- a/WidgetBar/i18n/es.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Fitoschido"
-               ]
-       },
-       "bs-widgetbar-desc": "Añade ''widgets'' a la interfaz del usuario",
-       "prefs-widgetbar": "Barra de ''widgets''",
-       "bs-widgetbar-userpagesettings-headline": "''Widgets''",
-       "bs-widgetbar-userpagesettings-link-title": "Edita el contenido de la 
barra de ''widgets'':",
-       "bs-widgetbar-userpagesettings-link-text": "Editar mi barra de 
''widgets''",
-       "bs-widget-container-tooltip": "''Widgets''",
-       "bs-widget-flyout-heading": "''Widgets''"
-}
diff --git a/WidgetBar/i18n/fa.json b/WidgetBar/i18n/fa.json
deleted file mode 100644
index 93a213e..0000000
--- a/WidgetBar/i18n/fa.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Dalba"
-               ]
-       },
-       "prefs-widgetbar": "نوار ابزارک"
-}
diff --git a/WidgetBar/i18n/fr.json b/WidgetBar/i18n/fr.json
deleted file mode 100644
index 81a9257..0000000
--- a/WidgetBar/i18n/fr.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Gomoko"
-               ]
-       },
-       "bs-widgetbar-desc": "Ajoute des widgets à l’interface utilisateur",
-       "prefs-widgetbar": "Barre des widgets",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Modifier}} le 
contenu de votre barre d’outils de widgets :",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Modifier}} ma 
barre d’outils de widgets",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/gl.json b/WidgetBar/i18n/gl.json
deleted file mode 100644
index 275f8f3..0000000
--- a/WidgetBar/i18n/gl.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Elisardojm"
-               ]
-       },
-       "bs-widgetbar-desc": "Engade ''widgets'' á interface do usuario",
-       "prefs-widgetbar": "Barra de ''widgets''",
-       "bs-widgetbar-userpagesettings-headline": "''Widgets''",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Modifica}} o 
contido da súa barra de ''widgets'':",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Modificar}} a 
miña barra de \"widgets\"",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/ia.json b/WidgetBar/i18n/ia.json
deleted file mode 100644
index aa45d63..0000000
--- a/WidgetBar/i18n/ia.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "McDutchie"
-               ]
-       },
-       "bs-widgetbar-desc": "Adde \"widgets\" al interfacie de usator",
-       "prefs-widgetbar": "Barra de widgets",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Modificar}} le 
contento de tu barra de widgets:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Modificar}} mi 
barra de widgets",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/it.json b/WidgetBar/i18n/it.json
deleted file mode 100644
index a7295b5..0000000
--- a/WidgetBar/i18n/it.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Beta16"
-               ]
-       },
-       "bs-widgetbar-desc": "Aggiunge widget all'interfaccia utente",
-       "prefs-widgetbar": "Barra dei widget",
-       "bs-widgetbar-userpagesettings-headline": "Widget",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Modifica}} il 
contenuto della tua barra dei widget:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Modifica}} la 
barra dei widget",
-       "bs-widget-container-tooltip": "Widget",
-       "bs-widget-flyout-heading": "Widget"
-}
diff --git a/WidgetBar/i18n/ja.json b/WidgetBar/i18n/ja.json
deleted file mode 100644
index 146c07e..0000000
--- a/WidgetBar/i18n/ja.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Shirayuki"
-               ]
-       },
-       "bs-widgetbar-desc": "ユーザー インターフェイスにウィジェットを追加する",
-       "prefs-widgetbar": "ウィジェット バー",
-       "bs-widgetbar-userpagesettings-headline": "ウィジェット",
-       "bs-widgetbar-userpagesettings-link-title": "ウィジェット 
ツールバーの内容の{{GENDER:|編集}}:",
-       "bs-widgetbar-userpagesettings-link-text": "自分のウィジェット 
ツールバーを{{GENDER:|編集}}",
-       "bs-widget-container-tooltip": "ウィジェット",
-       "bs-widget-flyout-heading": "ウィジェット"
-}
diff --git a/WidgetBar/i18n/ko.json b/WidgetBar/i18n/ko.json
deleted file mode 100644
index 043349a..0000000
--- a/WidgetBar/i18n/ko.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Hwangjy9"
-               ]
-       },
-       "bs-widgetbar-userpagesettings-headline": "위젯",
-       "bs-widget-container-tooltip": "위젯",
-       "bs-widget-flyout-heading": "위젯"
-}
diff --git a/WidgetBar/i18n/lb.json b/WidgetBar/i18n/lb.json
deleted file mode 100644
index 2c4f524..0000000
--- a/WidgetBar/i18n/lb.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Robby"
-               ]
-       },
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/lt.json b/WidgetBar/i18n/lt.json
deleted file mode 100644
index 2108275..0000000
--- a/WidgetBar/i18n/lt.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Eitvys200"
-               ]
-       },
-       "bs-widgetbar-desc": "Prideda valdiklius vartotojo sąsajoje",
-       "prefs-widgetbar": "Valdiklių juosta",
-       "bs-widgetbar-userpagesettings-headline": "Valdikliai",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Keisti}} savo 
valdiklių įrankių juostos turinį:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Keisti}} savo 
valdiklių įrankių juostą",
-       "bs-widget-container-tooltip": "Valdikliai",
-       "bs-widget-flyout-heading": "Valdikliai"
-}
diff --git a/WidgetBar/i18n/mk.json b/WidgetBar/i18n/mk.json
deleted file mode 100644
index 142f51e..0000000
--- a/WidgetBar/i18n/mk.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Bjankuloski06"
-               ]
-       },
-       "bs-widgetbar-desc": "Додава елементи во корисничкиот посредник",
-       "prefs-widgetbar": "Лента со елементи",
-       "bs-widgetbar-userpagesettings-headline": "Елементи",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Уредување}} на 
содржината на мојот алатник со елементи:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Уредување}} на 
мојот алатник со елементи:",
-       "bs-widget-container-tooltip": "Елементи",
-       "bs-widget-flyout-heading": "Елементи"
-}
diff --git a/WidgetBar/i18n/nb.json b/WidgetBar/i18n/nb.json
deleted file mode 100644
index 2510f8b..0000000
--- a/WidgetBar/i18n/nb.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Jon Harald Søby"
-               ]
-       },
-       "bs-widgetbar-desc": "Legger til widgets i brukergrensesnittet",
-       "prefs-widgetbar": "Widget-felt",
-       "bs-widgetbar-userpagesettings-headline": "Widgeter",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Rediger}} 
innholdet i widgetverktøylinja di:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Rediger}} min 
widgetverktøylinje",
-       "bs-widget-container-tooltip": "Widgeter",
-       "bs-widget-flyout-heading": "Widgeter"
-}
diff --git a/WidgetBar/i18n/nl.json b/WidgetBar/i18n/nl.json
deleted file mode 100644
index f02c76c..0000000
--- a/WidgetBar/i18n/nl.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Esketti"
-               ]
-       },
-       "bs-widgetbar-desc": "Voegt widgets aan de user interface",
-       "prefs-widgetbar": "Widget bar",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Edit}} de inhoud 
van de widget-werkbalk:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Edit}} mijn 
widget-werkbalk",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/pt.json b/WidgetBar/i18n/pt.json
deleted file mode 100644
index 3d42033..0000000
--- a/WidgetBar/i18n/pt.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Fúlvio"
-               ]
-       },
-       "bs-widgetbar-desc": "Adiciona widgets à interface do utilizador",
-       "prefs-widgetbar": "Barra de widgets",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "Editar o conteúdo de sua 
barra de ferramentas do widget:",
-       "bs-widgetbar-userpagesettings-link-text": "Editar minha barra de 
ferramentas do widget",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/qqq.json b/WidgetBar/i18n/qqq.json
deleted file mode 100644
index 66e1a47..0000000
--- a/WidgetBar/i18n/qqq.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Stephan Muggli <mug...@hallowelt.biz>",
-                       "Shirayuki"
-               ]
-       },
-       "bs-widgetbar-desc": "Used in 
[{{canonicalurl:Special:WikiAdmin|mode=ExtensionInfo}} 
Special:WikiAdmin?mode=ExtensionInfo], description of widget bar extension",
-       "prefs-widgetbar": "Used in [[Special:Preferences]], headline of widget 
bar section on user page",
-       "bs-widgetbar-userpagesettings-headline": "Headline for widgets, shown 
in more menu.\n{{Identical|Widget}}",
-       "bs-widgetbar-userpagesettings-link-title": "Option in 
[[Special:Preferences]], label for edit the content of your widgetbar: - Use 
GENDER if needed.\n\nUsed as a label, not a link text.\n\nFollowed by 
{{msg-mw|Bs-widgetbar-userpagesettings-link-text}}.",
-       "bs-widgetbar-userpagesettings-link-text": "Option in 
[[Special:Preferences]], link text for edit my widget bar - Use GENDER if 
needed.\n\nPreceded by the label 
{{msg-mw|Bs-widgetbar-userpagesettings-link-title}}.",
-       "bs-widget-container-tooltip": "Image title for 
widgets.\n{{Identical|Widget}}",
-       "bs-widget-flyout-heading": "Heading for widgets.\n{{Identical|Widget}}"
-}
diff --git a/WidgetBar/i18n/ru.json b/WidgetBar/i18n/ru.json
deleted file mode 100644
index 1669f91..0000000
--- a/WidgetBar/i18n/ru.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Okras"
-               ]
-       },
-       "bs-widgetbar-desc": "Добавляет виджеты в пользовательский интерфейс",
-       "prefs-widgetbar": "Меню виджетов",
-       "bs-widgetbar-userpagesettings-headline": "Виджеты",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Отредактируйте}} 
содержимое вашей панели виджетов:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Редактировать}} 
мою панель виджетов",
-       "bs-widget-container-tooltip": "Виджеты",
-       "bs-widget-flyout-heading": "Виджеты"
-}
diff --git a/WidgetBar/i18n/sl.json b/WidgetBar/i18n/sl.json
deleted file mode 100644
index 38d81af..0000000
--- a/WidgetBar/i18n/sl.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Skalcaa"
-               ]
-       },
-       "bs-widgetbar-desc": "Doda gradnike widget na uporabniški vmesnik",
-       "prefs-widgetbar": "Vrstica gradnikov widget",
-       "bs-widgetbar-userpagesettings-headline": "Gradniki widget",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Uredi}} vsebino 
svoje vrstice gradnikov widget:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Uredi}} mojo 
vrstico gradnikov widget",
-       "bs-widget-container-tooltip": "Gradniki widget",
-       "bs-widget-flyout-heading": "Gradniki widget"
-}
diff --git a/WidgetBar/i18n/sv.json b/WidgetBar/i18n/sv.json
deleted file mode 100644
index b4a41f7..0000000
--- a/WidgetBar/i18n/sv.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "WikiPhoenix"
-               ]
-       },
-       "bs-widgetbar-desc": "Lägger till widgets i användargränssnittet",
-       "prefs-widgetbar": "Widget-fält",
-       "bs-widgetbar-userpagesettings-headline": "Widgets",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Redigera}} 
innehållet för ditt widget-fält:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Redigera}} mitt 
widget-fält",
-       "bs-widget-container-tooltip": "Widgets",
-       "bs-widget-flyout-heading": "Widgets"
-}
diff --git a/WidgetBar/i18n/uk.json b/WidgetBar/i18n/uk.json
deleted file mode 100644
index b58b32a..0000000
--- a/WidgetBar/i18n/uk.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Ата"
-               ]
-       },
-       "bs-widgetbar-desc": "Додає віджети до користувацького інтерфейсу",
-       "prefs-widgetbar": "Панель віджетів",
-       "bs-widgetbar-userpagesettings-headline": "Віджети",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|Відредагуйте}} 
вміст своєї панелі віджетів:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|Редагувати}} мою 
панель віджетів",
-       "bs-widget-container-tooltip": "Віджети",
-       "bs-widget-flyout-heading": "Віджети"
-}
diff --git a/WidgetBar/i18n/zh-hans.json b/WidgetBar/i18n/zh-hans.json
deleted file mode 100644
index e6d65cf..0000000
--- a/WidgetBar/i18n/zh-hans.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Liuxinyu970226"
-               ]
-       },
-       "bs-widgetbar-desc": "加入挂件至用户界面",
-       "prefs-widgetbar": "挂件栏",
-       "bs-widgetbar-userpagesettings-headline": "挂件",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|编辑}}您的挂件工具栏的内容:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|编辑}}我的挂件工具栏",
-       "bs-widget-container-tooltip": "挂件",
-       "bs-widget-flyout-heading": "挂件"
-}
diff --git a/WidgetBar/i18n/zh-hant.json b/WidgetBar/i18n/zh-hant.json
deleted file mode 100644
index 72dab87..0000000
--- a/WidgetBar/i18n/zh-hant.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-       "@metadata": {
-               "authors": [
-                       "Liuxinyu970226",
-                       "Cwlin0416"
-               ]
-       },
-       "bs-widgetbar-desc": "加入小部件於使用者介面中",
-       "prefs-widgetbar": "小部件欄",
-       "bs-widgetbar-userpagesettings-headline": "小部件",
-       "bs-widgetbar-userpagesettings-link-title": "{{GENDER:|編輯}}您的小部件內容:",
-       "bs-widgetbar-userpagesettings-link-text": "{{GENDER:|編輯}}我的小部件",
-       "bs-widget-container-tooltip": "小部件",
-       "bs-widget-flyout-heading": "小部件"
-}
diff --git a/WidgetBar/resources/BS.WidgetBar/dialog/Edit.js 
b/WidgetBar/resources/BS.WidgetBar/dialog/Edit.js
deleted file mode 100644
index abfb1e0..0000000
--- a/WidgetBar/resources/BS.WidgetBar/dialog/Edit.js
+++ /dev/null
@@ -1,7 +0,0 @@
-Ext.define('BS.WidgetBar.dialog.Edit', {
-       extend: 'BS.Window',
-       
-       initComponent: function() {
-               this.callParent(arguments);
-       }
-});
\ No newline at end of file
diff --git a/WidgetBar/resources/bluespice.widgetBar.css 
b/WidgetBar/resources/bluespice.widgetBar.css
deleted file mode 100644
index ce5e569..0000000
--- a/WidgetBar/resources/bluespice.widgetBar.css
+++ /dev/null
@@ -1,31 +0,0 @@
-#bs-widget-tab {
-       /* @embed */
-       background: url('images/bs-star-white.png') no-repeat;
-       cursor: pointer;
-       text-indent: -9999px;
-       overflow: hidden;
-}
-
-#bs-widget-tab.hidden {
-       /* @embed */
-       background: url('images/bs-star-orange.png') no-repeat;
-}
-
-#bs-flyout.hidden {
-       display: none;
-}
-
-.bs-widget-head {
-       cursor: pointer;
-}
-
-h4#bs-flyout-content-widgets-header{
-       text-transform: uppercase;
-}
-#bs-widgetbar-edit:hover{
-       color: rgb(205, 223, 242);
-}
-
-#bs-flyout{
-       display: none;
-}
\ No newline at end of file
diff --git a/WidgetBar/resources/bluespice.widgetBar.js 
b/WidgetBar/resources/bluespice.widgetBar.js
deleted file mode 100644
index 4f6429a..0000000
--- a/WidgetBar/resources/bluespice.widgetBar.js
+++ /dev/null
@@ -1,66 +0,0 @@
-mw.loader.using('ext.bluespice',function(){
-       $(document).on('click', '#bs-widget-tab', function(){
-               if ( $(document).triggerHandler('BSWidgetBarToggleList') !== 
false ) {
-                       $('#bs-flyout').toggleClass('hidden');
-                       $('#bs-widget-tab').toggleClass('hidden');
-               }
-
-               if ( $.cookie( 'bs-widget-container' ) == 'true' ) {
-                       $.cookie( 'bs-widget-container', 'null', {
-                               path: '/'
-                       } );
-               } else {
-                       $.cookie( 'bs-widget-container', 'true', {
-                               path: '/',
-                               expires: 10
-                       } );
-               }
-       });
-
-       $(document).on( 'click', '.bs-widget .bs-widget-head', function(){
-               var oWidgetBody = $(this).parent().find('.bs-widget-body');
-               var sCookieKey = $(this).parent().attr('id')+'-viewstate';
-               if ( oWidgetBody.is( ":visible" ) == true ) {
-                       oWidgetBody.slideUp(500);
-                       
$(this).parent().addClass('bs-widget-viewstate-collapsed');
-                       $.cookie(sCookieKey, 'collapsed', {
-                               path: '/',
-                               expires: 10
-                       });
-               } else {
-                       oWidgetBody.slideDown(500);
-                       
$(this).parent().removeClass('bs-widget-viewstate-collapsed');
-                       $.cookie(sCookieKey, null, {
-                               path: '/'
-                       });
-               }
-       }).each( function() {
-               var oWidgetBody = $(this).parent().find('.bs-widget-body');
-               var sCookieKey = $(this).parent().attr('id')+'-viewstate';
-               if ( $.cookie( sCookieKey ) == 'collapsed' ) {
-                       oWidgetBody.hide();
-                       
$(this).parent().addClass('bs-widget-viewstate-collapsed');
-               }
-       });
-});
-
-/**
- * #bs-widgetbar-edit => ANCHOR in normal view mode
- * #bs-widgetbar-settings => DIV on user's user page
- * #mw-htmlform-WidgetBar => TABLE ROW on Special:Preferences
- */
-//Restored old functionality
-/*$(document).on( 'click', '#bs-widgetbar-edit, #bs-widgetbar-settings, 
#mw-htmlform-WidgetBar', function(e) {
-
-       Ext.require( 'BS.WidgetBar.dialog.Edit', function() {
-               var dlg = new BS.WidgetBar.dialog.Edit();
-               var animateFrom = null;
-               if( $(this).attr('id') === 'bs-widgetbar-edit' ) {
-                       animateFrom = this;
-               }
-               dlg.show(animateFrom);
-       }, this );
-
-       e.preventDefault();
-       return false;
-});*/
\ No newline at end of file
diff --git a/WidgetBar/resources/images/bs-star-orange.png 
b/WidgetBar/resources/images/bs-star-orange.png
deleted file mode 100644
index 6f6c2f4..0000000
--- a/WidgetBar/resources/images/bs-star-orange.png
+++ /dev/null
Binary files differ
diff --git a/WidgetBar/resources/images/bs-star-white.png 
b/WidgetBar/resources/images/bs-star-white.png
deleted file mode 100644
index 7987382..0000000
--- a/WidgetBar/resources/images/bs-star-white.png
+++ /dev/null
Binary files differ
diff --git a/WidgetBar/resources/images/bs-userpage-widgets.png 
b/WidgetBar/resources/images/bs-userpage-widgets.png
deleted file mode 100644
index 01bbf6f..0000000
--- a/WidgetBar/resources/images/bs-userpage-widgets.png
+++ /dev/null
Binary files differ
diff --git a/WidgetBar/views/view.WidgetError.php 
b/WidgetBar/views/view.WidgetError.php
deleted file mode 100644
index 9d75f15..0000000
--- a/WidgetBar/views/view.WidgetError.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/**
- * This file is part of blue spice for MediaWiki.
- *
- * @abstract
- * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved.
- * @author Markus Glaser
- * @version 0.1.0 alpha
- *
- * $LastChangedDate: 2010-10-21 00:40:58 +0200 (Do, 21 Okt 2010) $
- * $LastChangedBy: mglaser $
- * $Rev: 748 $
-
- */
-
-class ViewWidgetError extends ViewTagError {
-       // at the moment, error output is just the same as for tags
-}
\ No newline at end of file
diff --git a/WidgetBar/views/view.WidgetErrorList.php 
b/WidgetBar/views/view.WidgetErrorList.php
deleted file mode 100644
index ff5177d..0000000
--- a/WidgetBar/views/view.WidgetErrorList.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/**
- * This file is part of blue spice for MediaWiki.
- *
- * @abstract
- * @copyright Copyright (C) 2016 Hallo Welt! GmbH, All rights reserved.
- * @author Markus Glaser
- * @version 0.1.0 alpha
- *
- * $LastChangedDate: 2010-10-21 00:40:58 +0200 (Do, 21 Okt 2010) $
- * $LastChangedBy: mglaser $
- * $Rev: 748 $
-
- */
-
-class ViewWidgetErrorList extends ViewTagErrorList {
-       // at the moment, error output is just the same as for tags
-}
\ No newline at end of file
diff --git a/WidgetBar/views/view.WidgetList.php 
b/WidgetBar/views/view.WidgetList.php
deleted file mode 100644
index 6a14d31..0000000
--- a/WidgetBar/views/view.WidgetList.php
+++ /dev/null
@@ -1,62 +0,0 @@
-<?php
-class ViewWidgetList extends ViewBaseElement {
-       protected $_mWidgets = array();
-
-       public function execute( $params = false ) {
-
-               $sEditLinkText = wfMessage('bs-widget-edit')->text();
-               $oTitle = Title::makeTitle( NS_USER, 
RequestContext::getMain()->getUser()->getName().'/Widgetbar' );
-               $sEditLink = Linker::link(
-                       $oTitle,
-                       Html::rawElement('span', array(), $sEditLinkText ),
-                       array(
-                               'id' => 'bs-widgetbar-edit',
-                               'class' => 'icon-pencil clearfix'
-                       ),
-                       array(
-                               'action' => 'edit',
-                               'preload' => ''
-                       )
-               );
-
-               $aOut = array();
-               $aOut[] = '<div id="bs-widget-container" >';
-               $aOut[] = '  <div class="icon-plus" id="bs-widget-tab" title="' 
. wfMessage( 'bs-widget-container-tooltip' )->text() . '" 
tabindex="100">[+/-]</div>';
-               $aOut[] = '  <div id="bs-flyout">';
-               $aOut[] = '    <h4 id="bs-flyout-heading">' . wfMessage( 
'bs-widget-flyout-heading' )->text() . '</h4>';
-               $aOut[] = '    <div id="bs-flyout-content">';
-               $aOut[] = '      <div id="bs-flyout-content-widgets">';
-               $aOut[] = '        <h4 
id="bs-flyout-content-widgets-header">'.wfMessage("bs-widget-flyout-heading")->plain().$sEditLink.'</h4>';
-
-               foreach( $this->_mWidgets as $oWidgetView ) {
-                       if( $oWidgetView instanceof ViewWidget ) {
-                               $aOut[] = $oWidgetView->execute();
-                       }
-                       else{
-                               wfDebug( __METHOD__.': Invalid widget.' );
-                       }
-               }
-
-               $aOut[] = '      </div>';
-               $aOut[] = '    </div>';
-               $aOut[] = '  </div>';
-               $aOut[] = '</div>';
-
-               return implode( "\n", $aOut );
-       }
-
-       public function addWidget( ViewBaseElement $oWidgetView ) {
-               $this->_mWidgets[] = $oWidgetView;
-               return $this;
-       }
-
-       /**
-        *
-        * @param array $aWidgets
-        * @return ViewWidgetList
-        */
-       public function setWidgets( $aWidgets ) {
-               $this->_mWidgets = $aWidgets;
-               return $this;
-       }
-}
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iff511d93088d8be7051bc22d02ad6ff9b4a732c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Ljonka <l.verhovs...@gmail.com>

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

Reply via email to