• Topic
  • Discussion
  • VOS.OdsIntegrationMediaWiki(Last) -- Owiki? , 2018-04-19 06:29:04 Edit owiki 2018-04-19 06:29:04

    What is MediaWiki?

    MediaWiki is a popular open-source wiki engine written in PHP. The guide below shows how to run it in Virtuoso.

    Install VAD

    1. Start virtuoso db using the hosting_php.so ( .dll for win users). To use this plugin, it must be included in your virtuoso ini file as follows:

      ... [Plugins] # for ex. here the location of the plugins is the plugin folder LoadPath = ./plugin ... Load6 = Hosting,hosting_php.so ...

    2. Setup "Local Virtuoso" DSN (note the empty space in the name!) in order to access any of the application URLs.
      • For windows users, please perform the following steps:
        1. Go to Start >> Settings >> Control Panel >> Administrative Tools >> Data Sources (ODBC)
        2. Go to tab "User DSN" and click "Add"
        3. Select the "OpenLink Virtuoso (version)" driver and click "Finish"
        4. Enter "Name": Local Virtuoso
        5. Enter "Description": My Local Virtuoso
        6. For "Server", enter your Virtuoso's hostname and ISQL port, e.g., localhost:1116
        7. Click "Next"
        8. Enter a username for "Login ID", e.g., dba
        9. Enter the user's "Password". For dba, the default password is dba
        10. Click "Next"
        11. Click "Finish".
    3. From ISQL, execute:

      SQL> DB.DBA.VAD_INSTALL('tmp/mediawiki_fs.vad',0);

    RDF View Scripts

    1. After you have installed the MediaWiki mediawiki_fs.vad package, using ISQL execute the MediaWiki_rdf_views_script.sql file, which contains the RDF Views scripts for MediaWiki:

      isql localhost:1116 dba dba MediaWiki_rdf_views_script.sql

      • You can find the MediaWiki RDF Views scripts also here.


    1. In case you want to change the dba password, you need to locate the file below in your FS and change the $wgDBpassword value:


    2. After you have successfully installed the MediaWiki mediawiki_fs.vad package and have run the RDF Views MediaWiki_rdf_views_script.sql, access the MediaWiki home page: http://host:port/mediawiki:

    3. You may want to register your own user in MediaWiki?. Click the "Log in / create account" link.

    4. In the shown form click the "Create an account" link and fill in the fields the shown form. Finally click the "Create account" button.

    5. As result you should be redirected to your MediaWiki? user home page.

    6. Enter in the "Search" field at the left sight: SimpleTest and click enter.

    7. As result should be shown the message as shown bellow. Click the "create this page." link.
    8. Enter some text in the shown text area and click the button "Save page".

    9. As result your first article will be created.

    10. Click the "Discussion" tab.
    11. Enter in the shown text area some message and click the "Save page" button.

    12. As result your Talk for the created article will be started.

    URI Schemes



    • You can download the MediaWiki VAD package from here.


    See Also

    CategoryRDF CategorySIOC CategorySPARQL CategoryWiki CategoryVirtuoso CategoryMediaWiki?