r96422 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96421‎ | r96422 | r96423 >
Date:12:33, 7 September 2011
Author:siebrand
Status:ok
Tags:
Comment:
Oops. Revert r96421 which reverted r96413 and r96419. SphinxSearch once was a special page, but apparently no longer. Was confused because the extension type was still "specialpage". Changed that to "other".
Modified paths:
  • /trunk/extensions/SphinxSearch/SphinxSearch.alias.php (deleted) (history)
  • /trunk/extensions/SphinxSearch/SphinxSearch.php (modified) (history)
  • /trunk/extensions/Translate/groups/mediawiki-defines.txt (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/groups/mediawiki-defines.txt
@@ -1378,7 +1378,6 @@
13791379 descmsg = filelist-desc
13801380
13811381 Sphinx Search
1382 -aliasfile = SphinxSearch/SphinxSearch.alias.php
13831382
13841383 Special Talk
13851384
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
@@ -9,9 +9,9 @@
1010 exit( 1 );
1111 }
1212
13 -$wgExtensionCredits['specialpage'][] = array(
 13+$wgExtensionCredits['other'][] = array(
1414 'path' => __FILE__,
15 - 'version' => '0.8.0',
 15+ 'version' => '0.8.1',
1616 'name' => 'SphinxSearch',
1717 'author' => array( 'Svemir Brkic', 'Paul Grinberg' ),
1818 'email' => 'svemir at deveblog dot com, gri6507 at yahoo dot com',
@@ -23,7 +23,6 @@
2424
2525 $wgAutoloadClasses[ 'SphinxMWSearch' ] = $dir . 'SphinxMWSearch.php';
2626 $wgExtensionMessagesFiles['SphinxSearch'] = $dir . 'SphinxSearch.i18n.php';
27 -$wgExtensionAliasesFiles['SphinxSearch'] = $dir . 'SphinxSearch.alias.php';
2827
2928 # To completely disable the default search and replace it with SphinxSearch,
3029 # set this BEFORE including SphinxSearch.php in LocalSettings.php

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r96413remove unused alias file...svemir11:14, 7 September 2011
r96419Remove alias file per r96413raymond12:11, 7 September 2011
r96421Revert file removal from r96413 and add $wgExtensionAliasesFiles so SphinxSea...siebrand12:28, 7 September 2011

Status & tagging log