Changes between Version 5 and Version 6 of ExtractUrlPlugin


Ignore:
Timestamp:
May 10, 2015, 7:35:56 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • ExtractUrlPlugin

    v5 v6  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Plug-in to extract URL from TracWiki links in Plug-ins and Macros =
     3= Plug-in to extract URL from TracWiki links in Plug-ins and Macros
    44
    5 == Description ==
     5== Description
    66
    7 This plug-in provides the function `extract_url` which can be used in Trac plug-ins and macros to extract the URL of any TracWiki link for e.g. generation of links in produced HTML code.
     7This plugin provides the function `extract_url` which can be used in Trac plugins and macros to extract the URL of any TracWiki link for e.g. generation of links in produced HTML code.
    88
    9 = Usage =
    10 {{{
    11 #!python
    12 from tracextracturl import extract_url
    13 # ...
    14   url = extract_url (env, context, wikilink, raw=False)
    15 }}}
    16 The argument `raw` controls if the returned link should point to a brows-able (False) or download-able (True) target. The second one can be used in image or similar tags.
    17 
    18 
    19 == Bugs/Feature Requests ==
     9== Bugs/Feature Requests
    2010
    2111Existing bugs and feature requests for ExtractUrlPlugin are
     
    2515[/newticket?component=ExtractUrlPlugin&owner=martin_s new ticket].
    2616
    27 == Download and Source ==
     17[[TicketQuery(component=ExtractUrlPlugin&group=type,format=progress)]]
     18
     19== Download and Source
    2820
    2921Download the [download:extracturlplugin zipped source], check out [/svn/extracturlplugin/0.11 here] using Subversion, or [source:extracturlplugin browse the source] with Trac.
    3022
    31 == Example ==
     23== Usage
    3224
    33 {{{
    34 #!python
     25{{{#!python
     26from tracextracturl import extract_url
     27# ...
     28  url = extract_url (env, context, wikilink, raw=False)
     29}}}
     30
     31The argument `raw` controls if the returned link should point to a brows-able (False) or download-able (True) target. The second one can be used in image or similar tags.
     32
     33== Example
     34
     35{{{#!python
    3536from tracextracturl import extract_url
    3637
     
    4243
    4344
    44 == Recent Changes ==
     45== Recent Changes
    4546
    4647[[ChangeLog(extracturlplugin, 3)]]
    4748
    48 == Author/Contributors ==
     49== Author/Contributors
    4950
    5051'''Author:''' [wiki:martin_s] [[BR]]
    51 '''Maintainer:''' [wiki:martin_s] [[BR]]
     52'''Maintainer:''' [[Maintainer]] [[BR]]
    5253'''Contributors:'''