From 5c8903573205cd500e87b1e531338601aa25fa0a Mon Sep 17 00:00:00 2001 From: Rob Church Date: Sat, 4 Aug 2007 12:38:48 +0000 Subject: [PATCH] This is a public service announcement. When using entities, failure to terminate them in a semi colon will result in XHTML validation errors. Can all developers please do us the basic favour of a bit of XHTML validation on their generated markup? This has been a public service announcement by the Frobozz XHTML Validation Company. Reach out and specify somebody. --- includes/SpecialProtectedpages.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index 8f3fa7b5ec..d6e6dab472 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -110,12 +110,12 @@ class ProtectedPagesForm { return "
\n" . '
' . Xml::element( 'legend', array(), wfMsg( 'protectedpages' ) ) . - Xml::hidden( 'title', $special ) . " \n" . - $this->getNamespaceMenu( $namespace ) . " \n" . - $this->getTypeMenu( $type ) . " \n" . + Xml::hidden( 'title', $special ) . " \n" . + $this->getNamespaceMenu( $namespace ) . " \n" . + $this->getTypeMenu( $type ) . " \n" . $this->getLevelMenu( $level ) . "
\n" . $this->getSizeLimit( $sizetype, $size ) . "\n" . - " " . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" . + " " . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" . "
"; } @@ -139,9 +139,9 @@ class ProtectedPagesForm { function getSizeLimit( $sizetype, $size ) { $out = Xml::radio( 'sizetype', 'min', ($sizetype=='min'), array('id' => 'wpmin') ); $out .= Xml::label( wfMsg("minimum-size"), 'wpmin' ); - $out .= " ".Xml::radio( 'sizetype', 'max', ($sizetype=='max'), array('id' => 'wpmax') ); + $out .= " ".Xml::radio( 'sizetype', 'max', ($sizetype=='max'), array('id' => 'wpmax') ); $out .= Xml::label( wfMsg("maximum-size"), 'wpmax' ); - $out .= " ".Xml::input('size', 9, $size, array( 'id' => 'wpsize' ) ); + $out .= " ".Xml::input('size', 9, $size, array( 'id' => 'wpsize' ) ); $out .= ' '.wfMsgHtml('pagesize'); return $out; } -- 2.20.1