add version information to Linkback
This commit is contained in:
parent
87c181b4e3
commit
fe01a7d183
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user