Page MenuHomePhabricator

Cite: Replace "getSelectedItem" with "findSelectedItem"
Closed, ResolvedPublic1 Estimated Story Points

Description

We would like to rename some get() functions for naming consistency.

Replace instances of getSelectedItem with findSelectedItem in modules/ve-cite/ve.ui.MWReferenceSearchWidget.js in MediaWiki's Cite extension.

You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.

Event Timeline

Yes. That, and OOUI being updated in core. Once done, I was planning to accept on the GCI site but merge on Gerrit only once things are ready in core.

Ah, ok, +1! @Aklapper already imported the task :P

Change 403338 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[mediawiki/extensions/Cite@master] Replace "getSelectedItem" with "findSelectedItem"

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

Kizule moved this task from Backlog to Doing on the OOUI board.
Jdforrester-WMF edited projects, added Cite, VisualEditor; removed Patch-For-Review.
Jdforrester-WMF set the point value for this task to 1.

Change 403338 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] Replace "getSelectedItem" with "findSelectedItem" for consistency

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