[]It makes for some more complex hack-tracking though. [/]
My strategy would be like this:
I add either a PHP-Comment or a html-comment ( for language files) to every place the hack adds something. Every comment has the word "HACK" and the Name of the hack.
Benefits:
*You can search sitewide for all occurrences of the hack, searching by its name, in case you want to delete or update it.
* If a page makes problem, search for HACK and you can identify the spots where the changes are and maybe the problems come from.
* It is easy to update Threads, because foreign pieces of code can be identified easily. (If I hack original Threads code out, I leave it in as comment, as well. So if the original code has some new elements, it is easy to compare and find out what has changed and what might be needed also for the hacked code.)
My 2 cents