Last active
January 15, 2016 21:07
-
-
Save acdha/77354c76bf503b6f455f to your computer and use it in GitHub Desktop.
π Use pywikibot replace.py to rewrite WDL.org links to use HTTPS
This file contains hidden or 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
#!/bin/bash | |
python pwb.py replace.py -simulate \ | |
-catr:World_Digital_Library \ | |
-always \ | |
-summary:'Convert wdl.org links to use HTTPS' \ | |
'http://www.wdl.org' 'https://www.wdl.org' \ | |
'http://content.wdl.org' 'https://content.wdl.org' \ | |
'http://wdl.org' 'https://www.wdl.org' \ | |
'{{URL|www.wdl.org}}' '{{URL|https://www.wdl.org}}' \ | |
'{{URL|http://www.wdl.org}}' '{{URL|https://www.wdl.org}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment