Spage has uploaded a new change for review.

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

Change subject: Remove unused file, update README
......................................................................

Remove unused file, update README

SpecialIncludable.php is still in extensions/examples.

Change-Id: If59462c1c8dab13c3749e29484a500ea23989cfa
---
M README
D SpecialIncludable.php
2 files changed, 4 insertions(+), 46 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BoilerPlate 
refs/changes/33/237033/1

diff --git a/README b/README
index b091539..c973562 100644
--- a/README
+++ b/README
@@ -5,11 +5,12 @@
 following commands to make a clean directory of just this template without the
 Git meta-data and other examples.
 
-       git clone 
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/examples.git 
mw-extensions-example-repo
-       cp -R mw-extensions-example-repo/BoilerPlate ./MyExtension
+       cd extensions
+       git clone 
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/BoilerPlate.git
+       cp -R BoilerPlate ./MyExtension
 
 This automates the recommended code checkers for PHP and JavaScript code in 
Wikimedia projects
-(see https://www.mediawiki.org/wiki/Continuous_integration/Test_entry_points).
+(see https://www.mediawiki.org/wiki/Continuous_integration/Entry_points).
 To take advantage of this automation.
   # install nodejs, npm, and PHP composer
   # change to the extension's directory
diff --git a/SpecialIncludable.php b/SpecialIncludable.php
deleted file mode 100644
index 9c13e9a..0000000
--- a/SpecialIncludable.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-/**
- * A Special Page sample that can be included on a wikipage like
- * {{Special:Includable}} as well as being accessed on [[Special:Includable]]
- *
- * @file
- * @ingroup Extensions
- *
- * @author Ævar Arnfjörð Bjarmason <ava...@gmail.com>
- * @author Niklas Laxström
- * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason
- * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 
2.0 or later
- */
-
-$wgExtensionCredits['specialpage'][] = array(
-       'path' => __FILE__,
-       'name' => 'Includable',
-       'description' => 'a sample includable Special Page',
-       'author' => 'Ævar Arnfjörð Bjarmason'
-);
-
-$wgSpecialPages['Includable'] = 'SpecialIncludable';
-
-class SpecialIncludable extends IncludableSpecialPage {
-
-       public function __construct() {
-               parent::__construct( 'Includable' );
-       }
-
-       /**
-        * Show the page
-        */
-       public function execute( $par = null ) {
-               if ( $this->including() ) {
-                       $out = "I'm being included";
-               } else {
-                       $out = "I'm being viewed as a Special Page";
-                       $this->setHeaders();
-               }
-
-               $this->getOutput()->addWikiText( $out );
-       }
-}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If59462c1c8dab13c3749e29484a500ea23989cfa
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BoilerPlate
Gerrit-Branch: master
Gerrit-Owner: Spage <sp...@wikimedia.org>

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

Reply via email to