https://bugzilla.wikimedia.org/show_bug.cgi?id=72468

            Bug ID: 72468
           Summary: VisualEditor: MWTitleInputWidget should return titles
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Technical Debt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
            Blocks: 71998
       Web browser: ---
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to