https://bugzilla.wikimedia.org/show_bug.cgi?id=16613
Summary: API allows protection configuration that GUI does not
allow, then fails to set them
Product: MediaWiki
Version: 1.14-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: API
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
When passing the parameters:
action=protect
protections=edit=sysop|move=all
cascade=1
to the API, I receive a reply of:
protections => [
{
'expiry' => 'infinite',
'edit' => 'sysop',
},
{
'expiry' => 'infinite',
'move' => '',
}
]
cascade => ""
That is, it's telling me that it set cascading, as I told it to and the same
way it does when I set cascading properly, however cascading does not actually
get set because it requires edit=sysop|move=sysop.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l