yah, that can be done -- only thing you would have to do is.. showflat.inc.php would need to load that script ( i assume it is only when you are viewing a post )
then you would create a custom ubbcode to allow them to do like
[wt:desc=Feldstalker thingie&gems=23121&ench=2647&pcs=25695,25696,25697]
http://www.wowhead.com/item=25697[/wt]
you'd need an expert to do the regex prolly