Skip to content

Commit

Permalink
Adjustments to dokuwiki standards
Browse files Browse the repository at this point in the history
  • Loading branch information
nerun committed May 19, 2024
1 parent 4197408 commit dbaa014
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

2024-05-19:
* removed function getInfo(), [replaced by plugin.info.txt since 2009](https://www.dokuwiki.org/devel:plugin_info).
* removed version numbering (0.8.4 etc): date is better.
* Dealing with [Conflicting Versions and Basenames](https://www.dokuwiki.org/devel:badextensions).

2023-12-14 v0.8.4:
* Rollback: removed `#ifemp`.

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ Plugin for [DokuWiki](https://www.dokuwiki.org), available at [plugin: templater
Maintainer : Daniel Dias Rodrigues
Author : Jonathan Arkell
Current Version : 0.8.4 (2023-12-14)

Want to translate this plugin to your language? Go to [DokuWiki Localization](https://translate.dokuwiki.org/plugin/templater).
2 changes: 1 addition & 1 deletion plugin.info.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
base templater
author Daniel Rodrigues ("Nerun") and Jonathan Arkell.
email danieldiasr@gmail.com
date 2023-12-14
date 2024-05-19
name Templater Plugin
desc Displays a wiki page (or a section thereof) within another, with user selectable replacements.
url https://www.dokuwiki.org/plugin:templater
16 changes: 0 additions & 16 deletions syntax.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* Ximin Luo <xl269@cam.ac.uk>
* jack126guy <halfgray7e@gmail.com>
* Turq Whiteside <turq@mage.city>
* @version 0.8.4 (2023-12-14)
*/

use dokuwiki\File\PageResolver;
Expand All @@ -37,20 +36,6 @@
* need to inherit from this class
*/
class syntax_plugin_templater extends DokuWiki_Syntax_Plugin {
/**
* return some info
*/
function getInfo() {
return array(
'author' => 'Daniel Dias Rodrigues',
'email' => 'danieldiasr@gmail.com',
'date' => '2023-12-14',
'name' => 'Templater Plugin',
'desc' => 'Displays a wiki page (or a section thereof) within another, with user selectable replacements',
'url' => 'http://www.dokuwiki.org/plugin:templater',
);
}

/**
* What kind of syntax are we?
*/
Expand Down Expand Up @@ -331,4 +316,3 @@ function _massageReplacers($replacers) {
return $r;
}
}

0 comments on commit dbaa014

Please sign in to comment.