Add an OutputPage to the EditPage::showEditForm:initial to match the EditPage::showEd...
[lhc/web/wiklou.git] / includes / EditPage.php
index d409252..28ace46 100644 (file)
@@ -1732,7 +1732,7 @@ class EditPage {
                        $previewOutput = $this->getPreviewText();
                }
 
-               wfRunHooks( 'EditPage::showEditForm:initial', array( &$this ) );
+               wfRunHooks( 'EditPage::showEditForm:initial', array( &$this, &$wgOut ) );
 
                $this->setHeaders();