00001 <?php
00002
00006 class FakeTitle extends Title {
00007 function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); }
00008
00009
00010 function __call( $name, $args ) { $this->error(); }
00011
00012
00013 function isLocal() { $this->error(); }
00014 function isTrans() { $this->error(); }
00015 function getText() { $this->error(); }
00016 function getPartialURL() { $this->error(); }
00017 function getDBkey() { $this->error(); }
00018 function getNamespace() { $this->error(); }
00019 function getNsText() { $this->error(); }
00020 function getUserCaseDBKey() { $this->error(); }
00021 function getSubjectNsText() { $this->error(); }
00022 function getTalkNsText() { $this->error(); }
00023 function canTalk() { $this->error(); }
00024 function getInterwiki() { $this->error(); }
00025 function getFragment() { $this->error(); }
00026 function getFragmentForURL() { $this->error(); }
00027 function getDefaultNamespace() { $this->error(); }
00028 function getIndexTitle() { $this->error(); }
00029 function getPrefixedDBkey() { $this->error(); }
00030 function getPrefixedText() { $this->error(); }
00031 function getFullText() { $this->error(); }
00032 function getBaseText() { $this->error(); }
00033 function getSubpageText() { $this->error(); }
00034 function getSubpageUrlForm() { $this->error(); }
00035 function getPrefixedURL() { $this->error(); }
00036 function getFullURL( $query = '', $variant = false ) {$this->error(); }
00037 function getLocalURL( $query = '', $variant = false ) { $this->error(); }
00038 function getLinkUrl( $query = array(), $variant = false ) { $this->error(); }
00039 function escapeLocalURL( $query = '' ) { $this->error(); }
00040 function escapeFullURL( $query = '' ) { $this->error(); }
00041 function getInternalURL( $query = '', $variant = false ) { $this->error(); }
00042 function getEditURL() { $this->error(); }
00043 function getEscapedText() { $this->error(); }
00044 function isExternal() { $this->error(); }
00045 function isSemiProtected( $action = 'edit' ) { $this->error(); }
00046 function isProtected( $action = '' ) { $this->error(); }
00047 function isConversionTable() { $this->error(); }
00048 function userIsWatching() { $this->error(); }
00049 function quickUserCan( $action ) { $this->error(); }
00050 function isNamespaceProtected() { $this->error(); }
00051 function userCan( $action, $doExpensiveQueries = true ) { $this->error(); }
00052 function getUserPermissionsErrors( $action, $user, $doExpensiveQueries = true, $ignoreErrors = array() ) { $this->error(); }
00053 function updateTitleProtection( $create_perm, $reason, $expiry ) { $this->error(); }
00054 function deleteTitleProtection() { $this->error(); }
00055 function isMovable() { $this->error(); }
00056 function userCanRead() { $this->error(); }
00057 function isTalkPage() { $this->error(); }
00058 function isSubpage() { $this->error(); }
00059 function hasSubpages() { $this->error(); }
00060 function getSubpages( $limit = -1 ) { $this->error(); }
00061 function isCssJsSubpage() { $this->error(); }
00062 function isCssOrJsPage() { $this->error(); }
00063 function isValidCssJsSubpage() { $this->error(); }
00064 function getSkinFromCssJsSubpage() { $this->error(); }
00065 function isCssSubpage() { $this->error(); }
00066 function isJsSubpage() { $this->error(); }
00067 function userCanEditCssJsSubpage() { $this->error(); }
00068 function userCanEditCssSubpage() { $this->error(); }
00069 function userCanEditJsSubpage() { $this->error(); }
00070 function isCascadeProtected() { $this->error(); }
00071 function getCascadeProtectionSources( $get_pages = true ) { $this->error(); }
00072 function areRestrictionsCascading() { $this->error(); }
00073 function loadRestrictionsFromRows( $rows, $oldFashionedRestrictions = null ) { $this->error(); }
00074 function loadRestrictions( $res = null ) { $this->error(); }
00075 function getRestrictions( $action ) { $this->error(); }
00076 function getRestrictionExpiry( $action ) { $this->error(); }
00077 function isDeleted() { $this->error(); }
00078 function isDeletedQuick() { $this->error(); }
00079 function getArticleID( $flags = 0 ) { $this->error(); }
00080 function isRedirect( $flags = 0 ) { $this->error(); }
00081 function getLength( $flags = 0 ) { $this->error(); }
00082 function getLatestRevID( $flags = 0 ) { $this->error(); }
00083 function resetArticleID( $newid ) { $this->error(); }
00084 function invalidateCache() { $this->error(); }
00085 function getTalkPage() { $this->error(); }
00086 function setFragment( $fragment ) { $this->error(); }
00087 function getSubjectPage() { $this->error(); }
00088 function getLinksTo( $options = array(), $table = 'pagelinks', $prefix = 'pl' ) { $this->error(); }
00089 function getTemplateLinksTo( $options = array() ) { $this->error(); }
00090 function getBrokenLinksFrom() { $this->error(); }
00091 function getSquidURLs() { $this->error(); }
00092 function purgeSquid() { $this->error(); }
00093 function moveNoAuth( &$nt ) { $this->error(); }
00094 function isValidMoveOperation( &$nt, $auth = true, $reason = '' ) { $this->error(); }
00095 function moveTo( &$nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
00096 function moveOverExistingRedirect( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
00097 function moveToNewTitle( &$nt, $reason = '', $createRedirect = true ) { $this->error(); }
00098 function moveSubpages( $nt, $auth = true, $reason = '', $createRedirect = true ) { $this->error(); }
00099 function isSingleRevRedirect() { $this->error(); }
00100 function isValidMoveTarget( $nt ) { $this->error(); }
00101 function isWatchable() { $this->error(); }
00102 function getParentCategories() { $this->error(); }
00103 function getParentCategoryTree( $children = array() ) { $this->error(); }
00104 function pageCond() { $this->error(); }
00105 function getPreviousRevisionID( $revId, $flags=0 ) { $this->error(); }
00106 function getNextRevisionID( $revId, $flags=0 ) { $this->error(); }
00107 function getFirstRevision( $flags=0 ) { $this->error(); }
00108 function isNewPage() { $this->error(); }
00109 function getEarliestRevTime() { $this->error(); }
00110 function countRevisionsBetween( $old, $new ) { $this->error(); }
00111 function equals( Title $title ) { $this->error(); }
00112 function exists() { $this->error(); }
00113 function isAlwaysKnown() { $this->error(); }
00114 function isKnown() { $this->error(); }
00115 function canExist() { $this->error(); }
00116 function touchLinks() { $this->error(); }
00117 function getTouched( $db = null ) { $this->error(); }
00118 function getNotificationTimestamp( $user = null ) { $this->error(); }
00119 function trackbackURL() { $this->error(); }
00120 function trackbackRDF() { $this->error(); }
00121 function getNamespaceKey( $prepend = 'nstab-' ) { $this->error(); }
00122 function isSpecialPage() { $this->error(); }
00123 function isSpecial( $name ) { $this->error(); }
00124 function fixSpecialName() { $this->error(); }
00125 function isContentPage() { $this->error(); }
00126 function getRedirectsHere( $ns = null ) { $this->error(); }
00127 function isValidRedirectTarget() { $this->error(); }
00128 function getBacklinkCache() { $this->error(); }
00129 function canUseNoindex() { $this->error(); }
00130 function getRestrictionTypes() { $this->error(); }
00131 }