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:
3070017
)
image link handling
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 27 May 2004 01:10:01 +0000
(
01:10
+0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 27 May 2004 01:10:01 +0000
(
01:10
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
566ee1e
..
e434fb1
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-866,7
+866,7
@@
class Parser
array_push( $this->mOutput->mLanguageLinks, $nt->getPrefixedText() );
$s .= $prefix . $trail ;
wfProfileOut( $fname );
-
return
(trim($s) == '')? '': $s;
+
$s .=
(trim($s) == '')? '': $s;
continue;
}
if ( $ns == $image ) {
@@
-874,7
+874,8
@@
class Parser
$wgLinkCache->addImageLinkObj( $nt );
wfProfileOut( $fname );
continue;
- } else if ( $ns == $category ) {
+ }
+ if ( $ns == $category ) {
$t = $nt->getText() ;
$nnt = Title::newFromText ( Namespace::getCanonicalName($category).":".$t ) ;