Changes between Version 6 and Version 7 of AutoWikifyPlugin
- Timestamp:
- Jan 10, 2008, 1:17:19 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AutoWikifyPlugin
v6 v7 42 42 [http://trac-hacks.org/newticket?component=AutoWikifyPlugin&owner=athomas new ticket]. 43 43 44 45 == regex based wildcards in explicitly_wikify == 46 If like me [wiki:SvenDowideit] you want to link to an external wiki (TWiki) and need a large set of non-CamelCase words (in this case our bug tracking system (of the style of Bugs.Item1234) the you can modify autowikify.py to remove the escaping of regex strings - 47 48 change 49 {{{ 50 pattern = r'\b(?P<autowiki>' + '|'.join([re.escape(page) for page in pages]) + r')\b' 51 }}} 52 to 53 {{{ 54 pattern = r'\b(?P<autowiki>' + '|'.join([page for page in pages]) + r')\b' 55 }}} 56 57 44 58 == Download == 45 59