VisualEditor/Typing/Indic
Introduction
editThe basic typing test is done using any Indic languages. Special features of complex indic characters will be checked in other tests.
Basic assumptions
edit- The computer has an English (US) keyboard enabled and wiki has IME support installed.
- The computer has a Indic font installed / wiki uses WebFonts.
- Visual Editor is completely installed and configured (Parsoid etc.)
- Typing Hindi in a Hindi wiki using the OS input method
Assumptions
edit- LocalSettings: $wgLanguageCode = "hi";
- The user interface of the wiki is Hindi (or change it using preferences or ULS)
Tests
editBasic Typing
edit- Start a new article that doesn't exist.
- Start editing it using the Visual Editor.
- Check: The cursor is at the top left corner.
- Type
kaa
.- Check: The letter
का
appears on the screen in the top left corner. - Check: The cursor is immediately to the right of the letter. (TODO screenshot)
- Check: The letter
- Type
m
.- Check: The letters
काम्
appear on the screen in the top left corner.
- Check: The letters
- Press Enter.
- Check: The first line didn't change.
- The cursor is at the left end of the second line.
- Use an extended keyboard layout which uses Alt + combination keys for input.
- Consider Hindi Inscript for the example below
- Type
कृ
usingk followed by Alt + +
- Check if the output is
कृ
- Check if the output is
Formatting
edit- Select Hey! and click list(numbered / bulleted) icon.
- Check: It becomes 1. Hey!
- Select काम् and click list(numbered / bulleted) icon.
- Check: It becomes 1. काम्
- Repeat the above test for all the formatting buttons.
Navigation
edit- Chose Hindi Transliteration IME.
- Type
kam
- Check if cursor is to the right of the text typed
कम्
- Check if cursor is to the right of the text typed
- Press ← once and try to type
laa
in between.- Check if the output is
कलाम्
- Check if the output is
- Type
kitaab
- Check if cursor is to the right of the text typed
किताब्
- Press Home once and check if cursor is at left side of word typed.
- Press Delete key once
- Check if remaining text is
ताब्
- Check if remaining text is
- Type
kitaab
, text would beकिताब्
- Press ← twice and delete key once
- Press delete key once
- Check if remaining text is
किब्
- Check if remaining text is
Special Character sequences
edit- Chose Tamil Translation for the below test.
- should be documented for each Indic language on behaviour of zwnj and should be in line with desktops.
- Type
ksh
to giveக்ஷ்
(ksh with en:ZWNJ in between) - Check if cursor is to the right of the text typed.
- Press Home once and check if cursor is at left side of word typed.
- Press Delete key exactly twice to see the entire word disappear. (the ZWNJ should be ignored when deleting text).