Page MenuHomePhabricator

expanded SpecialPage for creating a new Schema
Closed, ResolvedPublic5 Estimated Story Points


As an editor I want to create a new schema in order to start defining how a certain part of the data should look like.


ShEx mockup-Page-1.jpg (521×701 px, 57 KB)

GIVEN the SpecialPage "Special:NewSchema"
THEN there is an introductory text
AND there are input fields for labels, descriptions and aliases
AND the input fields have inline help text

Acceptance criteria:

  • introductory text ("By clicking "Create", you agree to the terms of use, and you irrevocably agree to release your contribution under the Creative Commons CC0 License.") <- same as on
  • input fields for labels, descriptions and aliases including inline help text, as shown in the mock up above (the name of the language is the name of the user interface language, e.g. Deutsch when the UI language is German).


Event Timeline

For clarification in this case 'Create' does nothing

@abian do we need the language input field? I was hoping we can just be smart and use the interface language.

I didn't remember we were already doing so with Special:NewLexeme, so yeah, that field is probably unnecessary; I only added it to follow Special:NewItem. However, a reminder of which the interface language is may be useful (sometimes I write labels/descriptions/aliases in Spanish for new Items without remembering I have to manually change the default language, English, and vice versa, even with the corresponding field showing the current language, but that's just because I'm a disaster). :-)

Yeah I added the language to the help text for each field.

WMDE-leszek updated the task description. (Show Details)
WMDE-leszek updated the task description. (Show Details)
WMDE-leszek set the point value for this task to 5.

We need the language input field - using the interface language is not enough. See T108907: Add a "language" field to Special:NewItem