plugin:weiqi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:weiqi [2008-05-02 20:03] – thanks to ChrisS for the tip grahack | plugin:weiqi [2018-05-31 00:43] (current) – [Installation] Klap-in | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Weiqi Plugin ====== | ||
+ | ---- plugin ---- | ||
+ | description: | ||
+ | author | ||
+ | email : christophegragnic@yahoo.fr | ||
+ | type : syntax | ||
+ | lastupdate : 2008-06-19 | ||
+ | compatible : 2007-06-26 | ||
+ | depends | ||
+ | conflicts | ||
+ | similar | ||
+ | tags : media, images, diagram, game | ||
+ | |||
+ | downloadurl: | ||
+ | ---- | ||
+ | |||
+ | Weiqi (say //weitsi//) is the Chinese name for [[wp> | ||
+ | is a quite simple but very interesting and ancient game. | ||
+ | |||
+ | You can see a demo | ||
+ | [[http:// | ||
+ | |||
+ | ===== Downloads ===== | ||
+ | |||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | |||
+ | All the pretty image files come from the | ||
+ | [[http:// | ||
+ | |||
+ | 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:// | ||
+ | are: | ||
+ | * remove useless ones, | ||
+ | * crop to squares the numbers used for the co-ordinates. | ||
+ | |||
+ | ===== Change Log ===== | ||
+ | |||
+ | ^^ date ^^ comment | ||
+ | || June 19 2008 || Fixed a bug (if no attributes were given, errors were displayed). || [[http:// | ||
+ | || May 29 2008 || The parser is now separated for external use. Stones can now be numbered. || [[http:// | ||
+ | || April 26 2008 || Initial release || [[http:// | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Search and install the plugin using the [[plugin: | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | |||
+ | The smart config page in the admin section is not implemented yet. | ||
+ | Please see the syntax.php file. | ||
+ | |||
+ | ===== Usage ===== | ||
+ | |||
+ | Please refer to | ||
+ | [[http:// | ||
+ | |||
+ | ===== Known issues ===== | ||
+ | |||
+ | ==== XHTML validation ==== | ||
+ | |||
+ | ''< | ||
+ | |||
+ | > Set the PType to " | ||
+ | |||
+ | >> Great. Thanks Chris --- // | ||
+ | |||
+ | ==== 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 ' | ||
+ | function getAllowedTypes() { return array(' | ||
+ | function getSort() { return 999; } | ||
+ | </ |