Hello,

I have been all over the forums + mediawiki support desk, IRC, etc. and so far no-one seems to know the answer to this.

I am wondering how to get Wikipedia-like search results on my Wiki.

I am running the following:

MediaWiki 1.19.1
PHP 5.4.5 (apache2handler)
MySQL 5.5.25a-log
Lucene 2.1
MWSearch + Lucene-Search, both latest

Everything works great except for the following:

I would like to have links to the section / redirect come up in my results as well, similar to that of Wikipedia / MediaWiki.org.

For example, when I search Wikipedia for the term 'Test Concept', it gives results like this:

/The page "Test concept <http://en.wikipedia.org/w/index.php?title=Test_concept&action=edit&redlink=1>" does not exist. You can ask for it to be created <http://en.wikipedia.org/wiki/Wikipedia:Articles_for_creation>, but consider checking the search results below to see whether the topic is already covered./ For search help, please visit Help:Searching <http://en.wikipedia.org/wiki/Help:Searching>.

 *
   Concept testing <http://en.wikipedia.org/wiki/Concept_testing>
   (redirect from Concept Test
   <http://en.wikipedia.org/wiki/Concept_Test>)
   Concept testing is the process of using quantitative methods and
   qualitative methods to evaluate consumer response to a product idea
   prior *...*
   6 KB (819 words) - 13:29, 22 May 2012
 *
   Concept inventory <http://en.wikipedia.org/wiki/Concept_inventory>
   A concept inventory is a criterion-referenced test designed to
   evaluate whether a student has an accurate working knowledge of a
   specific *...*
   14 KB (1,982 words) - 18:54, 5 July 2012
 *
   Prototype <http://en.wikipedia.org/wiki/Prototype>
   A prototype is an early sample or model built to test a concept or
   process or to act as a thing to be replicated or learned from. *...*
   22 KB (3,188 words) - 00:23, 15 July 2012
 *
   Stalking horse <http://en.wikipedia.org/wiki/Stalking_horse>
   (section Related concepts
   <http://en.wikipedia.org/wiki/Stalking_horse#Related_concepts>)
   A stalking horse is a figure that tests a concept with someone or
   mounts a challenge against someone on behalf of an anonymous third
   party *...*
   16 KB (2,571 words) - 15:17, 10 July 2012



But my own wiki only gives results like this:

 *
   Concept testing <http://en.wikipedia.org/wiki/Concept_testing>

        == Concept Testing ==
Concept testing is the process of using quantitative methods and qualitative methods to evaluate consumer response to a
product idea prior *...
*


How can I enable this feature so that == headings == are converted to (section Headings<http://en.wikipedia.org/wiki/Concept_Test>) and redirects show up as (Redirect Concept Test <http://en.wikipedia.org/wiki/Concept_Test>) etc.

I hope this is clear. Thank you so much for any help you can provide!




_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to