Thanks for your answer. My problem with your solution lies in the fact that I can't do a search based only on the keywords: if other pages have the word 'fibre' (to take your example) not in their keywords list but in the plain text, those pages will nevertheless be retrieved, something I would like not. There's the possibility to prefix each keywords with some letters (like keyw_fiber, keyw_fibre), so that the whole keyword is unlikely to exist as is in other pages, then when doing a search, use keyw_ to prefix what you want to search for...
As an aside: do we need a template here ? if we use plain html comment <!-- keyw_fiber, ... --> in the page, I think this comment should be full-text searched too when performing a search (?).
Mitch Marks wrote:
I was trying to cobble together something related to this, though not as ambitious. I define a Template:HiddenKeywords like this:
<!-- {{{1|}}} -->
Then on a page to be marked, enter for example
{{HiddenKeywords|fiber fibre 1000BaseF}}
Because of the HTML comment-marking, nothing from that template will show up on the normally viewed page. However, the terms are in the page text in the DB and will (sometimes ... not always?) get that page retrieved when doing an ordinary full-text search from the left navbar.
== Mitch Marks
On Thu, 6 Jul 2006, Evgeni Popov wrote:
(sorry if posted to the wrong list - tried the forum www.mwusers.com but with no luck)
Hi,
I would like to be able to tag articles with one or more keywords, then in the search page I would like to have a mode where articles can only be searched based on those keywords (and not in a full text search mode). Is it possible with mediawiki (or with additionnal modules) ? I looked for information, but could not find any. I found Semantic Mediawiki (http://wiki.ontoworld.org/index.php/Help:Semantics), but that's not really what I need (you can add attributes to articles - a name+a value+a type, not simple keywords - a raw text).
Thanks. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l