Index: trunk/extensions/FlaggedRevs/specialpages/Stabilization_body.php |
— | — | @@ -463,9 +463,15 @@ |
464 | 464 | # ID, accuracy, depth, style |
465 | 465 | $set = array(); |
466 | 466 | # @FIXME: do this better |
467 | | - $set[] = wfMsgForContent( "stabilization-sel-short" ) . wfMsgForContent( 'colon-separator' ) . |
468 | | - wfMsgForContent("stabilization-sel-short-{$this->select}"); |
469 | | - $set[] = wfMsgForContent( "stabilization-def-short" ) . wfMsgForContent( 'colon-separator' ) . |
| 467 | + // Precedence |
| 468 | + if( FlaggedRevs::qualityVersions() ) { |
| 469 | + $set[] = wfMsgForContent( 'stabilization-sel-short' ) . |
| 470 | + wfMsgForContent( 'colon-separator' ) . |
| 471 | + wfMsgForContent("stabilization-sel-short-{$this->select}"); |
| 472 | + } |
| 473 | + // Default version |
| 474 | + $set[] = wfMsgForContent( 'stabilization-def-short' ) . |
| 475 | + wfMsgForContent( 'colon-separator' ) . |
470 | 476 | wfMsgForContent("stabilization-def-short-{$this->override}"); |
471 | 477 | if( strlen($this->autoreview) ) { |
472 | 478 | $set[] = "autoreview={$this->autoreview}"; |