* Use 1movedto2_redir instead of 1movedto2 in the pages history when moving over...
[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 {
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 getInterwikiLink() { $this->error(); }
14 function getInterwikiCached() { $this->error(); }
15 function isLocal() { $this->error(); }
16 function isTrans() { $this->error(); }
17 function touchArray( $titles, $timestamp = '' ) { $this->error(); }
18 function getText() { $this->error(); }
19 function getPartialURL() { $this->error(); }
20 function getDBkey() { $this->error(); }
21 function getNamespace() { $this->error(); }
22 function getNsText() { $this->error(); }
23 function getSubjectNsText() { $this->error(); }
24 function getInterwiki() { $this->error(); }
25 function getFragment() { $this->error(); }
26 function getDefaultNamespace() { $this->error(); }
27 function getIndexTitle() { $this->error(); }
28 function getPrefixedDBkey() { $this->error(); }
29 function getPrefixedText() { $this->error(); }
30 function getFullText() { $this->error(); }
31 function getPrefixedURL() { $this->error(); }
32 function getFullURL() {$this->error(); }
33 function getLocalURL() { $this->error(); }
34 function escapeLocalURL() { $this->error(); }
35 function escapeFullURL() { $this->error(); }
36 function getInternalURL() { $this->error(); }
37 function getEditURL() { $this->error(); }
38 function getEscapedText() { $this->error(); }
39 function isExternal() { $this->error(); }
40 function isSemiProtected() { $this->error(); }
41 function isProtected() { $this->error(); }
42 function userIsWatching() { $this->error(); }
43 function userCan() { $this->error(); }
44 function userCanCreate() { $this->error(); }
45 function userCanEdit() { $this->error(); }
46 function userCanMove() { $this->error(); }
47 function isMovable() { $this->error(); }
48 function userCanRead() { $this->error(); }
49 function isTalkPage() { $this->error(); }
50 function isCssJsSubpage() { $this->error(); }
51 function isValidCssJsSubpage() { $this->error(); }
52 function getSkinFromCssJsSubpage() { $this->error(); }
53 function isCssSubpage() { $this->error(); }
54 function isJsSubpage() { $this->error(); }
55 function userCanEditCssJsSubpage() { $this->error(); }
56 function loadRestrictions( $res ) { $this->error(); }
57 function getRestrictions($action) { $this->error(); }
58 function isDeleted() { $this->error(); }
59 function getArticleID( $flags = 0 ) { $this->error(); }
60 function getLatestRevID() { $this->error(); }
61 function resetArticleID( $newid ) { $this->error(); }
62 function invalidateCache() { $this->error(); }
63 function getTalkPage() { $this->error(); }
64 function getSubjectPage() { $this->error(); }
65 function getLinksTo() { $this->error(); }
66 function getTemplateLinksTo() { $this->error(); }
67 function getBrokenLinksFrom() { $this->error(); }
68 function getSquidURLs() { $this->error(); }
69 function moveNoAuth() { $this->error(); }
70 function isValidMoveOperation() { $this->error(); }
71 function moveTo() { $this->error(); }
72 function moveOverExistingRedirect() { $this->error(); }
73 function moveToNewTitle() { $this->error(); }
74 function isValidMoveTarget() { $this->error(); }
75 function getParentCategories() { $this->error(); }
76 function getParentCategoryTree() { $this->error(); }
77 function pageCond() { $this->error(); }
78 function getPreviousRevisionID() { $this->error(); }
79 function getNextRevisionID() { $this->error(); }
80 function equals() { $this->error(); }
81 function exists() { $this->error(); }
82 function isAlwaysKnown() { $this->error(); }
83 function touchLinks() { $this->error(); }
84 function trackbackURL() { $this->error(); }
85 function trackbackRDF() { $this->error(); }
86 }
87
88 ?>