Summary: boolean (url) variables are treated differently by the
                    api depending on if POST or GET is used
           Product: MediaWiki
           Version: 1.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Normal
         Component: API

I'm not 100% sure if this is even if this is a bug or not (And if it is, it
might be a php/apache bug, not a mediawiki bug), but it confused me for a
little bit.

Basically, make a GET request like

It works as expected. Now try POSTing the equivelent (with a content-type of

It doesn't work unless you have an = sign after the rvgeneratexml. This is
especially confusing because in the example given for the edit module it gives
the example

Which won't be marked as minor if POSTed. 

(I discovered this trying to figure out why my bot's edit wasn't being marked
as bot. I was doing my testing using wget if it matters.).

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to