Index: trunk/phase3/maintenance/rebuildrecentchanges.inc |
— | — | @@ -122,20 +122,10 @@ |
123 | 123 | |
124 | 124 | print( "Loading from user, page, and logging tables...\n" ); |
125 | 125 | |
126 | | - global $wgRCMaxAge; |
127 | | - // Some logs don't go in RC. This can't really detect all of those. |
128 | | - // At least do the basics logs for a standard install... |
129 | | - // FIXME: this needs to be maintained |
130 | | - $basicRCLogs = array( |
131 | | - 'newusers', |
132 | | - 'block', |
133 | | - 'protect', |
134 | | - 'rights', |
135 | | - 'delete', |
136 | | - 'upload', |
137 | | - 'move', |
138 | | - 'import', |
139 | | - 'merge' ); |
| 126 | + global $wgRCMaxAge, $wgLogTypes, $wgLogRestrictions; |
| 127 | + // Some logs don't go in RC. This should check for that |
| 128 | + $baseRCLogs = array_diff( $wgLogTypes, array_keys( $wgLogRestrictions ) ); |
| 129 | + |
140 | 130 | // Escape...blah blah |
141 | 131 | $selectLogs = array(); |
142 | 132 | foreach( $basicRCLogs as $logtype ) { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -342,6 +342,7 @@ |
343 | 343 | * (bug 18115) ForeignAPIRepo cache isn't working |
344 | 344 | * Fixed a bug caused by LanguageConverter.php, which brings an abnormal '}-' |
345 | 345 | after some parsed math syntax. |
| 346 | +* (bug 18441) rebuildrecentchanges.inc no longer ignores $wgLogRestrictions |
346 | 347 | |
347 | 348 | == API changes in 1.15 == |
348 | 349 | * (bug 16858) Revamped list=deletedrevs to make listing deleted contributions |