summaryrefslogtreecommitdiff
path: root/plugins/InfiniteScroll/InfiniteScrollPlugin.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-01-09 18:58:40 -0500
committerCraig Andrews <candrews@integralblue.com>2010-01-09 19:04:53 -0500
commitc758b1b1d40d5534e0fc63818bc7d9cf8350de96 (patch)
treee28a03c80d0d1be029f9a6563fb36be476953e4e /plugins/InfiniteScroll/InfiniteScrollPlugin.php
parent954335fa5e18b003e20cd43e71fb690181095101 (diff)
Add version information to a bunch of plugins
Diffstat (limited to 'plugins/InfiniteScroll/InfiniteScrollPlugin.php')
-rw-r--r--plugins/InfiniteScroll/InfiniteScrollPlugin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/InfiniteScroll/InfiniteScrollPlugin.php b/plugins/InfiniteScroll/InfiniteScrollPlugin.php
index 5928c007f..a4d1a5d05 100644
--- a/plugins/InfiniteScroll/InfiniteScrollPlugin.php
+++ b/plugins/InfiniteScroll/InfiniteScrollPlugin.php
@@ -43,4 +43,15 @@ class InfiniteScrollPlugin extends Plugin
$action->script('plugins/InfiniteScroll/jquery.infinitescroll.js');
$action->script('plugins/InfiniteScroll/infinitescroll.js');
}
+
+ function onPluginVersion(&$versions)
+ {
+ $versions[] = array('name' => 'InfiniteScroll',
+ 'version' => STATUSNET_VERSION,
+ 'author' => 'Craig Andrews',
+ 'homepage' => 'http://status.net/wiki/Plugin:InfiniteScroll',
+ 'rawdescription' =>
+ _m('Infinite Scroll adds the following functionality to your StatusNet installation: When a user scrolls towards the bottom of the page, the next page of notices is automatically retrieved and appended. This means they never need to click "Next Page", which dramatically increases stickiness.'));
+ return true;
+ }
}