https://wiki.openzim.org/w/index.php?title=Talk:Zimdiff&feed=atom&action=historyTalk:Zimdiff - Revision history2024-03-29T02:35:03ZRevision history for this page on the wikiMediaWiki 1.36.1https://wiki.openzim.org/w/index.php?title=Talk:Zimdiff&diff=2718&oldid=prevKelson: /* Remarks */2013-07-05T11:10:14Z<p><span dir="auto"><span class="autocomment">Remarks</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 11:10, 5 July 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Remarks ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Remarks ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* The diff_file does not need to contain a meta article listing <del style="font-weight: bold; text-decoration: none;">the list of </del>article to update or create. This list is already in the diff_file, this is the list of articles of the diff_file.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* The diff_file does not need to contain a meta article listing <ins style="font-weight: bold; text-decoration: none;">all </ins>article to update or create. This list is already in the diff_file, this is the list of articles of the diff_file.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The diff_file should not only store the articles to create, but also the articles to update.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The diff_file should not only store the articles to create, but also the articles to update.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* This makes no difference if an article should be updated or created, in both case diff_file should store the whole article.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* This makes no difference if an article should be updated or created, in both case diff_file should store the whole article.</div></td></tr>
<!-- diff cache key my_wiki:diff::1.12:old-2717:rev-2718 -->
</table>Kelsonhttps://wiki.openzim.org/w/index.php?title=Talk:Zimdiff&diff=2717&oldid=prevKelson: Created page with "== Remarks == * The diff_file does not need to contain a meta article listing the list of article to update or create. This list is already in the diff_file, this is the list..."2013-07-05T11:08:50Z<p>Created page with "== Remarks == * The diff_file does not need to contain a meta article listing the list of article to update or create. This list is already in the diff_file, this is the list..."</p>
<p><b>New page</b></p><div>== Remarks ==<br />
<br />
* The diff_file does not need to contain a meta article listing the list of article to update or create. This list is already in the diff_file, this is the list of articles of the diff_file.<br />
* The diff_file should not only store the articles to create, but also the articles to update.<br />
* This makes no difference if an article should be updated or created, in both case diff_file should store the whole article.<br />
* Yes, diff_file should store as a "meta list", the list of articles to delete.<br />
* zimdiff and zimpatch should not work with "diffs" of text contents, this is too complicated to implement correctly and won't bring big advantages. At least in a first time.<br />
* diff_file should store the UID of the original ZIM file to allow zimpatch to check before applying if it works on the right file<br />
* Pseudocode seems to me to be wrong, everything should be done in one run (no temporary list of articles, except maybe for the list of article to delete).</div>Kelson