* @ingroup MaintenanceLanguage
*/
+$optionsWithArgs = [ 'lang', 'clang', 'mode' ];
require_once __DIR__ . '/../commandLine.inc';
$messagesDir = __DIR__ . '/../../languages/messages/';
$runTest = false;
* @ingroup MaintenanceLanguage
*/
+$optionsWithArgs = [
+ 'lang', 'level', 'blacklist', 'whitelist', 'wikilang', 'output', 'prefix'
+];
+$optionsWithoutArgs = [
+ 'help', 'links', 'noexif', 'easy', 'duplicate', 'all'
+];
require_once __DIR__ . '/../commandLine.inc';
require_once 'checkLanguage.inc';
require_once 'languages.inc';
* https://www.mediawiki.org/wiki/Localisation_statistics
*/
$optionsWithArgs = [ 'output' ];
+$optionsWithoutArgs = [ 'help' ];
require_once __DIR__ . '/../commandLine.inc';
require_once 'languages.inc';
* @ingroup Maintenance
*/
-/** */
+$optionsWithArgs = [ 'cache' ];
+$optionsWithoutArgs = [
+ 'debug', 'help'
+];
require_once __DIR__ . '/commandLine.inc';
-$options = getopt( '', [ 'debug', 'help', 'cache:' ] );
-
$debug = isset( $options['debug'] );
$help = isset( $options['help'] );
$cache = isset( $options['cache'] ) ? $options['cache'] : null;
* @ingroup Maintenance
*/
+$optionsWithoutArgs = [ 'verbose' ];
require_once __DIR__ . '/commandLine.inc';
$wgHooks['BeforeParserFetchTemplateAndtitle'][] = 'PPFuzzTester::templateHook';
*/
if ( !defined( 'MEDIAWIKI' ) ) {
+ $optionsWithoutArgs = [ 'fix' ];
require_once __DIR__ . '/../commandLine.inc';
$cs = new CheckStorage;
define( 'REPORTING_INTERVAL', 1 );
if ( !defined( 'MEDIAWIKI' ) ) {
+ $optionsWithArgs = [ 'e', 's' ];
require_once __DIR__ . '/../commandLine.inc';
require_once 'resolveStubs.php';