New hook
authorMagnus Manske <magnusmanske@users.mediawiki.org>
Sun, 11 Dec 2005 11:20:12 +0000 (11:20 +0000)
committerMagnus Manske <magnusmanske@users.mediawiki.org>
Sun, 11 Dec 2005 11:20:12 +0000 (11:20 +0000)
includes/EditPage.php

index d6d714d..553c540 100644 (file)
@@ -658,6 +658,8 @@ class EditPage {
 
                $sk =& $wgUser->getSkin();
                
+               wfRunHooks( 'EditPage::showEditForm:initial', array( &$this ) ) ;
+               
                $wgOut->setRobotpolicy( 'noindex,nofollow' );
 
                # Enabled article-related sidebar, toplinks, etc.