Topic on Manual talk:Sites table/Flow

How can you find out the file_path for a wiki?

2
216.114.117.77 (talkcontribs)

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?

Lucamauri (talkcontribs)

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.

Reply to "How can you find out the file_path for a wiki?"