DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:ikso

Ikso Plugin

Compatible with DokuWiki

  • 2024-02-06 "Kaos" unknown
  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes

plugin Pseudo-plugin for typing Esperanto letters with "X-code"

Last updated on
2020-06-08
Provides
Action
Repository
Source

(This plugin is only useful for wikis in Esperanto, but feel free to read the description in English below.)

Priskribo

Per ĉi tiu “kromprogramo”1) vi povas tajpi la ĉapelitajn literojn en iu ajn tekstokampo laŭ la “X-kodo”. Tajpu X-on post C, G, H, J, S aŭ U por akiri ĉapelitan literon. Tajpu alian X-on por malkonverti la literon, tio estas, por akiri la literon sekvatan de X.

La “X-kodo” ne funkcias nur ĉe tekstokampoj por testoj CAPTCHA, kreitaj de la kromprogramo “captcha”. Tiaokaze ĝi malhelpus la tajpadon de la kodoj.

Kiam tekstokampo estas fokusita la unuan fojon, modala dialogo aperas kun instrukcio (vidu la ekrankopion supre). Klako sur “Mi komprenis, ne montru tion denove” kreas kuketon kaj la mesaĝo ne aperos dum unu jaro. Klako sur “Rememoru min poste” fermas la dialogon, sed ĝi reaperos kiam alia paĝo estos ŝargita.

Agnosko

La kodo estas bazita sur la WordPress-a kromprogramo Cxapelado fare de Bertilo Wennergren.

(En la angla sube.)


Description

With this “plugin”2) you can type the Esperanto-specific letters (Ĉ, Ĝ, Ĥ, Ĵ, Ŝ and Ŭ) in any text field with “X-code”. Type an X after C, G, H, J, S or U to get a letter with diacritic. Type another X to unconvert the letter, that is, to get the letter followed by an X. The Esperanto alphabet does not use X, so the “X-code” is a simple way to overcome keyboard limitations.

The “X-code” does not work only at text fields for CAPTCHA tests, created by the “captcha” plugin. In this situation it would hinder the typing of the codes.

When a text field get focus for the very first time, a modal dialog appears with instructions in Esperanto (see the screenshot above). A click on “Mi komprenis, ne montru tion denove” (“I understand, do not show that again”) sets a cookie and the message will not be shown for one year. A click on “Rememoru min poste” (“Remember me later”) closes the dialog, but it will appear again when another page is loaded.

Acknowledgement

The code is based on the WordPress plugin Cxapelado by Bertilo Wennergren.

What "ikso" means?

“Ikso” is the name of the letter X in Esperanto.

1)
Vi instalas ĝin kiel kromprogramo, sed ĝi estas nur Ĝavoskripto.
2)
You install it like a plugin, but it's only JavaScript.
plugin/ikso.txt · Last modified: 2020-06-10 06:04 by moisesbr@gmail.com

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki