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:
063befc
)
Prevent category stuff ("There are 0 articles in this category.") from appearing in
author
Arne Heizmann
<timwi@users.mediawiki.org>
Sat, 24 Jul 2004 00:46:27 +0000
(
00:46
+0000)
committer
Arne Heizmann
<timwi@users.mediawiki.org>
Sat, 24 Jul 2004 00:46:27 +0000
(
00:46
+0000)
the middle of articles because it is appended when a {{macro}} is expanded.
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
aa3c239
..
4a89102
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-815,7
+815,7
@@
class Parser
$sk =& $this->mOptions->getSkin();
$text = $sk->transformContent( $text );
- if ( !isset ( $this->categoryMagicDone ) ) {
+ if (
$isMain &&
!isset ( $this->categoryMagicDone ) ) {
$text .= $this->categoryMagic () ;
$this->categoryMagicDone = true ;
}