![]() Release status: stable |
|
---|---|
![]() |
|
Implementation | Special page |
Description | A graphical browser for categories |
Author(s) | Xypron |
Latest version | 1.9 (2022-12-25) |
MediaWiki | 1.35+ |
License | GNU General Public License 3.0 or later |
Download | SourceForge: Note: |
Hooks used
|
|
The Graphical Category Browser extension shows the interconnection of categories as a graph enhances navigability of the site.
What this extension does
- A special page "Graphical Categories Browser" is added.
- A graph is added on top of each category page showing the relationships to other categories.
Images are file cached. Cache control to match HTML and image output is supplied.
Installation
- Download script and copy to extensions.
- Correct $xyDotPath and $xyCategoriesCache to your needs.
- Create directory images/xyGraphvizCache
- Add the following line to LocalSettings.php
require_once("$IP/extensions/xyCategoryBrowser/xyCategoryBrowser.php");
To change the design you may override entries in the following array:
$xyCategoryGraphStyle = array(
"COLOR_NODE" => "#EEEEEE", // <translate nowrap><!--T:14--> color of category nodes</translate>
"COLOR_NODE_ERROR" => "#FF0000", // <translate nowrap><!--T:15--> color for internal error</translate>
"COLOR_NODE_REDIRECT" => "#FFCCCC", // <translate nowrap><!--T:16--> color of redirected category nodes</translate>
"COLOR_NODE_MISSING" => "#FFFFCC", // <translate nowrap><!--T:17--> color of missing category nodes</translate>
"COLOR_LINK_REDIRECT" => "#FF0000", // <translate nowrap><!--T:18--> color of redirect links</translate>
"HEIGHT" => "1920", // <translate nowrap><!--T:19--> height in pixels (96th of an inch)</translate>
"WIDTH" => "768" // <translate nowrap><!--T:20--> width in pixels (96th of an inch)</translate>
);
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.