Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/131247

Change subject: Add GlobalUsage role
......................................................................

Add GlobalUsage role

Turns out installing GlobalUsage is a lot less scary than the
extension page makes it sound.

Change-Id: Ie8b736a7250ad668bdc13a8ab24996cc26023ac2
---
A puppet/manifests/roles/globalusage.pp
1 file changed, 16 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/47/131247/1

diff --git a/puppet/manifests/roles/globalusage.pp 
b/puppet/manifests/roles/globalusage.pp
new file mode 100644
index 0000000..266c02f
--- /dev/null
+++ b/puppet/manifests/roles/globalusage.pp
@@ -0,0 +1,16 @@
+# == Class: role::globalusage
+# This role provisions the [GlobalUsage][1] extension.
+# 
+# You need to execute the following command to get usage
+# information for existing files:
+# 
+#     php extensions/GlobalUsage/refreshGlobalimagelinks.php
+# 
+# This will throw an error, but seems to work nevertheless.
+# 
+# [1] https://www.mediawiki.org/wiki/Extension:GlobalUsage
+class role::globalusage {
+    mediawiki::extension { 'GlobalUsage':
+        needs_update => true,
+    }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/131247
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie8b736a7250ad668bdc13a8ab24996cc26023ac2
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <gti...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to