dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added missing calls to SpecialPage::setHeaders() and SpecialPage::outputHeader()
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryLogEvents.php
diff --git
a/includes/api/ApiQueryLogEvents.php
b/includes/api/ApiQueryLogEvents.php
index
11b1224
..
db75c8e
100644
(file)
--- a/
includes/api/ApiQueryLogEvents.php
+++ b/
includes/api/ApiQueryLogEvents.php
@@
-323,8
+323,7
@@
class ApiQueryLogEvents extends ApiQueryBase {
}
if ( $this->fld_parsedcomment ) {
}
if ( $this->fld_parsedcomment ) {
- global $wgUser;
- $vals['parsedcomment'] = $wgUser->getSkin()->formatComment( $row->log_comment, $title );
+ $vals['parsedcomment'] = Linker::formatComment( $row->log_comment, $title );
}
}
}
}
}
}
@@
-445,7
+444,7
@@
class ApiQueryLogEvents extends ApiQueryBase {
) );
}
) );
}
- p
rotected
function getExamples() {
+ p
ublic
function getExamples() {
return array(
'api.php?action=query&list=logevents'
);
return array(
'api.php?action=query&list=logevents'
);