metanamespace "Wiki"
- recaptcha_public_key "6LdFIQATAAAAAMwtHeI8KDgPqvRbXeNYSq1gujKz"
- recaptcha_private_key passwords["recaptcha"]
+ hcaptcha_public_key "b67a410b-955e-4049-b432-f9c00e0202c0"
+ hcaptcha_private_key passwords["hcaptcha"]
# site_notice "MAINTENANCE: WIKI READ-ONLY UNTIL Monday 16 May 2016 - 11:00am UTC/GMT."
# site_readonly "MAINTENANCE: WIKI READ-ONLY UNTIL Monday 16 May 2016 - 11:00am UTC/GMT."
end
-template "/srv/wiki.openstreetmap.org/00_before_extensions.php" do
- source "before_extensions.php.erb"
- owner node[:mediawiki][:user]
- group node[:mediawiki][:group]
- mode "600"
-end
-
mediawiki_extension "CodeEditor" do
site "wiki.openstreetmap.org"
end
mode "0775"
end
-template "/srv/wiki.openstreetmap.org/99_after_extensions.php" do
- source "after_extensions.php.erb"
- owner node[:mediawiki][:user]
- group node[:mediawiki][:group]
- mode "600"
-end
-
cron_d "wiki-dump" do
minute "0"
hour "2"
user "wiki"
command "cd /srv/wiki.openstreetmap.org && php w/maintenance/dumpBackup.php --full --quiet --output=gzip:dump/dump.xml.gz"
end
+
+cron_d "wiki-rdf-dump" do
+ minute "0"
+ hour "4"
+ user "wiki"
+ command "cd /srv/wiki.openstreetmap.org && php w/extensions/Wikibase/repo/maintenance/dumpRdf.php --wiki wiki --format ttl --flavor full-dump --entity-type item --entity-type property --no-cache --output /tmp/wikibase-rdf.ttl && gzip -9 /tmp/wikibase-rdf.ttl && mv /tmp/wikibase-rdf.ttl.gz /srv/wiki.openstreetmap.org/dump/wikibase-rdf.ttl.gz"
+end