https://bugzilla.wikimedia.org/show_bug.cgi?id=45666

--- Comment #5 from Antoine "hashar" Musso <[email protected]> ---
The extension code is already available on the beta cluster since the extension
is registered as  submodule of mediawiki/extensions.git

If one would like to enable it, that should be done in the
operations/mediawiki-config.git repository.

In wmf-config/InitialiseSettings.php create a global setting to easily
enabled/disable the extension:

$wmgUseNamespaceRelations => array(
 'default' => false,
);


Actually use the setting in wmf-config/CommonSettings.php :

if( $wmgUseNamespaceRelations ) {
 include "$IP/extensions/NamespaceRelations/NamespaceRelations.php";
}


Finally enable the setting on labs in wmf-config/InitialiseSettings-labs.php
add in the wmfLabsSettings() array:

 '-wmgUseNamespaceRelations' => array(
   'default' => true,
  )

The '-' in front of the name instruct to override whatever settings production
might have, since I guess we will always want the extension to be enabled.

Then submit for review, get someone to merge it and it will self deploy via the
job
https://integration.wikimedia.org/ci/view/Beta/job/beta-mediawiki-config-update/
.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to