Last active
May 7, 2020 21:01
-
-
Save phuzion/c6f5710227f79425d7651991a84c1019 to your computer and use it in GitHub Desktop.
Regex to detect references to Wikimedia Foundation websites
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
<ref>.+https?:\/\/(advisors|arbcom-(cs|de|en|fi|nl)|auditcom|betawikiversity|board|boardgovcom|chair|chapcom|checkuser|(am|ar|bd|be|br|ca|cn|co|dk|ec|et|fi|ge|gr|hi|id|id-internal|il|mai|mk|mx|ng|nl|no|noboard-chapters|nyc|nz|pa-us|pl|pt|punjabi|romd|rs|ru|se|tr|ua|wb)wikimedia|(aa|ab|ace|ady|af|ak|als|am|an|ang|ar|arc|arz|as|ast|atj|av|ay|az|azb|ba|ban|bar|bat-smg|bcl|be|be-x-old|bg|bh|bi|bjn|bm|bn|bo|bpy|br|bs|bug|bxr|ca|cbk-zam|cdo|ce|ceb|ch|cho|chr|chy|ckb|co|cr|crh|cs|csb|cu|cv|cy|da|de|din|diq|dsb|dty|dv|dz|ee|el|eml|en|eo|es|et|eu|ext|fa|ff|fi|fiu-vro|fj|fo|fr|frp|frr|fur|fy|ga|gag|gan|gcr|gd|gl|glk|gn|gom|gor|got|gu|gv|ha|hak|haw|he|hi|hif|ho|hr|hsb|ht|hu|hy|hyw|hz|ia|id|ie|ig|ii|ik|ilo|inh|io|is|it|iu|ja|jam|jbo|jv|ka|kaa|kab|kbd|kbp|kg|ki|kj|kk|kl|km|kn|ko|koi|kr|krc|ks|ksh|ku|kv|kw|ky|la|lad|lb|lbe|lez|lfn|lg|li|lij|lmo|ln|lo|lrc|lt|ltg|lv|mai|map-bms|mdf|mg|mh|mhr|mi|min|mk|ml|mn|mnw|mo|mr|mrj|ms|mt|mus|mwl|my|myv|mzn|na|nah|nap|nds|nds-nl|ne|new|ng|nl|nn|no|nov|nqo|nrm|nso|nv|ny|oc|olo|om|or|os|pa|pag|pam|pap|pcd|pdc|pfl|pi|pih|pl|pms|pnb|pnt|ps|pt|qu|rm|rmy|rn|ro|roa-rup|roa-tara|ru|rue|rw|sa|sah|sat|sc|scn|sco|sd|se|sg|sh|shn|shy|si|simple|sk|sl|sm|sn|so|sq|sr|srn|ss|st|stq|su|sv|sw|szl|szy|ta|tcy|te|tet|tg|th|ti|tk|tl|tn|to|tpi|tr|ts|tt|tum|tw|ty|tyv|udm|ug|uk|ur|uz|ve|vec|vep|vi|vls|vo|wa|war|wo|wuu|xal|xh|xmf|yi|yo|yue|za|zea|zh|zh-classical|zh-min-nan|zh-yue|zu)|collab|commons|donate|electcom|exec|fdc|foundation|grants|iegcom|incubator|labs|labtest|legalteam|login|meta|movementroles|nostalgia|office|ombudsmen|otrs-wiki|outreach|projectcom|quality|searchcom|sources|spcom|species|steward|strategy|techconduct|ten|test|test2|testcommons|testwikidata|transitionteam|usability|vote|wg-en|wikimania(20(05-18))?|wikimaniateam).(wiki?(pedia|tionary|books|news|quote|source|versity|voyage|data)).org\/.+<\/ref> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment