User:Alexis Jazz/ExportAllTheThings
Appearance
Description | Mass page import/export |
---|---|
Author(s) | User:Alexis Jazz |
Updated | November 20, 2023 |
Source | User:Alexis Jazz/ExportAllTheThings.js |
ExportAllTheThings was made for personal use, so it's not particularly polished. It takes a pile of URLs (which must be in https://$domain/wiki/TITLE
format), a host to export to (e.g. wiki.riteme.site
) and.. well that's it.
I'd suggest running this from your browser console when you need it, but if you insist on putting it in your common.js or global.js, maybe do it like this..
if ( (mw.config.get('wgCanonicalSpecialPageName') == 'Prefixindex' && mw.config.get('wgNamespaceNumber') == -1) ) {
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:Alexis_Jazz/ExportAllTheThings.js&action=raw&ctype=text/javascript');
}
- Go to Special:PrefixIndex on a wiki, e.g. Special:PrefixIndex/Module:Unicode.
- Load the script.
- You see a popup.
- Enter the domain to export to.
- A list of URLs from this page are preloaded, you can change them if needed.
- Click the import/export button
- Pray this won't blow up in your face.
- [1]