PatrolLogFormatter: Tag curid and previd as numbers for API
authorBrad Jorsch <bjorsch@wikimedia.org>
Sat, 6 Jun 2015 12:16:28 +0000 (08:16 -0400)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 6 Jun 2015 18:28:06 +0000 (18:28 +0000)
commit1dc97335ae258ab7a7b29e9181d652f17c13e250
treec965e0f6338d7c524331812a3516e83f0b63e279
parentb5fd67d8d8052e95245949d1e171641ce6f64e13
PatrolLogFormatter: Tag curid and previd as numbers for API

In the database the values might be strings, depending on the source of
the RecentChanges object when the log entry was created. In
getParametersForApi(), tag the vars as 'number' so they'll always be
output as actual integers.

Bug: T101603
Change-Id: I6d3e8fd2653ce810eec59b94bf75063e5fb6bcab
includes/logging/PatrolLogFormatter.php