Lucas_Werkmeister_WMDE added a comment.
Example: a wikitext-only revision might change from
name=0.10
<revision>
<!-- ... -->
<model>wikitext</model>
<format>text/x-wiki</format>
<text bytes="16" xml:space="preserve">Wikitext content</text>
<sha1>basgq6oyo0kf51ykrohsumsutvpda86</sha1>
</revision>
to
name=0.11
<revision>
<!-- ... -->
<origin>2748</origin>
<model>wikitext</model>
<format>text/x-wiki</format>
<text bytes="16" sha1="basgq6oyo0kf51ykrohsumsutvpda86"
xml:space="preserve">Wikitext content</text>
<sha1>basgq6oyo0kf51ykrohsumsutvpda86</sha1>
</revision>
– almost the same, but there is now a `sha1` attribute on the `<text>` tag
and the `<origin>` is new.
Example: a WikibaseMediaInfo revision might change from
name=0.10
<revision>
<!-- ... -->
<model>wikitext</model>
<format>text/x-wiki</format>
<text bytes="0" xml:space="preserve" />
<sha1>q27phnond5qrm8u8zpnwo17ll81tohw</sha1>
</revision>
to
name=0.11
<revision>
<!-- ... -->
<origin>2224</origin>
<model>wikitext</model>
<format>text/x-wiki</format>
<text bytes="0" sha1="phoiac9h4m842xq45sp7s6u21eteeq1"
xml:space="preserve" />
<content>
<role>mediainfo</role>
<origin>2590</origin>
<model>wikibase-mediainfo</model>
<format>application/json</format>
<text bytes="371" sha1="oropqlvv0q2n9spse1s6autcvay4vqz"
xml:space="preserve">{"type":"mediainfo","id":"M902","labels":[],"descriptions":[],"statements":{"P25":[{"mainsnak":{"snaktype":"value","property":"P25","hash":"183074b9158e8b72cc95b7f6c16d5ba5ab5d9544","datavalue":{"value":{"entity-type":"item","numeric-id":503,"id":"Q503"},"type":"wikibase-entityid"}},"type":"statement","id":"M902$d8b8679f-4a1e-bfc4-499b-67ee67f9e155","rank":"normal"}]}}</text>
</content>
<sha1>q27phnond5qrm8u8zpnwo17ll81tohw</sha1>
</revision>
– the `<text>` is still empty (it’s a file), but the entity content is new.
TASK DETAIL
https://phabricator.wikimedia.org/T238972
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: ArielGlenn, Lucas_Werkmeister_WMDE
Cc: Johan, Lucas_Werkmeister_WMDE, RhinosF1, Benjavalero, hoo, leila,
ArielGlenn, darthmon_wmde, Viztor, DannyS712, Nandana, Amorymeltzer, Lahi,
Gq86, GoranSMilovanovic, Lunewa, QZanden, LawExplorer, Avner, JJMC89, _jensen,
rosalieper, Scott_WUaS, Luke081515, gnosygnu, Wikidata-bugs, aude, Capt_Swing,
TheDJ, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs