Extension:Graphical Category Browser/cs

Category:GPL licensed extensions/cs
Příručka k rozšířením MediaWiki
Graphical Category Browser
Stav rozšíření: stabilníCategory:Stable extensions/cs
Implementace Speciální stránka Category:Special page extensions/cs
Popis Grafický prohlížeč kategorií
Autoři Xypron
Nejnovější verze 1.9 (2022-12-25)
MediaWiki 1.35+Category:Extensions with manual MediaWiki version
Licence GNU General Public License 3.0 nebo novější
Stáhnout Category:Extensions in SourceForge version control/cs
Category:All extensions/csCategory:Extensions not in ExtensionJson

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", // color of category nodes
  "COLOR_NODE_ERROR"    => "#FF0000", // color for internal error
  "COLOR_NODE_REDIRECT" => "#FFCCCC", // color of redirected category nodes
  "COLOR_NODE_MISSING"  => "#FFFFCC", // color of missing category nodes
  "COLOR_LINK_REDIRECT" => "#FF0000", // color of redirect links
  "HEIGHT"              => "1920",    // height in pixels (96th of an inch)
  "WIDTH"               => "768"      // width in pixels (96th of an inch)
);
Category:Category extensions/cs Category:GraphViz extensions/cs Category:Graph extensions/cs Category:Page content extensions/cs
Category:All extensions/cs Category:CategoryPageView extensions/cs Category:Category extensions/cs Category:Extensions in SourceForge version control/cs Category:Extensions not in ExtensionJson Category:Extensions with manual MediaWiki version Category:GPL licensed extensions/cs Category:GraphViz extensions/cs Category:Graph extensions/cs Category:Page content extensions/cs Category:Special page extensions/cs Category:Stable extensions/cs