From: Max Semenik Date: Tue, 24 Apr 2012 17:54:08 +0000 (+0400) Subject: Fixed undefined defines warnings introduced in change 5131 X-Git-Tag: 1.31.0-rc.0~23843 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=a4ab93451284f26f1120c1bf78d939cc25f6381b;p=lhc%2Fweb%2Fwiklou.git Fixed undefined defines warnings introduced in change 5131 https://gerrit.wikimedia.org/r/#change,5131 Change-Id: Ib338fd8cb5032b1468598ecedf537a75850acd62 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index c2dfa02aa2..92bca9ef58 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1774,7 +1774,7 @@ class EditPage { } } - $wgOut->addHTML( Html::openElement( 'form', array( 'id' => EDITFORM_ID, 'name' => EDITFORM_ID, + $wgOut->addHTML( Html::openElement( 'form', array( 'id' => self::EDITFORM_ID, 'name' => self::EDITFORM_ID, 'method' => 'post', 'action' => $this->getActionURL( $this->getContextTitle() ), 'enctype' => 'multipart/form-data' ) ) ); @@ -2584,7 +2584,7 @@ HTML $note = wfMsg( 'edit_form_incomplete' ); } else { $note = wfMsg( 'previewnote' ) . - ' [[#' . EDITFORM_ID . '|' . $wgLang->getArrow() . ' ' . wfMsg( 'continue-editing' ) . ']]'; + ' [[#' . self::EDITFORM_ID . '|' . $wgLang->getArrow() . ' ' . wfMsg( 'continue-editing' ) . ']]'; } $parserOptions = ParserOptions::newFromUser( $wgUser );