We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d072e2 commit df3d144Copy full SHA for df3d144
1 file changed
pywikitools/family.py
@@ -41,6 +41,8 @@ class Family(pywikibot.family.SubdomainFamily):
41
42
# this must have the same value as $wgScriptPath in LocalSettings.php of the mediawiki installation
43
def scriptpath(self, code):
44
+ if code == "local":
45
+ return "/mediawiki"
46
return ""
47
48
# TODO can be removed when upgrading to pywikibot ^8.2
0 commit comments