Jump to content

User:Alexis Jazz/ExportAllTheThings

From Wikipedia, the free encyclopedia
ExportAllTheThings
DescriptionMass page import/export
Author(s)User:Alexis Jazz
UpdatedNovember 20, 2023; 11 months ago (2023-11-20)
SourceUser: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');
}
  1. Go to Special:PrefixIndex on a wiki, e.g. Special:PrefixIndex/Module:Unicode.
  2. Load the script.
  3. You see a popup.
  4. Enter the domain to export to.
  5. A list of URLs from this page are preloaded, you can change them if needed.
  6. Click the import/export button
  7. Pray this won't blow up in your face.
  8. [1]