Last modified: 2012-11-29 13:07:11 UTC
Inline editing does not make sense in all places where an item is shown. E.g. when an item is shown as a preview or as context in a diff, editing should be disabled. MediaWiki already makes this distinction for WikiText, where section edit links are suppressed in such situation. I think Wikibase should use the same hint to suppress inline editing. It ParserOptions::getEditSection() can be used to determine whether inline editing should be enabled.
under review https://gerrit.wikimedia.org/r/#/c/12856/