plugin:websvn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:websvn [2019-08-10 17:18] – Aleksandr | plugin:websvn [2023-12-21 19:02] (current) – new download url Aleksandr | ||
---|---|---|---|
Line 13: | Line 13: | ||
tags : links, include, repository | tags : links, include, repository | ||
- | downloadurl: | + | downloadurl: |
bugtracker : | bugtracker : | ||
sourcerepo : | sourcerepo : | ||
Line 23: | Line 23: | ||
===== Description ===== | ===== Description ===== | ||
- | This plugin offers a convenient way to reference files in a Subversion repository. It assumes that the repository is made web-accessible with [[http:// | + | This plugin offers a convenient way to reference files in a Subversion repository. It assumes that the repository is made web-accessible with [[http:// |
===== Usage ===== | ===== Usage ===== | ||
Line 63: | Line 63: | ||
// | // | ||
global $websvn_root_url; | global $websvn_root_url; | ||
- | $websvn_root_url = " | + | $websvn_root_url = " |
// | // | ||
Line 84: | Line 84: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
); | ); | ||
} | } | ||
Line 115: | Line 115: | ||
* Handle the match | * Handle the match | ||
*/ | */ | ||
- | function handle($match, | + | function handle($match, |
$match = html_entity_decode(substr($match, | $match = html_entity_decode(substr($match, | ||
if(substr($match, | if(substr($match, | ||
Line 133: | Line 133: | ||
* Create output | * Create output | ||
*/ | */ | ||
- | function render($mode, | + | function render($mode, |
global $websvn_root_url; | global $websvn_root_url; | ||
list($repository, | list($repository, |
plugin/websvn.1565450339.txt.gz · Last modified: 2019-08-10 17:18 by Aleksandr