Index: trunk/extensions/Collection/Collection.suggest.php |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | * or a number of articles to add or a value (1 - 1.5) all articles with a |
53 | 53 | * higher value will be added to the collection |
54 | 54 | */ |
55 | | - public function run( $mode = '', $param = '' ) { |
| 55 | + public static function run( $mode = '', $param = '' ) { |
56 | 56 | global $wgOut; |
57 | 57 | |
58 | 58 | if ( !CollectionSession::hasSession() ) { |
Index: trunk/extensions/ReaderFeedback/specialpages/RatingHistory_body.php |
— | — | @@ -547,7 +547,7 @@ |
548 | 548 | */ |
549 | 549 | public function getFilePath( $tag, $ext='' ) { |
550 | 550 | global $wgUploadDirectory; |
551 | | - $rel = self::getRelPath( $tag, $ext ); |
| 551 | + $rel = $this->getRelPath( $tag, $ext ); |
552 | 552 | return "{$wgUploadDirectory}/graphs/{$rel}"; |
553 | 553 | } |
554 | 554 | |
— | — | @@ -559,7 +559,7 @@ |
560 | 560 | */ |
561 | 561 | public function getUrlPath( $tag, $ext='' ) { |
562 | 562 | global $wgUploadPath; |
563 | | - $rel = self::getRelPath( $tag, $ext ); |
| 563 | + $rel = $this->getRelPath( $tag, $ext ); |
564 | 564 | return "{$wgUploadPath}/graphs/{$rel}"; |
565 | 565 | } |
566 | 566 | |