jenkins-bot has submitted this change and it was merged.
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
* WikidataPageBanner.i18n.alias.php
Bug: T103710
Change-Id: I1de93f9a097d3864cbff2fd0eb93671159978c6b
---
D BoilerPlate.hooks.php
D WikidataPageBanner.i18n.alias.php
D resources/ext.WikidataPageBanner.js
D specials/SpecialHelloWorld.php
4 files changed, 0 insertions(+), 69 deletions(-)
Approvals:
Jdlrobson: Looks good to me, approved
jenkins-bot: Verified
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/WikidataPageBanner.i18n.alias.php
b/WikidataPageBanner.i18n.alias.php
deleted file mode 100644
index f8ded6f..0000000
--- a/WikidataPageBanner.i18n.alias.php
+++ /dev/null
@@ -1,5 +0,0 @@
-<?php
-/**
- * Aliases for special pages of the WikidataPageBanner extension
- */
-$specialPageAliases['en'] = array();
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: merged
Gerrit-Change-Id: I1de93f9a097d3864cbff2fd0eb93671159978c6b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/WikidataPageBanner
Gerrit-Branch: master
Gerrit-Owner: Sumit <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits