Skip to content
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

Convert mw.RegExp.escape to mw.util.escapeRegExp as the former is being deprecated #711

Merged
merged 1 commit into from Sep 26, 2019

Conversation

Amorymeltzer
Copy link
Collaborator

@Amorymeltzer Amorymeltzer commented Sep 26, 2019

See T218339; mw.RegExp has been deprecated and will be removed in MW-1.35, as the escape function was the only item in it (itself from a prior module). The same function (different name) has since 2015 been already present in mw.util.


Tidied up from #708, cc @siddharthvp

…ng deprecated

See [T218339](https://phabricator.wikimedia.org/T218339); `mw.RegExp` has been deprecated and will be removed in MW-1.35, as the `escape` function was the only item in it (itself from a prior module).  The same function (different name) has since 2015 been already present in `mw.util`.

Co-authored-by: Siddharth VP <siddharthvp@gmail.com>
Co-authored-by: Amory Meltzer <Amorymeltzer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants