====== Weiqi Plugin ====== ---- plugin ---- description: Displays Weiqi (also named Go game or Baduk) diagrams author : Christophe Gragnic email : christophegragnic@yahoo.fr type : syntax lastupdate : 2008-06-19 compatible : 2007-06-26 depends : conflicts : similar : chessdiagram tags : media, images, diagram, game downloadurl: http://fezzik.free.fr/dl/080619_weiqi.zip ---- Weiqi (say //weitsi//) is the Chinese name for [[wp>Go_(board_game)|Go]], which is a quite simple but very interesting and ancient game. You can see a demo [[http://profgra.org/wiki/go:weiqi_plugin:accueil|here]]. ===== Downloads ===== * [[http://fezzik.free.fr/dl/080619_weiqi.zip|the plugin]] (about 250k) * [[http://fezzik.free.fr/dl/080529_weiqi_img.zip|the rest of the images]] (about 550k) All the pretty image files come from the [[http://www.dragongoserver.net/|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 http://www.dragongoserver.net/snapshot.php (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). || [[http://fezzik.free.fr/dl/080619_weiqi.zip|plugin]] || || May 29 2008 || The parser is now separated for external use. Stones can now be numbered. || [[http://fezzik.free.fr/dl/080529_weiqi.zip|plugin]] [[http://fezzik.free.fr/dl/080529_weiqi_img.zip|other images]] || || April 26 2008 || Initial release || [[http://fezzik.free.fr/dl/080426_weiqi.zip|plugin]] [[http://fezzik.free.fr/dl/080426_weiqi.zip|other images]] || ===== Installation ===== Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Configuration ===== The smart config page in the admin section is not implemented yet. Please see the syntax.php file. ===== Usage ===== Please refer to [[http://christophegragnic.free.fr/wiki/doku.php?id=go:weiqi_plugin:accueil|the demo]]. ===== Known issues ===== ==== XHTML validation ==== ''

'' HTML tags are generated around the ''

...
''. I don't know how to solve this (yet). > Set the PType to "block", e.g. see [[plugin:box]] plugin. For more info see the [[devel:Syntax Plugins#ptype|syntax plugin tutorial]]. --- //[[chris@jalakai.co.uk|Christopher Smith]] 2008/05/02 11:28// >> Great. Thanks Chris --- //[[christophegragnic@yahoo.fr|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; }