Page MenuHomePhabricator

Cannot Control Values of Boolean Parameters in ApiTestCase
Open, LowPublicBUG REPORT


Steps to Reproduce:

  1. Enable the WikiLambda extension (;
  2. log the value of $exact (or add a breakpoint) around here or so;
  3. unbreak this test and run it.

Update: as far as I can tell, this is not a problem with WikiLambda's code (but I am happy to be corrected on that).

Actual Results:

$exact will be true-ish even when it's set to false.

Expected Results:

Event Timeline

I don't think this is a problem with Abstract Wikipedia; it seems to be a problem with the ApiTestCase. Can we assign this to the platform team (or another appropriate team)?