Project:Support desk/Sections/Extension

__NEWSECTIONLINK__

= Extension Support =

== Usability extension =


 * MediaWiki version: 1.17
 * PHP version: 5.2.6
 * MySQL version: 5.0.67
 * URL: localhost

I've tryed to install the usability extension, i follewed the guide but i can't use it because the button "Try Beta" don't apper... How can i Do? Thaks, sorry i'm italian.

—87.2.192.37 20:49, 4 April 2010 (UTC)

Displaying Categories in Pages
Sorry if this is the wrong place. I am fairly new to all of this.

I am looking for a way to use what I think of as more common database accessing within wikimedia where for example I add a word as a page and on that page I define the word, and the I have a page called words or something that goes through and picks out those pages based on them being in the category:word and spitting them out into a table. Is that possible? I have tried a couple of extensions, but no luck so far.

Thanks.

(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.

Sphinx Search Special Page Query Failed
-->
 * MediaWiki version: 1.15.1
 * PHP version: 5.2.10-2ubuntu6.4 (apache2handler)
 * MySQL version: 5.1.37-1ubuntu5.1
 * URL:

Special pages SphinxSearch (Version 0.7.0)

When I run Sphinx Search Special Page it returns Query Failed If I run the same search from the command line it returns

root@twosinfo:~# /usr/local/sphinx/bin/search --config /usr/local/sphinx/sphinx.conf "Checks" Sphinx 0.9.9-release (r2117) Copyright (c) 2001-2009, Andrew Aksyonoff

using config file '/usr/local/sphinx/sphinx.conf'... index 'wiki_main': query 'Checks ': returned 2 matches of 2 total in 0.003 sec

displaying matches: 1. document=2, weight=1, page_namespace=0, old_id=3, category= page_title=A+_A/R page_namespace=0 2. document=3, weight=1, page_namespace=0, old_id=6, category= page_title=A+_A/P page_namespace=0

words: 1. 'check': 2 documents, 2814 hits

index 'wiki_incremental': query 'Checks ': returned 0 matches of 0 total in 0.000 sec

words: 1. 'check': 0 documents, 0 hits

Cant upload tar files while PagedTiffHandler is installed (says: tiff_out_of_service)

 * MediaWiki version: 1.15.3
 * PHP version: 5.1.6 (apache2handler)
 * MySQL version: 5.0.77
 * URL: (intranet)/ (and on localhost its the same, same MediaWiki-version)

Hello,

When i trie to upload a *.tar file it says 'tiff_out_of_service' and doesnt upload the file. When i comment the "require_once("$IP/extensions/PagedTiffHandler/PagedTiffHandler.php");" line, it works again. Does anyone have an idea what might be the problem? I dont have any clue any more....

Ps.: Im not completely sure, but could it be, that it worked in 1.15.1 and now it doesnt? I used to have 1.15.1 and maybe it worked there... but i cant/dont want to downgrade because of this...

Thanks a lot!! —Maxi.igl 17:24, 15 April 2010 (UTC)

(Solution) I deleted the error-routine for this specific error in the function check in PagedTiffHandler_body.php... its only a symtomatic solution, but for me needs its ok.

#time: parser function not converting FROM unix time

 * MediaWiki version: 1.15.1
 * PHP version: 5.2.11 (apache2handler)
 * MySQL version: 5.0.82-log
 * URL: http://wiki.vectorbase.org/index.php/Special:Version

Hello,

Is there any way to get the ParserFunctions #time: function to recognise unix time? I am doing some date math calculations (with #expr:) in seconds since 1970 and I can't find a way to convert back into human readable form...

I have seen the JULIAN.* templates on wikipedia but that seems very complicated.

many thanks, Bob.

—155.198.150.201 15:54, 20 April 2010 (UTC)
 * Answer: (from SMW mailing list), 155.198.150.201 09:37, 21 April 2010 (UTC)

Running Lsearch extension on windows server 2003 or alternative to Lucene
I have searched the site looking for this answer and yet to find a direct answer. Although I would like to just setup a linux server and run the Lucene Search Extension service for MediaWiki, our IT department has mandated that we MUST run everything on windows servers. Whether this is a good idea or not this is how I must proceed. That said, I have sucessfully installed Lucene Search 3.0.1 on a windows server but I have yet to find a good way to get the latest bits for the extension service to run on windows. i am sure there is something out there already that answer this so if you know please feel free to post a link. I have read that there is an OLD C# version that does work on windows but the guy I work with had trouble getting this to work. Any help is much appreciated.

—138.32.80.20 14:26, 23 April 2010 (UTC)

Using FCKeditor 2.6.4 with Media wiki 1.15.3

 * MediaWiki version: 1.15.2
 * PHP version: 5.3.2
 * MySQL version: 5.1.45
 * URL: its a intranet site

Hi I'm trying to use FCKeditor 2.6.4 with Mediawiki 1.15.3. After I copy the fckeditor folder to externsion, and add the requireonce code andajax thing to loaclsettings.php, when I run the site, I get the following

Strict Standards: Declaration of FCKeditorParser::makeImage should be compatible with that of FCKeditorParserWrapper::makeImage in C:\public_html\pedia\extensions\FCKeditor\FCKeditorParser.body.php on line 707

Strict Standards: Declaration of FCKeditorParser::parse should be compatible with that of FCKeditorParserWrapper::parse in C:\public_html\pedia\extensions\FCKeditor\FCKeditorParser.body.php on line 707

and the rest of the wiki site is displayed below it. Then when I try edit something, I get the following message

Internal error Detected bug in an extension! Hook FCKeditor_MediaWiki::onCustomEditor failed to return a value; should return true to continue hook processing or false to abort.Backtrace:

#0 C:\public_html\pedia\includes\Wiki.php(502): wfRunHooks('CustomEditor', Array) #1 C:\public_html\pedia\includes\Wiki.php(63): MediaWiki-&gt;performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest)) #2 C:\public_html\pedia\index.php(116): MediaWiki-&gt;initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest)) Now before I moved to the WAMP I was running this on a LAMP and their the extension worked fine, so I don't think its the extension at fault, but the $Ip I'm going or something. I'm letting it gigure out the $ip and I'm givng require_once("$IP/extensions/FCKeditor/FCKeditor.php");
 * 1) 3 {main}

Can anyone take a guess where I'm getting the problem from.

—216.207.205.50 18:48, 30 April 2010 (UTC)

$wgConfigureEditableSettings = array; is broken

 * I was too lazy to login yesterday. Report moved to 23379 201.95.205.219 17:04, 2 May 2010 (UTC)