Class MediaWikiApi

    • Field Detail

      • indexUrl

        private final java.lang.String indexUrl
      • niceUrlBase

        private final java.lang.String niceUrlBase
    • Constructor Detail

      • MediaWikiApi

        public MediaWikiApi​(java.lang.String indexUrl,
                            java.lang.String niceUrlBase)
        Parameters:
        indexUrl - The URL to the index.php of the wiki. Due to a MediaWiki bug, some requests must currently use the non-nice URL.
        niceUrlBase - The base of nice URLs for the wiki, including the trailing slash. Due to another MediaWiki bug, some requests must currently use the nice URL.