Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -29,8 +29,8 @@ |
30 | 30 | } |
31 | 31 | |
32 | 32 | # Quality -> Sighted (default) |
33 | | -if( !defined('FLAGGED_VIS_NORMAL') ) |
34 | | - define('FLAGGED_VIS_NORMAL',0); |
| 33 | +if( !defined('FLAGGED_VIS_QUALITY') ) |
| 34 | + define('FLAGGED_VIS_QUALITY',0); |
35 | 35 | # No precedence |
36 | 36 | if( !defined('FLAGGED_VIS_LATEST') ) |
37 | 37 | define('FLAGGED_VIS_LATEST',1); |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -277,7 +277,7 @@ |
278 | 278 | $select = FLAGGED_VIS_PRISTINE; |
279 | 279 | break; |
280 | 280 | case 1: |
281 | | - $select = FLAGGED_VIS_NORMAL; |
| 281 | + $select = FLAGGED_VIS_QUALITY; |
282 | 282 | break; |
283 | 283 | default: |
284 | 284 | $select = FLAGGED_VIS_LATEST; |
Index: trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | // Custom reason takes precedence |
79 | 79 | $this->reason = strlen($this->reason) ? $this->reason : $this->reasonSelection; |
80 | 80 | // Validate precedence setting |
81 | | - $allowed = array(FLAGGED_VIS_NORMAL,FLAGGED_VIS_LATEST,FLAGGED_VIS_PRISTINE); |
| 81 | + $allowed = array(FLAGGED_VIS_QUALITY,FLAGGED_VIS_LATEST,FLAGGED_VIS_PRISTINE); |
82 | 82 | if( $this->select && !in_array( $this->select, $allowed ) ) { |
83 | 83 | $isValid = false; |
84 | 84 | } |
— | — | @@ -170,8 +170,8 @@ |
171 | 171 | Xml::fieldset( wfMsg( 'stabilization-select' ), false ) . |
172 | 172 | Xml::radioLabel( wfMsg( 'stabilization-select3' ), 'wpStableconfig-select', FLAGGED_VIS_PRISTINE, |
173 | 173 | 'stable-select3', FLAGGED_VIS_PRISTINE == $this->select, $this->disabledAttrib ) . '<br />' . "\n" . |
174 | | - Xml::radioLabel( wfMsg( 'stabilization-select1' ), 'wpStableconfig-select', FLAGGED_VIS_NORMAL, |
175 | | - 'stable-select1', FLAGGED_VIS_NORMAL == $this->select, $this->disabledAttrib ) . '<br />' . "\n" . |
| 174 | + Xml::radioLabel( wfMsg( 'stabilization-select1' ), 'wpStableconfig-select', FLAGGED_VIS_QUALITY, |
| 175 | + 'stable-select1', FLAGGED_VIS_QUALITY == $this->select, $this->disabledAttrib ) . '<br />' . "\n" . |
176 | 176 | Xml::radioLabel( wfMsg( 'stabilization-select2' ), 'wpStableconfig-select', FLAGGED_VIS_LATEST, |
177 | 177 | 'stable-select2', FLAGGED_VIS_LATEST == $this->select, $this->disabledAttrib ) . '<br />' . "\n" . |
178 | 178 | Xml::closeElement( 'fieldset' ) . |
Index: trunk/extensions/FlaggedRevs/specialpages/StablePages_body.php |
— | — | @@ -68,7 +68,7 @@ |
69 | 69 | |
70 | 70 | if( intval($row->fpc_select) === FLAGGED_VIS_PRISTINE ) { |
71 | 71 | $type = wfMsgHtml('stablepages-prec-pristine'); |
72 | | - } else if( intval($row->fpc_select) === FLAGGED_VIS_NORMAL ) { |
| 72 | + } else if( intval($row->fpc_select) === FLAGGED_VIS_QUALITY ) { |
73 | 73 | $type = wfMsgHtml('stablepages-prec-quality'); |
74 | 74 | } else { |
75 | 75 | $type = wfMsgHtml('stablepages-prec-none'); |
Index: trunk/extensions/FlaggedRevs/FlaggedRevsXML.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | $s = Xml::openElement( 'select', array('name' => 'precedence','id' => 'wpPrecedence') ); |
65 | 65 | $s .= Xml::option( wfMsg( "revreview-filter-level-0" ), FLAGGED_VIS_LATEST, $selected==FLAGGED_VIS_LATEST ); |
66 | 66 | if( FlaggedRevs::qualityVersions() ) |
67 | | - $s .= Xml::option( wfMsg( "revreview-filter-level-1" ), FLAGGED_VIS_NORMAL, $selected==FLAGGED_VIS_NORMAL ); |
| 67 | + $s .= Xml::option( wfMsg( "revreview-filter-level-1" ), FLAGGED_VIS_QUALITY, $selected==FLAGGED_VIS_QUALITY ); |
68 | 68 | if( FlaggedRevs::pristineVersions() ) |
69 | 69 | $s .= Xml::option( wfMsg( "revreview-filter-level-2" ), FLAGGED_VIS_PRISTINE, $selected==FLAGGED_VIS_PRISTINE ); |
70 | 70 | $s .= Xml::closeElement('select')."\n"; |