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:
d48ec4a
)
make getContentObject() public for now, fix occurances later
author
daniel
<daniel.kinzler@wikimedia.de>
Mon, 11 Jun 2012 10:21:56 +0000
(12:21 +0200)
committer
daniel
<daniel.kinzler@wikimedia.de>
Mon, 11 Jun 2012 10:21:56 +0000
(12:21 +0200)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
aaa9f0b
..
b252920
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-262,8
+262,10
@@
class Article extends Page {
* @return Content Return the content of this revision
*
* @since 1.WD
+ *
+ * @todo: FIXME: this should really be protected, all callers should be changed to use WikiPage::getContent() instead.
*/
-
protected
function getContentObject() {
+
public
function getContentObject() {
global $wgUser;
wfProfileIn( __METHOD__ );