https://bugzilla.wikimedia.org/show_bug.cgi?id=45644
Web browser: ---
Bug ID: 45644
Summary: An autoedit of a form of a field that is restricted to
a group results in bad behavior
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: SemanticForms
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
If you have a form that has a field that is uses the restricted option, and a
user triggers an autoedit of the page (either on the page via a button or using
the API), if that user is not a member of the group that the restriction is for
the edit will still be allowed, but the defaults of other restricted fields
will change the fields back to their defaults.
You can see the result of such an autoedit here:
http://wikiapiary.com/w/index.php?title=Wikidata&diff=prev&oldid=28756
the form has been modified to move the restricted flags for now, but you can
see the form as it was during that edit here
http://wikiapiary.com/w/index.php?title=Form:Website&action=edit&oldid=28011
Ideally the initial edit should not be allowed, since the user is not a member
of that restricted group. And the other restricted fields should not be
reverting to their defaults.
Here is the same behavior of fields reverting to defaults and the edit being
allowed when it should not have, but this time resulting from a robot using the
autoedit API.
http://wikiapiary.com/w/index.php?title=Familienwortschatz&curid=13118&diff=28807&oldid=25748
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l