Project:Support desk/old

MediaWiki & DB2 support
Hi,

I’ve been developing a plugin for the MediaWiki to support DB2.

1) I’ve written a PHP program that converts the database from MySQL into DB2 (it creates tables identical to the tables in MySQL database and moves the data there)

2) I found that all connection to the database is done in the Database.php. I’m planning to use functions such as db2_connect (from PHP) as they are very similar to mysql_connect. I’ve also written my own functions using db2_connect… that have almost the same signature as mysql functions (I’ve done it in order to eliminate almost any differences between DB2 and MySQL in order to decrease number of changes in the current MediaWiki code. Basically I want to replace mysql function with function that I wrote without making any other Major changes in the MediaWiki code).

However, I’ve noticed that SQL statements in MediaWiki are build dynamically in many steps and placed in different files, which are very hard to track. And I’m not able to use MySQL statements directly as DB2 have slightly different syntax. For example it doesn’t accept a quoted integer in the ‘WHERE’ clause.

My question is there any particular structure how the SQL statements get build in the MediaWiki? I’ve tried to search the MediaWiki code, but I couldn’t find any consistency and I don’t want start guessing, because I need MediaWiki to be stable.

Please help!!!


 * Wouldn't it be more efficent to write a MySQL > DB2 SQL Cleaner function? And just preg_replace all the MySQL style stuff that conflicts w/ DB2?  How many syntax differences are there $DB2sql = preg_replace("/(WHERE.*?)('|\")(\\d+)\$2'/i",'$1$3',$MYSQLsql);Or is that crazy talk?


 * The problem there with SQL statements that get executed from PHP. Those statements are not hardcoded but they are built dynamically in many steps and MySQL accepts much more syntax than DB2.


 * I have to make changes in all functions that build those statements, but I don’t know exactly what those functions are and what purpose of each of them.


 * Could someone who is familiar with MediaWiki code help me to identify those functions?

Is there a bug related to template-trascluding in MW 1.10.0 and 1.10.1?
I have several instances of MW running and there is a behaviour while inserting templates from a central pool I cannot explain myself. E.g. there is a central instance let's say foo1.bar.tld and another one let's say foo2.bar.tld. And now I want to use a template hosted by foo1.bar.tld using the designated way while foo1 is the right interwiki link. (yes, iw_trans is set and scary transcluding is turned on). So here is my problem:

Instances which are based on MW 1.10.0 include that template but wiki markup within the template is ignored. Html markup works fine. Instances based on MW 1.10.1 show something like UNIQ1e69a7ad64e3f598-item140b0119235f4147 instead the included template.

Is there anyone out there who can explain that behaviour to me? --195.145.211.194 07:19, 27 July 2007 (UTC)
 * Has this been resolved? If not, have you checked BugZilla for an existing bug report?


 * Sorry I wasn't at my office for a couple of weeks. No. As I noticed this bug has not been resolved. And I searched BugZilla but no description doesn't really match my problem. Do you have any hints for me? --12:41, 14 August 2007 (UTC)

Error: Cannot redeclare property static public SpecialPage::$mList
I am trying to install Mediawiki 1.10.1 on a Suse Linux 9.3 with Apache 2.0.53, PHP 5.0.3 and MySQL 4.1.10a. After unpacking, the Mediawiki Config/Setup page tells me the environment is fine. After entering the details there Mediawiki creates the database and I get a success message. So I copy the LocalSettings.php to the parent directory and call my new wiki.

Problem: The Main_Page appears and looks good. However, whenever I click on any links refering to my Wiki (or try to create a new page), I get the following error:

Fatal error: Cannot redeclare property static public SpecialPage::$mList in class UnlistedSpecialPage in /srv/www/wiki/includes/AutoLoader.php on line 328

I reinstalled it several times, also tried Mediawiki 1.9. Same error all the time. I am guessing something is messed up with PHP / Apache setup, but I have no clue what. Both were installed using rpm-packages. Any help is greatly appreciated! Steffen

-84.72.78.136 13:21, 5 August 2007 (UTC)

Most Recently VISITED Pages
I've looked through the extensions and throughout the site and cannot find this, but I was wondering if it would be possible to make a page that displayed the most recently visited pages in the wiki.

Thanks. -Smaug 22:18, 6 August 2007 (UTC)
 * It would be possible, but you would to have to also create the mechanism to track page views. MediaWiki does not keep track of page views.  It could be done easy enough with an extension.  See  for instructions on Extension writing and examples.
 * Doesn't it? The bottom of each page contains a counter... but I suppose there's no MRU function if that's what you specifically referred to... Kareeser|Talk!

By using FckEditor with Mediawiki...
I have modified MediaWiki version 1.10.1 to integrate FckEditor by following steps from http://mediawiki.fckeditor.net/index.php/FCKeditor_integration_guide. I have also modified some code in FckEditor's files to use font color, font size and background color.

And that features are working fine. I haven't test it much. But i just want to know is this is feasible  solution to show those buttons on editor or there is some other way also available?

And yes i have also try to use the alignment buttons but it is not working. So can you help me out to solve the above things. Like i need more features on FckEditor as FckEditor is providing in its latest version.

And yes this is really really major requirement to improve FckEditor on MediaWiki site.

Thank you Viral Shah
 * If you have problems with the FCKeditor extension (either of them) for MediaWiki, you need to contact the extension writer/programmer. I personally dont' see a problem with having those extra buttons enabled except for the fact that they insert HTML rather than wikitext.  Which is how you change the color anyway in wiki.  If you have further questions regarding FCKeditor, please contact the extension designers.

Thank you for your reply. But i am not able to find extension writer/programmer page. Can you send me the link for that. and one more thing like for alignment i have commented one line in extensions\FCKeditor\plugins\mediawiki\fckplugin.js file.

//Before: _BasicElements : { body	: [ ], b		: [ "", "" ], strong	: [ "", "" ], i		: [ "", "" ], em		: [ "", "" ], p		: [ '\n', '\n' ], h1		: [ '\n= ', ' =\n' ], h2		: [ '\n== ', ' ==\n' ], h3		: [ '\n=== ', ' ===\n' ], h4		: [ '\n==== ', ' ====\n' ], h5		: [ '\n===== ', ' =====\n' ], h6		: [ '\n====== ', ' ======\n' ], br		: [ ' ', null, true ], hr		: [ '\n\n', null, true ] }, // After //Commented P tag line to show the alignment. Editor is creating align property in P tag and i think this line convert P tag with '\n'. _BasicElements : { body	: [ ], b		: [ "", "" ], strong	: [ "", "" ], i		: [ "", "" ], em		: [ "", "" ], //		p		: [ '\n', '\n' ], h1		: [ '\n= ', ' =\n' ], h2		: [ '\n== ', ' ==\n' ], h3		: [ '\n=== ', ' ===\n' ], h4		: [ '\n==== ', ' ====\n' ], h5		: [ '\n===== ', ' =====\n' ], h6		: [ '\n====== ', ' ======\n' ], br		: [ ' ', null, true ], hr		: [ '\n\n', null, true ] }, So will this be fine??

Complicated if parser function statement
I want this template to accept a single parameter but change the output relative to what that perimeter is (unnamed and named). This code works correctly if I give an unnamed parameter (where it links to Wikipedia with it) and if I specify "wikt=whatever" (where it links to whatever) but if I don't specify a parameter it defaults to Wiktionary instead of Wikipedia (which I don't want). Also, I'd like the "wikt" parameter to default to   without having to specify a name ("wikt=name"). Did you get all that? Now, is it possible and, if so, how do I do it? ;)

-Eep² 19:55, 7 August 2007 (UTC)

2 Tabbed page in Mediawiki
I see a very simple two tab page (three pages - the tab header page, the first tab page, and the second tab page [described here].

The first line on the tab header pg. references Wikipedia:Tutorial/Tabs. How do I reference this line on an internal Mediawiki for my company to create a two page tab? What do I put on the first line of the tabs header pg. to make 2 tabs on a page? I tried making it an external link, but that did not work. -Pomykala01 20:25, 7 August 2007 (UTC)


 * What exactly is the problem you are having? Did you copy over all the templates onto your wiki? --Dr DBW 01:47, 8 August 2007 (UTC)

Thanks, the problem is that I am unable to create a two or three page tab on a mediawiki. I did use the wikipedia templates, but they do no work because they call internal wikipedia pages. My MediaWiki would need to reference a templates internal to my wiki. Specifically I cant seem to recreate this template. Do you know of a mediawiki that has two pg tab or do you know a good reference tutorial on creating tabbed pages (in Mediawiki)?


 * Hmm, sorry, still don't see what the problem is. If it calls pages within Wikipedia, then you export and import them into your own wiki (or even just copy and pasting), with the appropriate template names you want to use in yours, you don't have to use what Wikipedia does.  The code looks relatively simply, just calling a number of different templates and inserting into those different page titles.  And all you have to do is ensure those templates are part of your wiki.  --Dr DBW 00:24, 14 August 2007 (UTC)

Failed connection to MySQL
I successfully installed MediaWiki and the Semantic Wikipedia from Ontoworld.org on a Windows machine with WAMP. I created my first pages but after a reset I'm getting the error message below, even though WAMP services including MySQL are successfully relaunched.

FirstWiki has a problem

Sorry! This site is experiencing technical difficulties.

Try waiting a few minutes and reloading.

(Can't contact the database server: MySQL functions missing, have you compiled PHP with the --with-mysql option? )

Thanks for your help.

Mircea -216.48.88.11 20:38, 7 August 2007 (UTC)

Mediawiki Search Engine
Hello,

Is the Mediawiki Search Engine able to search in the whole Special Site if you include extensions? For example I have included some extensions with tags like in the Special Pages. When I use the wiki search I can only search for the tags, but not the content which the extensions are returning. Is there any way that the extensions are executed when you use the Mediawiki Search? -62.152.191.66 10:52, 8 August 2007 (UTC)

Substring search question
Is it at all possible to get 'part word' searches instead of fulltext (Eg searching for 'word' would bring up 'sword', 'word' and 'words' results)? -213.249.162.132 13:25, 9 August 2007 (UTC)
 * Yes, it is.
 * You should get substring matches with the default configuration. Have you verified that your wiki is not producing substring hits?  (remember, by default, MySQL is not indexing words shorter than 4 characters)
 * I've changed MySQL to index words of 3 characters or more, however if I search for 'dame', it does not find an Article with the title 'dameware', but it does find occurrences of 'dame' in the text of the page (as 'dameware' is mentioned several times on the page). If I put the full word in to search, it finds it no problem. Slightly confused!--Nomis35 09:43, 14 August 2007 (UTC)

disabling namespace "talk"
How can I disable the namespace "talk" in a local installation of MediaWiki? BTW this solution is improper for my purposes. Thanks in advance. --WIKImaniac 13:39, 9 August 2007 (UTC)
 * What do you mean by "disable"? Stop users from writing to it?  See Help:User_rights for instructions on permissions, and the aforementioned solution will hide the edit/discussion tab.  I'd advise setting createtalk permissios to false for everyone and hiding the edit tab.
 * I'd like to prevent the namespace "talk" from appearing in special pages, e.g. in Special:Allpages (cf. the drop down choice). Is there any possiblity to deactivate a built-in namespace, just the same way as you can create custom namespaces? --WIKImaniac 09:42, 10 August 2007 (UTC)

mailto: tag
Hello,

I would like to include a mailto: code in my wiki however I am running into problems with the following: [mailto:emailaddress@123.com?subject=TEXT&body=TEST link name]   Everytime I add more text to 'body=' it formats itself as the name of link. How do add more text to the body while keeping the 'name' for the hyperlink?

-Pomykala01 18:19, 9 August 2007 (UTC)
 * You have to URL encode the body (you can't have spaces in a URL - they are encoded to %20. Visit http://meyerweb.com/eric/tools/dencoder/ and encode your body text.  then paste it after the &body= argument.  NOTE - URLS can not be longer than 2048 characters (AFTER encoding).

How do I create a expandable subcategory?
I am using mediawiki. This my sidebar. Is there a way to make each section under webs to be able to expand where I can put subcategories???

-Chicagoboy 18:41, 9 August 2007 (UTC)
 * Webs
 * mainpage|Main Page
 * PRODUCTS|PRODUCTS
 * ACTIONS|ACTIONS
 * SERVICE|SERVICE
 * sandbox|Sandbox
 * Online Help
 * portal-url|Portal
 * currentevents-url|Current Events
 * recentchanges-url|recentchanges
 * randompage-url|randompage
 * helppage|help
 * There isn't currently a way to use multiple levels in your sidebar. I've seen a few people working on the problem currently and it has already been requested as an enhancement.  The closest extension currently is Extension:Tree_view - however that usually replaces your entire navigation with a tree view.

I'm having trouble installing this. I've downloaded the Treeview.php and uploaded it but I'm not sure where to put the code in my localsettings.php. Can you advise?


 * Contact the developer of the extension, best idea to do that is via the talk page for the extension. --Dr DBW 00:27, 14 August 2007 (UTC)

workflow plug-in
Dears,

There are some plug-in that implement workflow to approve page contents. Please help me

Thanks Expedito Junior (BR) -200.225.90.10 20:03, 9 August 2007 (UTC)
 * No, not currently. See Extension:FlaggedRevs for an extension that is currently under development.

HTML not being evaluated
I have the latest stable version of MediaWiki installed. However, I notice that I cannot do some things that I see on WikiPedia and other MediaWikis.

In particular, if I try to hardcode a "td" in a Wiki table, on WikiPedia a new cell appears. However, on my setup the HTML is displayed. If I make the table with "table" tags instead, things work fine.

I've also tried copying the Template:Tnavbar template to my system, and when I use it I get an extra "/span" after the "edit" and the three links are not the right CSS class.

Is there a setting I need to set to make sure that HTML tags are evaluated in more situations? -TedPavlic 20:41, 9 August 2007 (UTC)


 * See Manual:Configuration_settings for available HTML related settings. a TD should be evaulated by default, but you MUST properly code the entire table:

Yields:




 * I think I should have given a better example. Let's take the following code...


 * ...which produces (on MediaWiki, which I think is running alpha software)...


 * Cell4 is actually a cell. However, on my system, I get this result:


 * I see similar results when, for example, starting  and ending   tags are buried in separated  statements (or similar); the closing   gets displayed rather than evaluated. --TedPavlic 18:26, 10 August 2007 (UTC)

CategoryTree not working (Maybe AJAX????)
Hi guys hope you can help. I cannot for the life of me get the CategoryTree extension to work. Im running both IE6 and Firefox. I have tested that javascript is working correctly with a script, and it is. I have downloaded both the bundle from the svn site and tried the old version of it, both with no success. When I input the categorytree tag in a page, I get the [-] tag next to the category, but when I click on it, nothing at all, even though there are pages in this category. I have made the necessary changes to LocalSettings.php with $wgUseAjax = true; require_once( 'extensions/CategoryTree/CategoryTree.php' ); and still not working, even after clearing out the cache. I have tested by changing the name of the CategoryTree folder in the /extensions directory, and it does throw an error, so its finding the folder correctly. Is there anything else I can do? It seems like this extension is a bit fragile somehow, or is there any other debugging or testing that AJAX is working correctly? Thanks guys. Simon -58.175.34.89 22:03, 9 August 2007 (UTC)
 * Try
 * Hi Tim!
 * Mate thanks so much. Ill give it a go right now and let you know :>)
 * Tim! YOUR A CHAMPION!! That worked! Thank u so much. Ive spent a couple of hours on this and youve helped me no end!! Thank u mate!!
 * np. BTW, don't forget to check around the site and look for examples before asking your questions here. ;-)

Initial View of Category Tree
Guys last question for today. I have the CategoryTree now working (thank you Tim!). Just a little issue is that when the page is loaded, it seems to expand all levels. So I have: [-]Category Page Page [-]Category Page Page [-]Category Page Page Instead of what Id like which is the following: [+]Category [+]Category [+]Category Then when Id click on each Category, it expands out to show the pages. Iv tried the following with no luck. Sorry last question. :>) Simon -58.175.34.89 23:15, 9 August 2007 (UTC)

How do I update search index after importDump?
This question is about migrating pages from one wiki to another.

I created an XML dump from an old site, using the command-line tool dumpBackup.php. I then used the command-line tool importDump.php to import pages into the new wiki. This imported the pages just fine.

The pages show in the Special:Allpages page. But when doing a search, the imported pages are not included in the search.

What process do I run so that all the pages are included in searchs?

-Xxaxx 01:49, 10 August 2007 (UTC)
 * Specifically, what pages did you import? Are they general articlespace pages, or user/talk pages? Kareeser|Talk! 17:21, 12 August 2007 (UTC)

StringFunctions page name variations
Please see Extension talk:StringFunctions for my question. -Eep² 06:28, 10 August 2007 (UTC)

Downloading extensions with .sql and .js files
When I want to download an extension with .sql or .js files like this, I click on "download" and I what I see is the text of that file. It doesn't download that file. When I click on "download" by .php files, it downloads that file normally. Do I something wrong? Or is this normal? Thank you, SPQRobin 10:04, 10 August 2007 (UTC)

Use the rightklick and save ass... 91.17.76.185 01:30, 11 August 2007 (UTC)
 * Oh, yes. Thank you, SPQRobin 18:25, 12 August 2007 (UTC)

Warning: require_once
I get the following error when opening my wiki:

Warning: require_once(./includes/Defines.php) [function.require-once]: failed to open stream: No such file or directory in /var/lib/mediawiki1.7/index.php on line 30

Fatal error: require_once [function.require]: Failed opening required './includes/Defines.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/lib/mediawiki1.7/index.php on line 30

However, the directories stated above are all existing. Please help me out, as hours of working might be lost now. PS: The wiki is installed on a Linux and wiki is version 1.7

Many thanks in advance! -13:01, 10 August 2007 (UTC)
 * Check user permissions? Kareeser|Talk! 17:18, 12 August 2007 (UTC)
 * Found the solution: uninstall en reinstallation helped me out. But anyway thanks to Kareeser! 10:41, 13 August 2007 (UTC)

How /Where to define the class of a table?
Tables like  {| class="infobox" cellspacing="2"  have a class. If i copy a template that has this class form wikipedia to my own wiki the class is not known like here and formatting looks bad. Where do i define this "class"? how do copy this class form wikipedia to my own wiki? Or where is this documented? -Leuk he 13:09, 10 August 2007 (UTC)
 * If you copied this you can find the content of this CSS class here. You just have to copy the classes you need to your http://wiki.emule-web.de/index.php/MediaWiki:Common.css. --WIKImaniac 15:03, 10 August 2007 (UTC)
 * Thx. That was the hint i needed. -Leuk he 16:05, 10 August 2007 (UTC)

Ich würde auch den kompletten Skin ändern, den Standartskin finde ich nicht gerade schön... 91.17.76.185 01:29, 11 August 2007 (UTC)

Notification of article moved or deleted
I have been looking thru this site and I can not seem to find anything about sending a email to the creator/last editor of a wiki article letting them know it has been moved or deleted. Am I just overlooking it somewhere, or is this something I need to write a hook for?

-143.166.226.57 14:27, 10 August 2007 (UTC)

Use the RSS Feed from your WIKI 91.17.76.185 01:28, 11 August 2007 (UTC)

That is not what I am looking for. I am looking to see if there is a hook that is called when a article has been moved or deleted. So I can write a plugin to handle this.

How do I edit the "Create Account" screen in MediaWiki?
I want to change the Create Account screen so that Real name and Email address are no longer listed as optional. Help! I am using MediaWiki 1.10.1 with MySQL.

ANSWER: I've answered my own question. You open Special:Allmessages while logged in a sysop and edit the text from there.

-216.191.251.130 15:33, 10 August 2007 (UTC)

Speed up wiki
Does anyone know of things I can do to speed up my wiki. Memcached doesn't work on my server, but I have SSH access to run some programs.-141.158.61.42 18:51, 10 August 2007 (UTC)

@141 You can save the page as a Static page ..91.17.76.185 01:33, 11 August 2007 (UTC)

structured data input mechanism
I am looking for a structured data input mechanism, like a data form that the user simply fills out and clicks "Save", and the data is saved, perhaps in a template format where an existing template formats and displays the data. The handling for the users must be easyer... Are ther any Mod? -91.17.76.185 01:25, 11 August 2007 (UTC)


 * Simple Forms, Semantic Forms, and DataTable come to mind off hand, but see Category:Table extensions and Category:Form extensions for others. -Eep² 09:08, 11 August 2007 (UTC)

abbr and acronym tags -- not sanitary enough?
Why does MediaWiki not whitelist the  and   tags? It leaves a commented spot for them in its whitelist in the Sanitizer code. Shouldn't they be present? After all,  is present, and it's almost identical to them. -TedPavlic 03:09, 11 August 2007 (UTC)


 * Seems they were forgotten. There's also an open bug about this. I seem to recall Brion vetoed further whitelisting at some point in the past... robchurch | talk 05:34, 11 August 2007 (UTC)


 * That seems a little silly since there is a comment about abbr and acronym already in the PHP. It's as if they were specifically excluded. Maybe someone can write an extension to modify these. Then that extension modifier can keep up to date with W3C. Oh, well... -TedPavlic 16:45, 11 August 2007 (UTC)

Media Wiki only send Email to one Email Address on the registered list
I've setup apache_2.0.59-win32-x86-no_ssl, mediawiki-1.10.1 locally. I've configured Wiki to send out Email but It sends out Email to only one user on the list at a time. For example: I registered user_One@hotmail.com, user_Two@yahoo.com. They both have the same configuration on Wiki(Reveal my e-mail address in notification mails, E-mail me when a page I'm watching is changed. etc...). When I ( another different user ) edit the Main Page on Wiki, it only sends out Email either for user_One@hotmail.com or user_Two@yahoo.com. What I want is: I want Wiki sends out Email to  all the registered user(s) with the check mark in front of "Watch this page". Please help. Thanks in advance.

ogg upload
-196.207.40.212 09:09, 11 August 2007 (UTC)

Hello,

Can you please tell me where to upload ogg audio files to for playback via the wiki?

http://en.wikipedia.org/wiki/Template:Listen

I cannot see any path listed to the audio file to link to it externally... Many thanks.

Michael.

Question about headers and side navigation?
Is there a way to add a header? I'm mainly looking to add my site's main navigation layer.

Additionally, is there a way to remove the logo area and move up the side navigation?

I'm sure there are ways to do both of those, I guess the question becomes where do I alter the code?

Thanks, Jim R.


 * Hello Jim,


 * Please refer to http://www.mediawiki.org/wiki/Help:FAQ#Changing_the_Interface ... Does this solve one of your problems?

Error creating thumbnails/galleries
recently had to move our mediawiki 1.6 from one server to another. site seems to load fine, and database appears intact. however, users are getting errors when trying to create thumbnails and galleries.

example: Error creating thumbnail: /var/www/vhosts/mysite.com/httpdocs/wiki/bin/ulimit.sh: line 6: /usr/bin/convert: No such file or directory

where do i edit/change/fix this and how? thanks for any assistance!

-71.80.132.242 17:18, 11 August 2007 (UTC)
 * Either ImageMagick is not installed, or is installed in a different directory. The system path to imagemagick (or rather, convert), is hardcoded in LocalSettings.php Kareeser|Talk! 17:14, 12 August 2007 (UTC)

thanks for the info! given the path i've listed in this error, how can i re-install ImageMagic? also how should my localsettings.php file read? -71.80.132.242 17:18, 12 August 2007 (UTC)

"offline" off server use of MediaWiki or similar possible?
From what is available about MediaWiki on en.wikipedia.org, that is currently not possible, but... --Organizex 17:38, 1 August 2007 (UTC)
 * 1) Is it being planned in the future version?
 * 2) What are some wiki softwares that can be used off line and have similar editing syntax, wikiTeX like MediaWiki, etc?
 * What do you mean by "offline" and off server? As long as you can install a webserver (usually Apache2), MySQL, and PHP Supoprt, you should be able to get it going.  Do you want to use it in an internal netowrk?  Or like locally just on your own computer?


 * Yes, that is correct. Organizex 08:43, 2 August 2007 (UTC)
 * Which? Local Network?  Or just Your Computer?
 * I have no preference between the two except the main objective of not requiring an active internet connection.Organizex 03:01, 9 August 2007 (UTC)
 * Yes, you can run the mediawiki server offline. If you are worried about security, you can set apache to allow only 127.0.0.1 (localhost) to have access, and deny access to anybody else. All you need is Mediawiki, Apache, PHP, and MySQL Kareeser|Talk! 17:13, 12 August 2007 (UTC)
 * Thanks, I will post again after I have looked into Apache.Organizex 07:06, 13 August 2007 (UTC)

Bureaucrat deleted
-201.223.151.232 11:13, 12 August 2007 (UTC)

I have a mediawiki software in a comunitary wiki, installed and when i move the privileges of my user, i lose the bureaucrat privilegies and anybody have thart privileges. I need to restore the bureaucrat, how i can do this?
 * Can you access Special:Userrights on your wiki? Kareeser|Talk! 17:11, 12 August 2007 (UTC)

I can't see. This is the trouble.


 * If it won't mess it up too bad, you might have to reinstall the wiki. Back everything up, and then reinstall with the settings you want. Smaug  20:29, 13 August 2007 (UTC)

Problem to add files
-192.118.88.2 11:14, 12 August 2007 (UTC) Hello, I have a problem to attache file. The side bar is not appear. any idea? Regards Elad


 * Hello Elad,


 * You must enable file uploads in LocalSettings.php, by changing the value of $wgEnableUploads from false to true. Kareeser|Talk! 17:10, 12 August 2007 (UTC)

Apache Error Log...
Hello everybody,

I've been getting this error logged in the apache log every time somebody goes to a page (any page on the wiki):

[Wed Aug 08 14:49:59 2007] [error] [client (IP)] File does not exist: C:/[System path to wiki]/wiki/common, referer: http://sesdb.kareeser.com/wiki/Main_Page

Weird that it's trying to access just the "common" folder, and nothing inside... could it be a permission problem?

Thanks! Kareeser|Talk! 17:09, 12 August 2007 (UTC)


 * I probably can't help you, but did this error start right after you installed the wiki, after something else happened or you did something, or did it start randomly? Smaug 22:14, 12 August 2007 (UTC)

Links that show up in another window

 * 1.10.1 is the version I am using.
 * PHP 5 but I am not a programmer so any solution in the guts of the coding would not be where I want to go :0)

