https://bugzilla.wikimedia.org/show_bug.cgi?id=37691
Web browser: ---
Bug #: 37691
Summary: ItemView should honor ParserOptions::getEditSection()
to suppress edit functionality.
Product: MediaWiki extensions
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l