Hydriz has submitted this change and it was merged.

Change subject: Renaming files to standardise files that are part of special 
pages.
......................................................................


Renaming files to standardise files that are part of special pages.

Old names such as "CloseWikis.page.php" is not very descriptive at
all, and this commit moves the files that generate the Special pages
to a better naming standard such as SpecialClosewiki.php. The main
extension file is updated to reflect this change.

Change-Id: I871b3e4a466f270c92c0c1607118cd8580a4a040
---
M CloseWikis.php
R SpecialCloseWiki.php
R SpecialListClosedWikis.php
3 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Hydriz: Verified; Looks good to me, approved



diff --git a/CloseWikis.php b/CloseWikis.php
index a019374..1d0d525 100644
--- a/CloseWikis.php
+++ b/CloseWikis.php
@@ -39,8 +39,8 @@
 // To be promoted globally
 $wgAvailableRights[] = 'editclosedwikis';
 
-$wgAutoloadClasses['SpecialCloseWiki'] = "$dir/CloseWikis.page.php";
-$wgAutoloadClasses['SpecialListClosedWikis'] = "$dir/CloseWikis.list.php";
+$wgAutoloadClasses['SpecialCloseWiki'] = "$dir/SpecialCloseWiki.php";
+$wgAutoloadClasses['SpecialListClosedWikis'] = 
"$dir/SpecialListClosedWikis.php";
 $wgSpecialPages['CloseWiki'] = 'SpecialCloseWiki';
 $wgSpecialPages['ListClosedWikis'] = 'SpecialListClosedWikis';
 
diff --git a/CloseWikis.page.php b/SpecialCloseWiki.php
similarity index 100%
rename from CloseWikis.page.php
rename to SpecialCloseWiki.php
diff --git a/CloseWikis.list.php b/SpecialListClosedWikis.php
similarity index 100%
rename from CloseWikis.list.php
rename to SpecialListClosedWikis.php

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I871b3e4a466f270c92c0c1607118cd8580a4a040
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CloseWikis
Gerrit-Branch: master
Gerrit-Owner: Hydriz <ad...@alphacorp.tk>
Gerrit-Reviewer: Hydriz <ad...@alphacorp.tk>

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

Reply via email to