Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4099115
generate-collation-data
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
516 B
Referenced Files
None
Subscribers
None
generate-collation-data
View Options
#!/bin/bash -eu
clear_temp
()
{
rm
-f
allkeys.txt
ucd.all.grouped.zip
ucd.all.grouped.xml
}
# Setup
clear_temp
export
MW_INSTALL_PATH
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
/../..
&&
pwd
)
"
# Generate includes/collation/data/first-letters-root.php
wget
https://www.unicode.org/Public/UCA/6.0.0/allkeys.txt
wget
https://www.unicode.org/Public/6.0.0/ucdxml/ucd.all.grouped.zip
unzip
ucd.all.grouped.zip
ucd.all.grouped.xml
php
"
$MW_INSTALL_PATH
/maintenance/language/generateCollationData.php"
# Teardown
clear_temp
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Tue, Aug 18, 15:41 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
98/1d/8d34887ce86d7798cec78948c42a
Default Alt Text
generate-collation-data (516 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment