Remove deprecated userCanCreate(), userCanEdit(), userCanMove(). Methods were depreca...
[lhc/web/wiklou.git] / includes / FakeTitle.php
1 <?php
2
3 /**
4 * Fake title class that triggers an error if any members are called
5 */
6 class FakeTitle extends Title {
7 function error() { throw new MWException( "Attempt to call member function of FakeTitle\n" ); }
8
9 // PHP 5.1 method overload
10 function __call( $name, $args ) { $this->error(); }
11
12 // PHP <5.1 compatibility
13 function isLocal() { $this->error(); }
14 function isTrans() { $this->error(); }
15 function getText() { $this->error(); }
16 function getPartialURL() { $this->error(); }
17 function getDBkey() { $this->error(); }
18 function getNamespace() { $this->error(); }
19 function getNsText() { $this->error(); }
20 function getSubjectNsText() { $this->error(); }
21 function getInterwiki() { $this->error(); }
22 function getFragment() { $this->error(); }
23 function getDefaultNamespace() { $this->error(); }
24 function getIndexTitle() { $this->error(); }
25 function getPrefixedDBkey() { $this->error(); }
26 function getPrefixedText() { $this->error(); }
27 function getFullText() { $this->error(); }
28 function getPrefixedURL() { $this->error(); }
29 function getFullURL( $query = '', $variant = false ) {$this->error(); }
30 function getLocalURL( $query = '', $variant = false ) { $this->error(); }
31 function escapeLocalURL( $query = '' ) { $this->error(); }
32 function escapeFullURL( $query = '' ) { $this->error(); }
33 function getInternalURL( $query = '', $variant = false ) { $this->error(); }
34 function getEditURL() { $this->error(); }
35 function getEscapedText() { $this->error(); }
36 function isExternal() { $this->error(); }
37 function isSemiProtected( $action = 'edit' ) { $this->error(); }
38 function isProtected( $action = '' ) { $this->error(); }
39 function userIsWatching() { $this->error(); }
40 function userCan( $action, $doExpensiveQueries = true ) { $this->error(); }
41 function isMovable() { $this->error(); }
42 function userCanRead() { $this->error(); }
43 function isTalkPage() { $this->error(); }
44 function isCssJsSubpage() { $this->error(); }
45 function isValidCssJsSubpage() { $this->error(); }
46 function getSkinFromCssJsSubpage() { $this->error(); }
47 function isCssSubpage() { $this->error(); }
48 function isJsSubpage() { $this->error(); }
49 function userCanEditCssJsSubpage() { $this->error(); }
50 function loadRestrictions( $res ) { $this->error(); }
51 function getRestrictions($action) { $this->error(); }
52 function isDeleted() { $this->error(); }
53 function getArticleID( $flags = 0 ) { $this->error(); }
54 function getLatestRevID() { $this->error(); }
55 function resetArticleID( $newid ) { $this->error(); }
56 function invalidateCache() { $this->error(); }
57 function getTalkPage() { $this->error(); }
58 function getSubjectPage() { $this->error(); }
59 function getLinksTo() { $this->error(); }
60 function getTemplateLinksTo() { $this->error(); }
61 function getBrokenLinksFrom() { $this->error(); }
62 function getSquidURLs() { $this->error(); }
63 function moveNoAuth() { $this->error(); }
64 function isValidMoveOperation() { $this->error(); }
65 function moveTo() { $this->error(); }
66 function moveOverExistingRedirect() { $this->error(); }
67 function moveToNewTitle() { $this->error(); }
68 function isValidMoveTarget() { $this->error(); }
69 function getParentCategories() { $this->error(); }
70 function getParentCategoryTree() { $this->error(); }
71 function pageCond() { $this->error(); }
72 function getPreviousRevisionID() { $this->error(); }
73 function getNextRevisionID() { $this->error(); }
74 function equals() { $this->error(); }
75 function exists() { $this->error(); }
76 function isAlwaysKnown() { $this->error(); }
77 function isKnown() { $this->error(); }
78 function touchLinks() { $this->error(); }
79 function trackbackURL() { $this->error(); }
80 function trackbackRDF() { $this->error(); }
81 }