Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -829,7 +829,26 @@ |
830 | 830 | </p> |
831 | 831 | !! end |
832 | 832 | |
| 833 | +!! test |
| 834 | +External link containing double-single-quotes in text '' (bug 4598 sanity check) |
| 835 | +!! input |
| 836 | +Some [http://example.com/ pretty ''italics'' and stuff]! |
| 837 | +!! result |
| 838 | +<p>Some <a href="http://example.com/" class='external text' title="http://example.com/" rel="nofollow">pretty <i>italics</i> and stuff</a>! |
| 839 | +</p> |
| 840 | +!! end |
833 | 841 | |
| 842 | +!! test |
| 843 | +External link containing double-single-quotes in text embedded in italics (bug 4598 sanity check) |
| 844 | +!! input |
| 845 | +''Some [http://example.com/ pretty ''italics'' and stuff]!'' |
| 846 | +!! result |
| 847 | +<p><i>Some </i><a href="http://example.com/" class='external text' title="http://example.com/" rel="nofollow"><i>pretty </i>italics<i> and stuff</i></a><i>!</i> |
| 848 | +</p> |
| 849 | +!! end |
| 850 | + |
| 851 | + |
| 852 | + |
834 | 853 | ### |
835 | 854 | ### Quotes |
836 | 855 | ### |
— | — | @@ -1240,13 +1259,22 @@ |
1241 | 1260 | !! test |
1242 | 1261 | Link containing double-single-quotes '' in text (bug 4598 sanity check) |
1243 | 1262 | !! input |
1244 | | -[[Link|Lista d''e paise d''o munno]] |
| 1263 | +Some [[Link|pretty ''italics'' and stuff]]! |
1245 | 1264 | !! result |
1246 | | -<p><a href="https://www.mediawiki.org/index.php?title=Link&action=edit" class="new" title="Link">Lista d<i>e paise d</i>o munno</a> |
| 1265 | +<p>Some <a href="https://www.mediawiki.org/index.php?title=Link&action=edit" class="new" title="Link">pretty <i>italics</i> and stuff</a>! |
1247 | 1266 | </p> |
1248 | 1267 | !! end |
1249 | 1268 | |
1250 | 1269 | !! test |
| 1270 | +Link containing double-single-quotes '' in text embedded in italics (bug 4598 sanity check) |
| 1271 | +!! input |
| 1272 | +''Some [[Link|pretty ''italics'' and stuff]]! |
| 1273 | +!! result |
| 1274 | +<p><i>Some </i><a href="https://www.mediawiki.org/index.php?title=Link&action=edit" class="new" title="Link"><i>pretty </i>italics<i> and stuff</i></a><i>!</i> |
| 1275 | +</p> |
| 1276 | +!! end |
| 1277 | + |
| 1278 | +!! test |
1251 | 1279 | Plain link to URL |
1252 | 1280 | !! input |
1253 | 1281 | [[http://www.example.org]] |