Index: trunk/phase3/includes/LogEventsList.php |
— | — | @@ -199,6 +199,14 @@ |
200 | 200 | |
201 | 201 | // Note the query type |
202 | 202 | $queryType = count($queryTypes) == 1 ? $queryTypes[0] : ''; |
| 203 | + |
| 204 | + // Always put "All public logs" on top |
| 205 | + if ( isset( $typesByName[''] ) ) { |
| 206 | + $all = $typesByName['']; |
| 207 | + unset( $typesByName[''] ); |
| 208 | + $typesByName = array( '' => $all ) + $typesByName; |
| 209 | + } |
| 210 | + |
203 | 211 | // Third pass generates sorted XHTML content |
204 | 212 | foreach( $typesByName as $type => $text ) { |
205 | 213 | $selected = ($type == $queryType); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -92,6 +92,8 @@ |
93 | 93 | frames, and $wgMaxImageArea against the size of the first frame, rather than |
94 | 94 | the other way around. Both now default to 12.5 megapixels. Also, images |
95 | 95 | exceeding $wgMaxImageArea can still be embedded at original size |
| 96 | +* (bug 23078) "All public logs" option on Special:Log is now always the first |
| 97 | + item |
96 | 98 | |
97 | 99 | === API changes in 1.17 === |
98 | 100 | * (bug 22738) Allow filtering by action type on query=logevent |