From d9022f63880ce039446fba8364f68e656b7bf4cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 3 May 2012 13:01:35 +0200 Subject: Update to MediaWiki 1.19.0 --- includes/FakeTitle.php | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'includes/FakeTitle.php') diff --git a/includes/FakeTitle.php b/includes/FakeTitle.php index 515ff387..8415ec08 100644 --- a/includes/FakeTitle.php +++ b/includes/FakeTitle.php @@ -31,9 +31,9 @@ class FakeTitle extends Title { function getPrefixedURL() { $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(); } - function escapeFullURL( $query = '' ) { $this->error(); } + function getLinkURL( $query = array(), $variant = false ) { $this->error(); } + function escapeLocalURL( $query = '', $query2 = false ) { $this->error(); } + function escapeFullURL( $query = '', $query2 = false ) { $this->error(); } function getInternalURL( $query = '', $variant = false ) { $this->error(); } function getEditURL() { $this->error(); } function getEscapedText() { $this->error(); } @@ -42,9 +42,9 @@ class FakeTitle extends Title { function isProtected( $action = '' ) { $this->error(); } function isConversionTable() { $this->error(); } function userIsWatching() { $this->error(); } - function quickUserCan( $action ) { $this->error(); } - function isNamespaceProtected() { $this->error(); } - function userCan( $action, $doExpensiveQueries = true ) { $this->error(); } + function quickUserCan( $action, $user = null ) { $this->error(); } + function isNamespaceProtected( User $user ) { $this->error(); } + function userCan( $action, $user = null, $doExpensiveQueries = true ) { $this->error(); } function getUserPermissionsErrors( $action, $user, $doExpensiveQueries = true, $ignoreErrors = array() ) { $this->error(); } function updateTitleProtection( $create_perm, $reason, $expiry ) { $this->error(); } function deleteTitleProtection() { $this->error(); } @@ -56,7 +56,6 @@ class FakeTitle extends Title { function getSubpages( $limit = -1 ) { $this->error(); } function isCssJsSubpage() { $this->error(); } function isCssOrJsPage() { $this->error(); } - function isValidCssJsSubpage() { $this->error(); } function getSkinFromCssJsSubpage() { $this->error(); } function isCssSubpage() { $this->error(); } function isJsSubpage() { $this->error(); } @@ -102,7 +101,7 @@ class FakeTitle extends Title { function getNextRevisionID( $revId, $flags=0 ) { $this->error(); } function getFirstRevision( $flags=0 ) { $this->error(); } function isNewPage() { $this->error(); } - function getEarliestRevTime() { $this->error(); } + function getEarliestRevTime( $flags = 0 ) { $this->error(); } function countRevisionsBetween( $old, $new ) { $this->error(); } function equals( Title $title ) { $this->error(); } function exists() { $this->error(); } @@ -112,8 +111,6 @@ class FakeTitle extends Title { function touchLinks() { $this->error(); } function getTouched( $db = null ) { $this->error(); } function getNotificationTimestamp( $user = null ) { $this->error(); } - function trackbackURL() { $this->error(); } - function trackbackRDF() { $this->error(); } function getNamespaceKey( $prepend = 'nstab-' ) { $this->error(); } function isSpecialPage() { $this->error(); } function isSpecial( $name ) { $this->error(); } -- cgit v1.2.3-54-g00ecf