Changeset 593

Show
Ignore:
Timestamp:
2007-07-30 13:58:57 (18 months ago)
Author:
wwalc
Message:

Hooks are registered so that Special:Version page could properly handle it

Location:
MediaWiki/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • MediaWiki/trunk/extensions/FCKeditor/FCKeditor.body.php

    r586 r593  
    6464        global $wgHooks; 
    6565 
    66         $wgHooks['UserToggles'][]                       = $this; 
    67         $wgHooks['MessagesPreLoad'][]                   = $this; 
    68         $wgHooks['ParserAfterTidy'][]                   = $this; 
     66        $wgHooks['UserToggles'][]                       = array($this, 'onUserToggles'); 
     67        $wgHooks['MessagesPreLoad'][]                   = array($this, 'onMessagesPreLoad'); 
     68        $wgHooks['ParserAfterTidy'][]                   = array($this, 'onParserAfterTidy'); 
    6969        $wgHooks['EditPage::showEditForm:initial'][]    = array($this, 'onEditPageShowEditFormInitial'); 
    7070 
  • MediaWiki/trunk/includes/EditPage.php

    r544 r593  
    14251425                                        $this->mPreviewTemplates[] = Title::makeTitle($ns, $dbk); 
    14261426 
    1427                         wfProfileOut( $fname ); 
    14281427            if ($wgUser->getOption( 'showtoolbar' ) && !$wgUser->getOption( 'riched_disable' )) { 
    14291428                       $this->textbox1 = $oldTextBox1; 
    14301429            } 
     1430                        wfProfileOut( $fname ); 
    14311431                        return $previewhead . $previewHTML; 
    14321432                }