r14425 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14424‎ | r14425 | r14426 >
Date:00:02, 28 May 2006
Author:brion
Status:old
Tags:
Comment:
Add parser tests for bug 4598 ('' in link title)
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -1229,6 +1229,24 @@
12301230 !! end
12311231
12321232 !! test
 1233+Link containing double-single-quotes '' (bug 4598)
 1234+!! input
 1235+[[Lista d''e paise d''o munno]]
 1236+!! result
 1237+<p><a href="https://www.mediawiki.org/index.php?title=Lista_d%27%27e_paise_d%27%27o_munno&amp;action=edit" class="new" title="Lista d''e paise d''o munno">Lista d''e paise d''o munno</a>
 1238+</p>
 1239+!! end
 1240+
 1241+!! test
 1242+Link containing double-single-quotes '' in text (bug 4598 sanity check)
 1243+!! input
 1244+[[Link|Lista d''e paise d''o munno]]
 1245+!! result
 1246+<p><a href="https://www.mediawiki.org/index.php?title=Link&amp;action=edit" class="new" title="Link">Lista d<i>e paise d</i>o munno</a>
 1247+</p>
 1248+!! end
 1249+
 1250+!! test
12331251 Plain link to URL
12341252 !! input
12351253 [[http://www.example.org]]

Follow-up revisions

RevisionCommit summaryAuthorDate
r14426Tweak bug 4598 with more sanity checks for casesbrion00:21, 28 May 2006
r19801Add a mechanism to parserTests when run in --compare or --record mode, to giv...nickj06:59, 6 February 2007
r27906Fix regressions in r27759 -- pages already marked in link cache at link parsi...brion20:45, 27 November 2007

Status & tagging log