From 060f971b37ed5f855f4268ff9a2e6e729abaa959 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 13 Apr 2008 16:24:24 +0000 Subject: [PATCH] More tweaks and cleanup --- includes/SpecialProtectedpages.php | 6 +++--- languages/messages/MessagesEn.php | 1 + maintenance/language/messages.inc | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/SpecialProtectedpages.php b/includes/SpecialProtectedpages.php index 04766000dc..d898d4e4ac 100644 --- a/includes/SpecialProtectedpages.php +++ b/includes/SpecialProtectedpages.php @@ -117,9 +117,9 @@ class ProtectedPagesForm { $this->getNamespaceMenu( $namespace ) . " \n" . $this->getTypeMenu( $type ) . " \n" . $this->getLevelMenu( $level ) . " \n" . - "" . + "  " . $this->getExpiryCheck( $indefOnly ) . " \n" . - $this->getSizeLimit( $sizetype, $size ) . "\n" . + $this->getSizeLimit( $sizetype, $size ) . " \n" . "" . " " . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" . ""; @@ -143,7 +143,7 @@ class ProtectedPagesForm { */ protected function getExpiryCheck( $indefOnly ) { $out = Xml::check( 'indefonly', $indefOnly, array('id' => 'indefonly') ) . ' '; - $out .= Xml::label( wfMsg("protectedpages-indef"), 'indefonly' ) . "

\n"; + $out .= Xml::label( wfMsg("protectedpages-indef"), 'indefonly' ) . "\n"; return $out; } diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index d3cfcf312d..bab399b387 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1808,6 +1808,7 @@ A page is treated as disambiguation page if it uses a template which is linked f 'deadendpages-summary' => '', # only translate this message to other languages if you have to change it 'deadendpagestext' => 'The following pages do not link to other pages in {{SITENAME}}.', 'protectedpages' => 'Protected pages', +'protectedpages-indef' => 'Indefinite protections only', 'protectedpages-summary' => '', # only translate this message to other languages if you have to change it 'protectedpagestext' => 'The following pages are protected from moving or editing', 'protectedpagesempty' => 'No pages are currently protected with these parameters.', diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index dbea89b6a9..50eb9ab8a6 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1139,6 +1139,7 @@ $wgMessageStructure = array( 'deadendpages-summary', 'deadendpagestext', 'protectedpages', + 'protectedpages-indef', 'protectedpages-summary', 'protectedpagestext', 'protectedpagesempty', -- 2.20.1