DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:weiqi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:weiqi [2008-05-02 20:03] – thanks to ChrisS for the tip grahackplugin:weiqi [2018-05-31 00:43] (current) – [Installation] Klap-in
Line 1: Line 1:
 +====== 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 ====
 +
 +''<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 [[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:
 +<code php>
 +    function getType() { return 'protected'; }
 +    function getAllowedTypes() { return array('formatting', 'disabled'); }
 +    function getSort() { return 999; }
 +</code>

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