Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

Mediawikis



The location of Mediawikis can be specified using the "mediawiki" elements in APIs configuration XML file.

Note that:
  • APIs paths can only be defined as absolute as an external http link
  • The URL must point to the "final" URL before the articles themselves. For example, for the English wikipedia, it would be "http://en.wikipedia.org/wiki"
  • It is not necessary to define an API link for wikipedia, the wikipedia element in article allows to refer directly to Wikipedia articles without having to define the path of Wikipedia itself in the APis configuration file

APIs property

The "APIs" property specifes an XML file defining a list of Mediawiki links. See APIs.xsd for the APIs Schema. Thei file allows to specify a list of Mediawiki links, and for each Mediawiki:
  • Its URL
  • Its ID

Example

  <APIs>
    <mediawikis>
      <mediawiki url="https://en.wikipedia.org/wiki" id="wikipediaEN" />
    </mediawikis>   
  </APIs>
The validity and existence of mediawiki tags will only be checked if the "checkLinks" property is set to true.

See also


Categories: configuration | general

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.