We would like to rename some get() functions for naming consistency.
Replace instances of getSelectedItem with findSelectedItem in modules/ext.templateDataGenerator.ui.tdDialog.js in MediaWiki's TemplateData 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.