Page MenuHomePhabricator

Modify the title in real time while user change name of existing function
Closed, ResolvedPublic

Description

As an user editing an existing function, I would like the Name shown in the main title of the page to be changes as I type.

  • Change the title as I type
  • <strike>Use the first Name (if there are multiple languages use the first one in the list)</strike>
  • Use the name in the language of the UI for the title

Event Timeline

Change 740101 had a related patch set uploaded (by AdesojiThisDot; author: jenkins-bot):

[mediawiki/extensions/WikiLambda@master] Modify the title in real time while user change name of existing function

https://gerrit.wikimedia.org/r/740101

Change 740101 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Modify the title in real time while user change name of existing function

https://gerrit.wikimedia.org/r/740101

Thank you, that looks great. One modification requested:

The title should always be in the language the UI is using.

So the title should only be changed if we are changing the function label in the same language.

Put differently: if I am viewing the page using English, and I am changing the French label, the title should not be changed. It should remain the English, unchanged label.

If I am viewing the page using English, and I am changing the English label, then the update of the title is OK.

i will create a new ticket for your suggestion @DVrandecic