Cameron wrote:
Hi All,
We are using Mediawiki for technical documentation. As part of this we have
device info contained in a table and part of this is the IP Addresses
configured.
Unfortunately searches don't seem to pick up the ip addresses entered
though. If I enter the ip then the search finds no hits.
Is there an extension / hack that is required for it to work reliably?
I don't know why search doesn't pick up the IP addresses, but I
definitely think that you would benefit from using the
Semantic-Mediawiki extension. That would make your data much more
useful. In SMW you would define properties, which will be accessible
from anywhere in the wiki. Example
|-
| Management IP Address
| 10.10.10.1
|-
The above would be defined like so:
|-
| Management IP Address
| [[Management IP Address::10.10.10.1]]
Accessing that very property from anywhere in the wiki can now be done
like this:
{{#ask: [[The page name]] | ?Management IP Address = }}, which would
return: "10.10.10.1"
(you can also list all pages having a particular property name, and
select which other properties should be part of the listing, aso).
Read more about SMW and how your wiki data can easily be semantically
annotated and queried, even using forms:
http://semantic-mediawiki.org/wiki/Help:Inline_queries
Regards,
// Rolf Lampa