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

Specify page actions #107

Open
lens0021 opened this issue Jan 1, 2022 · 0 comments
Open

Specify page actions #107

lens0021 opened this issue Jan 1, 2022 · 0 comments
Labels
mw1.38 MediaWiki 1.38

Comments

@lens0021
Copy link
Member

lens0021 commented Jan 1, 2022

It will be possible since MediaWiki 1.38.

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Gadgets/+/747112:

Allow specifying page actions ('view', 'edit', 'history', etc) in gadget definitions. If specified, the gadget is run only on the given
page action(s).

This is especially useful for default gadgets like RefToolbar1 and TextReactions2 that only need to be loaded while editing.

@lens0021 lens0021 added the mw1.38 MediaWiki 1.38 label Jan 1, 2022
@lens0021 lens0021 moved this to To do in femiwiki.com Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mw1.38 MediaWiki 1.38
Projects
Status: To do
Development

No branches or pull requests

1 participant