Last modified: 2014-08-30 23:16:31 UTC
Right now the import button makes the script search the source code of the page which one is editing which is the /doc page not containing the parameters thus failing per default.
It's hard to see how we'd "know" what the main template is, though ascending up the sub-page tree might be a place to start. (Long-term TD will be hosted on it's own namespace so this will be much easier.)
*** Bug 66407 has been marked as a duplicate of this bug. ***
Change 134928 had a related patch set uploaded by Mooeypoo: Refactor TemplateData Editor https://gerrit.wikimedia.org/r/134928
Change 134928 merged by jenkins-bot: Refactor TemplateData Editor https://gerrit.wikimedia.org/r/134928