Fix wikipedia URL transformation
Changelog:
- Updated
wikilessPattern
to accommodate mobile URLs (subdomain=m
) - Fix language param
lang
appended to wikipedia URL- Currently the pattern causes the following to occur:
- From:
https://en.m.wikipedia.org/wiki/DNS_over_TLS
- To:
https://wikiless.org/wiki/DNS_over_TLS&lang=m
- From:
- This change will properly parse the language param
lang
and ignore the mobile subdomainm
- From:
https://en.m.wikipedia.org/wiki/DNS_over_TLS
- To:
https://wikiless.org/wiki/DNS_over_TLS?lang=en
// Note the?
instead of&
andm
subdomain is ignored
- From:
- Currently the pattern causes the following to occur:
Link with sample data:
Edited by ms8661