
dantman at svn
Nov 16, 2009, 3:59 PM
Post #1 of 1
(88 views)
Permalink
|
|
SVN: [59156] trunk/extensions/Contributors/Contributors.page.php
|
|
http://www.mediawiki.org/wiki/Special:Code/MediaWiki/59156 Revision: 59156 Author: dantman Date: 2009-11-16 23:59:01 +0000 (Mon, 16 Nov 2009) Log Message: ----------- These two methods are generic enough to be public. Protecting them just stops people from writing skins or other extensions which extend the work this extension has done to calculate contributors. Modified Paths: -------------- trunk/extensions/Contributors/Contributors.page.php Modified: trunk/extensions/Contributors/Contributors.page.php =================================================================== --- trunk/extensions/Contributors/Contributors.page.php 2009-11-16 23:41:57 UTC (rev 59155) +++ trunk/extensions/Contributors/Contributors.page.php 2009-11-16 23:59:01 UTC (rev 59156) @@ -116,7 +116,7 @@ * * @return array */ - protected function getMainContributors() { + public function getMainContributors() { wfProfileIn( __METHOD__ ); global $wgContributorsLimit, $wgContributorsThreshold; $total = 0; @@ -139,7 +139,7 @@ * * @return array */ - protected function getContributors() { + public function getContributors() { wfProfileIn( __METHOD__ ); global $wgMemc; $k = wfMemcKey( 'contributors', $this->target->getArticleId() ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS [at] lists https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
|