Extension:GlobalUsage
From MediaWiki.org
|
Release status: stable |
|||
|---|---|---|---|
| Implementation | Special page | ||
| Description | Special page to view global image usage | ||
| Author(s) | Bryan Tong Minh (BryanTalk) | ||
| MediaWiki | 1.16 | ||
| License | MIT | ||
| Download | Download snapshot |
||
|
|||
|
check usage (experimental) |
|||
GlobalUsage is an extension to view the global usage of images in a wiki farm with shared image repository. It adds Special:GlobalUsage as well as a list of pages that include the image on image description pages.
[edit] Installation
- Download the extension and unpack it in the extensions directory
- Source GlobalUsage.sql: php maintenance/sql.php extensions/GlobalUsage/GlobalUsage.sql
- Note: do this from the wiki installation where you want the GlobalUsage data to be located. Typically this is your shared image repository.
- Edit LocalSettings.php and add to the bottom of the file: require_once( "$IP/extensions/GlobalUsage/GlobalUsage.php" );
- In LocalSettings, set $wgGlobalUsageDatabase to the identifier of the wiki where the GlobalUsage data is located (usually the database name). It should be something understandable to wfGetDB. Example: $wgGlobalUsageDatabase = 'commonswiki';
- Run refreshGlobalimagelinks.php on all wikis in your farm. This will take a long time. php extensions/GlobalUsage/refreshGlobalimagelinks.php
- Visit Special:GlobalUsage and enjoy.
[edit] Bugs
Use, product MediaWiki extensions, component GlobalUsage.
This extension is being used on one or more of Wikimedia's wikis. It means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki is produced by Special:Version on that wiki.
Categories: Stable extensions | Special page extensions | Extensions in Wikimedia version control | LinksUpdateComplete extensions | ArticleDeleteComplete extensions | TitleMoveComplete extensions | FileUndeleteComplete extensions | UploadComplete extensions | ImagePageAfterImageLinks extensions | All extensions | Extensions used on Wikimedia