Topic on Talk:MediaWiki Language Extension Bundle

Jump to navigation Jump to search

Saving the translation failed: This namespace is reserved for content page translations

9
Summary by Nikerabbit

Caused by an issue with job queue.

Vscheideck (talkcontribs)

Hello,

Please help,

I am using Mediawiki 1.30

and Language Extension Bundle MediaWikiLanguageExtensionBundle-2018.01.tar.bz2

When I try to translate this page,

https://polyglotclub.com/wiki/index.php?title=Special:Translate&group=page-Test-translate&language=fr&action=translate&filter=

I get the following errors :

on the screen :

Saving the translation failed: This namespace is reserved for content page translations. The page you are trying to edit does not seem to correspond any page marked for translation.

In the javascript console :

Uncaught RangeError: Maximum call stack size exceeded

    at jQuery.fn.init.push (<anonymous>)

    at superMatcher (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:36)

    at Sizzle.select (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:38)

    at Function.Sizzle (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:12)

    at Function.jQuery.find (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:141)

    at jQuery.fn.init.find (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:41)

    at jQuery.fn.init (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:43)

    at new jQuery.fn.init (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:141)

    at jQuery (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:1)

    at MessageTable.resize (<anonymous>:90:664)

I've tried to disable all other extensions.

My LocalSettings.php :

wfLoadExtension( 'Babel' );

wfLoadExtension( 'cldr' );

wfLoadExtension( 'CleanChanges' );

$wgCCTrailerFilter = true;

$wgCCUserFilter = false;

$wgDefaultUserOptions['usenewrc'] = 1;

wfLoadExtension( 'LocalisationUpdate' );

$wgLocalisationUpdateDirectory = "$IP/cache";

require_once "$IP/extensions/Translate/Translate.php";

$wgGroupPermissions['user']['translate'] = true;

$wgGroupPermissions['user']['translate-messagereview'] = true;

$wgGroupPermissions['user']['translate-groupreview'] = true;

$wgGroupPermissions['user']['translate-import'] = true;

$wgGroupPermissions['sysop']['pagetranslation'] = true;

$wgGroupPermissions['sysop']['translate-manage'] = true;

$wgTranslateDocumentationLanguageCode = 'qqq';

$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages

wfLoadExtension( 'UniversalLanguageSelector' );

Nikerabbit (talkcontribs)

These kind of issues are usually caused by JobQueue. Try running maintenance/runJobs.php or extensions/Translate/scripts/createMessageIndex.php manually to confirm.

Vscheideck (talkcontribs)

thanks but it did not solve the problem

Nikerabbit (talkcontribs)

Right now it says message group page-Test-translate is not found. Are you sure have marked the page for translation or did you remove it after posting?

Vscheideck (talkcontribs)
Nikerabbit (talkcontribs)
89.82.208.37 (talkcontribs)

Yes, you were 100% right, the job was failing, it's corrected now, :D

89.82.208.37 (talkcontribs)

thanks for your help

Nikerabbit (talkcontribs)

Good that you were able to figure it out :)