Thread:Andrewds1021/@comment-45310000-20200414034500/@comment-45310000-20200415220935

I created a workaround using #switch: w:c:rdrii:Template:RN. I'm a bit perplexed by the situation using #replace, i attempted to debug this by first putting a { {subst:RootName|...}} in the noinclude section, then using subst: and saving until I got to the { {#replace, but when that was subst:, it didn't have the newline. I am perplexed.

Ya, you're right about RootName, I noticed that MW 1.34 extends the magic word to take a parameter, but that doesn't seem to be implemented in UCP at all. I'm getting rid of that template.

edit: Didn't read your comment on pagename. Thank you.