Last modified: 2014-10-29 18:25:46 UTC
MWTitleInputWidget should have a .getTitle() getter (which can return null, if the value isn't a valid title). Using this getter should be preferred over .getValue(). Callers of MWTitleInputWidget.getValue() should be converted to .getTitle(), and they should check for null-ness, because we probably have more bugs like bug 71998 hiding in various places.
Also, per bug 71249, now that we have isValid() in TextInputWidget, it makes sense for MWTitleInputWidget to reimplement isValid() as a check for getTitle() not being null.
Change 169603 had a related patch set uploaded by SuchetaG: Introducing getTitle() in MWTitleInputWidget https://gerrit.wikimedia.org/r/169603
Change 169603 merged by jenkins-bot: Introducing getTitle() in MWTitleInputWidget https://gerrit.wikimedia.org/r/169603