[ 'title' => 'MediaWiki:Test.css', 'model' => null, 'text' => "hello x\n", 'expectedHtml' => "
\nhello <world>x\n\n
", 'expectedFields' => [ 'Links' => [ ], 'Sections' => [ ], ], ]; yield 'Links' => [ 'title' => 'MediaWiki:Test.css', 'model' => null, 'text' => "/* hello [[world]] */\n", 'expectedHtml' => "
\n/* hello [[world]] */\n\n
", 'expectedFields' => [ 'Links' => [ [ 'World' => 0, ], ], 'Sections' => [ ], ], ]; yield 'TOC' => [ 'title' => 'MediaWiki:Test.css', 'model' => null, 'text' => "==One==\n

Two

", 'expectedHtml' => "
\n==One==\n<h2>Two</h2>\n
", 'expectedFields' => [ 'Links' => [ ], # T307691 'Sections' => [ ], ] ]; } }