dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Linker: Do not localize links to other wikis in comments
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
LinkerTest.php
diff --git
a/tests/phpunit/includes/LinkerTest.php
b/tests/phpunit/includes/LinkerTest.php
index
2ca5935
..
d684a43
100644
(file)
--- a/
tests/phpunit/includes/LinkerTest.php
+++ b/
tests/phpunit/includes/LinkerTest.php
@@
-307,6
+307,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
}