Sanitizer::escapeId() is deperecated
Change-Id: Ia0e1e87ebb027eb75659901830d3dc44fc196c68
This commit is contained in:
parent
ed021a372b
commit
23ea634ace
|
@ -211,7 +211,7 @@ class SpecialContact extends UnlistedSpecialPage {
|
||||||
$form->setWrapperLegendMsg( 'contactpage-legend' );
|
$form->setWrapperLegendMsg( 'contactpage-legend' );
|
||||||
$form->setSubmitTextMsg( 'emailsend' );
|
$form->setSubmitTextMsg( 'emailsend' );
|
||||||
if ( $this->formType != '' ) {
|
if ( $this->formType != '' ) {
|
||||||
$form->setId( Sanitizer::escapeId( "contactpage-{$this->formType}" ) );
|
$form->setId( "contactpage-{$this->formType}" );
|
||||||
|
|
||||||
$msg = $this->msg( "contactpage-legend-{$this->formType}" );
|
$msg = $this->msg( "contactpage-legend-{$this->formType}" );
|
||||||
if ( !$msg->isDisabled() ) {
|
if ( !$msg->isDisabled() ) {
|
||||||
|
|
Loading…
Reference in New Issue