|
|
Choosing A Webhost: |
[mb-commits] r8959 - mb_server/trunk/htdocs/mod: msg#00087audio.musicbrainz.cvs
Author: robert Date: 2007-03-25 19:43:30 +0000 (Sun, 25 Mar 2007) New Revision: 8959 Modified: mb_server/trunk/htdocs/mod/info.html Log: Added the edit values for quality changes. Modified: mb_server/trunk/htdocs/mod/info.html =================================================================== --- mb_server/trunk/htdocs/mod/info.html 2007-03-25 19:05:23 UTC (rev 8958) +++ mb_server/trunk/htdocs/mod/info.html 2007-03-25 19:43:30 UTC (rev 8959) @@ -39,14 +39,9 @@ </p> <p> -For each edit type and each quality level the tables below show the voting -period that an edit will remain open for, the number of unanimous votes required -to shortcut the edit period, what happens if the edit expires, but has not votes, -and wether or not an edit is consider an <& /comp/linkdoc, "AutoEdit", "auto edit" &>. +When changing the quality of an artist or release, the following edit values apply: </p> -<br/> - <%perl> my ($level, $quality, $type); @@ -55,6 +50,34 @@ require ModDefs; use Data::Dumper; +$m->out('<table class="topmods"><tr class="topmodsodd">'); +$m->out('<td align="center" valign="top">Type</td><td align="center" valign="top">Voting period<br/>(days)</td>'); +$m->out('<td align="center" valign="top">Votes<br/>(unanimous)</td><td align="center" valign="top">Expire action</td>'); +$m->out('<td align="center" valign="top" valign="top">Auto edit</td></tr><tr>'); + +for(0..1) +{ + $level = Moderation::GetQualityChangeDefs($_); + $m->out('<tr>'); + $m->out('<td align="center">' . ($_ == 0 ? "Lower quality" : "Raise quality") . '</td>'); + $m->out('<td align="center">' . $level->{duration} . '</td>'); + $m->out('<td align="center">' . $level->{votes} . '</td>'); + $m->out('<td align="center">' . ModDefs::GetExpireActionText($level->{expireaction}) .'</td>'); + $m->out('<td align="center">' . ($level->{autoedit} ? "yes" : "no").'</td>'); + $m->out('</tr>'); +} +$m->out('</table><br/>'); + +</%perl> +<p> +For each edit type and each quality level the tables below show the voting +period that an edit will remain open for, the number of unanimous votes required +to shortcut the edit period, what happens if the edit expires, but has not votes, +and wether or not an edit is consider an <& /comp/linkdoc, "AutoEdit", "auto edit" &>. +</p> +<br/> +<%perl> + my %names; foreach $type (Moderation::GetEditTypes()) { @@ -78,7 +101,7 @@ $m->out('<td>' . $ref->{name} .'</td>'); $m->out('<td align="center">' . $ref->{duration} .'</td>'); $m->out('<td align="center">' . $ref->{votes} .'</td>'); - $m->out('<td align="center">' . ($ref->{expireaction} ? "accept" : "reject") .'</td>'); + $m->out('<td align="center">' . ModDefs::GetExpireActionText($ref->{expireaction}) .'</td>'); $m->out('<td align="center">' . ($ref->{autoedit} ? "yes" : "no").'</td>'); $m->out('</tr>'); }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [mb-commits] r8958 - mb_server/trunk/cgi-bin, root |
|---|---|
| Next by Date: | [mb-commits] r8960 - mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation, root |
| Previous by Thread: | [mb-commits] r8958 - mb_server/trunk/cgi-bin, root |
| Next by Thread: | [mb-commits] r8960 - mb_server/trunk/cgi-bin/MusicBrainz/Server/Moderation, root |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |