jenkins-bot has submitted this change and it was merged.
Change subject: Update Scribunto tests after I562e437e
......................................................................
Update Scribunto tests after I562e437e
The parser's output was changed in I562e437e to add clickable anchors
for section headers which made Scribunto parser tests fail.
Bug: T90018
Change-Id: Ia74877e0641f2763d42be4a8fad1aa8ecffe449e
---
M tests/engines/LuaCommon/luaParserTests.txt
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tests/engines/LuaCommon/luaParserTests.txt
b/tests/engines/LuaCommon/luaParserTests.txt
index ba9741d..fc399eb 100644
--- a/tests/engines/LuaCommon/luaParserTests.txt
+++ b/tests/engines/LuaCommon/luaParserTests.txt
@@ -335,8 +335,8 @@
==foo==
{{#invoke:test|testExpandTemplateWithHeaders}}
!! result
-<h2><span class="mw-headline" id="foo">foo</span><span
class="mw-editsection"><span class="mw-editsection-bracket">[</span><a
href="/index.php?title=Parser_test&action=edit&section=1" title="Edit
section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
-<h2><span class="mw-headline" id="bar">bar</span><span
class="mw-editsection"><span class="mw-editsection-bracket">[</span><a
href="/index.php?title=Template:Scribunto_template_with_headers&action=edit&section=T-1"
title="Template:Scribunto template with headers">edit</a><span
class="mw-editsection-bracket">]</span></span></h2>
+<h2><a href="#foo" class="mw-headline-anchor" title="Link to this
section">§</a><span class="mw-headline" id="foo">foo</span><span
class="mw-editsection"><span class="mw-editsection-bracket">[</span><a
href="/index.php?title=Parser_test&action=edit&section=1" title="Edit
section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h2>
+<h2><a href="#bar" class="mw-headline-anchor" title="Link to this
section">§</a><span class="mw-headline" id="bar">bar</span><span
class="mw-editsection"><span class="mw-editsection-bracket">[</span><a
href="/index.php?title=Template:Scribunto_template_with_headers&action=edit&section=T-1"
title="Template:Scribunto template with headers">edit</a><span
class="mw-editsection-bracket">]</span></span></h2>
!! end
--
To view, visit https://gerrit.wikimedia.org/r/192065
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia74877e0641f2763d42be4a8fad1aa8ecffe449e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Scribunto
Gerrit-Branch: master
Gerrit-Owner: Polybuildr <[email protected]>
Gerrit-Reviewer: Anomie <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits