Board Thread:Ask the Staff/@comment-1909553-20200125015437/@comment-24155515-20200129005248

Pages in the template namespace have an edit button like any other, and it doesn't look like editing the namespace has any specific rules technologically preventing it for this wiki or anything.

In this case because the person replaced all the content, at the time of the error its only content was itself. That's not the only way a template loop can happen but because it's the most common (someone who hasn't mastered the Mediawiki learning curve tries to use the template by editing the template to replace it with the template), usually the best way to fix it is to mouse over the edit dropdown and find the last unaffected version in the page history and just click that version and edit/save it to make the page go back to that version, because at that point the version that would be current wouldn't have any indication of what used to be on the page, and the only indication of the error in the source code would be the page's title in curly brackets (I don't remember if the template page itself (rather than just transclusions on pages where it's used) will report the loop or not).

(If that's not the sort of issue you were having trying to figure out how to edit it then I'm having a brain fart trying to understand what you mean. XP)