It's better when it's simple

User Tools

Site Tools


Weiqi Plugin

Compatible with DokuWiki


plugin Displays Weiqi (also named Go game or Baduk) diagrams

Last updated on

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to chessdiagram, godiag

Tagged with diagram, game, images, media

Weiqi (say weitsi) is the Chinese name for Go, which is a quite simple but very interesting and ancient game.

You can see a demo here.


All the pretty image files come from the Dragon Go Server. Many thanks.

Two sizes of the necessary set of images are bundled in the plugin zip. If you want to use other sizes than 17px or 25px, you'll have to download the rest of the images.

The only changes made to the original files at (at the end of April 2008) are:

  • remove useless ones,
  • crop to squares the numbers used for the co-ordinates.

Change Log

date comment download
June 19 2008 Fixed a bug (if no attributes were given, errors were displayed). plugin
May 29 2008 The parser is now separated for external use. Stones can now be numbered. plugin other images
April 26 2008 Initial release plugin other images


Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.


The smart config page in the admin section is not implemented yet. Please see the syntax.php file.


Please refer to the demo.

Known issues

XHTML validation

<p> HTML tags are generated around the <div class=“weiqi”>…</div>. I don't know how to solve this (yet).

Set the PType to “block”, e.g. see box plugin. For more info see the syntax plugin tutorial. — Christopher Smith 2008/05/02 11:28
Great. Thanks Chris — Christophe Gragnic 2008/05/02 20:02

plugin functions

I'm not sure about the usual plugin functions, but it works. Knowing more about this could solve the previous issue…

What I did:

    function getType() { return 'protected'; }
    function getAllowedTypes() { return array('formatting', 'disabled'); }
    function getSort() { return 999; }
plugin/weiqi.txt · Last modified: 2018-05-31 00:43 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki