I'm trying to follow the instructions for adding a new site. It's not clear to me how to figure out what the file_path should be. In the examples (including the one provided by addSite.php's help flag), they differ from the page_path. Do I just need to mimic the the URL for a file in the File namespace?
Topic on Manual talk:Sites table
Appearance
One easy way to build it is to go to Special:Version
page of the wiki and look for the "Script path" in paragraph "Entry point URLs".
That path will look something like /wikifolder
. Then compose the file_path
by concatenating the base url of the wiki (like https://www.somewiki.org
), the Script path and /$1
into something like https://www.somewiki.org/wikifolder/$1
.