Index: trunk/extensions/Contributors/Contributors.page.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | |
11 | 11 | class SpecialContributors extends IncludableSpecialPage { |
12 | 12 | |
13 | | - private $target; |
| 13 | + protected $target; |
14 | 14 | |
15 | 15 | public function __construct() { |
16 | 16 | parent::__construct( 'Contributors' ); |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | * |
116 | 116 | * @return array |
117 | 117 | */ |
118 | | - private function getMainContributors() { |
| 118 | + protected function getMainContributors() { |
119 | 119 | wfProfileIn( __METHOD__ ); |
120 | 120 | global $wgContributorsLimit, $wgContributorsThreshold; |
121 | 121 | $total = 0; |
— | — | @@ -137,7 +137,7 @@ |
138 | 138 | * |
139 | 139 | * @return array |
140 | 140 | */ |
141 | | - private function getContributors() { |
| 141 | + protected function getContributors() { |
142 | 142 | wfProfileIn( __METHOD__ ); |
143 | 143 | global $wgMemc; |
144 | 144 | $k = wfMemcKey( 'contributors', $this->target->getArticleId() ); |
— | — | @@ -174,7 +174,7 @@ |
175 | 175 | * |
176 | 176 | * @return array |
177 | 177 | */ |
178 | | - private function getConditions() { |
| 178 | + protected function getConditions() { |
179 | 179 | global $wgVersion; |
180 | 180 | $conds['rev_page'] = $this->target->getArticleId(); |
181 | 181 | if( version_compare( $wgVersion, '1.11alpha', '>=' ) ) |