summaryrefslogtreecommitdiff
path: root/includes/FakeTitle.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-12-03 13:29:22 +0100
commitca32f08966f1b51fcb19460f0996bb0c4048e6fe (patch)
treeec04cc15b867bc21eedca904cea9af0254531a11 /includes/FakeTitle.php
parenta22fbfc60f36f5f7ee10d5ae6fe347340c2ee67c (diff)
Update to MediaWiki 1.18.0
* also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing
Diffstat (limited to 'includes/FakeTitle.php')
-rw-r--r--includes/FakeTitle.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/includes/FakeTitle.php b/includes/FakeTitle.php
index 21b49bde..515ff387 100644
--- a/includes/FakeTitle.php
+++ b/includes/FakeTitle.php
@@ -6,10 +6,6 @@
class FakeTitle extends Title {
function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); }
- // PHP 5.1 method overload
- function __call( $name, $args ) { $this->error(); }
-
- // PHP <5.1 compatibility
function isLocal() { $this->error(); }
function isTrans() { $this->error(); }
function getText() { $this->error(); }
@@ -33,7 +29,7 @@ class FakeTitle extends Title {
function getSubpageText() { $this->error(); }
function getSubpageUrlForm() { $this->error(); }
function getPrefixedURL() { $this->error(); }
- function getFullURL( $query = '', $variant = false ) {$this->error(); }
+ function getFullURL( $query = '', $variant = false ) { $this->error(); }
function getLocalURL( $query = '', $variant = false ) { $this->error(); }
function getLinkUrl( $query = array(), $variant = false ) { $this->error(); }
function escapeLocalURL( $query = '' ) { $this->error(); }