]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add version information to Linkback
authorEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:58:38 +0000 (17:58 -0800)
committerEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:58:38 +0000 (17:58 -0800)
plugins/LinkbackPlugin.php

index f220fff8f652b9edfbce3adc19d0b65dfb0256ea..15e57ab0e8e471b8e306ddcd7783f502589218f8 100644 (file)
@@ -231,4 +231,18 @@ class LinkbackPlugin extends Plugin
         return 'LinkbackPlugin/'.LINKBACKPLUGIN_VERSION .
           ' StatusNet/' . STATUSNET_VERSION;
     }
+
+    function onPluginVersion(&$versions)
+    {
+        $versions[] = array('name' => 'Linkback',
+                            'version' => LINKBACKPLUGIN_VERSION,
+                            'author' => 'Evan Prodromou',
+                            'homepage' => 'http://status.net/wiki/Plugin:Linkback',
+                            'rawdescription' =>
+                            _m('Notify blog authors when their posts have been linked in '.
+                               'microblog notices using '.
+                               '<a href="http://www.hixie.ch/specs/pingback/pingback">Pingback</a> '.
+                               'or <a href="http://www.movabletype.org/docs/mttrackback.html">Trackback</a> protocols.'));
+        return true;
+    }
 }