Add DokuWiki
This commit is contained in:
parent
1040e2e0f6
commit
d9f232da59
1 changed files with 14 additions and 0 deletions
14
modules/DokuWiki.php
Normal file
14
modules/DokuWiki.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue