Page MenuHomePhabricator

add fourth level subdomains of wikimedia to $wgCaptchaWhitelist
Closed, ResolvedPublic

Description

At the moment it is not possible to add a link to e.g. http://liquidthreads.labs.wikimedia.org without captcha.
Regex ([a-z0-9-]+\\.)?wikimedia\.org only accepts third level subdomains.


Version: unspecified
Severity: enhancement

Details

Reference
bz22109

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:58 PM
bzimport set Reference to bz22109.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

Fixed.

$wgCaptchaWhitelist = '#^https?://([.a-z0-9-]+\\.)?((wikimedia|wikipedia|wiktionary|wikiquote|wikibooks|wikisource|wikispecies|mediawiki|wikimediafoundation|wikinews|wikiversity)\.org|dnsstuff\.com|completewhois\.com|wikimedia\.de|toolserver\.org)(/|$)#i';