Page MenuHomePhabricator

action=parse&summary= broken and complains that text parameter should be passed with title parameter
Closed, ResolvedPublic

Description

action=parse throws an error when you try to parse a summary: https://de.wikipedia.org/w/api.php?action=parse&summary=foo&format=jsonfm should parse the contents of the summary parameter (as summary), but instead complains about a missing text parameter: "The text parameter should be passed with the title parameter. Should you be using the \"page\" parameter instead?"

According to blame this is broken since Gerrit Change #20896.

(And when you fix it, can you just add an example for the summary parameter? This is a more or less undocumented feature.)


Version: 1.22.0
Severity: normal

Details

Reference
bz48319

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz48319.
Schnark created this task.May 10 2013, 7:34 AM

(In reply to comment #0)

According to blame this is broken since Gerrit change #20896.

CC'ing Daniel who wrote that patch (in August last year).

(In reply to comment #0)

According to blame this is broken since Gerrit change #20896.

This does not seem to be the case; the revision before it is broken too. It actually seems to have been broken in r109693.

Related URL: https://gerrit.wikimedia.org/r/63138 (Gerrit Change I03c1fbcb0bd31dea8bd84e164104f7ced0ace449)

Gerrit change was merged.