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:
3dbbdca
)
(bug 16965) Follow-up to r45266, also don't record self-links, such as those created...
author
Alex Z
<mrzman@users.mediawiki.org>
Sun, 11 Jan 2009 03:42:13 +0000
(
03:42
+0000)
committer
Alex Z
<mrzman@users.mediawiki.org>
Sun, 11 Jan 2009 03:42:13 +0000
(
03:42
+0000)
includes/parser/ParserOutput.php
patch
|
blob
|
history
diff --git
a/includes/parser/ParserOutput.php
b/includes/parser/ParserOutput.php
index
35cb5c9
..
4ad252a
100644
(file)
--- a/
includes/parser/ParserOutput.php
+++ b/
includes/parser/ParserOutput.php
@@
-94,6
+94,9
@@
class ParserOutput
// We don't record Special: links currently
// It might actually be wise to, but we'd need to do some normalization.
return;
+ } elseif( $dbk === '' ) {
+ // Don't record self links - [[#Foo]]
+ return;
}
if ( !isset( $this->mLinks[$ns] ) ) {
$this->mLinks[$ns] = array();