Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
645c945994 | ||
|
|
4212d24b49 | ||
|
|
7d145662fa | ||
|
|
7cc5575eaa | ||
|
|
945f54a773 | ||
|
|
d4dae78b27 | ||
|
|
e307850555 | ||
|
|
790e23f9bb | ||
|
|
7fa71f5e78 | ||
|
|
6666f47f3b |
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "38.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "0.5.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.3.1"
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
||||
},
|
||||
"scripts": {
|
||||
"fix": [
|
||||
|
||||
3798
package-lock.json
generated
3798
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -5,9 +5,9 @@
|
||||
"test": "grunt test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.21.0",
|
||||
"grunt": "1.4.1",
|
||||
"grunt-banana-checker": "0.9.0",
|
||||
"grunt-eslint": "23.0.0"
|
||||
"eslint-config-wikimedia": "0.25.0",
|
||||
"grunt": "1.6.1",
|
||||
"grunt-banana-checker": "0.10.0",
|
||||
"grunt-eslint": "24.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
} else {
|
||||
$output = wfMessage( 'contributionscores-invalidusername' )->text();
|
||||
}
|
||||
return $parser->insertStripItem( $output, $parser->mStripState );
|
||||
return $parser->insertStripItem( $output, $parser->getStripState() );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -407,6 +407,11 @@ class ContributionScores extends IncludableSpecialPage {
|
||||
}
|
||||
}
|
||||
|
||||
public function maxIncludeCacheTime() {
|
||||
global $wgContribScoreDisableCache, $wgContribScoreCacheTTL;
|
||||
return $wgContribScoreDisableCache ? 0 : $wgContribScoreCacheTTL;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user