[FEAT] Advanced link tests
Applied link tests from:
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/master/tests%2Fqunit%2Fsuites%2Fresources%2Fmediawiki%2Fmediawiki.Title.test.js
Some tests done there are not valid for Link.parse, so they are
rewritten to test that the result is correct.
There three remaining failures where Link does accept the titles but
MediaWiki does not:
- Just ":" is not a valid link
- If the title contains a section and a namespace prefix but no title it should be invalid (as it is already working when there is no section)
- If the (non-)talk page of the title is actually a title in another namespace. Example: Talk:File:Test.png would've the non-talk page File:Test.png but it's talk page would be File talk:Test.png
Bug: 72681
Change-Id: Iaccbc228876cd6053426fd702fd2e5c620581f79