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
Allow $wgMaxCredits to work for database backends with non-magic group by behavior.
[lhc/web/wiklou.git]
/
index.php
diff --git
a/index.php
b/index.php
index
1cbba1e
..
bbc77e5
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-53,6
+53,11
@@
if( !is_null( $maxLag ) && !$mediaWiki->checkMaxLag( $maxLag ) ) {
exit;
}
+$avgLag = $wgRequest->getVal( 'avglag' );
+if( !is_null( $avgLag ) && !$mediaWiki->checkAvgLag( $avgLag ) ) {
+ exit;
+}
+
# Query string fields
$action = $wgRequest->getVal( 'action', 'view' );
$title = $wgRequest->getVal( 'title' );