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

       Web browser: ---
             Bug #: 37502
           Summary: ItemHandler::getParserOutput() must not touch
                    OutputPage
           Product: MediaWiki extensions
           Version: master
          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: ---


ItemHandler::getParserOutput() currently uses ItemView::render(), which in turn
manipulates the OutputPage. 

ItemHandler::getParserOutput() is called in various contexts, and must not have
side effects on the global state. We need separate functions for constructing
the ParserOutput and for actually showing an item (using a ParserOutput
object).

-- 
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