Last modified: 2014-02-18 10:05:05 UTC
If a wiki is in read-only mode, the edit buttons etc. on a wikibase item page still work. They should be grayed out, as they are if a user is blocked etc.
Conflicts with bug #42656.
hmmm... I think grayed out is more consistent with the rest of mediawiki. (you still see the "View source" tab) Removing the edit buttons entirely could work also. No strong preference.
I agree, just wanted some assurance. Preferring disabled edit features as well since read-only mode is just supposed to be a temporary setting.
*** Bug 42656 has been marked as a duplicate of this bug. ***
I guess this would need an upstream bug to get solved properly. There does not seem to be a way to figure out in JavaScript whether a wiki is read-only.
(In reply to comment #5) > I guess this would need an upstream bug to get solved properly. What is "upstream" here?
It would be core then. Probably, something like a "wgReadOnly" variable filled with the content of $wgReadOnly/$wgReadOnlyFile should be set in the mediaWiki.config map.