mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-29 16:23:49 +00:00
3a0b05f564
When a comment almost exactly matches the range of an accidental complex transclusion consisting only of pages from the 'Template' namespace and wikitext fragments, I think we can safely allow replying to the comment. Even if this turns out to be incorrect in some cases, the failure will be more graceful after the changes in T313100: instead of potentially duplicating contents from a template, the worst case now is that the reply will appear in the wrong place (at the end of the transclusion). Bug: T313093 Change-Id: Ie8da09d74a652d893fd8c3e2435ef6cb70fad64a
5 lines
1.9 KiB
HTML
5 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html prefix="dc: http://purl.org/dc/terms/ mw: http://mediawiki.org/rdf/" about="http://localhost:3080/wiki/Special:Redirect/revision/6216"><head prefix="mwr: http://localhost:3080/wiki/Special:Redirect/"><meta charset="utf-8"/><meta property="mw:pageId" content="1611"/><meta property="mw:pageNamespace" content="1"/><link rel="dc:replaces" resource="mwr:revision/6213"/><meta property="mw:revisionSHA1" content="f9e7352bc7532be24c6e0c749d9f103598c8fae4"/><meta property="dc:modified" content="2022-10-08T17:21:41.000Z"/><meta property="mw:htmlVersion" content="2.6.0"/><meta property="mw:html:version" content="2.6.0"/><link rel="dc:isVersionOf" href="http://localhost:3080/wiki/Talk%3AT265528"/><base href="http://localhost:3080/wiki/"/><title>Talk:T265528</title><link rel="stylesheet" href="/w/load.php?lang=en&modules=mediawiki.skinning.content.parsoid%7Cmediawiki.skinning.interface%7Csite.styles&only=styles&skin=vector"/><meta http-equiv="content-language" content="en"/><meta http-equiv="vary" content="Accept"/></head><body id="mwAA" lang="en" class="mw-content-ltr sitedir-ltr ltr mw-body-content parsoid-body mediawiki mw-parser-output" dir="ltr"><section data-mw-section-id="0" id="mwAQ"></section><section data-mw-section-id="1" id="mwAg"><h2 id="test">test</h2>
|
|
<p about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"1x","href":"./Template:1x"},"params":{"1":{"wt":"Hello\n\nHello"}},"i":0}}," [[User:Matma Rex|Matma Rex]] ([[User talk:Matma Rex|talk]]) 00:00, 1 October 2022 (UTC)"]}' id="mwAw">Hello</p><span about="#mwt1">
|
|
|
|
</span><p about="#mwt1">Hello <a rel="mw:WikiLink" href="./User:Matma_Rex" title="User:Matma Rex">Matma Rex</a> (<a rel="mw:WikiLink" href="./User_talk:Matma_Rex" title="User talk:Matma Rex">talk</a>) 00:00, 1 October 2022 (UTC)</p><dl><dd>Reply to c-Matma_Rex-20221001000000-test</dd></dl></section></body></html> |