FU 97704: I was thinking the space was already added in this case
[lhc/web/wiklou.git] / includes / SpecialPageFactory.php
index ba9a918..210c218 100644 (file)
@@ -126,8 +126,8 @@ class SpecialPageFactory {
                // Page tools
                'ComparePages'              => 'SpecialComparePages',
                'Export'                    => 'SpecialExport',
-               'Globalfileusage'           => 'SpecialGlobalFileUsage',
-               'Globaltemplateusage'       => 'SpecialGlobalTemplateUsage',
+               'GlobalFileUsage'           => 'SpecialGlobalFileUsage',
+               'GlobalTemplateUsage'       => 'SpecialGlobalTemplateUsage',
                'Import'                    => 'SpecialImport',
                'Undelete'                  => 'SpecialUndelete',
                'Whatlinkshere'             => 'SpecialWhatlinkshere',
@@ -409,12 +409,12 @@ class SpecialPageFactory {
         * page, and true if it was successful.
         *
         * @param $title          Title object
-        * @param $context        RequestContext
+        * @param $context        IContextSource
         * @param $including      Bool output is being captured for use in {{special:whatever}}
         *
         * @return bool
         */
-       public static function executePath( Title &$title, RequestContext &$context, $including = false ) {
+       public static function executePath( Title &$title, IContextSource &$context, $including = false ) {
                wfProfileIn( __METHOD__ );
 
                // @todo FIXME: Redirects broken due to this call
@@ -485,11 +485,11 @@ class SpecialPageFactory {
         * normal request, and then restores them to their previous values after.
         *
         * @param $title Title
-        * @param $context RequestContext
+        * @param $context IContextSource
         *
         * @return String: HTML fragment
         */
-       static function capturePath( Title $title, RequestContext $context ) {
+       static function capturePath( Title $title, IContextSource $context ) {
                global $wgOut, $wgTitle, $wgRequest, $wgUser, $wgLang;
 
                // Save current globals