Sumit has uploaded a new change for review.

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

Change subject: WikidataPageBanner remove unused files
......................................................................

WikidataPageBanner remove unused files

Following redundant files leftover from boilerplate extension have been removed:
* resources/ext.WikidataPageBanner.js
* special/SpecialHelloWorld.php
* BoilerPlate.hooks.php

Bug: T103710
Change-Id: I1de93f9a097d3864cbff2fd0eb93671159978c6b
---
D BoilerPlate.hooks.php
D resources/ext.WikidataPageBanner.js
D specials/SpecialHelloWorld.php
3 files changed, 0 insertions(+), 64 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikidataPageBanner 
refs/changes/36/221636/1

diff --git a/BoilerPlate.hooks.php b/BoilerPlate.hooks.php
deleted file mode 100644
index e96cba0..0000000
--- a/BoilerPlate.hooks.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-/**
- * Hooks for BoilerPlate extension
- *
- * @file
- * @ingroup Extensions
- */
-
-class BoilerPlateHooks {
-
-}
diff --git a/resources/ext.WikidataPageBanner.js 
b/resources/ext.WikidataPageBanner.js
deleted file mode 100644
index dcbbaee..0000000
--- a/resources/ext.WikidataPageBanner.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * JavaScript for Foo in BoilerPlate.
- */
-
-( function ( mw, $ ) {
-       var foo, x, y;
-
-       function my() {
-
-       }
-
-       foo = {
-               init: function () {
-                       // ..
-               },
-               doStuff: function () {
-                       // ..
-               }
-       };
-
-       mw.libs.foo = foo;
-
-}( mediaWiki, jQuery ) );
diff --git a/specials/SpecialHelloWorld.php b/specials/SpecialHelloWorld.php
deleted file mode 100644
index aa75f45..0000000
--- a/specials/SpecialHelloWorld.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-/**
- * HelloWorld SpecialPage for BoilerPlate extension
- *
- * @file
- * @ingroup Extensions
- */
-
-class SpecialHelloWorld extends SpecialPage {
-       public function __construct() {
-               parent::__construct( 'HelloWorld' );
-       }
-
-       /**
-        * Shows the page to the user.
-        * @param string $sub: The subpage string argument (if any).
-        *  [[Special:HelloWorld/subpage]].
-        */
-       public function execute( $sub ) {
-               $out = $this->getOutput();
-
-               $out->setPageTitle( $this->msg( 'boilerplate-helloworld' ) );
-
-               $out->addWikiMsg( 'boilerplate-helloworld-intro' );
-       }
-
-       protected function getGroupName() {
-               return 'other';
-       }
-}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1de93f9a097d3864cbff2fd0eb93671159978c6b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikidataPageBanner
Gerrit-Branch: master
Gerrit-Owner: Sumit <[email protected]>

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

Reply via email to