https://bugzilla.wikimedia.org/show_bug.cgi?id=34646

--- Comment #5 from Helder <he7...@gmail.com> ---
https://pt.wikipedia.org/w/api.php?action=query&list=recentchanges&format=xmlfm&rcprop=patrolled&rclimit=5
returns this:
<api>
  <query-continue>
    <recentchanges rccontinue="20140729163241|50125373" />
  </query-continue>
  <query>
    <recentchanges>
      <rc type="edit" patrolled="" />
      <rc type="edit" unpatrolled="" />
      <rc type="edit" patrolled="" />
      <rc type="edit" patrolled="" />
      <rc type="external" patrolled="" />
    </recentchanges>
  </query>
</api>
and RTRC uses this:
https://github.com/Krinkle/mw-gadget-rtrc/blob/master/src/rtrc.js#L196-L197
// Convert undefined/empty-string values from API into booleans
isUnpatrolled = rc.unpatrolled !== undefined;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to