Index: trunk/phase3/includes/RawPage.php |
— | — | @@ -23,15 +23,15 @@ |
24 | 24 | var $mSmaxage, $mMaxage; |
25 | 25 | var $mContentType, $mExpandTemplates; |
26 | 26 | |
27 | | - function __construct( &$article, $request = false ) { |
| 27 | + function __construct( Article $article, $request = false ) { |
28 | 28 | global $wgRequest, $wgInputEncoding, $wgSquidMaxage, $wgJsMimeType, $wgGroupPermissions; |
29 | 29 | |
30 | 30 | $allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css', 'application/x-zope-edit'); |
31 | | - $this->mArticle =& $article; |
32 | | - $this->mTitle =& $article->mTitle; |
| 31 | + $this->mArticle = $article; |
| 32 | + $this->mTitle = $article->mTitle; |
33 | 33 | |
34 | 34 | if( $request === false ) { |
35 | | - $this->mRequest =& $wgRequest; |
| 35 | + $this->mRequest = $wgRequest; |
36 | 36 | } else { |
37 | 37 | $this->mRequest = $request; |
38 | 38 | } |