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

TemplateScript should not discard the previous this.UndoText if the text was not changed #3

Closed
Pathoschild opened this issue May 29, 2012 · 2 comments
Assignees
Milestone

Comments

@Pathoschild
Copy link
Owner

Imported from JIRA and requested by Helder Wiki:

  • Create a page with the text "0000"
  • Open the regex editor and fill the fields like this:
    • Search: /0/g
    • Replace: 1
  • Click on "apply"
  • Click on "apply" again
  • You won't be able to undo the last (effective) change, because the last apply didn't change anything but still discarded the old "UndoText".
@Pathoschild
Copy link
Owner Author

Imported from JIRA:

Helder Wiki added a comment - 27 May 2012 16:25:41
This should fix it:
https://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/TemplateScript/dev.js?oldid=3792421&diff=3792442

@Pathoschild
Copy link
Owner Author

Done in 0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant