**Feature summary** (what you would like to be able to do and where):
Despite gadgets and user scripts (which will be referred from now on as wiki-based code) being a key component of MediaWiki projects, up until now frontend APIs (e.g. how wiki-based code should interact with source control provided code) have been ill-defined leading to misunderstandings between engineers and wiki-based code developers when wiki-based code breaks. This also leads to code rot, where developers do not feel empowered to make changes as it's unclear how their changes will impact wiki-based code developers.
On top of this, when wiki-based code breaks it's not clear who can and will fix them.
A [[ https://www.mediawiki.org/w/index.php?title=User:Jdlrobson/Extension:Gadget/Policy | gadget policy ]] has been written over the course of the last year and I think we are close to publishing a first version. This policy should be considered a living document that can evolve over time with discussion, like any other wiki page.
I would like us to surface this policy from the editor like so:
{F35294921}
**Benefits** (why should this be implemented?):
Given wiki-based code can impact users and site reliability (now that we log JavaScript errors) and is impacted by changes in the core platform, it's important that we have shared understanding of how we can work together best. This should lead to a better experience for both parties and will go a long way to restoring trust and good faith between the two parties.