Add DokuWiki

This commit is contained in:
Steffen Lange 2021-01-16 18:56:31 +01:00
parent 1040e2e0f6
commit d9f232da59

14
modules/DokuWiki.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class DokuWiki extends PatchBase {
function __construct() {
parent::__construct('Andreas Gohr', 'DokuWiki', 'https://download.dokuwiki.org/');
}
function check() : bool {
if ($this->fetch('https://www.dokuwiki.org/changes'))
return $this->parse('/Release ([\d-]+[a-z]? (\"|\xE2\x80\x9C)[A-Za-z ]+(\"|\xE2\x80\x9D))/');
return false;
}
}
?>