Merge "Linker: Do not localize links to other wikis in comments"
[lhc/web/wiklou.git] / tests / phpunit / includes / LinkerTest.php
index 3e3fb0f..f4844f8 100644 (file)
@@ -306,6 +306,11 @@ class LinkerTest extends MediaWikiLangTestCase {
                                'foo bar [[Special:BlankPage]]',
                                'enwiki',
                        ],
+                       [
+                               'foo bar <a class="external" rel="nofollow" href="//en.example.org/w/File:Example">Image:Example</a>',
+                               'foo bar [[Image:Example]]',
+                               'enwiki',
+                       ],
                ];
                // @codingStandardsIgnoreEnd
        }