Thread:Extension talk:Scribunto/Difficulties in getting this extension to work/reply (2)

Well that's the thing. I upgraded to the latest development version of Scribunto and it still didn't work. However, I then installed a fresh MediaWiki installation (with the latest development version of MW) for testing purposes and had it use that same development version of Scribunto that my old wiki was using. The same template that wasn't working on my old wiki worked fine on the new one. At least I think it's all the same template code; I tried to delete all those templates and re-import from Wikipedia, and that didn't help. (The old wiki is just a slightly older, i.e. by a few weeks, development version of MW.)

So it's not the Scribunto code. I can try deleting everything in the Template namespace and re-importing from Wikipedia; that might fix it. I already tried commenting out that strip whitespace line in the namespace detect module, and I deleted everything in Module and re-installed. I linked above to the error message.

It's possible that I inadvertently imported a few templates from another wiki besides Wikipedia that interfered with these templates. E.g., if I imported a documentation template from another wiki, or something.