-
-
Notifications
You must be signed in to change notification settings - Fork 287
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 Wikimedia classes to components #3407
Conversation
bc9ffbf
to
7c31f89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and works great, but could use a small cleanup.
This turns the WikipediaExtract file (and the mostly deprecated CommonsImage one) from classes to React components, and moves from jQuery to useEffect hooks.
7c31f89
to
47ee61c
Compare
Made the changes. Should the same (or similar) be done in |
We could remove the state setters from the |
* master: Update POT files using the production database Merge pull request #3447 from reosarevok/MBS-13866 Convert Wikimedia classes to components (#3407) MBS-13897: Display "Account admin" under user types on profile Link to bot docs from user types list Link to beginner docs from user types list MBS-13896: Fix anchor links for editor types Merge pull request #3443 from reosarevok/MBS-13870 Merge pull request #3445 from reosarevok/MBS-13895 MBS-13857: Block unicode Tags block in usernames MBS-13893: Block invisible characters (Hangul, Braille) in usernames MBS-13886: Don't crash on wrong link_type for paged rels (#3434) MBS-13781: Support browsing genres by collection in the API (#3394) Preserve the selected AC filter in more cases Fix untranslatable statistics label Don't force new vote names to be translated twice Clean broken enter_votes code MBS-13770: Allow admins to auto-approve and auto-reject any edit MBS-13770: Add new Admin approval/rejection votes Keep filter when navigating with ArtistIndex footer MBS-11950: Allow filtering VA RGs for artist MBS-8186: Allow filtering unofficial RG list Split and document Data::Alias test MBS-13564: Correctly override primary on alias locale change
Description
This turns the
WikipediaExtract
file (and the mostly deprecatedCommonsImage
one) from classes to React components, and moves from jQuery touseCallback
/useEffect
hooks.Testing
Manually, by loading some files with both in a dev setup, such as
/artist/ae0b2424-d4c5-4c54-82ac-fe3be5453270