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
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
api.php
diff --git
a/api.php
b/api.php
index
8fab878
..
51bb2ad
100644
(file)
--- a/
api.php
+++ b/
api.php
@@
-69,6
+69,9
@@
$wgTitle = Title::makeTitle( NS_MAIN, 'API' );
*/
$processor = new ApiMain( RequestContext::getMain(), $wgEnableWriteAPI );
+// Last chance hook before executing the API
+wfRunHooks( 'ApiBeforeMain', array( &$processor ) );
+
// Process data & print results
$processor->execute();