From a4ab93451284f26f1120c1bf78d939cc25f6381b Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Tue, 24 Apr 2012 21:54:08 +0400 Subject: [PATCH] Fixed undefined defines warnings introduced in change 5131 https://gerrit.wikimedia.org/r/#change,5131 Change-Id: Ib338fd8cb5032b1468598ecedf537a75850acd62 --- includes/EditPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.20.1