More tweaks and cleanup
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 13 Apr 2008 16:24:24 +0000 (16:24 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 13 Apr 2008 16:24:24 +0000 (16:24 +0000)
includes/SpecialProtectedpages.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 0476600..d898d4e 100644 (file)
@@ -117,9 +117,9 @@ class ProtectedPagesForm {
                        $this->getNamespaceMenu( $namespace ) . "&nbsp;\n" .
                        $this->getTypeMenu( $type ) . "&nbsp;\n" .
                        $this->getLevelMenu( $level ) . "&nbsp;\n" .
-                       "<span style='white-space: nowrap'>" .
+                       "<span style='white-space: nowrap'>&nbsp;&nbsp;" .
                        $this->getExpiryCheck( $indefOnly ) . "&nbsp;\n" .
-                       $this->getSizeLimit( $sizetype, $size ) . "\n" .
+                       $this->getSizeLimit( $sizetype, $size ) . "&nbsp;\n" .
                        "</span>" .
                        "&nbsp;" . Xml::submitButton( wfMsg( 'allpagessubmit' ) ) . "\n" .
                        "</fieldset></form>";
@@ -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' ) . "</p>\n";
+               $out .= Xml::label( wfMsg("protectedpages-indef"), 'indefonly' ) . "\n";
                return $out;
        }
        
index d3cfcf3..bab399b 100644 (file)
@@ -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.',
index dbea89b..50eb9ab 100644 (file)
@@ -1139,6 +1139,7 @@ $wgMessageStructure = array(
                'deadendpages-summary',
                'deadendpagestext',
                'protectedpages',
+               'protectedpages-indef',
                'protectedpages-summary',
                'protectedpagestext',
                'protectedpagesempty',