Index: trunk/extensions/intersection/DynamicPageList.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /* |
4 | | - |
| 4 | + |
5 | 5 | Purpose: outputs a bulleted list of most recent |
6 | 6 | items residing in a category, or a union |
7 | 7 | of several categories. |
— | — | @@ -195,9 +195,6 @@ |
196 | 196 | case 'lastedit': |
197 | 197 | $sOrderMethod = 'lastedit'; |
198 | 198 | break; |
199 | | - case 'alphabetical': |
200 | | - $sOrderMethod = 'alphabetical'; |
201 | | - break; |
202 | 199 | case 'categoryadd': |
203 | 200 | default: |
204 | 201 | $sOrderMethod = 'categoryadd'; |
— | — | @@ -334,7 +331,7 @@ |
335 | 332 | $sSqlWhere = ' WHERE page_namespace='.$iNamespace.' '; |
336 | 333 | else |
337 | 334 | $sSqlWhere = ' WHERE 1=1 '; |
338 | | - |
| 335 | + |
339 | 336 | // Bug 14943 - Allow filtering based on FlaggedRevs stability. |
340 | 337 | // Check if the extension actually exists before changing the query... |
341 | 338 | if( function_exists('efLoadFlaggedRevs') ) { |
— | — | @@ -344,10 +341,6 @@ |
345 | 342 | if( in_array($sStable,$filterSet) || in_array($sQuality,$filterSet) ) { |
346 | 343 | $sSqlSelectFrom .= " LEFT JOIN $flaggedpages ON page_id = fp_page_id"; |
347 | 344 | } |
348 | | - else if ('alphabetical' == $sOrderMethod) { |
349 | | - $sSqlWhere .= ' ORDER BY page_title '; |
350 | | - } |
351 | | - |
352 | 345 | switch( $sStable ) |
353 | 346 | { |
354 | 347 | case 'only': |