The Vietnamese localization of the Proofread Page extension uses "Mục lục" as the index namespace. However, the extension sometimes expects the space to be replaced with an underscore.
If the "proofreadpage index namespace" message is localized as "Mục lục", with a space, then things like the "Source" tab and quality bar in the main namespace break, because the following line in prepareArticle() in ProofreadPage_body.php evaluates to null:
$index_ns_index = MWNamespace::getCanonicalIndex( strtolower( $index_namespace ) );
On the other hand, if the "proofreadpage index namespace" message is localized as "Mục_lục", with an underscore, the index page edit form breaks, because expressions like the following in ProofreadPage_body.php evaluate to 0:
preg_match( "/^$index_namespace:(.*)$/", $ref_title->getPrefixedText() )
For instance, [[s:vi:MediaWiki:Proofreadpage index namespace]] is currently set to "Mục_lục", but that causes the edit page for [[s:vi:Mục lục:Viet Nam Su Luoc 1.djvu]] to use the normal wiki editor.
It doesn't really matter which style the extension settles on, as long as it treats "proofreadpage index namespace" and "proofreadpage page namespace" consistently.
Version: unspecified
Severity: major
URL: http://vi.wikisource.org/w/index.php?title=Mục_lục:Viet_Nam_Su_Luoc_1.djvu&&action=edit