#3354 : LanguagePt update by Get_it
[lhc/web/wiklou.git] / includes / SpecialValidate.php
index 7d2567c..f58bf5e 100644 (file)
@@ -628,7 +628,7 @@ class Validation {
                $this->topicList = $this->getTopicList();
 
                $title = $article->getTitle();
-               $wgOut->setPageTitle( str_replace( '$1', $title->getPrefixedText(), wfMsg( 'val_validation_of' ) ) );
+               $wgOut->setPageTitle( wfMsg( 'val_validation_of', $title->getPrefixedText() ) );
                
                $offset = $wgRequest->getVal ( "offset" , 0 ) ; 
                $limit = $wgRequest->getVal ( "limit" , 25 ) ; 
@@ -821,13 +821,13 @@ function wfSpecialValidate( $page = '' ) {
                return;
        }
 
-/*
+
        # Can do?
-       if( ! $wgUser->isAllowed('change_validation') ) {
+       if( ! $wgUser->isSysop() ) {#isAllowed('change_validation') ) {
                $wgOut->sysopRequired();
                return;
        }
-*/     
+       
 
        $mode = $wgRequest->getVal( "mode" );
        $skin = $wgUser->getSkin();