Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/liquipedia/mediawiki-custom-globalusage-extension
- Owner: Liquipedia
- License: mit
- Created: 2016-03-01T17:14:07.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T15:02:04.000Z (10 months ago)
- Last Synced: 2024-02-21T16:31:18.325Z (10 months ago)
- Topics: extension, liquipedia, mediawiki, mediawiki-extension
- Language: PHP
- Size: 189 KB
- Stars: 2
- Watchers: 8
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
- Code of conduct: CODE_OF_CONDUCT.md
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.