validation feature updates
authorMagnus Manske <magnusmanske@users.mediawiki.org>
Wed, 22 Jun 2005 17:33:28 +0000 (17:33 +0000)
committerMagnus Manske <magnusmanske@users.mediawiki.org>
Wed, 22 Jun 2005 17:33:28 +0000 (17:33 +0000)
includes/SpecialValidate.php
languages/Language.php

index 9437bbe..343ae21 100644 (file)
@@ -271,7 +271,7 @@ class Validation {
        function link2revisionstatistics( &$article, $revision ) {
                $nt = $article->getTitle();
                $url = $nt->escapeLocalURL( "action=validate&mode=details&revision={$revision}" );
-               return '(<a href="{$url}">' . $this->getParsedWiki( 'val_revision_stats_link') . '</a>)' ;
+               return "(<a href=\"{$url}\">" . $this->getParsedWiki( wfMsg('val_revision_stats_link') ) . '</a>)' ;
        }
 
        # This function returns a link text to the user rating statistics page
@@ -556,7 +556,7 @@ class Validation {
                $ret = "" ;                     
                $ret .= "<p><b>" . str_replace( '$1', $url, wfMsg( 'val_revision_of' ) ) . "</b></p>\n";
                $ret .= "<table border='1' cellspacing='0' cellpadding='2'>\n";
-               $ret .= "<tr><th/>";
+               $ret .= "<tr><th>" . $this->getParsedWiki ( wfMsg('val_details_th') ) . "</th>" ;
                
                foreach( $topics as $t => $dummy ) {
                        $ret .= "<th>" . $this->linkTopic ( $this->topicList[$t]->val_comment ) . "</th>";
index 81f2b24..bb3076b 100644 (file)
@@ -1499,6 +1499,7 @@ Type the name of the user in the box and press the button to make the user an ad
 'val_rev_stats_link' => 'See the validation statistics for "$1" <a href="$2">here</a>',
 'val_revision_stats_link' => 'details',
 'val_iamsure' => 'Check this box if you really mean it!',
+'val_details_th' => '<sub>User</sub> \\ <sup>Topic</sup>',
 'val_clear_old' => 'Clear my older validation data',
 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
 'val_form_note' => "'''Hint:''' Merging your data means that for the article revision you select, all options where you have specified ''no opinion'' will be set to the value and comment of the most recent revision for which you have expressed an opinion. For example, if you want to change a single option for a newer revision, but also keep your other settings for this article in this revision, just select which option you intend to ''change'', and merging will fill in the other options with your previous settings.",