tosher/Mediawiker

Child wiki fails to inherit parent "pagepath"

Closed this issue · 3 comments

(Using Mediawikier version 3.5.7)
With the below settings, trying to "Open Page in Browser" for the child wiki will ignore the "pagepath" setting of the parent wiki and navigate to host/wiki/pagename.

"site": {
  "Gamepedia": {
    "authorization_type": "login",
    "cookies_browser": "chrome",
    "domain": "",
    "host": "www.gamepedia.com",
    "http_auth_login": "",
    "http_auth_password": "",
    "https": true,
    "is_ssl_cert_verify": true,
    "is_wikia": false,
    "oauth_access_secret": "",
    "oauth_access_token": "",
    "oauth_consumer_secret": "",
    "oauth_consumer_token": "",
    "pagepath": "/",
    "path": "/",
    "preview_custom_head":
    [
    ],
    "proxy_host": "",
    "retry_timeout": 30,
    "show_red_links": false,
    "use_http_auth": false
  },
  "Gamepedia Help": {
    "host": "help.gamepedia.com",
    "parent": "Gamepedia"
  }
}

Adding "pagepath": "/" in the child wiki settings will work. (As far as I know, all gamepedia sites do not use /wiki/ pagepath)

Thank you! I'll fix it.

Can confirm it's working now :) Thanks!