Yesterday, I added a table contents directly in the Index: namespace by using a template (Table) with some parameters. I previewed and saved, and it broke the whole page (see here and here).
By further searching, it happens the preview removed wikitext after the first "|". With further searching, the function getIndexEntries in includes/index/ProofreadIndexPage.php cuts after the first "\n|", so I removed the newline before the "|", I previewed, and saved, and it works (see here).