Fix hardcoded non-prefixed table in editsInNs query

Hardcoding the table here causes a database error if $wgDBprefix is set.
This fix should be backported to 1.35

Bug: T289902
Change-Id: Id22b696d00069e26edfa7bc4e109e1e6b74fbecf
This commit is contained in:
AntiCompositeNumber 2021-08-27 19:41:28 -04:00
parent 15f0fa5bcf
commit f85ccdffba
No known key found for this signature in database
GPG key ID: A888A323AB506229

View file

@ -105,7 +105,7 @@ class Editcount extends IncludableSpecialPage {
[ 'page_namespace' => $ns, $actorWhere['conds'] ],
__METHOD__,
[],
[ 'page' => [ 'JOIN', 'page.page_id = rev_page' ] ] + $actorWhere['joins']
[ 'page' => [ 'JOIN', 'page_id = rev_page' ] ] + $actorWhere['joins']
);
}
}