[patch] WikiRenamePlugin doesn't update Tags etc., missing extension point for other plugins
|Reported by:||bjornswift||Owned by:||coderanger|
|Severity:||normal||Keywords:||Tags FlexibleWiki extension|
TagsPlugin is a widely spread plugin (used by trac-hacs, for instance) and by many considered to be a necessary addition to Trac. It's therefor my opinion that WikiRenamePlugin should support renaming tag pointers.
I added the following code to util.py. A simple check is included to make sure that users not using the TagsPlugin won't be effected.
49,53d49 < # Check to see if TracTags are installed and if so, update the tags table < if 'tractags.*' in env.config['components']: < if debug: print "Updating tags" < cursor.execute('UPDATE tags SET name =%s WHERE name = %s', (newname,oldname)) <
Hope this get submitted.
Change History (14)
comment:7 Changed 5 years ago by hoff.st@…
- Keywords Tags FlexibleWiki extension added
- Priority changed from normal to high
comment:8 Changed 5 years ago by hoff.st@…
- Summary changed from WikiRenamePlugin doesn't update Tags to [patch] WikiRenamePlugin doesn't update Tags etc., missing extension point for other plugins