Index: trunk/phase3/includes/FakeTitle.php |
— | — | @@ -6,10 +6,6 @@ |
7 | 7 | class FakeTitle extends Title { |
8 | 8 | function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); } |
9 | 9 | |
10 | | - // PHP 5.1 method overload |
11 | | - function __call( $name, $args ) { $this->error(); } |
12 | | - |
13 | | - // PHP <5.1 compatibility |
14 | 10 | function isLocal() { $this->error(); } |
15 | 11 | function isTrans() { $this->error(); } |
16 | 12 | function getText() { $this->error(); } |
— | — | @@ -33,7 +29,7 @@ |
34 | 30 | function getSubpageText() { $this->error(); } |
35 | 31 | function getSubpageUrlForm() { $this->error(); } |
36 | 32 | function getPrefixedURL() { $this->error(); } |
37 | | - function getFullURL( $query = '', $variant = false ) {$this->error(); } |
| 33 | + function getFullURL( $query = '', $variant = false ) { $this->error(); } |
38 | 34 | function getLocalURL( $query = '', $variant = false ) { $this->error(); } |
39 | 35 | function getLinkUrl( $query = array(), $variant = false ) { $this->error(); } |
40 | 36 | function escapeLocalURL( $query = '' ) { $this->error(); } |