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:
aef8fb5
)
*sigh*...needs to return a string to not die in ImagePage
author
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 23 Aug 2008 01:19:44 +0000
(
01:19
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Sat, 23 Aug 2008 01:19:44 +0000
(
01:19
+0000)
includes/filerepo/LocalFile.php
patch
|
blob
|
history
diff --git
a/includes/filerepo/LocalFile.php
b/includes/filerepo/LocalFile.php
index
5e2eb81
..
7aa641b
100644
(file)
--- a/
includes/filerepo/LocalFile.php
+++ b/
includes/filerepo/LocalFile.php
@@
-1115,8
+1115,8
@@
class LocalFile extends File
if ( !$revision ) return false;
$text = $revision->getText();
if ( !$text ) return false;
- $
html
= $wgParser->parse( $text, $this->title, new ParserOptions() );
- return $
html
;
+ $
pout
= $wgParser->parse( $text, $this->title, new ParserOptions() );
+ return $
pout->getText()
;
}
function getDescription() {