Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (53 sloc) 3.18 KB

Mix'n'match VM

Setup VM

  • Setup on horizon eqiad1-r
  • Connect: ssh magnus@mixnmatch.mix-n-match.eqiad.wmflabs
  • Create proxy to 8181 (wiki), 8282 (wdqs), and 9191 (QS)




$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createaccount'] = false;
$wgWBRepoSettings['formatterUrlProperty'] = 'P8'; # Create and link a formatter URL property

THIS SEEMS BETTER (anon wikibase edits allowed, everything else down):

#$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createaccount'] = false;

$wgNamespaceProtection[NS_MAIN]     = $wgNamespaceProtection[NS_USER]  =
$wgNamespaceProtection[NS_PROJECT]  = $wgNamespaceProtection[NS_IMAGE] =
$wgNamespaceProtection[NS_TEMPLATE] = $wgNamespaceProtection[NS_HELP]  =
$wgNamespaceProtection[NS_CATEGORY] = array( 'editroot' );

$wgNamespaceProtection[1]     = $wgNamespaceProtection[NS_USER_TALK]  =
$wgNamespaceProtection[NS_PROJECT_TALK]  = $wgNamespaceProtection[NS_IMAGE_TALK] =
$wgNamespaceProtection[NS_TEMPLATE_TALK] = $wgNamespaceProtection[NS_HELP_TALK]  =
$wgNamespaceProtection[NS_CATEGORY_TALK] = array( 'editroot' );

$wgNamespaceProtection[120] = [ 'ns120_edit' ];
$wgGroupPermissions['*']['ns120_edit'] = true;


Setup QS as described here (especially the email hack!): You will get You have been assigned a consumer token of ID1 and a secret token of ID2. Please record these for future reference. Edit nano docker-compose.yml outside the docker image, then restart

Docker container issues

  • QuickStatements does not display commands; public_html/config.js needs to use https for api URL
  • QuickStatements conatiner PHP does not appear to have INTL module, no Normalizer class or normalizer_normalize function
  • SPARQL engine links items to http://wikibase.svc/entity/ instead of actual URL
  • Cirrus search is broken
You can’t perform that action at this time.