Is it possible to set up a MediaWiki installation such that each wiki page automatically gets a wikibase item that is accessible from the page via a menu link, similar to the Wikipedia/Wikidata integration described by en.wikipedia/wiki/Wikipedia:Wikidata#Access_from_Wikipedia?
From a Wikipedia page, you can go to the link "Wikidata item", using
"Tools" in the side panel, to see and edit it. Also in Tools, there is
another link to "page information", where is "Wikidata item ID", that
contains the QID (for example: Q171 or "None").
You can go to the corresponding page in Wikimedia sister projects
using the links under "In other projects", also in the side pane.
Finally, you can go to other Wikipedia language links of the item,
clicking in "Languages" in the side pane. You can use "Edit links"
there.
To clarify, this isn't about integrating a non-Wikimedia wiki with MediaWiki's own Wikidata. It's about integrating a non-Wikimedia wiki with a non-Wikimedia Wikibase.