User talk:Marc.M

Add topic
From Meta, a Wikimedia project coordination wiki
Latest comment: 17 years ago by 76.167.238.94 in topic Error message with MediaWiki v1.6.8

Permissions

about permisions[edit]

how to change permisssions... for example, disable "edit" for anonymous

I don't think this is the intention of the extensions...

Lusiano Add: Maybe you already know this answer, add this line in LocalSettings.php:

// No anonymous editing allowed -
$wgGroupPermissions['*']['edit'] = false;

Error message[edit]

I get the following error (v.1.5.5): Fatal error: Cannot redeclare class specialpage in /includes/SpecialPage.php on line 95

Error message with MediaWiki v1.6.2[edit]

After installing the extension I get the following error when trying to access the Special:Permission page:

Fatal error: Call to a member function on a non-object in /path/to/wiki/includes/SkinTemplate.php on line 306

Error message with MediaWiki v1.6.3[edit]

After installing the extension I get the following error when trying to access the Special:Permission page:

Fatal error: Call to a member function on a non-object in /path/to/wiki/includes/SkinTemplate.php on line 306


Same here on v 1.6.7 --195.171.19.30 12:59, 6 July 2006 (UTC)Reply

Error message with MediaWiki v1.6.8[edit]

After installing the extension and following the instructions on the extension's page, I get the following error when trying to access the Special:Permission page:

Fatal error: Call to a member function on a non-object in /path/to/wiki/includes/SkinTemplate.php on line 306

I am using: MediaWiki: 1.6.8, permissions ext: 1.5.104.9, php: 4.3.10 (apache), MySql: 4.1.9-max.

After commenting out the odd bit of code, I have a feeling the message relates to "0 != $wgArticle->getID()" and therefore is trying to access the $wgArticle object, but cannot because it does not seem to exist.

Any suggestions what I am doing wrong?

added by Lusiano
THIS WILL FIX IT
add this inside your special pages below the global $wgOut;

$wgOut->setArticleFlag(false);

[Note, the "inside your special pages" above in fact means your includes/SpecialPage.php page. Inserting the above line after your global $wgout call does indeed fix the issue --76.167.238.94 10:19, 13 February 2007 (UTC)]Reply

Error message with MediaWiki v1.7.1[edit]

After installing the extension I get the following error when trying to access the Special:Permission page:

Fatal error: Call to a member function getID() on a non-object in /path/to/wiki/includes/SkinTemplate.php on line 311

I see nothing![edit]

  • 1.6.5
  • German
  • The same with me . I only see a blank page after installing. Any suggestions?

I confirm the same problem with 1.7.1[edit]

I confirm the same problem with 1.7.1

I confirm the same problem with 1.8.2[edit]

Only got a blank page also.

MediaWiki PARAM?[edit]

Cuz the page title is missing in my MediaWiki 1.6.8... help?

Problem with MediaWiki 1.7.1 half-way-workaround[edit]

As it might be stated above I inserted the following code by replacing:

 function execute()
 {
   global $wgOut , $wg_zPermissionsWithConvenienceLinks ;

by:

 function execute()
 {
    global $wgOut , $wg_zPermissionsWithConvenienceLinks ;
    $wgOut->setArticleFlag(false);

in file SpecialPermissions.php and it also seems to work for MediaWiki 1.7.1 but the table looks a bit strange since Permissions::Translate() seems not to translate val_yes and some html tags correctly.

--141.41.37.95 10:03, 18 September 2006 (UTC)Reply

Error Message with Mediawiki 1.8.2[edit]

I get this error when trying to access the Special:Permissions page.

Fatal error: Call to a member function getUseTeX() on a non-object in /usr/src/mediawiki-1.8.2/includes/Parser.php on line 545


see Talk:Permissions extension#Another_Fatal_Error for possible solution

Topfi 11:11, 12 December 2006 (UTC)Reply

Content Approve[edit]

Hi, In my country the site owner is responsible for the content of the website and can get very high penalties for some kind of content. For this reason i have to control (approve/disapprove) all content of users before publish it. How can i approve/disapprove user changes or submissions with a mediawiki software?