Brad Jorsch <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #19 from Brad Jorsch <> ---
(In reply to Krinkle from comment #18)
> But I can't imagine explicitly checking and relying on the the absence of
> the structure. Roan/Bryan/Max: Please provide a little more details on that
> use case, this doesn't sound realistic to me and not a breaking change.

In some sort of PHP-ish pseudocode:

 $result = $api->query( array( 'generator' => ... ) );
 if ( !isset( $result['query']['pages'] ) ) {
     // Generator returned no pages, handle that
 } else {
     // Do something with the pages

Yeah, that's a bit dumb. But people do dumb stuff sometimes, particularly when
encouraged by the API representing booleans as present/absent rather than as

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to