com web/wiki: replaced deprecated getInfo() method with plugin.info.txt, and changed doc link to the respective wiki.php.net pages:
dokuwiki/lib/plugins/phpbugid/plugin.info.txt dokuwiki/lib/plugins/phpbugid/syntax.php dokuwiki/lib/plugins/phpml/plugin.info.txt
dokuwiki/lib/plugins/phpml/syntax.php
| From: | Christoph Michael Becker | Date: | Wed, 25 Mar 2015 18:53:09 +0000 |
| Subject: | com web/wiki: replaced deprecated getInfo() method with plugin.info.txt, and changed doc link to the respective wiki.php.net pages: dokuwiki/lib/plugins/phpbugid/plugin.info.txt dokuwiki/lib/plugins/phpbugid/syntax.php dokuwiki/lib/plugins/phpml/plugin.info.txt dokuwiki/lib/plugins/phpml/syntax.php |
||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-20974@lists.php.net to get a copy of this message | ||
Commit: fef7350a067822960cf208971ccf063deb8b028a
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 25 Mar 2015 19:53:09 +0100
Parents: 7c2b1a43837731a9131bb5cfc0bbfa42b4cf2536
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=fef7350a067822960cf208971ccf063deb8b028a
Log:
replaced deprecated getInfo() method with plugin.info.txt, and changed doc link to the respective
wiki.php.net pages
Changed paths:
A dokuwiki/lib/plugins/phpbugid/plugin..info.txt
M dokuwiki/lib/plugins/phpbugid/syntax.php
A dokuwiki/lib/plugins/phpml/plugin.info.txt
M dokuwiki/lib/plugins/phpml/syntax.php
Diff:
diff --git a/dokuwiki/lib/plugins/phpbugid/plugin.info.txt
b/dokuwiki/lib/plugins/phpbugid/plugin.info.txt
new file mode 100644
index 0000000..658911d
--- /dev/null
+++ b/dokuwiki/lib/plugins/phpbugid/plugin.info.txt
@@ -0,0 +1,7 @@
+base phpbugid
+author Lukas Kahwe Smith
+email <smith@pooteeweet.org>
+date 2008-06-20
+name PHP Bug id
+desc Add a short syntax to link to php bugs
+url https://wiki.php.net/wiki/phpbugid
diff --git a/dokuwiki/lib/plugins/phpbugid/syntax.php b/dokuwiki/lib/plugins/phpbugid/syntax.php
index c7aef07..ee15c91 100644
--- a/dokuwiki/lib/plugins/phpbugid/syntax.php
+++ b/dokuwiki/lib/plugins/phpbugid/syntax.php
@@ -18,20 +18,6 @@ class syntax_plugin_phpbugid extends DokuWiki_Syntax_Plugin {
/**
- * return some info
- */
- function getInfo(){
- return array(
- 'author' => 'Lukas Kahwe Smith',
- 'email' => 'smith@pooteeweet.org',
- 'date' => '2008-06-20',
- 'name' => 'PHP Bug id',
- 'desc' => 'Add a short syntax to link to php bugs',
- 'url' => 'http://svn.php.net/viewvc/web/php-wiki/trunk/dokuwiki/lib/plugins/phpbugid/',
- );
- }
-
- /**
* What kind of syntax are we?
*/
function getType(){
diff --git a/dokuwiki/lib/plugins/phpml/plugin.info.txt b/dokuwiki/lib/plugins/phpml/plugin.info.txt
new file mode 100644
index 0000000..de86aa2
--- /dev/null
+++ b/dokuwiki/lib/plugins/phpml/plugin.info.txt
@@ -0,0 +1,7 @@
+base phpml
+author Lukas Kahwe Smith
+email <smith@pooteeweet.org>
+date 2008-06-20
+name PHP ML
+desc Add a short syntax to link to php mailinglists
+url https://wiki.php.net/wiki/phpml
diff --git a/dokuwiki/lib/plugins/phpml/syntax.php b/dokuwiki/lib/plugins/phpml/syntax.php
index 234a178..2a88949 100644
--- a/dokuwiki/lib/plugins/phpml/syntax.php
+++ b/dokuwiki/lib/plugins/phpml/syntax.php
@@ -18,20 +18,6 @@ class syntax_plugin_phpml extends DokuWiki_Syntax_Plugin {
/**
- * return some info
- */
- function getInfo(){
- return array(
- 'author' => 'Lukas Kahwe Smith',
- 'email' => 'smith@pooteeweet.org',
- 'date' => '2008-06-20',
- 'name' => 'PHP ML',
- 'desc' => 'Add a short syntax to link to php mailinglists',
- 'url' => 'http://cvs.php.net/viewvc.cgi/php-wiki-web/dokuwiki/lib/plugins/phpml/syntax.php?view=markup',
- );
- }
-
- /**
* What kind of syntax are we?
*/
function getType(){