Index: trunk/extensions/ProofreadPage/ProofreadPage.php |
— | — | @@ -396,7 +396,7 @@ |
397 | 397 | } |
398 | 398 | |
399 | 399 | // counters |
400 | | - $n = $n1 = $n2 = $n3 = $n4 = 0; |
| 400 | + $n = $n0 = $n1 = $n2 = $n3 = $n4 = 0; |
401 | 401 | |
402 | 402 | $dbr = wfGetDB( DB_SLAVE ); |
403 | 403 | $catlinks = $dbr->tableName( 'categorylinks' ); |
— | — | @@ -423,6 +423,10 @@ |
424 | 424 | while ( $x = $dbr->fetchObject( $res ) ) { |
425 | 425 | $pdbk = $page_ids[$x->cl_from]; |
426 | 426 | switch( $x->cl_to ) { |
| 427 | + case str_replace( ' ' , '_' , wfMsgForContent( 'proofreadpage_quality0_category' ) ): |
| 428 | + $colours[$pdbk] = 'quality0'; |
| 429 | + $n0++; |
| 430 | + break; |
427 | 431 | case str_replace( ' ' , '_' , wfMsgForContent( 'proofreadpage_quality1_category' ) ): |
428 | 432 | $colours[$pdbk] = 'quality1'; |
429 | 433 | $n1++; |