User:Ohconfucius/script/Sources.js: Difference between revisions

Content deleted Content added
rem link tracking
tweak link tracking
Line 40:
regex(/[ ]\[https?:\/\/\w{2}\.wikipedia\.org\/wiki\/[^\s\]]*[ ]+([\w][^\]]*)\]/gi, ' [[$1]]');
regex(/(\|\s?url\s*\=\s*|\[)(https?:[^|{}#\s]+)#[A-Za-z0-9\.]{12,13}(?=[\s\[\]|{}<>])/gi, '$1$2'); //rem link tracking
regex(/(\|\s?url\s*\=\s*|\[)(https?:[^|{}#\s]+\.html?)\?[^|}]+(?=[\s\[\]|{}<>])/gi, '$1$2'); //rem link tracking
regex(/(\|\s?url\s*\=\s*|\[)(https?:\/\/books\.google\.[^\/]+\/books\?id=\w{12}&pg=PA\d{1,3})&dq[^\s|}]+(?=\s?[|}])/gi, '$1$2'); //rem browser optimisation