Remove use-tidy-config option
Should have gone out with 6db35b3, presumably.
Change-Id: I581c9a7e92bd25f2c05c89f6a8ebad04c508ee82
This commit is contained in:
parent
2169392911
commit
390dea35a3
2 changed files with 0 additions and 10 deletions
|
|
@ -38,9 +38,6 @@ class ParserEditTests extends Maintenance {
|
|||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->addOption( 'session-data', 'internal option, do not use', false, true );
|
||||
$this->addOption( 'use-tidy-config',
|
||||
'Use the wiki\'s Tidy configuration instead of known-good' .
|
||||
'defaults.' );
|
||||
}
|
||||
|
||||
public function finalSetup( SettingsBuilder $settingsBuilder = null ) {
|
||||
|
|
@ -60,9 +57,6 @@ class ParserEditTests extends Maintenance {
|
|||
} else {
|
||||
$this->session = [ 'options' => [] ];
|
||||
}
|
||||
if ( $this->hasOption( 'use-tidy-config' ) ) {
|
||||
$this->session['options']['use-tidy-config'] = true;
|
||||
}
|
||||
// @phan-suppress-next-line PhanTypeArraySuspiciousNullable options always set
|
||||
$this->runner = new ParserTestRunner( $this->recorder, $this->session['options'] );
|
||||
|
||||
|
|
|
|||
|
|
@ -92,9 +92,6 @@ class ParserTestsMaintenance extends Maintenance {
|
|||
'are: removeTbody to remove <tbody> tags; and trimWhitespace ' .
|
||||
'to trim whitespace from the start and end of text nodes.',
|
||||
false, true );
|
||||
$this->addOption( 'use-tidy-config',
|
||||
'Use the wiki\'s Tidy configuration instead of known-good' .
|
||||
'defaults.' );
|
||||
$this->addOption( 'wt2html', 'Parsoid: Wikitext -> HTML' );
|
||||
$this->addOption( 'wt2wt',
|
||||
'Parsoid Roundtrip testing: Wikitext -> HTML(DOM) -> Wikitext' );
|
||||
|
|
@ -225,7 +222,6 @@ class ParserTestsMaintenance extends Maintenance {
|
|||
'keep-uploads' => $this->hasOption( 'keep-uploads' ),
|
||||
'run-disabled' => $this->hasOption( 'run-disabled' ),
|
||||
'disable-save-parse' => $this->hasOption( 'disable-save-parse' ),
|
||||
'use-tidy-config' => $this->hasOption( 'use-tidy-config' ),
|
||||
'file-backend' => $this->getOption( 'file-backend' ),
|
||||
'upload-dir' => $this->getOption( 'upload-dir' ),
|
||||
// Passing a parsoid-specific option implies --parsoid
|
||||
|
|
|
|||
Loading…
Reference in a new issue