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:
62a0186
)
Ignore self-links for special pages. They might be there for a good reason, and the...
author
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 6 Aug 2008 13:54:36 +0000
(13:54 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Wed, 6 Aug 2008 13:54:36 +0000
(13:54 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
b30ac82
..
7a2f5f7
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-1745,7
+1745,7
@@
class Parser
}
# Self-link checking
- if( $nt->getFragment() === '' ) {
+ if( $nt->getFragment() === ''
&& $nt->getNamespace() != NS_SPECIAL
) {
if( in_array( $nt->getPrefixedText(), $selflink, true ) ) {
$s .= $prefix . $sk->makeSelfLinkObj( $nt, $text, '', $trail );
continue;