Lewis Cawte has uploaded a new change for review.

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

Change subject: Rename class to avoid breaking lots of class calls
......................................................................

Rename class to avoid breaking lots of class calls

Change-Id: I2c873adf93e69a528be388cf961e9ed81bf51aa6
---
M BlogPage.php
M BlogPageClass.php
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlogPage 
refs/changes/39/244939/1

diff --git a/BlogPage.php b/BlogPage.php
index e75db44..0fcc811 100644
--- a/BlogPage.php
+++ b/BlogPage.php
@@ -110,7 +110,7 @@
 $wgExtensionMessagesFiles['BlogPageNamespaces'] = __DIR__ . 
'/BlogPage.namespaces.php';
 
 // Autoload the class which is used when rendering pages in the NS_BLOG NS
-$wgAutoloadClasses['BlogPageClass'] = __DIR__ . '/BlogPageClass.php';
+$wgAutoloadClasses['BlogPage'] = __DIR__ . '/BlogPageClass.php';
 
 // Special pages
 $wgAutoloadClasses['ArticlesHome'] = __DIR__ . '/SpecialArticlesHome.php';
diff --git a/BlogPageClass.php b/BlogPageClass.php
index 20d1aae..216bfb0 100644
--- a/BlogPageClass.php
+++ b/BlogPageClass.php
@@ -4,7 +4,7 @@
  *
  * @file
  */
-class BlogPageClass extends Article {
+class BlogPage extends Article {
 
        public $title = null;
        public $authors = array();

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c873adf93e69a528be388cf961e9ed81bf51aa6
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlogPage
Gerrit-Branch: master
Gerrit-Owner: Lewis Cawte <[email protected]>

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

Reply via email to