Page MenuHomePhabricator

Research the enter editmode hook
Closed, ResolvedPublic

Description

A/C

  • document how Wikibase Quality constraints detects when the user has entered editmode (if it does)
  • see if there is a hook that already exists that we can take advantage of
  • determine if we need to add additional on click action to all the edit links because there is currently no existing way to easily detect entering editmode

Details

Related Gerrit Patches:
mediawiki/extensions/Wikibase : masterAdd a JS hook "wikibase.statement.startEditing"

Event Timeline

Tarrow created this task.Sep 19 2019, 1:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 19 2019, 1:24 PM
Tarrow updated the task description. (Show Details)Oct 9 2019, 12:32 PM
noarave claimed this task.Oct 9 2019, 12:53 PM
Restricted Application added a project: User-Noarave. · View Herald TranscriptOct 9 2019, 12:53 PM

We created a hook because we found none

Change 542110 had a related patch set uploaded (by Tarrow; owner: Tarrow):
[mediawiki/extensions/Wikibase@master] Add a JS hook "wikibase.statement.startEditing"

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

Change 542110 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Add a JS hook "wikibase.statement.startEditing"

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

Tarrow closed this task as Resolved.Tue, Oct 22, 2:22 PM