jenkins-bot has submitted this change and it was merged.
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
M extension.json
3 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Lewis Cawte: Looks good to me, approved
jenkins-bot: Verified
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();
diff --git a/extension.json b/extension.json
index 64a086a..07a7f04 100644
--- a/extension.json
+++ b/extension.json
@@ -32,7 +32,7 @@
}
},
"AutoloadClasses": {
- "BlogPageClass": "BlogPageClass.php",
+ "BlogPage": "BlogPageClass.php",
"ArticlesHome": "SpecialArticlesHome.php",
"ArticleLists": "SpecialArticleLists.php",
"BlogTagCloud": "TagCloudClass.php",
--
To view, visit https://gerrit.wikimedia.org/r/244939
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2c873adf93e69a528be388cf961e9ed81bf51aa6
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/BlogPage
Gerrit-Branch: master
Gerrit-Owner: Lewis Cawte <[email protected]>
Gerrit-Reviewer: Lewis Cawte <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits