From b514de314d9629c88509043b66bc454db86f3220 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 22 Oct 2008 01:00:23 +0000 Subject: [PATCH] Fix some strict standards on function declaration. Others might need this too, but these methods were mentioned in bug 16060. --- includes/FakeTitle.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/includes/FakeTitle.php b/includes/FakeTitle.php index 8dbfe3ded2..ac1c122016 100644 --- a/includes/FakeTitle.php +++ b/includes/FakeTitle.php @@ -26,20 +26,20 @@ class FakeTitle extends Title { function getPrefixedText() { $this->error(); } function getFullText() { $this->error(); } function getPrefixedURL() { $this->error(); } - function getFullURL() {$this->error(); } - function getLocalURL() { $this->error(); } - function escapeLocalURL() { $this->error(); } - function escapeFullURL() { $this->error(); } - function getInternalURL() { $this->error(); } + function getFullURL( $query = '', $variant = false ) {$this->error(); } + function getLocalURL( $query = '', $variant = false ) { $this->error(); } + function escapeLocalURL( $query = '' ) { $this->error(); } + function escapeFullURL( $query = '' ) { $this->error(); } + function getInternalURL( $query = '', $variant = false ) { $this->error(); } function getEditURL() { $this->error(); } function getEscapedText() { $this->error(); } function isExternal() { $this->error(); } - function isSemiProtected() { $this->error(); } - function isProtected() { $this->error(); } + function isSemiProtected( $action = 'edit' ) { $this->error(); } + function isProtected( $action = '' ) { $this->error(); } function userIsWatching() { $this->error(); } - function userCan() { $this->error(); } + function userCan( $action, $doExpensiveQueries = true ) { $this->error(); } function userCanCreate() { $this->error(); } - function userCanEdit() { $this->error(); } + function userCanEdit( $doExpensiveQueries = true ) { $this->error(); } function userCanMove() { $this->error(); } function isMovable() { $this->error(); } function userCanRead() { $this->error(); } -- 2.20.1