User:Bradv/sandbox/wt

1. Using wt inside lang
"Land of the Thai"

2. Using wikt-lang inside lang
"Land of the Thai"

3. Using just wikt-lang
"Land of the Thai"

4. Using just lang
"Land of the Thai" (ไทย)

5. Using just wt
"Land of the Thai"

Summary

 * 1) works fine
 * 2) works fine, but has an extra nested tag in the output html
 * 3) doesn't provide the language link
 * 4) doesn't provide the link to wiktionary
 * 5) doesn't provide the language link, or the   tag in the output html


 * Solution #1: Redirect wt to wikt-lang to fix use case 5, and replace all the instances of either wt or wikt-lang nested inside of lang with a new template which duplicates the current functionality of wt


 * Solution #2: Keep the templates as they are, but replace all naked transclusions of wt with wikt-lang, and all nested transclusions of wikt-lang with wt


 * Solution #3: Change Module:Lang to avoid wrapping elements that already have  attributes