Jump to content

Extension talk:MultiLanguageManager

About this board

previous talk on this page


The Special:MultiLanguageManager page has nothing

2
2403:AC00:0:1001:0:0:1:5FCD (talkcontribs)

Hi,

Thanks for your extension, it does give me (a rookie for mediawiki) a hope to automatically translate my wiki.However after the installation , the Special:MultiLanguageManager page has noting except a title (which is given by skin) . So was there anything I operated wrong ? How can I fix it? Looking forward to your help.

And my LocalSettings.php:

wfLoadExtension (  'MultiLanguageManager'  );

Yours.

2A02:A441:376D:1:5FAC:EBAE:5830:97EE (talkcontribs)

I'm facing the same problem. I cannot find MultiLanguageManager_setup.php (mentioned in the extension's configuration section). I tried creating the file and place it in the extension's subfolder, as well as in the site root, but to no avail.


What did help, was the solution mentioned by Sirr-Lag-A-Lot's post under the 'Select Available Languages' topic below ! Thanks for that!

Reply to "The Special:MultiLanguageManager page has nothing"

MultiLanguageManager cannot add translated page

1
86.62.156.102 (talkcontribs)

I have a problem with the MultiLanguaManager.

I can edit language from Spesial:MultiLanguageManager, but from the menu (and pop up dialog) i can not edit. Debug says Failed to load resource: the server responded with a status of 404 (Not Found)

Mediawiki version: 1.37.2

MultiLanguageManager version: 1.29

Reply to "MultiLanguageManager cannot add translated page"

Restricting User Rights

1
AID-PMBD (talkcontribs)

Hello,


I'm trying to restrict the permission to edit and remove the translation of a page in mediawiki using the parameters given on the extension page. However so far every user in my wiki has been able to change the translations. The user groups "autoconfirmed", "User" and "Read" dont't have edit rights in the wiki.


My setup: Mediawiki 1.31


My settings in the LocalSettings.php:

$mgLanguagePermisionsKey = 'edit';

$wgGroupPermissions['*'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['autoconfirmed'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['User'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['Read'][$mgLanguagePermisionsKey] = false;

$wgGroupPermissions['Edit'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['Approve'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['Poweruser'][$mgLanguagePermisionsKey] = true;

$wgGroupPermissions['Bureaucrats'][$mgLanguagePermisionsKey] = true;

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


Any idea what I'm doing wrong?


Cheers

Reply to "Restricting User Rights"

Select Available languages

3
213.188.44.239 (talkcontribs)

Hi there,

I installed the extension on MediaWiki 1.31 which seems to work fine so far. I just have a problem setting up the available languages. Setting the $mgAvailableLanguage as documented in the LocalSettings.php didn't help and I also can't find the MultiLanguageManager_setup.php.

Might this be an issue with MediaWiki 1.31, or is it just my ignorance? I'm new to MediaWiki.

Thanks,

David

Sir-Lagg-A-Lot (talkcontribs)

Hi,

I tried it myself and could not set the languages either. It seems, that setting this in LocalSettings.php directly below the registration of the extension is still to early. Putting this into the LocalSettings.php worked for me:

wfLoadExtension( 'MultiLanguageManager' );

$wgExtensionFunctions[] = function() {

$GLOBALS['mgAvailableLanguages'] = array(

   'en',

   'de'

);

};

2A02:8388:E340:3A80:419C:EBE0:E05F:4A5E (talkcontribs)

I always get ⧼No Translations⧽, what am I doing wrong? :-|

Reply to "Select Available languages"

Deleting last row in tranlation set not calling, cousing fatal error.

2
Anysite (talkcontribs)

Let's say page B is the only translation of page A. When deleting page B (not deleting the translation binding, but the page itself), the translation set not deleted. This lead us to the next problem - when browsing to page A, we got fatal error.

I pushed to gerrit fix in REL1_31 which contains two modifys:

  • MultiLanguageManager\MultiLanguageTranslation::save calls MultiLanguageManager\MultiLanguageTranslation::delete when no translations in set.
  • MultiLanguageManager\Hooks\SkinBuildSidebar::process skip invalid Title instead of calling blindly makeLink and throwing error.
Sir-Lagg-A-Lot (talkcontribs)
Osnard (talkcontribs)

An new version has been released. It is compatible with MediaWiki 1.29

Reply to "New version released"

Fatal error: Call to undefined method ...

4
Summary by Kghbln

Please upgrade to MW 1.29

37.99.101.230 (talkcontribs)
Fatal error: Call to undefined method DatabaseMysqli::safeQuery() in /.../extensions/MultiLanguageManager/MultiLanguageManager_controller.php on line 207

Version MediaWiki 1.23

Please help

Kghbln (talkcontribs)

This extension appears to have been fixed for MW 1.29 and possibly later.

Summary by Kghbln

Links were fixed

130.125.82.135 (talkcontribs)

All the links to downloads and example are broken.

161.105.181.241 (talkcontribs)

My server dies long time ago. The code is now on Github https://github.com/marc-despland/MultiLanguageManager/tree/1.0.1

Kghbln (talkcontribs)

I just fixed the link. There was a typo in the template.

There are no older topics