In HTML as an example - Urbizzness

target="other"

makes the link appear in another browser window or tab depending on the type of browser.

When using the Wiki syntax

Main Page - UrbizznessWiki

- How do you get the link to show up in another window or tab in similar manner as target="other" in HTML?

Also is there a way to get the browser to show up in certain dimensions?

-70.71.227.100 22:27, 12 August 2007 (UTC)
 * Maybe you mixed up "target other" and "target _blank" for opening a page in a new window. If you want to open all external links in a new window you just have to change one single line of code in the file \includes\Linker.php. Change line 674 from

return ''.$text.'';
 * to

return ''.$text.'';


 * That works...thanks. I did however have to change target="_blank" to target="_other" before the Wiki software would deliver outside links to another browser tab. But now she works fine....excellent.


 * Could someone have a look at my question above, please? --WIKImaniac 12:35, 13 August 2007 (UTC)
 * If you find out the answer, tell me because I'd like to know too.... Smaug 14:51, 13 August 2007 (UTC)

Cant find any information (Please Help)
Hi, Ive been searching for days trying to find the syntax required to have the Category Tree not expanded by default. I cant find any appropriate information on how to do this. The main page for CategoryTree doesnt have it either. -58.175.34.89 01:27, 13 August 2007 (UTC)


 * Have you attempted to contact the developer? --Dr DBW 00:35, 14 August 2007 (UTC)

help changed url address:Solved
I was currently running wiki off my first domain but now I want to run it off my second, but the thing is it gives me an error page, domain it was installed on = http://insane-monkey.com/xudas but I want it to look like this http://xudas.com/index.php?title=main_page but its not working could you tell me what file I have to change the url code in, please email me at squeggie@gmail.com, ty


 * Did you just ocpy and paste all the files? You may have to go in to the code and change what the location is, and what the MySQL database is if it's changed.  I don't know how to do this, though, sorry. Maybe in LocalSettings.php? Smaug  20:27, 13 August 2007 (UTC)


 * I figured it out, I had to change the file that it was located at and just delete it, thanks

New Error Creating Thumbnails
I put a fresh copy of the ulimit.sh in the bin/convert folder, but now I get this message:

Error creating thumbnail: sh: /usr/bin/convert: No such file or directory

These are the contents of that file:
 * 1) !/bin/bash

ulimit -t $1

ulimit -v $2 shift 2

"$@"

Any ideas? -71.80.132.242 18:34, 13 August 2007 (UTC)

Update prob
I updated MediaWiki 1..2 to MediaWiki 1.10.1. Now I get a Internal Server Error http://www.zimwiki.com/index.php --70.67.167.157 21:29, 13 August 2007 (UTC)


 * A Zim wiki! Awesome idea!  I love it.  I dunno how to help you with your problem, though, sorry. :( <font color="#006500">Smaug  22:54, 13 August 2007 (UTC)

2nd prob
I fixed it :) (the permissions were wrong) but now I get this error "Too many redirects occurred trying to open “http://zimwiki.com/index.php/Main_Page”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page." I suspect it's from me fiddling around to much trying to fix the 1st problem.


 * What redirects do you have to or from that page? Also, what did you do to make the address "index.php/Main_Page"?  (I've only seen index.php&title=Main_Page and straight up Main_Page.)  Are you sure that is the address?  It's weird seeing what appears to be a php file where a directory should be. <font color="#006500">Smaug  14:37, 14 August 2007 (UTC)
 * 1.10.1 supports the index.php/Main_Page syntax by default - if you go to http://www.zimwiki.com/index.php?title=Main_Page, it redirects to: http://www.zimwiki.com/index.php?title=Main_Page" (note the extra double quote at the end - that ain't right... Maybe it's time to just re-run the config and copy some of the generated LocalSettings.php settings over to your hacked up LocalSettings.php (make sure to follow procedure and backup your existing stuff).  You do NOT need a mod_rewrite for the index.php/Main_Page syntax - mod_rewrite is for the Short URLs.  Also note that the true url still works fine: http://www.zimwiki.com/index.php?title=Main_Page - wiki is up, config is junk.  Run the setup/config again.

Help to configure users, groups and permissions for a determinated word or entry
-80.34.202.56 07:06, 14 August 2007 (UTC) I need some help about how can I configure my own wiki for only permit a determinated user to create/modify some entries but not the rest. I've been reading the docummentation and trying to find out the solution but it's impossible for me...

Thanks in advance, Susan


 * You can protect pages on a page-by-page basis, and then only administrators (or maybe other user levels, I dunno, but not basic users) can edit them. Is this what you are looking for? <font color="#006500">Smaug  14:38, 14 August 2007 (UTC)


 * See Extension:PageSecurity - Note rob's comment on that page - MediaWiki isn't designed for that sort of protection.

My wiki is acting up; it's slow or doesn't load at all
Just recently the main page of my wiki (located at http://www.uDIY.org) started loading very slow. Sometimes it won't load at all. It's impossible to navigate to any page other then the homepage. I recently integrated FCKeditor into the code (so the editing was wysiwyg) and thought this might be causing the issue, after removing all the FCKeditor code the site is still not working properly. I have some subdomains on the same server and they work fine, so I don't think it's a server issue.

Also, when the site loads properly the correct favicon (the letter 'U') is displayed, when it doesn't load properly the letter 'W' is displayed. I use the 'W' favicon for one of my subdomains.

I am using
 * Mediawiki version 1.10.0
 * MySQL database, version 5.0.27-standard-log
 * PHP version 5.0.5

Thanks in advance for the help. -69.137.221.147 15:11, 14 August 2007 (UTC)

Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.
I have a MediaWiki wiki and thus far it has been operating without issue. Some time later Friday night or Saturday however anybody logging in started to get the error message

"Login error: NerdFest uses cookies to log in users. You have cookies disabled. Please enable them and try again."

If you select "Remember my login on this computer" then it will still error out, but will show you as being logged in. Any attempt to edit a page however throws out the error; "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in."

Originally i thought that this was just a MediaWiki error and tried to re-install the php aspect of it while keeping the database in tact. Same error. So I decided to be especially thorough in my troubleshooting and I created a new sub-domain, with a new installation of mediawiki and a new database. Still nothing. For all of these instances I made sure I cleaned out my cookies and set up the site as a trusted site. I put in several tickets with my host and they basically said it was a mediawiki issue and I should take it up with y'all. I'm still under the belief that this is a PHP and SQL issue, but I thought it best to rule this one out first.

PHP 4.3.11 (They also have an undisclosed version of 5 installed.)

MySQL version	4.1.22-standard

MediaWiki version 1.5, 1.6, 1.7, 1.10

-12.46.128.66 18:55, 14 August 2007 (UTC)

Special:Search checkboxes
I have looked extensively through the code, but cannot figure out how to acheive what I want to do. I want Special:Search and search results to not display all the namespaces at the bottom, only some of them. All the talks, for example, I wish to do away with, as they are unused.

Thanks. <font color="#006500">Smaug 22:14, 12 August 2007 (UTC)


 * I think I found where it is, but I still dunno how to do it. In includes/SpecialSearch.php, there is a function powerSearchBox which I beleive to be the checkbox creator.  I do not have the necessary php skills, yet, to change it without messing it up.  How might I go about doing this?  Thanks. <font color="#006500">Smaug  01:44, 14 August 2007 (UTC)


 * Actually, I think you need to do it where ever  is set.  Somehow limit / change what that is, then all the other things will follow on automatically from there. --Dr DBW 02:24, 15 August 2007 (UTC)

No page
I am running Mediawiki 1.10.1 on a SuSe 10.1 Apache 2.2 server with php5. For some reason, I can't see anything on the page, when i go to its directory, and the properties of the file suggest that it is 0kb in size. I tried every other .php file, and only the index in /config file gave me any data Please help, as I have been trying everything i can think of and it hasn't worked yet

Ben (Bman22@gmail.com) -76.113.4.2 01:07, 15 August 2007 (UTC)

I have solced my own problem. For some reason, the LocalSettings.php was configured for a different system, thus confusing the wiki.