Something similar to this recently got through
and caused exceptions on mw.org
This looks like the same thing, a ns from a db row
being handed straight to the TitleValue constructor
without being cast.
Change-Id: Ic126cd713c5210c9ae3d8e805081849ccf84a7f6
}
if ( isset( $watchedItemStore ) ) {
- $rcTitleValue = new TitleValue( $obj->rc_namespace, $obj->rc_title );
+ $rcTitleValue = new TitleValue( (int)$obj->rc_namespace, $obj->rc_title );
$rc->numberofWatchingusers = $watchedItemStore->countWatchers( $rcTitleValue );
} else {
$rc->numberofWatchingusers = 0;