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 "mw.widgets.DateInputWidget: Ensure newly opened calendar shows current selection"
[lhc/web/wiklou.git]
/
opensearch_desc.php
diff --git
a/opensearch_desc.php
b/opensearch_desc.php
index
5e5e35d
..
0b56972
100644
(file)
--- a/
opensearch_desc.php
+++ b/
opensearch_desc.php
@@
-94,7
+94,7
@@
foreach ( $wgOpenSearchTemplates as $type => $template ) {
// Allow hooks to override the suggestion URL settings in a more
// general way than overriding the whole search engine...
// Allow hooks to override the suggestion URL settings in a more
// general way than overriding the whole search engine...
-
wfRunHooks
( 'OpenSearchUrls', array( &$urls ) );
+
Hooks::run
( 'OpenSearchUrls', array( &$urls ) );
foreach ( $urls as $attribs ) {
print Xml::element( 'Url', $attribs );
foreach ( $urls as $attribs ) {
print Xml::element( 'Url', $attribs );