<?php
+/**
+ * Fake title class that triggers an error if any members are called.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ *
+ * @file
+ */
/**
* Fake title class that triggers an error if any members are called
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(); }
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(); }
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(); }
- function userCanEditCssJsSubpage() { $this->error(); }
function userCanEditCssSubpage() { $this->error(); }
function userCanEditJsSubpage() { $this->error(); }
function isCascadeProtected() { $this->error(); }
function moveNoAuth( &$nt ) { $this->error(); }
function isValidMoveOperation( &$nt, $auth = true, $reason = '' ) { $this->error(); }
function moveTo( &$nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
- function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
- function moveToNewTitle( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
function moveSubpages( $nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
function isSingleRevRedirect() { $this->error(); }
function isValidMoveTarget( $nt ) { $this->error(); }
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(); }
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(); }