Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -48,11 +48,11 @@ |
49 | 49 | return $default; |
50 | 50 | } |
51 | 51 | |
52 | | - public function request( WebRequest &$x = null ){ |
| 52 | + public function request( WebRequest $x = null ){ |
53 | 53 | return wfSetVar( $this->context->request, $x ); |
54 | 54 | } |
55 | 55 | |
56 | | - public function output( OutputPage &$x = null ){ |
| 56 | + public function output( OutputPage $x = null ){ |
57 | 57 | return wfSetVar( $this->context->output, $x ); |
58 | 58 | } |
59 | 59 | |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | * |
69 | 69 | * @param $article Article |
70 | 70 | */ |
71 | | - public function performRequestForTitle( &$article ) { |
| 71 | + public function performRequestForTitle( $article ) { |
72 | 72 | wfProfileIn( __METHOD__ ); |
73 | 73 | |
74 | 74 | if ( $this->context->request->getVal( 'printable' ) === 'yes' ) { |
— | — | @@ -267,7 +267,7 @@ |
268 | 268 | * @param $context RequestContext |
269 | 269 | * @return Article object |
270 | 270 | */ |
271 | | - public static function articleFromTitle( &$title, RequestContext &$context ) { |
| 271 | + public static function articleFromTitle( $title, RequestContext $context ) { |
272 | 272 | if ( NS_MEDIA == $title->getNamespace() ) { |
273 | 273 | // FIXME: where should this go? |
274 | 274 | $title = Title::makeTitle( NS_FILE, $title->getDBkey() ); |
— | — | @@ -461,7 +461,7 @@ |
462 | 462 | * |
463 | 463 | * @param $article Article |
464 | 464 | */ |
465 | | - private function performAction( &$article ) { |
| 465 | + private function performAction( $article ) { |
466 | 466 | wfProfileIn( __METHOD__ ); |
467 | 467 | |
468 | 468 | if ( !wfRunHooks( 'MediaWikiPerformAction', array( |