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

       Web browser: ---
             Bug #: 40157
           Summary: Store hints about entities in page_props table.
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


We need an easy way to list all empty entities, and perhaps also other "kinds"
of entities, on special pages etc. This could easily be done via the page_props
table, we just need to start using it. The page_props table is fed from the
ParserOutput object (via LinksUpdate). 

So, EntityContent::getParserOutput() should just add the desired info to the
ParserOutput - it could be provided by a getPageProps() method or some such.

Initially supported "hints" or "kinds" could be:

* empty: contains nothing at all
* stub: consists only of label(s) and description(s) (and maybe also aliases).

There could be more, like "unlinked" for items with no sitelinks.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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