From b0f18ca26464cf8fd2fec144533368f202520a52 Mon Sep 17 00:00:00 2001 From: Nick Jenkins Date: Tue, 19 Dec 2006 05:35:35 +0000 Subject: [PATCH] * prevent minor W3C validator/tidy error on Special:Booksources about nesting of "" tag by swapping the order of two lines. * stop minor tidy warning: " attribute 'size' lacks value", by setting size to 20 (which allows enough visual field width for 10 ISBN digits + some leeway for extra dashes and spaces and whatnot). --- includes/SpecialBooksources.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialBooksources.php b/includes/SpecialBooksources.php index 85b34cadcf..697edca7d7 100644 --- a/includes/SpecialBooksources.php +++ b/includes/SpecialBooksources.php @@ -58,10 +58,10 @@ class SpecialBookSources extends SpecialPage { $form = '
' . wfMsgHtml( 'booksources-search-legend' ) . ''; $form .= Xml::openElement( 'form', array( 'method' => 'get', 'action' => $wgScript ) ); $form .= Xml::hidden( 'title', $title->getPrefixedText() ); - $form .= '

' . Xml::inputLabel( wfMsg( 'booksources-isbn' ), 'isbn', 'isbn', false, $this->isbn ); + $form .= '

' . Xml::inputLabel( wfMsg( 'booksources-isbn' ), 'isbn', 'isbn', 20, $this->isbn ); $form .= ' ' . Xml::submitButton( wfMsg( 'booksources-go' ) ) . '

'; - $form .= '
'; $form .= Xml::closeElement( 'form' ); + $form .= ''; return $form; } -- 2.20.1