Page MenuHomePhabricator

Need a Dashiki namespace so we can protect configs {crow}
Closed, DuplicatePublic

Description

Dashiki configs are just written into plain wiki articles on meta. We can't continue to do that, because this happens:

https://meta.wikimedia.org/w/index.php?title=Dashiki%3ANamespaceEditsAnnotations&type=revision&diff=13575029&oldid=13045717

So we need to create an extension that at minimum would put a little message above each page notifying people not to mess with it unless they knew what it affected. Nice-to-haves:

  • The Dashiki:article could be written in yaml and translate to json for the underlying content. This would make configging much more fun
  • The Save method could validate the JSON like event logging schemas get validated.

Event Timeline

Milimetric raised the priority of this task from to Needs Triage.
Milimetric updated the task description. (Show Details)
Milimetric added a project: Analytics-Backlog.
Milimetric subscribed.
kevinator set Security to None.
kevinator moved this task from Incoming to Prioritized on the Analytics-Backlog board.

You don't need an extension to add an edit warning on the top of any page of a namespace.

Check https://en.wikipedia.org/wiki/Wikipedia:Editnotice.

Other features would be nice to implement on the top of CodeEditor.

Check the Scribunto code for an example of validation on save.

Yeah, but we want an extension for other reasons like rendering the content of the page nicely if it's a Dashiki:____ page.