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
Merge "Replace dev.w3.org with more permanent or stable urls"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiFormatBase.php
diff --git
a/includes/api/ApiFormatBase.php
b/includes/api/ApiFormatBase.php
index
913b8eb
..
7bbd968
100644
(file)
--- a/
includes/api/ApiFormatBase.php
+++ b/
includes/api/ApiFormatBase.php
@@
-172,7
+172,7
@@
abstract class ApiFormatBase extends ApiBase {
)
);
)
);
- if (
wfRunHooks
( 'ApiFormatHighlight', array( $context, $result, $mime, $format ) ) ) {
+ if (
Hooks::run
( 'ApiFormatHighlight', array( $context, $result, $mime, $format ) ) ) {
$out->addHTML(
Html::element( 'pre', array( 'class' => 'api-pretty-content' ), $result )
);
$out->addHTML(
Html::element( 'pre', array( 'class' => 'api-pretty-content' ), $result )
);