===Hash Action=== Creates an MD5 and/or SHA1 hash of the page body it's embedded in. The hash value is calculated from the wiki markup, so it should uniquely identify each page revision regardless of formatting applied to the markup. Currently in use on the [[http://wiki.opennic.glue | OpenNIC wiki]] [requires access to [[http://www.opennicproject.org | OpenNIC DNS]]. ==actions/hash/hash.php== %%(php) htmlspecialchars_ent($this->page['body'])); else if("sha1" === $vars['type']) print sha1($this->htmlspecialchars_ent($this->page['body'])); else print "Invalid hash type"; ?> %% CategoryUserContributions