mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Editcount
synced 2024-11-23 15:57:19 +00:00
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:
parent
15f0fa5bcf
commit
f85ccdffba
|
@ -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']
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue