Page MenuHomePhabricator

(1.18) Special:Block doesn't accept various block options from GET request
Closed, ResolvedPublic

Description

When blocking a user parameters wpTarget, wpReason and wpExpiry can be specified using GET parameters. This doesn't work anymore for the other options (checkboxes) like wpCreateAccount and wpWatch.

This used to be possible and is used in templates to specify sensible defaults (ex.: http://nl.wikipedia.org/wiki/Sjabloon:Infobalk_waarschuwingssjablonen and http://en.wikipedia.org/wiki/Template:Bot).

To reproduce, visit http://test2.wikipedia.org/w/index.php?title=Special:Block&wpTarget=test&wpReason=Other&wpReason-other=test&wpExpiry=1+hour&wpCreateAccount=0&wpWatch=1. The first checkbox should be unchecked, the last should be set, but thats not the case.


Version: 1.18.x
Severity: normal

Details

Reference
bz31273

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:50 PM
bzimport set Reference to bz31273.
bzimport added a subscriber: Unknown Object (MLST).

Sounds like bug 30909

  • This bug has been marked as a duplicate of bug 30909 ***