Steps to replicate the issue (include links if applicable):
- Go to en.wikisource.org or fr.wikisource.org with skin Vector 2010 (not Vector 2020)
- Create a page in namespace Wikisource with the following content:
__TOC__ == Label 1 == == Label 2 ==
- Preview the page
What happens?:
The table of contents is not generated (if you use Vector 2022, the TOC appears in the left column, as expected).
If you create the same page in the main namespace or in the User namespace, the TOC appears. Namespace that show the bug are (at least) Wikisource: and Help:
What should have happened instead?:
The TOC should be generated at the start of the page.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
This bug apparently appears a few hours ago, so it may be linked to the deployment of a new MediaWiki version.