Index: trunk/phase3/includes/ProtectionForm.php |
— | — | @@ -61,7 +61,7 @@ |
62 | 62 | global $wgUser; |
63 | 63 | // Set instance variables. |
64 | 64 | $this->mArticle = $article; |
65 | | - $this->mTitle = $article->mTitle; |
| 65 | + $this->mTitle = $article->getTitle(); |
66 | 66 | $this->mApplicableTypes = $this->mTitle->getRestrictionTypes(); |
67 | 67 | |
68 | 68 | // Check if the form should be disabled. |
Index: trunk/phase3/includes/ExternalEdit.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | |
24 | 24 | function __construct( $article, $mode ) { |
25 | 25 | $this->mArticle =& $article; |
26 | | - $this->mTitle =& $article->mTitle; |
| 26 | + $this->mTitle = $article->getTitle(); |
27 | 27 | $this->mCharset = 'UTF-8'; |
28 | 28 | $this->mMode = $mode; |
29 | 29 | } |
Index: trunk/phase3/includes/api/ApiDelete.php |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | if ( $article->doDeleteArticle( $reason, false, 0, true, $error ) ) { |
152 | 152 | return array(); |
153 | 153 | } else { |
154 | | - return array( array( 'cannotdelete', $article->mTitle->getPrefixedText() ) ); |
| 154 | + return array( array( 'cannotdelete', $article->getTitle()->getPrefixedText() ) ); |
155 | 155 | } |
156 | 156 | } |
157 | 157 | |
Index: trunk/phase3/includes/RawPage.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | |
30 | 30 | $allowedCTypes = array( 'text/x-wiki', $wgJsMimeType, 'text/css', 'application/x-zope-edit' ); |
31 | 31 | $this->mArticle = $article; |
32 | | - $this->mTitle = $article->mTitle; |
| 32 | + $this->mTitle = $article->getTitle(); |
33 | 33 | |
34 | 34 | if( $request === false ) { |
35 | 35 | $this->mRequest = $wgRequest; |