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

[email protected] (Christoph Michael Becker)
Newsgroups php.webmaster
Message-ID <[email protected]>
Commit:    fef7350a067822960cf208971ccf063deb8b028a
Author:    Christoph M. Becker <[email protected]>         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  <[email protected]>
+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'  => '[email protected]',
-        '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  <[email protected]>
+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'  => '[email protected]',
-        '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(){
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.