dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Move section ID fallbacks into headers themselves"
[lhc/web/wiklou.git]
/
tests
/
parser
/
parserTests.php
diff --git
a/tests/parser/parserTests.php
b/tests/parser/parserTests.php
index
1d0867a
..
2735f93
100644
(file)
--- a/
tests/parser/parserTests.php
+++ b/
tests/parser/parserTests.php
@@
-80,7
+80,7
@@
class ParserTestsMaintenance extends Maintenance {
}
public function execute() {
}
public function execute() {
- global $wg
ParserTestFiles, $wg
DBtype;
+ global $wgDBtype;
// Cases of weird db corruption were encountered when running tests on earlyish
// versions of SQLite
// Cases of weird db corruption were encountered when running tests on earlyish
// versions of SQLite
@@
-167,7
+167,7
@@
class ParserTestsMaintenance extends Maintenance {
}
// Default parser tests and any set from extensions or local config
}
// Default parser tests and any set from extensions or local config
- $files = $this->getOption( 'file',
$wgParserTestFiles
);
+ $files = $this->getOption( 'file',
ParserTestRunner::getParserTestFiles()
);
$norm = $this->hasOption( 'norm' ) ? explode( ',', $this->getOption( 'norm' ) ) : [];
$norm = $this->hasOption( 'norm' ) ? explode( ',', $this->getOption( 'norm' ) ) : [];