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
Add $context to the ArticleFromTitle hook
[lhc/web/wiklou.git]
/
includes
/
Article.php
diff --git
a/includes/Article.php
b/includes/Article.php
index
85a34db
..
e0396a1
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-158,7
+158,7
@@
class Article implements Page {
}
$page = null;
- wfRunHooks( 'ArticleFromTitle', array( &$title, &$page ) );
+ wfRunHooks( 'ArticleFromTitle', array( &$title, &$page
, $context
) );
if ( !$page ) {
switch ( $title->getNamespace() ) {
case NS_FILE: