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

fix: quickDiff.js #186

Merged
merged 1 commit into from Apr 9, 2022
Merged

fix: quickDiff.js #186

merged 1 commit into from Apr 9, 2022

Conversation

bhsd-harry
Copy link
Member

  1. Use native mw.loader to load additional css modules.
  2. Prevent css descendant combinator when possible.
  3. User jQuery.empty instead of jQuery.html.
  4. Use mw.util.getUrl instead of manually generating urls.
  5. mediawiki.Api will never "resolve" errors. It "rejects" errors instead.
  6. Drop unused api parameters "diffsize" and "comment".

1. Use native mw.loader to load additional css modules.
2. Prevent css descendant combinator when possible.
3. User jQuery.empty instead of jQuery.html.
4. Use mw.util.getUrl instead of manually generating urls.
5. mediawiki.Api will never "resolve" errors. It "rejects" errors instead.
6. Drop unused api parameters "diffsize" and "comment".
@bhsd-harry bhsd-harry mentioned this pull request Apr 6, 2022
23 tasks
Copy link
Member

@dragon-fish dragon-fish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bhsd-harry bhsd-harry merged commit 0e494b8 into inpageedit:master Apr 9, 2022
@bhsd-harry bhsd-harry deleted the quick-diff branch April 9, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants