| daniel edited projects, added Multi-Content-Revisions; removed Multi-Content-Revisions (MCR-SDC phase 1), Structured-Data-Commons, Wikidata. daniel updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
When generating a ParserOutput object for the content of one slot (via ContentHandler::getParserOutput), it should be possible to access the Content of other slots in the same revision, to allow cross-slot data access (e.g. transcluding information from some auxiliary slot into the output of the main slot). This should work for atomic edits too: when previewing an edit that changes slots X and Y, and the content of slot X uses parts of Y, the new content of Y should be visible in the rendering of X (as well as in the combined rendering of all slots).
An initial idea is to pass RevisionSlots (including inherited slots, after PST) to ContentHandler::getParserOutput. The relevant code is in WikiPage::prepareContentForEdit (resp. PageUpdater::prepareContentForEdit).
A straight forward approach to this would be passing RevisionSlots (including inherited slotsNote: This does not block #structured-data-commons, since SDC doesn't use atomic edits, after PST) to ContentHandler::getParserOutputand Wikibase doesn't rely on MediaWiki's transclusion mechanism. The relevant code is in WikiPage::prepareContentForEdit (resp.For cross-slot access as needed by SDC, PageUpdater::prepareContentForEdit)see {T194730}.
An initial idea is to pass RevisionSlots (including inherited slots, after PST) to ContentHandler::getParserOutput. The relevant code is in WikiPage::prepareContentForEdit (resp. PageUpdater::prepareContentForEdit).
A straight forward approach to this would be passing RevisionSlots (including inherited slotsNote: This does not block #structured-data-commons, since SDC doesn't use atomic edits, after PST) to ContentHandler::getParserOutputand Wikibase doesn't rely on MediaWiki's transclusion mechanism. The relevant code is in WikiPage::prepareContentForEdit (resp.For cross-slot access as needed by SDC, PageUpdater::prepareContentForEdit)see {T194730}.
TASK DETAIL
EMAIL PREFERENCES
To: daniel
Cc: Anomie, Aklapper, -jem-, Lokal_Profil, Smalyshev, TomT0m, Liuxinyu970226, daniel, JJMC89, Agabi10, Fjalapeno, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Susannaanas, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
Cc: Anomie, Aklapper, -jem-, Lokal_Profil, Smalyshev, TomT0m, Liuxinyu970226, daniel, JJMC89, Agabi10, Fjalapeno, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Cparle, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Susannaanas, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
