Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -1378,6 +1378,7 @@ |
1379 | 1379 | descmsg = filelist-desc |
1380 | 1380 | |
1381 | 1381 | Sphinx Search |
| 1382 | +aliasfile = SphinxSearch/SphinxSearch.alias.php |
1382 | 1383 | |
1383 | 1384 | Special Talk |
1384 | 1385 | |
Index: trunk/extensions/SphinxSearch/SphinxSearch.php |
— | — | @@ -23,6 +23,7 @@ |
24 | 24 | |
25 | 25 | $wgAutoloadClasses[ 'SphinxMWSearch' ] = $dir . 'SphinxMWSearch.php'; |
26 | 26 | $wgExtensionMessagesFiles['SphinxSearch'] = $dir . 'SphinxSearch.i18n.php'; |
| 27 | +$wgExtensionAliasesFiles['SphinxSearch'] = $dir . 'SphinxSearch.alias.php'; |
27 | 28 | |
28 | 29 | # To completely disable the default search and replace it with SphinxSearch, |
29 | 30 | # set this BEFORE including SphinxSearch.php in LocalSettings.php |
Index: trunk/extensions/SphinxSearch/SphinxSearch.alias.php |
— | — | @@ -0,0 +1,55 @@ |
| 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 |
Property changes on: trunk/extensions/SphinxSearch/SphinxSearch.alias.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 57 | + native |