Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
Learn about DokuWiki
Advanced Use
Corporate Use
Our Community
Follow us on Facebook, Twitter and other social networks.
This event is signalled by idx_get_version() in inc/indexer.php when the version of the indexer is checked in order to determine if a page needs to be indexed again because the index version has changed, handlers can use it to add their own version strings.
$data = array('dokuwiki'=>$version);
The data array follows the scheme name ⇒ version
. The name should be the plugin name, the version the version of the plugin index. This version should be increased whenever the data structure the plugin indexes changes. Whenever this version is changed all pages will be reindexed when they are visited or indexer.php
is called, so don't change that version too often. The version that is added should be a static string and not depend on anything else.