-
-
Save filbertkm/0254b6fc417ae12bc1b1 to your computer and use it in GitHub Desktop.
Site export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sites version="1.0" xmlns="http://www.mediawiki.org/xml/sitelist-1.0/"> | |
<site type="mediawiki"> | |
<globalid>enwiki</globalid> | |
<group>wikipedia</group> | |
<path type="file_path">https://en.wikipedia.org/w/$1</path> | |
<path type="page_path">https://en.wikipedia.org/wiki/$1</path> | |
<localid type="equivalent">en</localid> | |
<localid type="interwiki">en</localid> | |
</site> | |
</sites> |
To import, use maintenance/importSites.php (in MW core, not Wikibase).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$wgWBRepoSettings['siteLinkGroups'] = array(
'mywiki'
);