Project:Support desk/Sections/Extension

__NEWSECTIONLINK__ = Extension Support =

Searching uploaded documents
Is there any kind of extension that allows for searches within uploaded documents? It would be very useful. I believe Google Desktop could be integrated somehow...

Extension:Google Custom Search Engine

 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * Database: Unknown, if you know how to figure it out please tell me.
 * URL: Red Orchestra Wiki

Alright so how do I get this extension to work? I made the page as said here, but any search returns to the main page, I actually wanted it to look like Wikipedia, where you can choose between Google search and MediaWiki search on the SpecialSearch.php.

—-PatPeter, MediaWiki Support Team  20:05, 7 January 2008 (UTC)


 * Anyone else use this extension? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  16:34, 21 January 2008 (UTC)


 * Here is the "Search box code" content ("Paste this code in the page where you'd like your search box to appear."):

     


 * "Search results code" ("Paste this code on http://, where you would like your search results to appear."):

  var googleSearchIframeName = "results_002538290091482747803:gffn9ipskde"; var googleSearchFormName = "searchbox_002538290091482747803:gffn9ipskde"; var googleSearchFrameWidth = 600; var googleSearchFrameborder = 0; var googleSearchDomain = "www.google.com"; var googleSearchPath = "/cse"; 

-PatPeter,  MediaWiki Support Team  02:32, 21 February 2008 (UTC)


 * Anyone? -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  02:23, 27 March 2008 (UTC)


 * Found something here, but it doesn't give a clear guidance on how to use this Google "Search box content" code to join the previous contents of MediaWiki Sidebar. Any help would be appreciated.--125.163.15.197 08:44, 24 August 2008 (UTC)

Crosswiki checkuser problem

 * MediaWiki: 1.11
 * PHP:
 * MySQL:
 * URL:

I'm running MediaWiki 1.11 on a webhost, got Makesysop, Makebot and a few more extensions running. Checkuser works, but isn't actually doing a crosswiki log in the format:
 * 127.0.0.1 FooBar got IPs for TestingUser on wiki1
 * 127.0.0.1 FooBar got IPs for User2 on theotherwiki

Anyone know how to fix it?? —Whitsun 21:52, 19 February 2008 (UTC)
 * What is it doing? I'd need more info. Aaron 06:13, 2 March 2008 (UTC)


 * I couldn't install it via command-prompt on my webhost, so just copied the files from SVN to my website - http://sunstarnet.quotaless.com/testwiki and although it lets me do checkuser, it doesn't log properly. If you register an account I'll give you checkuser privileges so you can see what I mean. I can't get it to do a checkuser log that's cross-wiki like on Wikimedia's, e.g User:Testuser@enwiki got IPs for Testuser1 User:Testuser2@fpwiki got users for 127.0.0.1 Thanks, --82.42.237.84 19:48, 3 March 2008 (UTC)
 * "doesn't log properly"? As in gives errors or as in a local-only log. As of recently, the log was redone to use the database, but for the moment (due to complexities with global DBs) it is local-only. This is true even on WMF sites now. Aaron 20:48, 3 March 2008 (UTC)


 * A bit of both actually. For some reason my host doesn't allow command-line stuff (well, not that I know of for quotaless.com), so it is hard. As for WMF sites, well, thanks for the note. So when a steward views the checkuser log on Meta or here for example, the log they see is only for this wiki?? --82.42.237.84 19:38, 6 March 2008 (UTC)

CSS/Stylesheets used on user created pages

 * MediaWiki: 1.6.8
 * PHP: 5.2.4 (apache)
 * MySQL: 5.0.45-community
 * URL: http://www.evolution-rpg.com/wiki/index.php/Main_Page

I'd like to be able to either use CSS coding on pages or be able to link to a CSS stylesheet hosted from my domain. Can this be accomplished and if so, how would I go about doing this? —75.167.200.148 00:42, 5 March 2008 (UTC)

FileProtocolLink not working on Mac

 * MediaWiki: 1.11.1
 * PHP: 5.2.5
 * MySQL: 5.0.24

Hi,

I have the FileProtocolLink Extension installed and working fine for Windows Users, but not for Mac users. Is there a solution to getting this working on Macs or is it not possible? Is there an extension like this one that will work on macs aswell?

Cheers —62.49.155.133 12:35, 6 March 2008 (UTC)

IssueTracker

 * MediaWiki: 1.11.1
 * PHP: 5.2.4-2 (apache2handler)
 * MySQL: 5.0.51-3-log
 * URL:

after installing IssueTracker extension and adding issues tag, i see only a very long line begining with @ENCODED....

—217.11.252.243 01:05, 11 March 2008 (UTC)

onclick event overwritten by checkboxClickHandler in my extension form

 * MediaWiki: 1.11.2
 * PHP: 5.2.3 (apache2handler)
 * MySQL: 4.1.21-standard
 * URL: Title

I have created an extension with a form in it. The form has a checkbox with an onclick event set to call a javascript function. The function is never called. I have traced the problem to the wikibits.js file where all input tags of type checkbox have the onclick event set to checkboxClickHandler. Is there anyway to turn this off, to not have my onclick overwritten? This site is on my local machine and is not available to the outside. I do not have the same problem with our 1.8.x installation of mediawiki.

I added the following to wikibits.js to the addCheckboxClickHandlers function:

if ( !cb.type || cb.type.toLowerCase != 'checkbox' ) continue; + if ( cb.onclick ) +        continue; var end = checkboxes.length;

And the problem goes away, but not sure if this breaks anything else.

—67.165.212.121 18:20, 12 March 2008 (UTC)


 * OlivierCroquette 13:19, 12 September 2008 (UTC) I have got the exact same problem here. I spent 1h trying to understand why my onclick callback was not called. I considering reporting it as a bug...

Invite a friend

 * MediaWiki: (11.1)
 * PHP:
 * MySQL:
 * URL:

Hi, I'm looking for this extension, but can't find it anywhere Invite a friend (example: ).

Regards,

—81.205.35.85 16:02, 13 March 2008 (UTC)
 * I think you are talking about >> Extension:SocialProfile .. :) ..-- Cometstyles 16:31, 13 March 2008 (UTC)
 * No, one like this ;) 81.205.35.85 15:33, 14 March 2008 (UTC)

SpecialDeleteOldRevisions broken in the 1.12 release

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: n/a
 * MySQL: n/a
 * URL: JavaSpec.org

I'm trying to reach Marc Noirot to let him know the SpecialDeleteOldRevisions extension is broken in the 1.12rc1 release because HTMLForm.php file is no longer available. (See http://www.mwusers.com/forums/showthread.php?p=23832#post23832)

I left a note at http://meta.wikimedia.org/wiki/Category:Extensions_by_Marc_Noirot but am not sure this was the most appropriate way to contact him.

-Doug —74.194.156.80 16:23, 15 March 2008 (UTC)

initializing extensions

 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch5
 * URL: Redstonewiki

Extensions for my wiki do not work. I have followed every example of how to initialize them and install the extension to the site, but it still fails. The website becomes inoperable after I have enabled the extension and I have to disable the extension for the website to work properly.

—Rockp223 00:51, 19 March 2008 (UTC)

Problem with CentralAuth
We have CentralAuth enabled on wikis with databases test, untest and wikidb (the global db is centralauth, as default; we also ran cetral-auth.sql). The page Special:MergeAccount is shown, but when one enters the password and submits, the following error message appears: Warning: array_map [function.array-map]: An error occurred while invoking the map callback in C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php on line 416 Internal error
 * MediaWiki: 1.13alpha (r32165) [updated daily from SVN]
 * PHP: 5.2.2 (apache2handler)
 * MySQL: 5.0.41-community-nt
 * URL: private

no wiki for meta

Backtrace:


 * 0 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(420): SpecialMergeAccount->foreignUserLink('meta')
 * 1 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(413): SpecialMergeAccount->listWikiItem('meta', 'primary')
 * 2 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(400): SpecialMergeAccount->formatList(Array, Array, Array)
 * 3 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(391): SpecialMergeAccount->listWikis(Array, Array, Array)
 * 4 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(521): SpecialMergeAccount->listAttached(Array, Array)
 * 5 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(205): SpecialMergeAccount->step3ActionForm(Array, Array)
 * 6 C:\xampp\htdocs\meta\extensions\CentralAuth\SpecialMergeAccount.php(64): SpecialMergeAccount->doDryRunMerge('meta', Array, Array)
 * 7 C:\xampp\htdocs\untest\includes\SpecialPage.php(459): SpecialMergeAccount->execute
 * 8 C:\xampp\htdocs\untest\includes\Wiki.php(201): SpecialPage::executePath(NULL)
 * 9 C:\xampp\htdocs\untest\includes\Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title))
 * 1) 10 C:\xampp\htdocs\untest\index.php(89): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(WebRequest))
 * 2) 11 {main}

(All extension files are in a directory called meta\extensions.) It also does not help to allow centralauth extension on the wiki "meta" (dbname: meta).

—84.139.61.182 12:08, 19 March 2008 (UTC)

CategoryTree Error

 * MediaWiki: 1.11.2
 * PHP: 5.1.4-Debian-0.1~sarge1 (cgi-fcgi)
 * MySQL: 4.1.11-Debian_4sarge8

Hello! I have to report an error of CategoryTree (I think it is an error, so I don't know). Following report does occur, if I open by clicking on [+] on a category page showing the subcategories (not everytimes but about every 6). In place of subcategory does appear:
 * �������������������HTTP/1.1 304 Not Modified Date: Wed, 26 Mar 2008 16:20:39 GMT Server: Apache/2.0.54 (Debian GNU/Linux) Connection: Keep-Alive Keep-Alive: timeout=10, max=499 Expires: Mon, 26 Jul 1997 05:00:00 GMT Cache-Control: no-cache, must-revalidate Vary: Accept-Encoding ��������������������

This report only appears, if I am browsing by FireFox (version Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13). If I am browsing by Internet Explorer 7 this report does not occur.

Please tell me, what is this report meaning and how can I prevent it?

Please note, that using the extension CategoryTree in Wikipedia by my FireFox, this error report does not occur.

Thanks a lot, Doc Taxon 15:27, 28 March 2008 (UTC)

Protect a namespace

 * MediaWiki: 1.12.0
 * PHP: 5.2.0-8+etch10 (apache2handler)
 * MySQL: 5.0.32-Debian_7etch5-log
 * URL: http://demorecht.de/wiki

I like to create a Namespace which only registered users can access and edit. I tried serveral ways, but nothing worked ;) The last one was to install "NameSpacePermissions" as an extension. I added this code to my Localsettings.conf :

$wgExtraNamespaces = array(100 => "intern", 101 => "Intern_Talk" );

$wgNonincludableNamespaces[] = NS_INTERN; require_once("extensions/NamespacePermissions.php"); $wgGroupPermissions['*']['ns100_read']=false; wgGroupPermissions['*']['ns101_read']=false;

$wgGroupPermissions['user']['ns100_read']=true; $wgGroupPermissions['user']['ns100_edit']=true; $wgGroupPermissions['user']['ns100_create']=true;

$wgGroupPermissions['user']['ns101_read']=true; $wgGroupPermissions['user']['ns101_edit']=true; $wgGroupPermissions['user']['ns101_create']=true;

Does anybody have an idea how to
 * disable read-access for anonymous to "intern"?
 * enable read+write access for all registered users for "intern" ?

With the settings above, it looks like anonymous users can not edit them but still view them. I know these settings are working in another mediawiki-installation (1.11.) so it might have something to do with the version 1.12.0 ?

—Validom 12:31, 11 April 2008 (UTC)

Ldap Sign with Realname instead of Username

 * MediaWiki: 1.7.3
 * PHP: 5
 * MySQL: 5.1

Hi, I have installed MW 1.7.3 with the Ldap extension and it works Great. I am searching now for an Option to Sign with Realname instead of Username because our Username is only a number. Is it possible?

--87.154.131.252 07:07, 13 April 2008 (UTC)
 * If you got your realname stored somewhere within your LDAP directory you should be able to change cn to the field where the realname is stored, see here. --Flominator 06:07, 15 April 2008 (UTC)

Hi Flominator and thanks for the answer but I will login with my Number but when I will make a sign I will see the Real Name instead of the Login Name... Means, Login with number but when you make the --~ then I will see the RealName. --87.154.129.110 06:18, 19 April 2008 (UTC)
 * Oh! I don't know how exactly to do it, but you should try to find a way to put the realname after "nickname=" in the field user_options of the user table in your database. --Flominator 09:12, 3 May 2008 (UTC)

CategoryTree + AutoLink

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

Hello,

I've been interested in three extensions but after installing them it seems that AutoLink and CategoryTree don't like eachother. After installing AutoLink CategoryTree won't work anymore. I've installed these extensions exactly how it's described at the extensions' installation pages.

http://www.mediawiki.org/wiki/Extension:AutoLink#Code

http://www.mediawiki.org/wiki/Extension:CategoryTree

Do you have any solution for this?

Thanks in advance,

Robin Jongkind —Jongkind 09:03, 18 April 2008 (UTC)

authentication questions

 * MediaWiki: 1.12.0rc1
 * PHP: 5.2.5 (isapi)
 * MySQL: 5.0.51a-community-nt
 * URL:

Hi, I need that my wiki make the authentication by LDAP, but with sAMAccountName and not with the UPN, i was trying to change the UID on the LocalSettings file to sAMAccountName but that don't work.

Installed extensions Special pages Groups Administration  Borut Toma�in Permissions (Version 1.5.104.9 (2005-08-05 11:24)) Marc Meurrens, Brussels (be) Parser hooks PropertyTable (Version 1.2.0) Outputs a table with keys and values Fernando Correia Other LDAP Authentication Plugin (Version 1.1g) LDAP Authentication plugin with support for multiple LDAP authentication methods Ryan Lane Extension functions efGroupsAdministration, fnPropertyTableExtension, wfPropertyTableParserFunctionSetup and wfSpecialPermissions Parser extension tags and Parser function hooks anchorencode, defaultsort, displaytitle, filepath, formatnum, fullurl, fullurle, grammar, int, language, lc, lcfirst, localurl, localurle, ns, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, padleft, padright, plural, properties, special, tag, uc, ucfirst and urlencode

Hooks Hook name Subscribed by LanguageGetMagic wfPropertyTableParserFunctionMagic visited from 172.26.220.80 Retrieved from "http://ualwiki/index.php?title=Special:Version"

Can you help me?

Thank you JG

Templates and calculating

 * MediaWiki: 1.12alpha (r26409)
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.50sp1a-enterprise-gpl-log
 * URL: RuneScape wikia

I mentioned the method. It is used for calculating. BUT I want to use it with another template, that template is a number. That number is autmaticly creating a comma (","). But this method doesnt work with a comma. Could it work with a comma?

dumpHTML extensions - cscript error

 * MediaWiki: 1.12.0
 * PHP: 5.2.1
 * MySQL: 5.037
 * URL:

Hallo, We are using MediaWiki 1.12.0 (Windows XP, PHP 5.2.1, MySQL 5.037). When we try to make a simple HTML-dump of our MediaWiki installation, we get this error-message: "Der Befehl 'cscript' ist entweder falsch geschrieben oder konnte nicht gefunden werden." (Command 'cscript' is either written wrong or could not be found). The offline-version of our Wiki seems to be fine - but we can neither use the left-side links (bar) nor links to pages, which use special characters (Umlaute). Maybe this might be of interest: Our online-version uses utf-8, so we had to set in LocalSettings.php "# Experimental charset support for MySQL 4.1/5.0. $wgDBmysql5 = true;" Has anybody an idea, what we do wrong? Thank you. HvK —Hvk 15:02, 28 April 2008 (UTC)

MediaWiki PageSecurity with version 1.11.0

 * MediaWiki: 1.11.0
 * PHP: 5
 * MySQL: 5.0.50
 * URL:

I've installed MediaWiki 1.11.0 and was trying to implement a security extention to prevent a user from viewing restricted pages. I tried using the PageSecurity, but when I implement the site won't display.

Is there a way to restrict all pages put into a certain namespace? What's the best method for locking down senitive pages?

Thanks,

Melissa —74.167.174.223 19:25, 30 April 2008 (UTC)


 * For an entire namespace, perhaps $wgNamespaceProtection will help you. For an individual page, you can log in as an administrator or user with enough rights and protect the page using the "protect" action tab. Smaug  [[Image:Tournesol.png|20px]] 19:33, 30 April 2008 (UTC)

Does this mean that the setting below would keep everyone but 'root' from editing the mentioned NS?

$wgGroupPermissions['root']['editroot'] = true; $wgNamespaceProtection[NS_MAIN]    = $wgNamespaceProtection[NS_USER]  = $wgNamespaceProtection[NS_PROJECT] = $wgNamespaceProtection[NS_IMAGE] = $wgNamespaceProtection[NS_TEMPLATE] = $wgNamespaceProtection[NS_HELP] = $wgNamespaceProtection[NS_CATEGORY] = array( 'editroot' );

I'm reading up on the $wgNamespaceProtection, it should work.... but when you connect to the Wiki how to you save pages to a set NS? Thx, Melissa


 * Seems like it should work. To edit pages in those namespaces then, as you have written the code, you would have to log in as a user in the "root" group.  Try it out. <font color="#006500">Smaug  [[Image:Tournesol.png|20px]] 18:27, 1 May 2008 (UTC)

Are you saying that I much create custom pages to utilize additional namespaces? I'm new to MediaWiki and trying to understand how this works. I've assigned the user to the group/namespace. Im trying to locate the data in the database to show which namespace is being used. Melissa

Drop Down Menu in MediaWiki:Edittools not appearing after CharInsert Extension added

 * MediaWiki: 1.13.0
 * PHP: 5.2.4-2ubuntu5.3
 * MySQL: 5.0.51a-3ubuntu5.1

I have added the extension Extension:CharInsert to my wiki and copy and pasted the source from MediaWiki:Edittools to my own MediaWiki:Edittools and added a couple of css items to my css file to get the style correct. The drop down menu fails to appear, however.

What could be missing from my css, elsewhere, or MediaWiki:Edittools that would cause the drop down menu to not appear like it does on MW? Thanks. <font color="#006500">Smaug  19:03, 14 May 2008 (UTC)

Working in a symlinked tree

 * MediaWiki: 1.12.0
 * PHP: 5.2.4-2ubuntu5 (apache2handler)
 * MySQL: 5.0.51a-3ubuntu5
 * URL: private (RFC 1918)

My installation structure is something like this (names changed for simplicity):


 * ~/source</tt> - the original MediaWiki source
 * ~/base</tt> - created with lndir</tt>(1), symlinks to the source to make upgrades easier
 * ~/web/wikin</tt> - the live installations

Any source hacks are done by copying files into base</tt>, also storing diffs in there. Extensions are also stored in base</tt>. Each wiki setup holds its own LocalSettings.php</tt> and its own images (for now). With this model, upgrading has previously proved to be quick and easy, with little fuss. (I can write some more about this is people are interested)

While trying to install Extension:CheckUser to one of the wikis, I get the following message: A copy of your installation's LocalSettings.php must exist and be readable in the source directory. Presumably, this means it's looking in the source</tt> rather than the live install for it. Is there any workaround to manually dropping each LocalSettings.php</tt> into the root of my source tree, such as overriding the lookup paths it uses? t.i.a.

217.36.107.9 11:50, 14 May 2008 (UTC)

Cite extension not working correctly.

 * MediaWiki: 1.12.0
 * PHP: 5.2.3 (cgi-fcgi)
 * MySQL: 5.0.24a-standard-log
 * URL: http://www.universalpanik.com/wiki/index.php?title=Juri

I'm not getting any actual error reports. But when I use my citation tags, they are not working correctly. You can see the citations if you're logged in, but not if you're logged out. You can see an example at the above URL I linked. The little [1] shows up, but the actual reference doesn't, unless you're logged in.

Cite Adds <ref[ name=id]> and tags, for citations Ævar Arnfjörð Bjarmason

If anyone can give me some suggestions of what to try to fix this, I'd be extremely grateful.

L. Nichols. —66.28.98.10 19:39, 28 May 2008 (UTC)


 * We are having the exact same problem.


 * Can anyone help out?--Matt 09:22, 26 November 2008 (UTC)

Normal user
I was trying to access the reports of Television and Fiction, but the titles are all in red, meaning that only Sysops, Bureaucrats and Editors can make the access. How can I be promoted in order to make the consulting?

Hudson

e-mail: hudsony@uol.com.br

CentralAuth problems

 * MediaWiki: always newest (from SVN)
 * PHP: 5.2.2 (apache2handler)
 * MySQL: 5.0.41-community-nt
 * URL: not public

I have two wikis installed locally where I want to test CentralAuth. The database names are 'testwiki' and 'nmdb'. This are their settings:

$wgLocalDatabases = array('test' => 'testwiki', 'nmdb' => 'nmdb'); $wgGroupPermissions['steward']['userrights']=true; $wgGroupPermissions['steward']['userrights-interwiki']=true; require_once ("$IP/extensions/CentralAuth/CentralAuth.php"); $wgCentralAuthAutoLoginWikis = array('testwiki'); // of course array('nmdb') on testwiki $wgShowExceptionDetails = true; $wgGroupPermissions['steward']['globalgrouppermissions']=true; $wgGroupPermissions['steward']['globalgroupmembership']=true; $wgGroupPermissions['*']['globalgrouppermissions']=true; $wgGroupPermissions['*']['globalgroupmembership']=true; $wgGroupPermissions['*']['userrights']=true; (The userrights settings are so weak because they are just non-public testwikis)

When I go to Special:MergeAccount on one of them, enter my password and hit the button, this error message appears:

no wiki for testwiki

Backtrace:


 * 0 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(412): SpecialMergeAccount->foreignUserLink('testwiki')
 * 1 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(405): SpecialMergeAccount->listWikiItem('testwiki', 'primary')
 * 2 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(392): SpecialMergeAccount->formatList(Array, Array, Array)
 * 3 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(383): SpecialMergeAccount->listWikis(Array, Array, Array)
 * 4 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(513): SpecialMergeAccount->listAttached(Array, Array)
 * 5 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(197): SpecialMergeAccount->step3ActionForm(Array, Array)
 * 6 C:\xampp\htdocs\mf\phase3\extensions\CentralAuth\SpecialMergeAccount.php(66): SpecialMergeAccount->doDryRunMerge('testwiki', Array, Array)
 * 7 C:\xampp\htdocs\mf\phase3\includes\SpecialPage.php(496): SpecialMergeAccount->execute
 * 8 C:\xampp\htdocs\mf\phase3\includes\Wiki.php(224): SpecialPage::executePath(NULL)
 * 9 C:\xampp\htdocs\mf\phase3\includes\Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title))
 * 1) 10 C:\xampp\htdocs\mf\phase3\index.php(92): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(WebRequest))
 * 2) 11 {main}

And when I try to access Special:Globalgrouppermissions, I get this error: The action you have requested is limited to users in one of the groups *, steward. Although I am steward, bureaucrat, sysop and of course also *!

Same with Special:Globalgroupmembership: ''You do not have permission to do that, for the following reason:

Your account does not have permission to assign user rights.''

—84.139.101.113 14:06, 31 May 2008 (UTC)

phpbb user login combined with wiki doesn't work --> exception error
After trying to log in, I get immediately this error: exception 'Exception' with message 'Unable to find phpBB installed at (http://www.riev.nl/sint/).' in C:\domains\riev.nl\wwwroot\sint\wiki\extensions\Auth_phpBB.php:650 Stack trace: #0 C:\domains\riev.nl\wwwroot\sint\wiki\extensions\Auth_phpBB.php(917): Auth_phpBB->loadPHPFiles('UTF8') #1 C:\domains\riev.nl\wwwroot\sint\wiki\extensions\Auth_phpBB.php(493): Auth_phpBB->utf8('Rick II') #2 C:\domains\riev.nl\wwwroot\sint\wiki\includes\User.php(567): Auth_phpBB->getCanonicalName('Rick II') #3 C:\domains\riev.nl\wwwroot\sint\wiki\includes\User.php(259): User::getCanonicalName('Rick II', 'valid') #4 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(371): User::newFromName('Rick II') #5 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(447): LoginForm->authenticateUserData #6 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(100): LoginForm->processLogin #7 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialUserlogin.php(17): LoginForm->execute #8 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialPage.php(678): wfSpecialUserlogin(NULL, Object(SpecialPage)) #9 C:\domains\riev.nl\wwwroot\sint\wiki\includes\SpecialPage.php(464): SpecialPage->execute('wfSpecialUserlo...', NULL, Object(SpecialPage)) #10 C:\domains\riev.nl\wwwroot\sint\wiki\includes\Wiki.php(193): SpecialPage::executePath(NULL) #11 C:\domains\riev.nl\wwwroot\sint\wiki\includes\Wiki.php(45): MediaWiki->initializeSpecialCases(Object(Title)) #12 C:\domains\riev.nl\wwwroot\sint\wiki\index.php(90): MediaWiki->initialize(Object(Title), Object(OutputPage), Object(WebRequest)) #13 {main} How can I fix this?

Maybe useful: Path to wiki is www.domain.xx/sint/wiki. My php is www.domain.xx/sint. Both are in the same database, with prefix phpbb3_ and wiki_

—75.88.81.83 00:50, 7 June 2008 (UTC)

Template:Listen
Hi ! Is it possible to embed something like the Template:Listen of Wikipedia in MediaWiki ? I din't find it anywhere. Thanks in advance ! Freeno

—85.1.36.105 01:25, 9 June 2008 (UTC)

Inputbox Search Always Includes Main

 * MediaWiki: 1.12.0
 * PHP: 5.1.6 (cgi-fcgi)
 * MySQL: 5.0.27
 * URL: Internal Network - Unavailable

The Inputbox extension alway includes the Main namespace even when it is unchecked.

The end of the URL that inputbox generates for the results page looks like:

../index.php?search=blast&ns100=1&fulltext=searchx

A search from the main page search box that successfully searches only namespace 100 looks like:

../index.php?ns100=1&search=blast&searchx=Search

TIA —Pmoors 18:27, 12 June 2008 (UTC)

Can't get confirm Edit working at all

 * MediaWiki: 1.12.0
 * PHP: 5.2.6 (cgi-fcgi)
 * MySQL: 5.0.45-log
 * URL: http:www.peacecorpswiki.org

I would really like anonymous submissions on my wiki but the confirm edit extension suddenly stopped working. I thought it had something to do with a conflicting extensions or something in the table structure changed?? So I disabled most of extensions and still it doesn't work. All the confirm edit extension files are from the same version. I posted a comment on the confirm edit discussion and would really like to hear some suggestions. Thanks, Extension_talk:ConfirmEdit

Will --Willjermuk 15:39, 22 June 2008 (UTC) —Willjermuk 01:56, 23 June 2008 (UTC)

math-extension only works in preview

 * MediaWiki: 1.10.2
 * PHP: 5.2.3-1ubuntu6.3 (apache2handler)
 * MySQL: 5.0.45-Debian_1ubuntu3.3-log
 * URL: private

I have a problem with the math-extension. I installed mediawiki and mediawiki-math with apt-get. Everything seemed fine.

Now when I use a tex-formula in one of my articles, the preview looks great. But if I submit the article and check it again, I see the tex-source:

Wiki code: $$\sqrt[n]{x}$$

Preview: $$\sqrt[n]{x}$$

Page: \sqrt[n]{x}

Can anyone help me out?

—77.87.228.67 11:16, 23 June 2008 (UTC)

I have this exact same problem and I can't find a solution anywhere. It's really boggling my mind.

Does anyone have any incite? --75.185.162.55 00:04, 7 September 2008 (UTC)

Whats happens when you uninstall a Extension??

 * MediaWiki: 1.12.0
 * PHP: 5.1.6 (apache2handler)
 * MySQL: 5.0.24a-community-nt
 * URL: private

After i unisntalled a extension (i commented the line wich called the extension) the interface dont worked. what do i have to do?

--213.60.200.97 12:14, 5 July 2008 (UTC)Silvara

Error with 'AuthPlugin'

 * MediaWiki: 1.12.0
 * PHP: 5.2.5
 * MySQL: 5.0.45
 * URL:

I'm running Wampserver 5 on a Windows 2003 Server with the above versions.

I've downloaded the LdapAuthentication.php plugin and I've found tons of info online about configuring Active Directory within MediaWiki. I also have LDAP enabled in my PHP.ini file.

However.....any time I attempt to use the code to "require_once( 'LdapAuthentication.php' );," I get this:

Fatal error: Class 'AuthPlugin' not found in C:\Wamp\www\mediawiki\LdapAuthentication.php on line 54

So what does this mean? Is there something I'm supposed to be enabling somewhere?

Any help will be greatly appreciated! —207.191.186.2 16:31, 8 July 2008 (UTC)

LuceneSearch Deamon not starting

 * MediaWiki: 1.14alpha
 * PHP: 5.2.6 (apache2handler)
 * MySQL: 4.1.20
 * URL: wiki

I have followed all documentation for setting up the LuceneSearch Deamon found at: http://www.mediawiki.org/wiki/Extension:Lucene-search

As well as documentation for setting up MWSearch: http://www.mediawiki.org/wiki/Extension:MWSearch

It doesn't appear like the deamon is starting when I run "./lsearchd", so I took the java string out of the file and ran it manually, replacing the veriables.

Both the string I ran, and the errors are below: [root@wiki LuceneSearch]# java -Djava.rmi.server.codebase=file://./LuceneSearch.jar -Djava.rmi.server.hostname=$HOSTNAME -jar ./LuceneSearch.jar $* Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.wikimedia.lsearch.config.StartupManager at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0) at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.initializeClass (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0) at gnu.java.lang.MainThread.run (/usr/lib/libgcj.so.6.0.0) Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in gnu.gcj.runtime.SystemClassLoader{urls=, parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0) at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0) at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0) ...4 more Can someone point me in the right direction as to where my error is, or possibly another log that could give me more information? -140.190.85.4 17:54, 29 July 2008 (UTC)Chet

Issue Tracker Extension not working

 * MediaWiki: MediaWiki v1.9.3
 * PHP: 5.2.1.1
 * MySQL: Version 5
 * URL: Internal Only

I have followed the installation procedure for setting up issue tracker on my wiki page however after typing into my wiki page and then saving i get a blank white page. Don't know what I am missing...

Please help?

Thanks

Michael —203.161.12.51 06:44, 30 July 2008 (UTC)

problem with #tag: in a 1.11 to 1.12 upgrade

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP:
 * MySQL:
 * URL:

i was using the #tag parserFunction in 1.11 with attributes on the same line, but the content spanning multiple lines....

in 1.12, where #tag is built-in, the 'mytag' extension i wrote only receives 'someattr' as its input.

if i omit 'someattr', however, the 'mytag' extension does see all of the content lines.

similarly, i have another tag which is invoked as....

in which the tag only receives 'someattr=value' -- but as the "content" of the tag, not one of its attributes.

in both cases, the presence of an attribute seems to cause things to fail, with the attribute becoming the content and the content being ignored.

There may be a bug in CoreParserFunctions.php, line 235 of the mediawiki-1.12.0 bundles

if ( count( $args ) ) { $inner = $frame->expand( array_pop( $args ) ); } else { $inner = null; }

I substituted array_pop for array_shift, to retrieve the last (not first) item; this now faithfully reproduces the behavior of the #tag extension in 1.11.

i would assume we're interested in "backward-compatibility" for the #tag extension; otherwise, i have lots of editing to do in my documents!!!

—BobFrankel 17:51, 3 August 2008 (UTC)

Sphinx integration giving PHP error - Function name must be a string

 * MediaWiki: 1.5.8
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.51a-community

Hi, I have configured mediawiki for Sphix search as per the wiki

But I am getting this error

Fatal error: Function name must be a string in D:\Program Files\Apache Group\Apache2\htdocs\mediawiki\includes\Setup.php on line 317

Problem seems to be in this line,

$wgExtensionFunctions[] = array( &$setup, 'setup' );

this must be something related to PHP which I am not familiar with.

I am running all this on windows XP and the Sphinx indexing etc is working fine. I tested this through the command prompt

Any help is appreciated – 66.205.89.194 02:04, 15 August 2008 (UTC)

Execute install.php from the command line?
http://sharnyl.net/wiki/index.php/Main_Page
 * MediaWiki: 1.11.0
 * PHP: 5.2.5 (apache)
 * MySQL: 5.0.51a-community

I'm trying to install the | Social Profile extension at my mediawiki, but I've run into a couple of issues. It says I have to run the install.php file from the command line but I have no idea what that means. What command line? Where do I do this at? Also, I'm getting an error message:

Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 601 Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 601 Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 148 Notice: Undefined variable: output in /home/xxxxx/public_html/xxxx/extensions/SocialProfile/UserProfile/UserProfilePage.php on line 629

—97.115.181.238 20:43, 17 August 2008 (UTC)


 * See Command line interface to find out about command line in general. Assuming you are a Windows user and your server is Unix-like, you should download PuTTY remote shell client and use it to connect to your server through SSH. Once you have opened the connection, type cd your wiki directory/extensions/SocialProfile</tt> in PuTTY and then type php install.php</tt>. If all this seems a bit too complicated, you can alternatively run the required SQL queries through phpMyAdmin interface.


 * The "error" you reported is not an error to be exact, but rather a PHP notice. In most servers, PHP notices are disabled. You should be able to turn off error reporting by adding the following piece of code into your wiki's LocalSettings.php: error_reporting(0);</tt>


 * In any case, the PHP notices mentioned above will be fixed in SocialProfile version 1.2. which will hopefully be released in near future.


 * And at least in the case of SocialProfile extension, you are more likely to get an answer on Extension talk:SocialProfile (where you initally posted this question) rather than here. -- Sayuri 20:47, 17 August 2008 (UTC)

Okay, but why do I need to connect through an SSH? I can access everything on my domain. Is there some place to get the SQL query so I can just do it manually through phpMyAdmin? I looked at the file and it's not written in a way I'm use to seeing.

97.115.181.238 02:54, 18 August 2008 (UTC)

How to show pages in categories with "includeonly" summary beside each page link
Is there any way of altering Category pages to show


 * a link to each page in the category


 * a summary of each page, generated from transcluding the "includeonly" part of each page?

Many thanks.

How to restrict anonymous users from editing all pages from Category or subcategories
How to restrict anonymous users from editing all pages from Category or subcategories

—59.95.41.82 05:54, 26 August 2008 (UTC)

decimal separators in parsing on European Wikis

 * MediaWiki: 1.13.0
 * PHP: 5.1.6 (apache2filter)
 * MySQL: 4.1.20
 * URL: http://de.wiki-products.org/

In many European countries/languages we use "," instead of "." as decimal separators in numbers. We write 10,4 kg instead of 10.4 kg. Now, this is problematic because the mediawiki parser functions don't respect this conventions and return errors on numbers with commas. This alone wouldn't be a problem, if we could adopt our whole wiki to the US convention (writing all numbers with "." instead of ","). However, this is impossible because other extensions (like semantic mediawiki) respect the European convention and adopt their calculations according to the language to which the wiki is configured. Semantic Mediawiki, installed on a German Wiki, therefore cannot handle numbers with "." as decimal separator. This is a big problem because we need both extensions on our wiki. The best solution would therefore be to find a way to make parser functions handle numbers with ",". Is there a way to do so?

This would solve many problems for us...

—Gollum 19:21, 30 August 2008 (UTC)

Problems with CentralNotice from MediaWiki subversion repository

 * MediaWiki version: 1.14alpha
 * PHP version: 5.2.0-8+etch11 (apache2handler)
 * MySQL version: 5.0.32
 * Extension:CentralNotice: (Version r36357)

Main and extensions are trunk of MediaWiki subversion repository.

As of 2008-09, the extension that is present in subversion causes significant page load problems. This is most likely by including a call to a third-site JavaScript, which does not load. Page source of pages generated when the extension is enabled, includes:

<script type="text/javascript" src="http://smorgasbord.local/trunk/index.php/Special:NoticeLoader">

This call is not present on the Wikipedia site itself. On en.wikipedia, CentralNotice is given as the same version: (Version r36357). However, the results seems to be different.

—G.Hagedorn 04:32, 17 September 2008 (UTC)

Need Help with Installing CentralAuth

 * MediaWiki version: 1.14alpha (r40823)
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 5.0.67-log
 * URL: Not public yet

I'm trying to install CentralAuth on mediawiki. I did the installation instructions and ran the .sql file in phpmyadmin. However, after I do all that, aI get a problem with the database saying that it can't access the table "centralauth", Could anyone help. P.S I didn't use $wgConf

—Techman224 12:43, 19 September 2008 (UTC)

No mainpage aftter istalling DynamicPageList-extension

 * MediaWiki version: 1.12.0
 * PHP version: 5.1.2
 * MySQL version: 5.0.26
 * URL:

Hello support-desk,

I recently installed the SpecialTaskList-extension and the dependend extensions DynamicPageList and ParserFunctions.

After that, i wasn't able to connect to my wiki mainpage (every other mediawiki site works fine). I got an "Page can not be displayed"-error.

If I comment the DynamicPageList-extension in the LocalSettings.php everything seems to work fine except the tasklist (because DPL is needed).

How can I reactivate the DPL extension without getting this error? Maybe ther is a configuration faillure... I have made no changes to the extension.

best regards, Jens Risch

—217.5.249.133 11:27, 24 September 2008 (UTC)

Invalid confirmation code. The code may have expired.

 * MediaWiki version: 1.13.1
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.67-community-nt
 * Web Server: Apache 2.2.9
 * OS: Windows Server 2003
 * URL: http://www.smartgridipedia.org

Local Test Site
 * MediaWiki version: 1.11.0
 * PHP version: 5.2.6 (apache2handler)
 * MySQL version: 5.0.37-community-nt
 * Web Server: Apache 2.2.9
 * OS: Windows XP
 * URL: localhost

I've just deployed MediaWiki for the new Wiki above. I'd like to add the ConfirmAccount extension but before deploying it I've been testing it on my local site.

On the test site, the system allows a new user to request an account and successfully sends an e-mail to the new user. When the user click the link, or pastes it into a browser, a page appears with this message:

Invalid confirmation code. The code may have expired.

The wiki works well otherwise. What am I overlooking? I don't want to try deploying this to the main site until I get it working on my test site. I notice that the MediaWiki version is different for the two sites. I've checked that the ConfirmAccount extension version is correct for the application. Could that be the problem, and maybe the main site will work without a problem?

—209.60.163.120 21:07, 25 September 2008 (UTC)


 * ConfirmAccount is supposed to work with 1.11, but if you think that's the problem, why not just upgrade MediaWiki on your test site? If that doesn't fix the problem, report it on Extension_talk:ConfirmAccount so that the extension maintainer will see it. —Emufarmers(T 01:30, 26 September 2008 (UTC)


 * Followup: I found out that the problem was that timezone wasn't set in PHP. After setting a valid timezone in PHP, ConfirmAccount started working correctly.--RKH 15:01, 1 October 2008 (UTC)

ShowHide extension not working when I save the page.

 * MediaWiki version: 1.8.5
 * PHP version: 5.1.6
 * MySQL version: 4.1.13
 * URL:

I have installed the ShowHide extension. The ShowHide functionality only works in "Show preview" screen. When I click on "Save page" it does not work. It doesn't hide the text section. Help!

Here's an example: test __HIDER__ some text

Thanks!!

—Brchun 19:47, 29 September 2008 (UTC)


 * MediaWiki version: Last Version
 * PHP version: 5.2.5
 * MySQL version: 5
 * URL: in local

Could you suggest me the hook to use for single sign-up between MediaWiki and another PHP Script. Now i managed the logout by hooking the UserLogoutComplete event. But what about login and automatic authentication (checking if is yet logged into another script).

—151.53.47.197 19:52, 30 September 2008 (UTC)

LDAP extension on WIki?

 * MediaWiki version:  1.13.1
 * PHP version: 5.2.4 (apache2handler)
 * MySQL version: 5.0.45-community-nt
 * URL:

I have set up a wiki for testing and we trying the AD configuration.

Am unable to get the AD/LDAP working. Can you please confirm if these are the correct settings which I needs to add to the localsettings.php

My installation is running on a as-is Xamp Stack (Not sure if this can make any difference)

Please rveiew the below and let me know if this is Good to work or am I missing something?

=
===================

=
=================== require_once( 'LdapAuthentication.php' ); $wgAuth = new LdapAuthenticationPlugin;

//The names of one or more domains you wish to use //These names will be used for the other options, it is freely choosable and not dependent //on your system. These names will show in the Login-Screen, so it is important that the user //understands the meaning. $wgLDAPDomainNames = array( "someName"  ); //The fully qualified name of one or more servers per domain you wish to use. If you are //going to use SSL or StartTLS, it is important that the server names provided here exactly //match the name provided by the SSL certificate returned by the server; otherwise, you may //have problems. $wgLDAPServerNames = array( "someName"=>"TheLDAPMachineName"  ); //Allow the use of the local database as well as the LDAP database. //Good for transitional purposes. //Default: false $wgLDAPUseLocal = false; //The type of encryption you would like to use when connecting to the LDAP server. //Available options are "tls", "ssl", and "clear" //Default: tls $wgLDAPEncryptionType = array( "someName"=>"clear"  );

//Search filter. //These options are only needed if you want to search for users to bind with them. In otherwords, //if you cannot do direct binds based upon $wgLDAPSearchStrings, then you'll need these two options. //If you need a proxyagent to search, remember to set $wgLDAPProxyAgent, and $wgLDAPProxyAgentPassword. //Anonymous searching is supported. To do an anonymous search, use SearchAttibutes and don't set a Proxy //agent for the domain required. $wgLDAPSearchAttributes = array( "someName"=>"uid"  );

//The search string to be used for straight binds to the directory; USER-NAME will be //replaced by the username of the user logging in. //This option is not required (and shouldn't be provided) if you are using a proxyagent //and proxyagent password. //If you are using AD style binding (TDOMAIN\\USER-NAME or USER-NAME@TDOMAIN) and //want to be able to use group syncing, preference pulling, etc., you'll need to set //$wgLDAPBaseDNs and $wgLDAPSearchAttributes for the domain. $wgLDAPSearchStrings = array( "someName"=>"uid=USER-NAME,ou=SOMEOU,dc=some,dc=net"  );

//Base DNs. Group and User base DNs will be used if available; if they are not defined, the search //will default to $wgLDAPBaseDNs $wgLDAPBaseDNs = array( "someName"=>"dc=SOMEOU,dc=some,dc=net"  );

=
===================

=
===================


 * MediaWiki version: 1.13.1
 * PHP version: 5.2.0-8+etch11 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch6-log
 * URL:

Which extension is responsible for the Search of Mediawiki. I mean the dynamic-list functionalitiy of the Search-form in the navi.

I need to find pages only with puting some letter in the input field and then get a drop-down list of articels.

So, could somebody please tell me which extension I have to install for this?

—Fightgnome 10:17, 9 October 2008 (UTC)

Template:Languages

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.0-8+etch11 (cgi-fcgi)
 * MySQL version: 5.0.32-Debian_7etch6
 * URL: http://ocaml.tuxfamily.org/

Hi, I would like to know how to activate/install this template:
 * http://www.mediawiki.org/wiki/Template:Languages

Short URL/wiki/Page title -- no root access - but I miss the Logo

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.0-8+etch10 (cgi-fcgi)
 * MySQL version: 5.0.32-Debian_7etch5-log
 * URL: http://www.wellness.andreasmgross.de

After installing the Extension http://www.mediawiki.org/wiki/Manual:Short_URL/wiki/Page_title_--_no_root_access - which worked fine for me, but except this:

The logo is not displayed any more.

---

Who knows to help?

—Andreas Groß 03:08, 22 October 2008 (UTC)
 * I found the solution on another place:
 * Problem: Web page Logo does not appear in shortened web pages but still appears on normal /wiki/index.php?title= pages.
 * Solution: Use an absolute path to the image like so $wgLogo = "http://examplewiki.org/wiki/skins/common/images/wikiheader.png";
 * Reference: http://www.mediawiki.org/wiki/Manual:Short_URL/Page_title_--_PHP_as_a_CGI_module,_no_root_access#Tips

Extension development

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6
 * MySQL version: 5.0.18
 * URL: http://wiki-reputation.cs.umn.edu

I need to add background color to every word in an article based on its age. I am confused as to what hooks i need to use for the same. Also, how do i extract words from a mediawiki article? Any help would be apprciated.

—128.101.35.44 18:26, 5 November 2008 (UTC)

Format Search Results

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.5
 * MySQL version: 5.0.45
 * URL:

I have just completed an overhaul of our MediaWiki implementation, and am now looking to improve the quality of the search results.

To this end, I have installed LuceneSearch and use it by way of the MWSearch extension.

I am curious as to how I can change the formatting of the search results to make it look more like those returned by MediaWiki or Wikipedia - remove the red highlighting for keywords, change the date format, modify colours, etc.

Any guidance you could provide would be much appreciated.

Cheers

—209.139.229.17 18:56, 5 November 2008 (UTC) (Matt)


 * Found the relevant CSS - I guess my only remaining question would be how to modify the date format that is returned by way of Lucene/MWSearch?


 * In case any one else was wondering - the date format is a user preference.

''Warning: Cannot modify header information - headers already sent by... (German)

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.2 (apache2handler)
 * MySQL version: 5.2.2 (apache2handler)
 * URL: Intranet

Hallo, ich bin leider nur dem Deutschen oder Französischen mächtig. Vielleicht kann mir trotzdem jemand helfen! Also: ich brauche ein Extension, mit dem ich Artikel oder Kategorien schützen kann. Ich hab auch genügend Extensions hier gefunden. Aber egal welche Extension ich installier, bekomme ich IMMER diese Fehlermeldung: Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\MinjusWiki\LocalSettings.php:1) in C:\xampp\htdocs\MinjusWiki\includes\WebResponse.php on line 10

Kann das vielleicht daran liegen, dass ich eine anderssprachige Media-Wiki-Version (luxemburgisch) habe? vielen dank im vorraus, --JimHawk 13:06, 11 November 2008 (UTC)

Cite extension does not work on Joomla 1 installation

 * MediaWiki version: 1.5.8
 * PHP version: 5.2.0-8+etch10 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch6-log
 * URL: http://mystic.inibap.org/joomla/karen/joomla_1

I have installed Cite on a Joomla 1 site with the mediawiki version as stated above. It does not work. I have followed the instructions in regards to putting the require once line on the LocalSettings.php page. First I got an error message saying that the class could not be found. The class is not on the Cite.php page but is on the Cite_body.php page. If you put the class onto the Cite.php page you don't get the error message but still the references do not appear. You see the text between the tags but not a footnote as should appear. Do you have any ideas on this?

Here is a link to a test page on the wiki page of this website: http://mystic.inibap.org/joomla/karen/joomla_1/index.php?option=com_mambowiki&Itemid=203

Karen Lehrer k.lehrer@cgiar.org

—Klehrer 13:16, 12 November 2008 (UTC)


 * You must upgrade MediaWiki. —Emufarmers(T 19:54, 12 November 2008 (UTC)

Proposing a new MediaWiki extension : Global Context Variables
Going on discussion started on Meta. Is it the right place to discuss it?

See Wikimedia Forum

There are arguments and analysis of the problem and why we would need it, and which kind of problems it would solve cleanly.

Contributions wellcome there. Thanks. Verdy p 22:37, 12 November 2008 (UTC)

automatically generate a list of keywords
Image:
 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL:

I have no Wiki yet - but I would like to.

Based on the latest Wiki version I have one question:

Is it possible to generate a list of keywords? I would like to have a special page with (more or less) detailed information where I find content to my keyword (like an index) inside my wiki. When you search for a article you get detailed information for the typed word. But I would like to have a printable overview about the keywords - so that I can print out the complete wiki and have a directory/indices-list

I would like to mark words inside the article (like: cost center ) and the Special page generates automatically an alphabetical list like (KEYWORD: ARTICLE Header - Place inside article)

e.G.:
 * Cost Center
 * Organisation - 10.3 Organisation Forms
 * Business - 7.5.11 Center Forms

—80.133.173.238 09:42, 13 November 2008 (UTC)

Installing TreeAndMenu

 * MediaWiki version: 1.11.0
 * PHP version: 5.2.5 (apache)
 * MySQL version: 4.1.22-standard
 * URL: www.elektro-ikt.no

Is it possible to get help with installing TreeAndMenu. I want it to show in the navigation bar at left. I can give access to the url if someone want to help me.

TST—77.110.193.21 10:03, 14 November 2008 (UTC)

(RESOLVED) Recent Vandalsim and Crash after installing CheckUser

 * MediaWiki version: 1.12.0
 * PHP version: 5.2.5 (cgi-fcgi)
 * MySQL version: 4.1.22-max-log
 * URL: http://innewscenter.net/wiki

I recently installed the CheckUser extension after I found my wiki was vandalized by a user going by the name of either Grawp or Hagger over the last few days.

Now I'm getting a database error

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "efUpdateCheckUserData". MySQL returned error "1146: Table 'inn0826408295227.mw_cu_changes' doesn't exist (p41mysql169.secureserver.net)".

—Nsgaeverine 19:44, 18 November 2008 (UTC)


 * You never ran the CheckUser install script. —Emufarmers(T 23:48, 18 November 2008 (UTC)
 * Where on the wiki is the check user install script to open command prompt and run php install.php? Nsgaeverine 17:53, 19 November 2008 (UTC)
 * The issue has been resolved, I found out that I needed to change the cu_chanes, etc. to mw_cu_changes. Nsgaeverine 20:03, 20 November 2008 (UTC)

FCKEditor integration fails with current SVN MediaWiki 1.14 rev. 43724

 * MediaWiki: 1.14alpha
 * PHP: 	5.2.0-8+etch13 (apache2handler)
 * MySQL: 	5.0.32-Debian_7etch8-log
 * URL: http://160.45.63.55/test/Main_Page ; this page is ok, but an error occurs when clicking on edit (we have no anonymous access, however).

The integration of FCK was attempted with an up-to-date MediaWiki and following the instructions. A record of the attempts is openly available. About the documentation: Note that there is some confusion with the extension already checked out in MediaWiki extensions, which is marked BROKEN and was not used. Or should it be?) The error message is:

Catchable fatal error: Argument 1 passed to Skin::setupUserCss must be an instance of OutputPage, none given, called in /usr/share/mediawiki/FCKeditor/FCKeditor.body.php on line 341 and defined in /usr/share/mediawiki/phase3/includes/Skin.php on line 560

See also http://www.mediawiki.org/wiki/Extension_talk:FCKeditor_(by_FCKeditor_and_Wikia)#Not_Working_1.14_r40286 for same error experienced by another user several months ago. Any help or experience with this?

—G.Hagedorn 15:44, 19 November 2008 (UTC)

How do you install reCaptcha extension

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 5.0.67-msl-icd1-log
 * URL: http://test.royandboucher.com/wiki/index.php?title=Special:RequestAccount

I have installed the ConfirmAccount extension and was in the process of installing the reCaptcha Extension. To say that the recaptcha.net page is quite brief, and it leaves a few things out is a big understatement.

I downloaded from the Google link, but when I activate the reCaptcha extension by adding the require_once( "$IP/extensions/recaptcha/ReCaptcha.php" ); line to LocalSettings.php, I then get a fatal error which when you add $wgShowExceptionDetails = true; to the LocalSettings.php returns Messages file for extensions ConfirmEdit is not defined Backtrace:


 * 1) 0 /home/royboucher/www/test/wiki/extensions/ConfirmAccount/RequestAccount_body.php(197): wfLoadExtensionMessages('ConfirmEdit')
 * 2) 1 /home/royboucher/www/test/wiki/extensions/ConfirmAccount/RequestAccount_body.php(78): RequestAccountPage->showForm
 * 3) 2 /home/royboucher/www/test/wiki/includes/SpecialPage.php(534): RequestAccountPage->execute(NULL)
 * 4) 3 /home/royboucher/www/test/wiki/includes/Wiki.php(224): SpecialPage::executePath(Object(Title))
 * 5) 4 /home/royboucher/www/test/wiki/includes/Wiki.php(55): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest))
 * 6) 5 /home/royboucher/www/test/wiki/index.php(93): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest))
 * 7) 6 {main}

However when I add the ConfirmEdit extension with the require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );

It initially appears to work, but ultimately ends with a fatal error Fatal error: Cannot redeclare class SimpleCaptcha in /home/royboucher/www/test/wiki/extensions/ConfirmEdit/ConfirmEdit_body.php on line 66

So how do you install the reCaptcha extension? and what parts of ConfirmEdit are needed? and should the ConfirmEdit messages be put in the recaptcha extensions directory or what?

TIA,

—Ken Roy 15:16, 23 November 2008 (UTC)


 * The ReCAPTCHA package includes ConfirmEdit. You must follow all of the installation instructions, including the ones about the key pair. —Emufarmers(T 22:02, 23 November 2008 (UTC)
 * Thanks for your response. I did follow the instructions as defined on the Carnegie Mellon site

and added the require_once( "$IP/extensions/recaptcha/ReCaptcha.php" ); to LocalSettings.php and obtained the api keys. So why am I getting Messages file for extensions ConfirmEdit is not defined. --Ken Roy 01:34, 24 November 2008 (UTC)
 * See response from Aaron Download current ConfirmEdit which resolved the problem. --Ken Roy 15:30, 27 November 2008 (UTC)
 * Noted (belatedly) on the ReCAPTCHA page. —Emufarmers(T 15:28, 30 November 2008 (UTC)

Error with Lifemarks

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.6 (cgi)
 * MySQL version: 4.0.27-standard
 * URL: http://wiki.voelkersbach.de

Hi there,

I'm german - so please sorry for my bad english :-)

I've installed the LifeMarks-Extension and when I click on Lifemarks in my SpecialPages i get this error:

"Fatal error: Cannot access protected property OutputPage::$mParserOptions in /homepages/40/d203059780/htdocs/voelkersbach.de/wiki/extensions/LifeMarks.php on line 493"

I've done everything from the howto - I have no idea whats going wrong...

What can i do?

Regards Thomas

—Thomasnoth 22:08, 23 November 2008 (UTC)


 * MediaWiki version: 1.13.1
 * PHP version: 5.2.0-8+etch11 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch5-log
 * URL:

Hallo, i have make me an own Wiki. Now I want to make an Post whith an Infobox, but it wount make. Can you tell me, how I Install/Build this feature/Extension?

Thanks

PS: you can write me an e-mail. creutznacher@gmail.com

—79.207.88.201 19:20, 26 November 2008 (UTC)