Changes between Version 19 and Version 20 of RegexLinkPlugin


Ignore:
Timestamp:
Jul 23, 2015, 1:17:41 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • RegexLinkPlugin

    v19 v20  
    1 = Turn anything matching a certain regex into a link =
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    3 == Description ==
     3= Turn anything matching a certain regex into a link
     4
     5== Description
    46
    57A disadvantage of using InterWiki to link to external pages is that the user has to put a prefix before the link, for example MeatBall:InterMapTxt.
     
    79In some cases, the actual text to be linked is distinctive enough to be turned into a link without many false positives. For example, TOPdesk service management software uses identifiers like '0811 123' for incidents. When text of this form occurs, it could be automatically rendered into a link to the relevant TOPdesk page.
    810
    9 The intention of this Trac plugin is to allow these kinds of links to be made with a minimum of configuration, based on a regex that matches the external identifiers.
     11This Trac plugin allows these kinds of links to be made with a minimum of configuration, based on a regex that matches the external identifiers.
    1012
    11 == Bugs/Feature Requests ==
     13== Bugs/Feature Requests
    1214
    1315Existing bugs and feature requests for RegexLinkPlugin are
     
    1517
    1618If you have any issues, create a
    17 [http://trac-hacks.org/newticket?component=RegexLinkPlugin&owner=ComaVN new ticket].
     19[/newticket?component=RegexLinkPlugin new ticket].
    1820
    19 == Download ==
     21[[TicketQuery(component=RegexLinkPlugin&group=type,format=progress)]]
    2022
    21 Download the zipped source for version 0.2 from [http://trac-hacks.org/changeset/latest/regexlinkplugin/tags/trac0.11/0.2?old_path=/&filename=regexlinkplugin0.2_trac0.11&format=zip here], or just get the egg for Python 2.5 [export:regexlinkplugin/tags/trac0.11/0.2/dist/RegexLink-0.2-py2.5.egg here]
     23== Download
    2224
    23 == Source ==
     25Download the zipped source for version 0.2 from [http://trac-hacks.org/changeset/latest/regexlinkplugin/tags/trac0.11/0.2?old_path=/&filename=regexlinkplugin0.2_trac0.11&format=zip here], or just get the egg for Python 2.5 [export:regexlinkplugin/tags/trac0.11/0.2/dist/RegexLink-0.2-py2.5.egg here].
     26
     27== Source
    2428
    2529You can check out RegexLinkPlugin from [http://trac-hacks.org/svn/regexlinkplugin/trunk here] using Subversion, or [source:regexlinkplugin browse the source] with Trac.
     
    2731[source:regexlinkplugin/trunk/ trunk] is where active development occurs (on trac 0.11), [source:regexlinkplugin/tags/ tags] contains released versions, and any development for other trac versions will occur in [source:regexlinkplugin/branches/ branches].
    2832
    29 == Example ==
     33== Example
    3034
    31 in trac.ini:
    32 {{{
     35Add the following to your `trac.ini` file:
     36{{{#!ini
    3337[regexlink]
    3438regex1 = \b(?P<topdeskyymm>\d\d(?:0[1-9]|1[0-2])) (?P<topdesknr>\d{3})\b
     
    3741url2 = http://example.org/\g<exampleid>
    3842}}}
    39 This means 0811 123 becomes [http://topdesk/query=0811%0123 0811 123], and example123 becomes [http://example.org/123 example123]
    4043
    41 (the topdesk url is not correct, this is an example only)
     44This means `0811 123` becomes [http://topdesk/query=0811%0123 0811 123], and `example123` becomes [http://example.org/123 example123].
    4245
    43 == Recent Changes ==
     46The topdesk url is fictituous, this is an example only.
     47
     48== Recent Changes
    4449
    4550[[ChangeLog(regexlinkplugin, 3)]]
    4651
    47 == Author/Contributors ==
     52== Author/Contributors
    4853
    4954'''Author:''' [wiki:ComaVN] [[BR]]
     55'''Maintainer:''' [[Maintainer]] [[BR]]
    5056'''Contributors:'''