add version information to Geonames plugin

This commit is contained in:
Evan Prodromou 2010-01-07 17:27:01 -08:00
parent 4a4ac7a108
commit ff930d2555
1 changed files with 12 additions and 0 deletions

View File

@ -426,4 +426,16 @@ class GeonamesPlugin extends Plugin
return $document->geoname;
}
function onPluginVersion(&$versions)
{
$versions[] = array('name' => 'Geonames',
'version' => STATUSNET_VERSION,
'author' => 'Evan Prodromou',
'homepage' => 'http://status.net/wiki/Plugin:Geonames',
'rawdescription' =>
_m('Uses <a href="http://geonames.org/">Geonames</a> service to get human-readable '.
'names for locations based on user-provided lat/long pairs.'));
return true;
}
}