wiki.techinc.nl/tests/phpunit/includes/title
daniel 0c4410a623 Fix empty auto-summaries triggering a fatal error.
Aka:  Streamline Linker::formatAutocomments() and add tests

This uses the "streamlining" for the code proposed by Thiemo
in I38edc1ad7720. I have squashed the two commits, so it now
has his code in Linker, but still has my tests as well as his.

Thiemo wrote on his patch:
This also changes the output in case there is no fragment to link to.
Before an empty `/* */` in a summary this would have created a link to
the page. I would like to argue this is not what a user expects.

Bug: T222628
Change-Id: I05408ede0e20dfd976f4057fc5baab461d2ef769
2019-05-30 16:34:34 +02:00
..
ForeignTitleTest.php Use ::class to resolve class names in tests 2018-01-26 22:49:13 +01:00
MediaWikiTitleCodecTest.php Fix empty auto-summaries triggering a fatal error. 2019-05-30 16:34:34 +02:00
NaiveForeignTitleFactoryTest.php
NaiveImportTitleFactoryTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
NamespaceAwareForeignTitleFactoryTest.php
NamespaceImportTitleFactoryTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
NamespaceInfoTest.php Merge "Fix logic in NamespaceInfo::getRestrictionLevels" 2019-05-22 09:48:08 +00:00
SubpageImportTitleFactoryTest.php Use setContentLang() instead of setMwGlobals() 2018-07-26 11:35:58 +00:00
TitleValueTest.php Allow fragment-only TitleValues 2019-04-15 17:15:01 +03:00