User:Nemo bis/HTTPS

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
    'https': {
        'regex': True,
        'msg': {
               'it':u'Bot: Security fix: [[WMFblog:2011/10/03/native-https-support-enabled-for-all-wikimedia-foundation-wikis/|protocol-relative URLs]] per https://meta.wikimedia.org/?oldid=3197161 ([[m:Stewards\' noticeboard|questions?]]).'
              },
        'replacements': [
            (u"http://([^@:/ ]+\.)wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary|imedia)\.org/",                  ur"//\1wik\2.org/"),
            (u"http://wik(ipedia|inews|isource|ibooks|iquote|iversity|tionary|imedia)\.org/",                  ur"//wik\1.org/"),
            (u"http://www\.mediawiki\.org/",                  ur"//www.mediawiki.org/"),
            (u"http://www\.wikimediafoundation\.org/",         ur"//www.wikimediafoundation.org/"),
            (u"http://mediawiki\.org/",                  ur"//mediawiki.org/"),
            (u"http://wikimediafoundation\.org/",         ur"//wikimediafoundation.org/"),
        ],
        'exceptions': {
			'title': [
				r'MediaWiki:Edittools',
			],
			'inside': [
				#Exceptions (too) copied from Roan Kattouw, https://github.com/catrope/https-everywhere
				r'http://(apt|bayes|bayle|brewster|commonsprototype\.tesla\.usability|commons\.prototype|cs|cz|dataset2|de\.prototype|download|dumps|ekrem|emery|en\.prototype|ersch|etherpad|fenari|flaggedrevssandbox|flgrevsandbox|gallium|ganglia|ganglia3|harmon|hume|ipv4\.labs|ipv6and4\.labs|jobs|mlqt\.tesla\.usability|mobile\.tesla\.usability|m|nagios|noc|observium|oldusability|project2|prototype|results\.labs|search|sitemap|snapshot3|stafford|stats|status|svn|test\.prototype|torrus|ubuntu|wiki-mail|yongle)\.wikimedia\.org',
				r'http://(static|download|m)\.wikipedia\.org',
				r'http://[^@:/]+\.m\.wikipedia\.org',
			],
		}
    },