Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

[mb-commits] r8959 - mb_server/trunk/htdocs/mod: msg#00087

audio.musicbrainz.cvs

Subject: [mb-commits] r8959 - mb_server/trunk/htdocs/mod

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>
Google Custom Search

Recently Viewed:
ide.eclipse.wtp...    bug-tracking.ro...    xfree86.cvs/200...    lisp.wxcl.devel...    file-systems.ar...    kde.devel.kwrit...    jakarta.jetspee...    qnx.openqnx.dev...    drivers.openib/...    ports.xbox.deve...    gis.gdal.devel/...    netbsd.ports.ma...    ubuntu.marketin...    systemtap/2005-...    web.omniweb/200...    mail.qmail.ldap...    hardware.soekri...    os.netbsd.devel...    audio.madman.ge...    tv.freeguide-tv...    cluster.openmos...    education.ezpro...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation