[patch] WikiRenamePlugin doesn't update Tags etc., missing extension point for other plugins
|Reported by:||Björn Swift||Owned by:||Noah Kantrowitz|
|Severity:||normal||Keywords:||Tags FlexibleWiki extension|
|Cc:||Adrian Fritz||Trac Release:||0.10|
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 7 years ago by
|Keywords:||Tags FlexibleWiki extension added|
|Priority:||normal → high|
comment:8 Changed 7 years ago by
|Summary:||WikiRenamePlugin doesn't update Tags → [patch] WikiRenamePlugin doesn't update Tags etc., missing extension point for other plugins|