We should replace the hacks (use of ApiCheckCanExecute and mobile frontend hooks) in WikibaseRepo hooks with some mechanism in core for disabling direct editing of content types.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add supportsDirectEditing methods to ContentHandler | mediawiki/core | master | +516 -200 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change 204230 had a related patch set uploaded (by Aude):
Add supportsDirectEditing methods to ContentHandler
Comment Actions
first step is to add the mechanism in core, which is what https://gerrit.wikimedia.org/r/204230 does
then we can remove the ApiCheckCanExecute hook stuff in Wikibase
for mobile, adapt it to use the new mechanism, probably with a method_exists check on ContentHandler, assuming they care about backwards compatibility. then we don't need the SkinMinvera hook code in Wikibase.
Comment Actions
Change 204230 merged by jenkins-bot:
Add supportsDirectEditing methods to ContentHandler
Comment Actions
The core patch means that edits to wikibase items can no longer be undone through the API T101694