On Tuesday 13 June 2006 04:38, Raj Shekhar wrote:
in infinite wisdom James Mohr spoke thus On
06/11/2006 01:08 PM:
What I would like to see is a hook that allows
easy access to other data
sources. For example, as I mentioned we have a help desk tool which keep
tracks of assets, customer organizations and people, service contracts
(internal and external) and so forth. It would be nice to be able to pull
things directly out of the database.
You can use the Special:Export page to get the xml version of a page.
This can serve as a REST interface to your wiki (if you know exactly
what you are looking for). For example -
http://dtil.info/index.php/Special:Export/Main_Page gives me the xml
version of the "Main page" of my wiki and
http://dtil.info/index.php/Special:Export/Help:Contents gives me the
contents of the "Help" page. You can use this to query the mediawiki
database and use that data in your own program. More details here
http://meta.wikimedia.org/wiki/Help:Export .
Cheers
Sorry, we need to go the *other* way. That is, pull data out of the asset
database and drop it into the Wiki.
--
---------------------------------------
"Be more concerned with your character than with your reputation. Your
character is what you really are while your reputation is merely what others
think you are." -- John Wooden
---------------------------------------
Be sure to visit the Linux Tutorial:
http://www.linux-tutorial.info