summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-11-20 15:38:03 -0500
committerBrian Evans <grknight@gentoo.org>2018-11-20 15:38:03 -0500
commit77b59da595871ed637a7bba740a3754c3dbdbcd9 (patch)
tree44a441e636290a108de50bf7c4d2075fb2bc77ef /MLEB/UniversalLanguageSelector/hooks.md
parentUserMerge: Update to REL_1_30 (diff)
downloadextensions-77b59da595871ed637a7bba740a3754c3dbdbcd9.tar.gz
extensions-77b59da595871ed637a7bba740a3754c3dbdbcd9.tar.bz2
extensions-77b59da595871ed637a7bba740a3754c3dbdbcd9.zip
Add missing files from the Language Pack
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/UniversalLanguageSelector/hooks.md')
-rw-r--r--MLEB/UniversalLanguageSelector/hooks.md76
1 files changed, 76 insertions, 0 deletions
diff --git a/MLEB/UniversalLanguageSelector/hooks.md b/MLEB/UniversalLanguageSelector/hooks.md
new file mode 100644
index 00000000..1931e2ec
--- /dev/null
+++ b/MLEB/UniversalLanguageSelector/hooks.md
@@ -0,0 +1,76 @@
+Hooks defined in UniversalLanguageSelector
+==========================================
+
+The hook names are prefixed with mw.uls as a convention.
+
+# List of hooks
+
+## mw.uls.compactlinks.initialized
+
+Fired when the rendering of compact language links and
+the corresponding button is completed.
+Sends a boolean true argument if the list was actually compacted
+and the trigger was rendered, and false otherwise.
+
+## mw.uls.font.change
+
+Fired when the user changes a webfont.
+
+## mw.uls.ime.change
+
+Fired when the user changes the keyboard layout.
+
+## mw.uls.ime.disable
+
+Fired when the user disables keyboard layout support.
+
+## mw.uls.ime.enable
+
+Fired when the user enables keyboard layout support.
+
+## mw.uls.ime.morelanguages
+
+Fired when the user clicks the More languages button in
+the keyboard layout selector.
+
+## mw.uls.interface.language.change
+
+Fired when the user selects a language in the ULS panel.
+
+## mw.uls.interface.morelanguages
+
+Fired when the user clicks the More languages button in
+the Display settings.
+
+## mw.uls.language.revert
+
+Fired when the user reverts the selected language using
+the tooltip that appears after the interface language change.
+
+## mw.uls.login.click
+
+Fired when the user clicks the Log in link in Display settings.
+
+## mw.uls.settings.apply
+
+Fired when the user applies the changed settings.
+
+## mw.uls.settings.cancel
+
+Fired when the user cancels the changes.
+
+## mw.uls.settings.open
+
+Fired when the user opens one of the settings panels.
+
+## mw.uls.webfonts.disable
+
+Fired when the user disables webfonts support.
+
+## mw.uls.webfonts.enable
+
+Fired when the user enables webfonts support.
+
+## mw.uls.webfonts.tofudetected
+
+Fired when ULS detects "tofu".