jenkins-bot has submitted this change and it was merged.
Change subject: Split classes into includes directory
......................................................................
Split classes into includes directory
This will support further class &
devleopment through GSOC
Change-Id: Ie230ee8e14eeded17efbbd737d24d48749f284fe
---
M extension.json
R includes/Contributors.php
R includes/ContributorsHooks.php
R includes/SpecialContributors.php
4 files changed, 6 insertions(+), 6 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/extension.json b/extension.json
index 3bce457..157dfb7 100644
--- a/extension.json
+++ b/extension.json
@@ -21,9 +21,9 @@
"ContributorsAlias": "Contributors.alias.php"
},
"AutoloadClasses": {
- "Contributors": "Contributors.class.php",
- "SpecialContributors": "Contributors.page.php",
- "ContributorsHooks": "Contributors.hooks.php"
+ "Contributors": "includes/Contributors.php",
+ "SpecialContributors": "includes/SpecialContributors.php",
+ "ContributorsHooks": "includes/ContributorsHooks.php"
},
"Hooks": {
"ArticleDeleteComplete": [
diff --git a/Contributors.class.php b/includes/Contributors.php
similarity index 97%
rename from Contributors.class.php
rename to includes/Contributors.php
index be0e809..358612c 100644
--- a/Contributors.class.php
+++ b/includes/Contributors.php
@@ -135,10 +135,10 @@
'COUNT(*) AS count',
'rev_user',
'rev_user_text',
- ), $this->getConditions(), __METHOD__,
+ ), $this->getConditions(), __METHOD__,
array(
- 'GROUP BY' => 'rev_user_text',
- 'ORDER BY' => 'count DESC',
+ 'GROUP BY' => 'rev_user_text',
+ 'ORDER BY' => 'count DESC',
)
);
if ( $res && $dbr->numRows( $res ) > 0 ) {
diff --git a/Contributors.hooks.php b/includes/ContributorsHooks.php
similarity index 100%
rename from Contributors.hooks.php
rename to includes/ContributorsHooks.php
diff --git a/Contributors.page.php b/includes/SpecialContributors.php
similarity index 100%
rename from Contributors.page.php
rename to includes/SpecialContributors.php
--
To view, visit https://gerrit.wikimedia.org/r/288102
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie230ee8e14eeded17efbbd737d24d48749f284fe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Contributors
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: 01tonythomas <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Niharika29 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits