Project:Support desk/Sections/Extension

__NEWSECTIONLINK__

= Extension Support =

(RESOLVED) EmbedImg Extension, Advice rather than tech help needed on Images

 * Product Version MediaWiki 1.14alpha (r45489)
 * PHP 5.2.4-2ubuntu5wm1 (apache2handler)
 * MySQL 4.0.40-wikimedia-log
 * www.trialworks.com/wiki

Hello, This is more of an "advice needed" post. I wanted to use the Upload/Image functions in MediaWiki but I believe I cannot... my webhost does not give me easy access to php.ini and I really don't want to go through the headaches of making them enable uploads in PHP, so I've kind of given up.

I did, however, download EmbedImg Extension and absolutely love it. It lets me take a address to an JPG or PNG file and paste it into the wiki, and in turn it displays the image (Rather than the path). The problem is that it's parameters only let me change size, but not location. I need to be able to align those images "right" with text, so that it all looks good. Aside from the extension, I got around the upload system by writing, in ColdFusion, an upload agent. It lets any of my users - in a super simple fashion - upload an image to the site and obtain the link, which then goes into the Wiki Article. It's really simple but very effective for my needs.

So now, I am just dealing with a formatting issue. It needs to be uber easy for my users. How would you guys/girls handle the alignment or would you really work on getting the Wiki upload stuff to work (btw, I feel my ColdFusion app is easier to use for my users than the Wiki stuff).

Karl @ www.trialworks.com/wiki Thanks!!


 * UPDATE: sorry to waste space, I think I've solved my little crisis with

MediaWiki oes not find texvc - but texvc exist in the math folder !!!

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.4
 * MySQL version: 5.0.51a
 * URL: not public ... local network

Hi there,

I need help, cause I tried serveral times to setup texvc for our MediaWiki. I downloaded and installed the latest version of OCaml and run the 3 steps:

1. Change to the "math" sub-directory of your MediaWiki install 2. Run 'make' (or 'gmake' if GNU make is not your default make). This should produce the texvc executable. 3. Enable $wgUseTeX and $wgEnableUploads in your LocalSettings.php and everything should work.

I've seen no errors during the make but the MediaWiki does still not find the texvc !!! I checked the math folder and there is an texvc...

how can I resolve the problem ???

thank you !!!

Alex

I have some problem with mediawiki-1.13.3-42.fc10.x86_64 on fedora 10 x86_64 and resolved it from http://zaphod.lite.msu.edu/bugzilla/show_bug.cgi?id=5757. The solution was to run texinfo rehash, and run fmtutil-sys --missing. Ivan

How-to restrict access to a Special Page? (Resolved)

 * MediaWiki version: 1.13
 * PHP version:  5.0

Hi,

I'm using the extension http://www.mediawiki.org/wiki/Extension:UploadCSV where I can update pages with an CSV file. As this extension can easily cause vandalism, I want to restrict the access for just "administrators". Like when trying to access this page as a normal user: http://meta.wikimedia.org/wiki/Special:Block

I added:

$wgGroupPermissions['*']['uploadcsv'] = false; $wgGroupPermissions['sysop']['uploadcsv'] = true;

to LoaclSettings.php - but everyone can still access the page. Any ideas what I'm doing wrong?

Thanks, Chris

add to uploadCSV.php

// New user right - required to access Special:Maintenance $wgAvailableRights[] = 'uploadcsv';

function wfUploadCSVStart { global $wgMessageCache, $ExtensionTitles, $wgOut, $wgUser;

# If the user doesn't have the required 'maintenance' permission, display an error if( !$wgUser->isAllowed( 'uploadcsv' ) ) { $wgOut->permissionRequired( 'uploadcsv' ); return; }

add to LocalSettings.php

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

Extension Licensing Guidelines
I was wondering if there were licensing guidelines for extensions. I am combined several extensions with MediaWiki and noticed that some of the extensions have licenses that are incompatible with other extensions (e.g. Affero v.3 with a majority of extensions under GPL v.2). There are also several extensions that have no license indicated--is there a default license if you are coding for combination with MediaWiki? I was wondering if there was already guidance or if there could be some written on these topics. Thanks.

unable to install chat on mediawiki
Hello everybody. I installed mediawiki on my linux ubuntu server 9.04 machine,is working very good, almost eveyone in LAN, is using. The backup process and recovery also was successful after many efforts.

Now I try to install chat extenstion on my mediawiki, but I receive error. I follow the structure in link below" http://www.mediawiki.org/wiki/Extension:Chat Also I installed . To download phpfreechat, I used the follwing link, and I downloaded on linux machine. Now I try to install it (phpfreechat) which now Is on my desktop(phpfreechat.php), but I cannot install using this command (sudo apt-get install phpfreechatx.x). It says, there is no package. Also I tried with root permission, as well. http://linux.wareseeker.com/Internet/phpfreechat-1.0-beta-11.zip/317847.

It's really appreciated to tell me the steps in more details.

Thanks in advance Mona Mortazavi IT-Specialist —Mona mrtzvi 16:56, 7 November 2009 (UTC)

Extension: DeleteBatch fails with ' Call to undefined method OutputPage::addWikiMsg '

 * MediaWiki version: 1.11.2
 * PHP version: 5.2.0
 * MySQL version: 5.0.27-community-log
 * URL: http://ldndwm322560/mediawiki-1.5.2/index.php/Special:Specialpages

When the 'Delete batch of pages' link is clicked on I get the error:

Fatal error: Call to undefined method OutputPage::addWikiMsg in C:\Program Files\EasyPHP 2.0b1\www\MediaWiki-1.5.2\extensions\DeleteBatch\DeleteBatch.body.php on line 85

I think it likely that I need to update my mediaWiki version; please could someone tell me what is the safest version to update to?

I tried updating to 1.15.1 - the download page said this was the latest version - but now I get:

Fatal error: Call to undefined method XmlSelect::addOptions in C:\Program Files\EasyPHP 2.0b1\www\mediawiki-1.15.1\extensions\DeleteBatch\DeleteBatch.body.php on line 148

—141.228.106.151 17:16, 16 November 2009 (UTC)


 * MediaWiki version: 1.15.1
 * PHP version: 4.4.1
 * MySQL version: 4.0.25
 * URL: www.mobilityfreak.com/wiki

I am having trouble using the extension for connecting MediaWiki with Drupal 5.10.

At the moment I activate the module in Drupal, this is what happens:

a. When I first try to login I get a message: Fatal error: Call to undefined function: str_split in F:\webspace\disk15\Newfreak\www\sites\all\modules\mediawikiauth\AuthDrupalEncode.php on line 31

b. At the second login trial, I login (to Drupal).

c. When I want to logout I need to do it twice, since at the first time I am not logged out.

d. When I press the link to my Wiki, I get there but it seems not to have identified the cookie, since I am not logged in there.

e. Last but not least, I (expectedly) cannot manually login to MediaWiki.

I need help with that ASAP, I wanted to implement the Wiki in the next weeks.....

Thanks,

Helio Diamant

—85.250.104.49 11:12, 27 November 2009 (UTC)

Show/Hide buttons
I am on a wiki which is local to my home island, Shetlopedia (http://www.shetlopedia.com). For a while I've tried to get the show/hide button links over but I haven't been able to figure out how to do it. Do I have to install an extention or is this simply a template one can make with code?

To be entirely precise, I mean the kind of show/hide that is at the very bottom of | this page


 * MediaWiki version: Unknown, not the owner of the site, presumably the most up-to-date.
 * PHP version: As above
 * MySQL version: As above
 * URL: http://www.shetlopedia.com

Thank you

—139.133.7.38 14:35, 27 November 2009 (UTC)