From: Chad Horohoe Date: Wed, 22 Oct 2008 01:00:23 +0000 (+0000) Subject: Fix some strict standards on function declaration. Others might need this too, but... X-Git-Tag: 1.31.0-rc.0~44652 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=b514de314d9629c88509043b66bc454db86f3220;p=lhc%2Fweb%2Fwiklou.git Fix some strict standards on function declaration. Others might need this too, but these methods were mentioned in bug 16060. --- 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(); }