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 "WLFilters: hide watchlist-details during loading of the app"
[lhc/web/wiklou.git]
/
maintenance
/
archives
/
patch-ss_active_users.sql
diff --git
a/maintenance/archives/patch-ss_active_users.sql
b/maintenance/archives/patch-ss_active_users.sql
index
7143905
..
a583cdc
100644
(file)
--- a/
maintenance/archives/patch-ss_active_users.sql
+++ b/
maintenance/archives/patch-ss_active_users.sql
@@
-1,6
+1,3
@@
-- More statistics, for version 1.14
ALTER TABLE /*$wgDBprefix*/site_stats ADD ss_active_users bigint default '-1';
-- More statistics, for version 1.14
ALTER TABLE /*$wgDBprefix*/site_stats ADD ss_active_users bigint default '-1';
-SELECT @activeusers := COUNT( DISTINCT rc_user_text ) FROM /*$wgDBprefix*/recentchanges
-WHERE rc_user != 0 AND rc_bot = 0 AND rc_log_type != 'newusers';
-UPDATE /*$wgDBprefix*/site_stats SET ss_active_users=@activeusers;