Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liquipedia/mediawiki-custom-globalusage-extension

This is based on https://www.mediawiki.org/wiki/Extension:GlobalUsage
https://github.com/liquipedia/mediawiki-custom-globalusage-extension

extension liquipedia mediawiki mediawiki-extension

Last synced: about 2 months ago
JSON representation

This is based on https://www.mediawiki.org/wiki/Extension:GlobalUsage

Awesome Lists containing this project

README

        

MediaWiki-custom-GlobalUsage-extension
======================================

This is based on https://www.mediawiki.org/wiki/Extension:GlobalUsage

The following changes have been made:

* includes/GlobalUsageImagePageHooks.php
* function onImagePageAfterImageLinks:
* import global $wgConf;
* replace call to WikiMap::getWikiName( $wiki ) by $wgConf->get( 'wgSitename', $wiki );
* function hasResults:
* import global $wgDBprefix;
* concatenate the global to the database name $dbr->getDBname()."-".$wgDBprefix
* includes/SpecialGlobalUsage.php
* function showResult:
* import global $wgConf;
* replace call to WikiMap::getWikiName( $wiki ) by $wgConf->get( 'wgSitename', $wiki );

# Installation
* Extract the extension folder to extensions/GlobalUsage/
* Add the following line to LocalSettings.php:

wfLoadExtension( 'GlobalUsage' );

* Follow the installation process of the original extension.