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

            Bug ID: 70997
           Summary: Refactor EntitySearchTextGenerator and
                    ItemSearchTextGenerator
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

ItemSearchTextGenerator and EntitySearchTextGenerator are currently
incompatible. This leads to ItemContent::getTextForSearchIndex()
re-implementing the logic in EntityContent::getTextForSearchIndex(). This code
dublication has big potential for confusion.

Instead, ItemSearchTextGenerator and EntitySearchTextGenerator should share an
interface, which a generic implementation of getTextForSearchIndex could use.

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

Reply via email to