Fix a rather fatal typo in rebuildrecentchanges.php
authorJack Phoenix <ashley@uncyclomedia.co>
Tue, 5 Mar 2019 23:13:59 +0000 (01:13 +0200)
committerLewis Cawte <lewis@lewiscawte.me>
Tue, 5 Mar 2019 23:51:27 +0000 (23:51 +0000)
commit0e052c816b21e38096d4c6d747a9beadb9d0d575
treed6ab784ed8f0f19acbc21086f456b2cef6b3f9e4
parenta7e147b7ee64830788a67779e2d8137017c0e919
Fix a rather fatal typo in rebuildrecentchanges.php

The JOIN condition was being ignored because there is no table called "user_group" in MediaWiki core.
Thus if and when using $wgSharedDB, the query would end up listing *all* registered users from the shared user table.
And even without $wgSharedDB, running rebuildrecentchanges.php would result in everyone's edits being marked as bot edits (recentchanges.rc_bot = 1) and thus hidden from the Special:RecentChanges page.

Thanks to Lcawte for reporting this bug.

Follow-up to 27c61fb1e94da9114314468fd00bcf129ec064b6

Change-Id: I18d658b67c50f2200341f732783c2e7524dd27f1
RELEASE-NOTES-1.31
maintenance/rebuildrecentchanges.php