Merge "Fix capitalization and tests of $this->mId."

This commit is contained in:
jenkins-bot 2014-04-06 13:49:14 +00:00 committed by Gerrit Code Review
commit a95d45c730

View file

@ -333,8 +333,8 @@ class InputBox {
'action' => $wgScript,
'method' => 'get'
);
if( isset( $this->mId ) ) {
$createBoxParams['id'] = Sanitizer::escapeId( $this->mId );
if( $this->mID !== '' ) {
$createBoxParams['id'] = Sanitizer::escapeId( $this->mID );
}
$htmlOut .= Xml::openElement( 'form', $createBoxParams );
$htmlOut .= Xml::openElement( 'input',
@ -515,8 +515,8 @@ class InputBox {
'action' => $wgScript,
'method' => 'get'
);
if( isset( $this->mId ) ) {
$commentFormParams['id'] = Sanitizer::escapeId( $this->mId );
if( $this->mID !== '' ) {
$commentFormParams['id'] = Sanitizer::escapeId( $this->mID );
}
$htmlOut .= Xml::openElement( 'form', $commentFormParams );
$htmlOut .= Xml::openElement( 'input',