Page MenuHomePhabricator

Make input placeholders on Special:NewLexeme actual placeholders
Open, Needs TriagePublic

Description

Problem:
Placeholder texts should be placeholders for actual data, but currently in WikibaseLexeme we abuse them as usage instructions: “Lemma is usually the shortest form of the word”, “Enter language, e.g. English” and “Enter lexical category, e.g. noun” are not typical lemmas, languages or lexical categories. (In fact, the last two aren’t valid at all since there are no matching items.)

Example:
Here I think we can use the word “example” as an example:

  • example
  • English
  • noun

Everything else, especially “usually the shortest form of the word”, belongs elsewhere.

BDD
WHEN I visit Special:NewLexeme
THEN the placeholders contain actual sample/placeholder data, demonstrating typical content and syntax of their respective fields, guiding me to fill them in correctly
AND as I begin typing and the placeholder vanishes, important information remains visible