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
Switch some messages to wikitext, html cleanup
[mediawiki.git]
/
maintenance
/
archives
/
patch-user_token.sql
blob
797dc98f66a7c6780f6c7d27815ca9fe97325593
1
-- user_token patch
2
-- 2004-09-23
3
4
ALTER TABLE /*$wgDBprefix*/user ADD user_token char(32) binary NOT NULL default '';
5
6
UPDATE /*$wgDBprefix*/user SET user_token = concat(
7
substring(rand(),3,4),
8
substring(rand(),3,4),
9
substring(rand(),3,4),
10
substring(rand(),3,4),
11
substring(rand(),3,4),
12
substring(rand(),3,4),
13
substring(rand(),3,4),
14
substring(rand(),3,4)
15
);