Index: trunk/extensions/SlippyMap/slippyMapParserTests.txt |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | == Invalid == |
37 | 37 | <slippymap lon=-21 zoom=12/> |
38 | 38 | <slippymap lat=64 zoom=12/> |
39 | | -<slippymap lat=64 lon=-21 /> |
| 39 | +<slippymap lat=64 lon=-21 dummy/> |
40 | 40 | !! result |
41 | 41 | <a name="Valid" id="Valid"></a><h2><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Parser_test&action=edit&section=1" title="Edit section: Valid">edit</a>]</span> <span class="mw-headline"> Valid </span></h2> |
42 | 42 | <p>A dummy map |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | <a name="Invalid" id="Invalid"></a><h2><span class="editsection">[<a href="https://www.mediawiki.org/index.php?title=Parser_test&action=edit&section=2" title="Edit section: Invalid">edit</a>]</span> <span class="mw-headline"> Invalid </span></h2> |
45 | 45 | <p><strong class="error">SlippyMap error: Missing <tt>lat</tt> attribute (for the latitude).</strong> |
46 | 46 | <strong class="error">SlippyMap error: Missing <tt>lon</tt> attribute (for the longitude).</strong> |
47 | | -<strong class="error">SlippyMap error: Missing <tt>zoom</tt> attribute (for the zoom level).</strong> |
| 47 | +A dummy map |
48 | 48 | </p> |
49 | 49 | !! end |
50 | 50 | |