New ! SF plugin !



  • must edit the lib/wiki-plugins/wikiplugins-sf.php and fill out default values for groupid and atid in the tags arrays
    • Copy to clipboard
      define('SF_CACHE',48); # in hours ... function wikiplugin_sf($data, $params) { $tags['bugs'] = array('64258','506846'); $tags['rfe'] = array('64258','506849'); $tags['patches'] = array('64258','506848'); $tags['support'] = array('64258','506847'); $tags['jgbug'] = array('43118','435210'); $tags['jgsupport'] = array('43118','435211'); $tags['jgrfe'] = array('43118','435213'); ...

  • Bugs are default tracker (first defined tag):
    • {SF(aid=>747033)}{SF}
      {SF(aid=>747033)}{SF}

  • use a tag :
    • {SF(tag=>rfe,aid=>640834)}{SF}
      {SF(tag=>rfe,aid=>640834)}{SF}

  • can specify another project ! bug in jgraphpad ? :
    • bug in jgraphpad : {SF(groupid=>43118,atid=>435210,aid=>815711)}{SF}
      bug in jgraphpad : {SF(groupid=>43118,atid=>435210,aid=>815711)}{SF}

  • labels are cached in temp/sftracker.* for 48h as text files, easy to use elsewhere

  • php-curl is used to parse the page on sourceforge


mose

Do you use that feature for your SourceForge Project ? Add your url down here !

Bugs

Tracker titles are parsed as WikiSyntax.
Title doesn't appear first edit/preview.
Not parsed on my UserPage Chealer9

userpageterris: Anchor tag text is always blank for me when I add SF plugin to tw.o e.g., WikiDev page. I suspect caching. When the item isn't in the cache this plugin doesn't seem to update the cache. New items should cause the cache to be updated immediately. Perhaps I'm experiencing a permissions problem that causes the item to never be cached.