== Preamble ==
I just find out that actually there is no way to put a message above an article that has a JSON [content model](https://www.mediawiki.org/wiki/Manual:Page_content_models) ([example JSON page](https://it.wikipedia.org/wiki/Wikipedia:Pagine_da_cancellare/Configurazione?uselang=qqx)).
== Actual situation ==
They already exist some ways to put content above a page, like:
* the very useful [`MediaWiki:Scribunto-doc-page-name`](https://www.mediawiki.org/wiki/MediaWiki:Scribunto-doc-page-name) that allow the transclusion of the Lua module documentation from a subpage ([example](https://en.wikipedia.org/wiki/Module:String) · [reference](https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Module_documentation))
* the [`MediaWiki:Clearyourcache`](https://www.mediawiki.org/wiki/MediaWiki:Clearyourcache) system message that is shown only for JavaScript and CSS pages. more specifically a system config page or and user config page ([example](https://en.wikipedia.org/wiki/MediaWiki:Common.js?uselang=qqx) · T191800)
Having said that, it seems that no system message is displayed above a JSON page and as far as I know it does not exist an `MediaWiki:Article-nonwiki-header-page-name` or whatever.
== Proposal ==
Like the behaviour of every Scribunto module, for articles with the JSON content model we could automatically try to display a subpage and transclude it on the top.
So we can create a new system message called `MediaWiki:Article-nonwiki-header-page-name` or whatsoever to keep the value of that subpage like `$1/doc`.
I don't think that anyone has never created a `/doc` subpage under a JSON article so I think it will not create any strange impact.