-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wikitext_split breaks up urls #35
Comments
It seems like this would be possible. We have some good options for a URL regex. See https://mathiasbynens.be/demo/url-regex |
@legoktm do you know if there is a MediaWiki URL regex we can use? |
Looking through Parser::replaceExternalLinks(), it appears to use:
|
I've added the URL symbol to the wikitext split lexicon in deltas. See halfak/deltas@40d984d I'll need to do a follow-up change here to pull in wikitext_split from deltas. |
Hi!
I was trying to use the persistence code to identify when a specific url was added to an article, but ran into an issue with the wiktiext_split function breaking up urls:
It would be nice if urls were special-cased and kept together.
The text was updated successfully, but these errors were encountered: