Index: trunk/extensions/SphinxSearch/SphinxSearch.alias.php |
— | — | @@ -1,55 +0,0 @@ |
2 | | -<?php |
3 | | - |
4 | | -/** |
5 | | - * Aliases for special pages |
6 | | - * |
7 | | - * @file |
8 | | - * @ingroup Extensions |
9 | | - */ |
10 | | - |
11 | | -$specialPageAliases = array(); |
12 | | - |
13 | | -/** English (English) */ |
14 | | -$specialPageAliases['en'] = array( |
15 | | - 'SphinxSearch' => array( 'SphinxSearch' ), |
16 | | -); |
17 | | - |
18 | | -/** Arabic (العربية) */ |
19 | | -$specialPageAliases['ar'] = array( |
20 | | - 'SphinxSearch' => array( 'بحث_سفنكس' ), |
21 | | -); |
22 | | - |
23 | | -/** Haitian (Kreyòl ayisyen) */ |
24 | | -$specialPageAliases['ht'] = array( |
25 | | - 'SphinxSearch' => array( 'ChacheSphinks' ), |
26 | | -); |
27 | | - |
28 | | -/** Interlingua (Interlingua) */ |
29 | | -$specialPageAliases['ia'] = array( |
30 | | - 'SphinxSearch' => array( 'Recerca_Sphinx' ), |
31 | | -); |
32 | | - |
33 | | -/** Japanese (日本語) */ |
34 | | -$specialPageAliases['ja'] = array( |
35 | | - 'SphinxSearch' => array( 'Sphinx検索' ), |
36 | | -); |
37 | | - |
38 | | -/** Luxembourgish (Lëtzebuergesch) */ |
39 | | -$specialPageAliases['lb'] = array( |
40 | | - 'SphinxSearch' => array( 'Sphinx_Sich' ), |
41 | | -); |
42 | | - |
43 | | -/** Macedonian (Македонски) */ |
44 | | -$specialPageAliases['mk'] = array( |
45 | | - 'SphinxSearch' => array( 'ПребарувањеСоSphinx' ), |
46 | | -); |
47 | | - |
48 | | -/** Dutch (Nederlands) */ |
49 | | -$specialPageAliases['nl'] = array( |
50 | | - 'SphinxSearch' => array( 'SphinxZoeken' ), |
51 | | -); |
52 | | - |
53 | | -/** |
54 | | - * For backwards compatibility with MediaWiki 1.15 and earlier. |
55 | | - */ |
56 | | -$aliases =& $specialPageAliases; |
\ No newline at end of file |
Index: trunk/extensions/SphinxSearch/SphinxSearch.php |
— | — | @@ -21,6 +21,7 @@ |
22 | 22 | |
23 | 23 | $dir = dirname( __FILE__ ) . '/'; |
24 | 24 | |
| 25 | +$wgAutoloadClasses[ 'SphinxMWSearch' ] = $dir . 'SphinxMWSearch.php'; |
25 | 26 | $wgExtensionMessagesFiles['SphinxSearch'] = $dir . 'SphinxSearch.i18n.php'; |
26 | 27 | |
27 | 28 | # To completely disable the default search and replace it with SphinxSearch, |
— | — | @@ -33,7 +34,6 @@ |
34 | 35 | } |
35 | 36 | |
36 | 37 | if ( $wgSearchType == 'SphinxMWSearch' ) { |
37 | | - $wgAutoloadClasses['SphinxMWSearch'] = $dir . 'SphinxMWSearch.php'; |
38 | 38 | $wgDisableSearchUpdate = true; |
39 | 39 | } |
40 | 40 | |