repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
PrefixSearch: Avoid notice when no subpage exists
[mediawiki.git]
/
maintenance
/
archives
/
patch-ss_images.sql
blob
80f1295f1ac0a925075b1f9825e9710d333e2a50
1
-- More statistics, for version 1.6
2
3
ALTER TABLE /*$wgDBprefix*/site_stats ADD ss_images int default '0';
4
SELECT @images := COUNT(*) FROM /*$wgDBprefix*/image;
5
UPDATE /*$wgDBprefix*/site_stats SET ss_images=@images;