Add $context to the ArticleFromTitle hook
[lhc/web/wiklou.git] / includes / Article.php
index 85a34db..e0396a1 100644 (file)
@@ -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: