dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54badce
)
Made resetArticleID() reset redirect/length/latest ID fields
author
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 11 Mar 2010 05:32:04 +0000
(
05:32
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Thu, 11 Mar 2010 05:32:04 +0000
(
05:32
+0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
246cc9d
..
a14e289
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-2176,10
+2176,16
@@
class Title {
$linkCache = LinkCache::singleton();
$linkCache->clearBadLink( $this->getPrefixedDBkey() );
- if ( $newid === false ) { $this->mArticleID = -1; }
- else { $this->mArticleID = intval( $newid ); }
+ if ( $newid === false ) {
+ $this->mArticleID = -1;
+ } else {
+ $this->mArticleID = intval( $newid );
+ }
$this->mRestrictionsLoaded = false;
$this->mRestrictions = array();
+ $this->mRedirect = null;
+ $this->mLength = -1;
+ $this->mLatestID = false;
}
/**