Index: trunk/extensions/ApiSandbox/SpecialApiSandbox.php |
— | — | @@ -66,6 +66,11 @@ |
67 | 67 | sort( $formats ); |
68 | 68 | $modules = array_keys( $apiMain->getModules() ); |
69 | 69 | sort( $modules ); |
| 70 | + $key = array_search( 'query', $modules ); |
| 71 | + if ( $key !== false ) { |
| 72 | + array_splice( $modules, $key, 1 ); |
| 73 | + array_unshift( $modules, 'query' ); |
| 74 | + } |
70 | 75 | $queryModules = array_merge( |
71 | 76 | $this->getQueryModules( 'list' ), |
72 | 77 | $this->getQueryModules( 'prop' ), |