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:
aab0f8b
)
Fixed call to setArticleBodyOnly() on wrong object type.
author
Aaron
<aschulz@wikimedia.org>
Wed, 16 May 2012 18:15:00 +0000
(11:15 -0700)
committer
Aaron
<aschulz@wikimedia.org>
Wed, 16 May 2012 18:15:00 +0000
(11:15 -0700)
Change-Id: I492bbdb41aa849a86b162c7cc659dde391874454
includes/ImagePage.php
patch
|
blob
|
history
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
fc3bdff
..
3fbbcba
100644
(file)
--- a/
includes/ImagePage.php
+++ b/
includes/ImagePage.php
@@
-96,7
+96,7
@@
class ImagePage extends Article {
* Include body text only; none of the image extras
*/
public function render() {
- $this->getContext()->setArticleBodyOnly( true );
+ $this->getContext()->
getOutput()->
setArticleBodyOnly( true );
parent::view();
}