Project:Support desk/old

Remove exposed personal Information...
I have talked to someone in MSN, this game hacker I found out, is it right for them to post private information (a MSN chat log), on his wiki site without my permission? —67.159.41.122 05:02, 5 November 2007 (UTC)
 * That's not a MediaWiki related topic, you'd need to read the MSN privacy policy and the details of their registration agreement. --Nad 07:44, 5 November 2007 (UTC)

Inserting Page Content into Another Page
I am sure I read it somewhere that you can do it, but for the life of me can't find the information again. So, is it possible to, or how do you, insert the content of a page into another page, not using a template? Is the only way using the preload feature? -- Dr DBW |  talk  05:59, 5 November 2007 (UTC)
 * What exactly do you want to do that makes templates inappropriate? aside from templates and preloading, there is also subst which expands the template at save time rather than whenever viewed. --Nad 06:34, 5 November 2007 (UTC)
 * Have a one off where have an existing page with text that want to insert into another page. Could go via the path of transferring that over to a template, then inserting that template into both pages, but I thought I had read about another way of doing it. -- Dr DBW  |  talk  22:12, 5 November 2007 (UTC)
 * I still don't get what you're wanting to do exactly, could you give an exact use-case? --Nad 22:40, 5 November 2007 (UTC)
 * Was just looking for a technique to take the content of an existing page and insert it into another page at some point. Thought I had read you could do that somewhere, without having to go to the existing page, editing, copying the contents, then inserting it into the other page.  Sounds like I was mistaken, which is more than likely as come across a lot of stuff here and end up forgetting most ;-)  -- Dr DBW  |  talk  23:02, 6 November 2007 (UTC)

Issue with LDAP connectivity
Good morning,

I have win2003 Server running IIS, MySQL and PHP 5.2.3. I've followed the documentation to configure LDAP authentication. I am however getting an error at the foot of my media wiki site which is "Error in my_thread_global_end: 1 threads didn't exit PHP Warning: Module 'ldap' already loaded in Unknown on line 0"

Any ideas where I'm going wrong?

—Oscartrashcan 10:05, 5 November 2007 (UTC)

HTTP Edit Call via POST
Hello,

I've been here a couple times before ;) one of those times was . The Perl script, unfortunately, did not get the job done as I had expected.  It required entirely too much modification, to the point that it just wasn't worth doing.  I abandoned the idea for a while, simply because I was too busy; well, now I'm back again ;)

I'm trying to do the job in PHP. I would use the pecl_http library, but I just can't get it to build in the server's shell - so I'm doing it with raw fsockopen-based calls; doesn't make it that much more complicated. Anyway, I had it to the point that it was submitting - but the server was returning an error page, stating that the edit failed due to a loss of session data. Makes sense, since I wasn't sending it the session cookies. So I added the cookies - and now it seems to just hang; it even locks up the httpd master process, and I have to restart the daemon. Here's the code:

// $this->wpStarttime is set to date('YmdHis') at the beginning of the script. // $imported, $updated, $updatedNum, and $unchanged are all set as parameters to the method call. $n = "\r\n"; $data = 'wpSection=&wpStarttime='. $this->wpStarttime. '&wpEdittime='. date('YmdHis'). '&wpScrolltop=&wpSummary='. urlencode($imported . ' new spells; ' . $updated . ' updated spells ('. $updatedNum. ' total changes); ' . $unchanged . ' unchanged spells'). '&wpSave=Save+page&wpTextbox1='. urlencode($this->changes_str); if(!$s = fsockopen('localhost', '80', $errno, $errstr, 15)) { $r .= 'ERROR: '. $errno. ' - ' . $errstr; } else { stream_set_timeout($s, 10); fwrite($s,		'POST /wiki/index.php?title=Patch:SpellChangesByDate/' . substr($this->wpStarttime, 0, 8) . '&action=submit HTTP/1.1' . $n .		'Host: eq.knowledgepit.org' . $n .		'Cookie: kp_eq__session=' . urlencode($_COOKIE['kp_eq__session']) . '; kp_eq_Token=' . urlencode($_COOKIE['kp_eq_Token']) .			'; kp_eq_UserName=' . urlencode($_COOKIE['kp_eq_UserName']) . '; kp_eq_UserID=' . urlencode($_COOKIE['kp_eq_UserID']).			$n .		'Connection: Close' . $n .		'Content-Type: application/x-www-form-urlencoded' . $n .		'Content-Length: ' . strlen($data) . $n . $n .		$data	); while(!feof($s)) { $r .= fread($s, 256); } } fclose($s); return $r;

Like I said, it works like a charm (well, sort of, it of course does not actually save the data) when I remove the cookies. Do I need to remove one of the cookies? Or add another?

Thanks for your time,

68.80.149.10 14:37, 5 November 2007 (UTC)
 * I'm assuming this script is not running from within the MediaWiki environment (otherwise you'd just be calling the Article::Edit method), so in that case how has $_COOKIE been set with the correct values? I'd recommend using PERL which can achieve a form submit in a few lines and handles cookies etc for you. --Nad 21:33, 5 November 2007 (UTC)
 * Actually it is running from within MediaWiki (in the script of a special page, specifically) - I didn't take notice of Article::Edit method, the last time I was here I was only pointed toward those Perl scripts ;) I figured there had to be something along the lines of Article::Edit, but just couldn't find it. Always helpful, thank you ;) 68.80.149.10 01:28, 6 November 2007 (UTC)
 * Just wanted to drop back in and say it worked like a charm. Thanks again ;) 68.80.149.10 02:56, 6 November 2007 (UTC)

Page creation and redirection in PHP?
Is there a way to automate the creation of one or more pages, ending in the opening of a specific page? For example, I'd like to have a script that's called with two arguments, title and id: ....idtopage.php?title=TITLE&id=ID When this script is executed, I want it to check for the existence of the page ID in the wiki, and if present to display it; if not, it should create the page with title TITLE, then create the page with title ID as a simple (protected) redirect to the page TITLE, and then display the page TITLE (which will be a page creation page, if TITLE doesn't exist). Any suggestions or pointers on how to do this are appreciated! —Aldaron 04:29, 6 November 2007 (UTC)
 * If you're wanting to do this from an external script, see Project:Support desk/Archive 11 for info on some solutions. However if this code is to be done from MediaWiki, then you'll need to call the Article::Edit method for updating or creating pages. See MediaWiki code snippets for some related example code. --Nad 21:39, 6 November 2007 (UTC)

How can I delete "Edit"
Hi,

Sorry, i'm french.

How to remove "edit" at the right of each section? If i have 3 sections, a TOC appears and "edit" for each section.

Thanks. Yves
 * If you want to remove the edit links on a per-page basis, add to the article content. To remove them from all pages add .editsection { display: none } to your MediaWiki:Common.css article. --Nad 21:33, 6 November 2007 (UTC)

Search results
Hi,

I just installed mediawiki on my website, but there is only one thing that I can't found how to change.

When I do a search in wikimedia, in the result I have : Title and Relevance.

But with my version I have a lot of other informations that I don't want.

Do somebody know how I can change this?

Thanks in advance.

Regards.

—Calipanpan 13:01, 6 November 2007 (UTC) —71.80.132.242 01:21, 7 November 2007 (UTC)

Database hosed after move
hello. i recently had to move from one vps server in a host's site to another vps server on the same host's site. i decompressed a tar file of the entire mysql folder for the wiki's database into the corresponding folder on the new server as well as tranferred the http folder structure over. now, when users connect, we get this error:

A database error has occurred Query: SELECT user_name,user_password,user_newpassword,user_email,user_email_authenticated,user_real_name,user_options,user_touched,user_token,user_registration FROM `media_wiki_user` WHERE user_id = '2' LIMIT 1 Function: User::loadFromDatabase Error: 1016 Can't open file: 'media_wiki_user.ibd' (errno: 1) (localhost)

Backtrace:

GlobalFunctions.php line 602 calls wfBacktrace Database.php line 473 calls wfDebugDieBacktrace Database.php line 419 calls DatabaseMysql::reportQueryError Database.php line 806 calls DatabaseMysql::query Database.php line 825 calls DatabaseMysql::select User.php line 720 calls DatabaseMysql::selectRow User.php line 667 calls User::loadFromDatabase Setup.php line 229 calls User::loadFromSession index.php line 80 calls require_once

any ideas?

-71.80.132.242 —71.80.132.242 01:21, 7 November 2007 (UTC)
 * You may have to check or repair tables. In future you should do a mysqldump to backup your database in SQL, copying the files is risky and unportable as a slight configuration or version difference on the target server can cause problems. --Nad 07:08, 7 November 2007 (UTC)

Novel/Book Formatting help needed
I need the ability on my MediaWiki for users to paste text versions of rather long stories and have them appear on a wiki page and preserve the simple book formatting. So, each paragraph has two spaces as indentations on the first line and the text is displayed with fixed width which auto-breaks and does not run off the page. I do not want users to have to edit their entire document inserting special breaks or anything. I want the ability to paste the text as-is and then maybe just have them wrap the whole thing in some tags or encapsulate it in some table or something so it displays like a book. Here are my attempts and why they don't work:

'Attempt 0: If I paste the text as-is, the two spaces at the beginning of each paragraph causes wiki to indent the whole paragraph and doesn't auto-line-break... it just runs off the page:'

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A quick brown fox jumped over the lazy dog.

'Attempt 1: If i use the 'pre' tag it doesn't auto-linebreak the text to the window width. Also, the two spaces at the beginning of the paragraph causes wiki to indent the whole thing:'

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A quick brown fox jumped over the lazy dog.

Attempt 2: Putting it in a table of fixed width doesn't do the trick either:

Attempt 3: If i use the 'nowiki' tag it doesn't recognize linebreaks and runs everything together:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A quick brown fox jumped over the lazy dog.

—76.25.250.72 03:22, 7 November 2007 (UTC)
 * If its just indenting and spacing you're wanting to adjust, then you'd be best adding CSS rules to MediaWiki:Common.css. You can make rules work on a particular class so the users can surround blocks with div tags for example &lt;div class="foo"&gt; then have a matching CSS rule eg .foo { color: red; }. --Nad 07:14, 7 November 2007 (UTC)

thanks, i got my common.css file working and tested it fine. but, could you perhaps provide me with the styles i need so that when a user pastes paragraphs into this div, the paragraphs keep their first-line-indentation and the paragraphs don't run off the page and paragraphs aren't concatenated together? i'm trying to figure it out but no luck so far. thanks.--66.213.209.24 16:47, 8 November 2007 (UTC)

External Image Links doesn't work
I set $wgAllowExternalImages=true; in LocalSettings.php but mediawiki didn't render the external link.I saw it didn't work in http://www.mediawiki.org/wiki/Manual:%24wgAllowExternalImages too. how can I enable this feature? —Tofighi 06:27, 7 November 2007 (UTC)

Editting articles with templates won't show the used templates
When I edit an article that includes some templeates it won't show the templates used in that article. Is that customized through the LocalSettings file? I don't find any parameter to set that. Jose Manuel Perez --JMPerez 11:03, 7 November 2007 (UTC)
 * Do you mean display the actual text within the template itself? To see that, there is a list of links to the templates at the bottom of the page, click the appropriate one, takes you to the template page, where you can edit away.  To see what effect that has on the page, use the preview function -- Dr DBW  |  talk  00:04, 8 November 2007 (UTC)

Problem with MW 1.11 and Beagle skin. Are they compatible?
I'm creating a new wiki with MW1.11, PHP 5.1, and MySQL 4.1. Is the Beagle skin compatible with this setup? When I try the Beagle skin preview in my preferences I get this error message:

Warning: Invalid argument supplied for foreach in /var/www/vhosts/hokkaipedia.org/httpdocs/skins/Beagle.php on line 48

What does this mean and what can I do about it? (I'm a beginner!) Thanks in advance! —Skakagrall 11:08, 7 November 2007 (UTC)

Automatic uploaded file updating?
We use MediaWiki at work for internal documentation. It provides a great way to archive our procedures, daily events and other business related activity. However, we also use other methods of data storage such as network drives which hold documents related to customers. Unfortunately, we haven't quite figured out how to integrate several of these technologies into one cohesive unit.

While looking at a new page recently added to our wiki I realized that our disparate systems are introducing more convolution than benefit. The page in question discusses a new hardware implementation we are building here at work. It utilizes diagrams and policies laid out in non-wiki documents. These documents are housed on one of our network mounts. The reason they aren't uploaded to the wiki is the need to manually upload new versions as they are released. As a result, instead of being able to simply download a file directly from our wiki, we have to navigate to a network mount to get the latest version.

This leads to my question: has there been developed a way which will automatically update files uploaded to the wiki based on say, date created, which will allow us to integrate documents into our wiki without worrying about manually updating it every time a document is revised? —216.12.128.136 12:24, 7 November 2007 (UTC)

Hi,

when i want to edit a page bigger than 62kb and preview it, i get a empty page. any ideas? —212.28.41.114 13:39, 7 November 2007 (UTC)
 * I don't think there's an extension for that, but I've needed to do this before too and I did it by uploading the file like usual and then replacing the uplaoded file with a symlink to the corresponding item in the mount point. Another way to try could be to turn off the hashed upload paths and symlink your entire upload directory into the network mount point. --Nad 22:05, 7 November 2007 (UTC)

Import Difficulties
Okay, so I ditched the idea of copying the files over as my ISP suggested. Instead, I recreated the database and tried to import from SQL dumps. However, I am now getting this 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 "Revision::insertOn". MySQL returned error "1048: Column 'old_id' cannot be null (localhost)". Retrieved from "http://shortscale.org/wiki/index.php?title=Main_Page"

This happens whenever you try to edit anything.

—71.80.132.242 18:58, 7 November 2007 (UTC)
 * You need to check the logs or turn on db error reporting in localsettings so you can see what the problem with the SQL syntax was. Also I notice you're using mediawiki 1.6.0 - that's a very old version and I'd strongly recommend upgrading to the latest (if you're using 1.6 for some specific reason, then at least upgrade to 1.6.10). Upgrading the database will likely fix whatever the db problem is. --Nad 22:15, 7 November 2007 (UTC)


 * I tried upgrading to 1.7.1, and everything appeared to be okay. However, I am still getting the same error message.

-71.80.132.242 01:55, 8 November 2007 (UTC)
 * Why upgrade to 1.7 which is still so old it's barely even supported - upgrade to the latest version, 1.11 --Nad 02:55, 8 November 2007 (UTC)
 * Upgraded to 1.11 and was getting "cannot be null" errors. Googled that, and found a resource with a script for changing that.  Editing problems solved.  Now I have to install ImageMagick on this server since it didn't come with it.  Thanks for your help!
 * That's good news, was it a script in the maintenance dir or a third party one? --Nad 09:28, 8 November 2007 (UTC)
 * I also need that script! I am having the same problems!

--87.49.210.183 16:00, 14 November 2007 (UTC)

Error AFTER Installation
I tried to install MediaWiki 1.11.0 on my website. Here is the display from the installation:

* PHP 5.2.4 installed * Found database drivers for: MySQL * PHP server API is cgi; using ugly URLs (index.php?title=Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under. * PHP's memory_limit is 32M. * Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching. Warning: shell_exec has been disabled for security reasons in /home/crimson2/public_html/wiki/config/index.php on line 1798 Warning: shell_exec has been disabled for security reasons in /home/crimson2/public_html/wiki/config/index.php on line 1798 * GNU diff3 not found. * Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled if you enable uploads. * Found GD graphics library built-in. * Installation directory: /home/crimson2/public_html/wiki * Script URI path: /wiki * Installing MediaWiki with php file extensions * Environment checked. You can install MediaWiki. *     Generating configuration file... * Database type: MySQL * Loading class: DatabaseMysql * Attempting to connect to database server as crimson2...success. * Connected to 4.1.22-standard * Database crimson2_wikidb exists * Creating tables... done. * Initializing data...   * User crimson2 exists. Skipping grants. * Created sysop account Ankiseth. *     Creating LocalSettings.php...

Installation successful! Move the config/LocalSettings.php file to the parent directory, then follow this link to your wiki.

I click on the link and it gives me this:

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@xxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any ideas what is going wrong? I've checked using phpMyAdmin and the Database is there and full, all the tables and information are populated. The user I use is a superuser, so permissions are not an issue. I have copied the LocalSettings.php into the root file, but I am still getting this error. Any ideas? —207.228.33.208 19:17, 7 November 2007 (UTC)
 * Check the logs to see exactly what the internal server error was, that should give some indication of the problem... --Nad 22:10, 7 November 2007 (UTC)

BoardVote
How would I get this to work with PHP voting software?? --82.42.237.84 20:49, 7 November 2007 (UTC)
 * And what is "BoardVote"? Can't find any reference to it here on MediaWiki. -- Dr DBW  |  talk  00:09, 8 November 2007 (UTC)

Lock out user after 3 failed password attempts
Is there anyway to loac a user out after 3 failed password attempts. If Mediawiki does not have this ability is there a 3rd party software package that can handle security issues? —129.6.59.171 13:26, 8 November 2007 (UTC)

Creating User Groups
Can I create various user groups, name them as I like and assign different roles for different group? —79.125.147.181 16:04, 8 November 2007 (UTC)
 * The groups available in Special:Userrights are defined in $wgGroupPermissions --Nad 18:30, 8 November 2007 (UTC)

Don't recommend an apt-get dist-upgrade when installing MediaWiki on Ubuntu!
Section 1.3.1 of Manual:Running MediaWiki on Ubuntu recommends doing a dist-upgrade. This is a surprising step to see when installing an application, as it does a complete distribution upgrade (e.g. from Ubuntu 7.04 to 7.10), which can have significant ramifications - in rare cases a dist-upgrade can leave a system unbootable, or some applications unusable. I recommend you take out this step now, and only include it with some warnings that the user should assess the benefits and drawbacks of doing a dist-upgrade - particularly on a remote server, which could become inaccessible without console access, or on a desktop, where hardware dependencies are greater perhaps.

—87.86.252.131 16:07, 8 November 2007 (UTC)

Unknown sysop account when leaving main page.
I'm using media wiki 1.11.0, php 5.2.4 and mysql 5.0.45

The problem I am having is that whenever I leave the main page, I am no longer logged on as the sysop. When I try to log back on, I says that my sysop account is not even there. When I try to log in with the default sysop account (WikiSysop) it says I have got the wrong password. I changed the sysop account name, so that should even exist either....

This is the fourth time I've tried to install this software. Perhaps I didn't uninstall it correctly? I don't know for sure, but I have tried to find a page on uninstalling mediawiki and try and reinstalling it again, but alas, I cannot find one.

Any idea what's going on? —76.87.240.47 03:10, 9 November 2007 (UTC)

How do I redirect to other pages?
I'm experiencing some troubles with redirecting one page to another. I'm running the site from a company server and when I edit pages, neither do I find the redirect button in the toolbox, nor does the #REDIRECT operator work. Am I doing anything wrong? Many thanks in advance. —SupervladiTM 08:00, 9 November 2007 (UTC)
 * So, what happens when you put  -- Dr DBW  |  talk  00:27, 12 November 2007 (UTC)
 * Nevermind, it works now, thanks :) SupervladiTM 12:18, 12 November 2007 (UTC)

showhide with mediawiki 1.6.10
Hi, I have installed the media wiki version 1.6.10, because I'm on PHP 4 and mysql 4. I was wondering if there is a show/hide text box in the formatting possibilities ? do I have to install an extension ? I tried some but it seems that the version of my media wiki was too old ? Thanks a lot !

—84.101.142.242 10:08, 8 November 2007 (UTC)
 * See W:Wikipedia:Collapsible tables --Nad 18:26, 8 November 2007 (UTC)

Thanks for the answer, but i already saw this page on "wikipedia" (that isn't the same mediawiki as mine), it is not working and I don't know why, do you have an idea ? or another way to make this work ?

—148.87.1.170 20:12, 9 November 2007 (UTC)

Inputbox search is not working
Hi there, I´m new to this and i am having a hard time understanding it. I´m not a programmer, not even related to this but have a fair understanding of the technology involved so please bear with me.

I am using your wiki at wwww.cabralcrafts.com, and have downloaded and installed InputBox to make article creation easier. I have tried to include search codes in my pages and always receive the same error. So, when I tried to put this (I commented it so it will show):

I got this:

Fatal error: Call to undefined method SpecialPage::gettitlefor in components/com_mambowiki/extensions/inputbox/inputbox.php on line 75

Now, line 75 of that file reads: $search = SpecialPage::getTitleFor( 'search' )->escapeLocalUrl;

So I am not sure if there is a mistake in that line (it certainly doesn´t look like to me) or if it´s another line this file.

Can anybody help please?

Thank you,

Alejandro alejandro@cabralcrafts.com —148.87.1.170 20:18, 9 November 2007 (UTC)

Moderating the creation of new pages in mediawiki.
I installed a mediawiki software of version 1.10.1. I am trying to use it as a FAQ like system, and I would like to moderate the new pages created. The pages are created in a particular name space, say FAQ. So, all new pages in that name space should be displayed after my approval. Once, the page is created, the successive changes to it should not be moderated.

Is there any extension or kind of tweaking that I can do in mediawiki 1.10.1 software. A detailed help is appreciated. —203.197.151.138 11:21, 10 November 2007 (UTC)

Open Website in Mediawiki?
For example: On the left create a Menu box and have url's to another web. ie. open http://www.microsoft.com in the main window. This is like a framed website.

—Adamson67 20:48, 10 November 2007 (UTC)

Can I install a Wiki and restrict users to view/edit pages?
I wanted to have a wiki and allow only some users that I add, can read/ edit all the content,in our organization there are some sections and I want only the people in that section can view/edit their wikis, Before asking this question, I search a lot of hours but I understand mediawiki is poor in protection, and I can't be sure a namespace is only viewed by some users, Now I wanted to install multiple wiki instances for my organization, Then is it possible in mediawiki All the wiki will be accessible only for some users (reading(viewing)/editing)? —Tofighi 00:41, 11 November 2007 (UTC)

Manual:Running MediaWiki on Ubuntu is incomplete, lacks the LAMP packets for a non LAMP ubuntu server installation
Manual:Running MediaWiki on Ubuntu is very good, but it's just meant to Ubuntu Server. Why not include the chapter "4.1 - Suporting" of Manual:Running MediaWiki on Ubuntu GNU/Linux, marked for deletion. With that chapter, every one, even with the ubuntu desktop, can install mediawiki.

Thanks Tiago Silva

—89.181.81.77 17:03, 11 November 2007 (UTC)

Special:Newpages help
How do you modify Special:Newpages so you can view new pages over a longer period of time? On my wiki, it goes back only about 60 days. —96.231.82.75 22:16, 11 November 2007 (UTC) (Hangfromthefloor on en.wikipedia)
 * Set $wgRCMaxAge = 500 * 24 * 3600; (for 500 days). -- Duesentrieb ⇌ 00:37, 12 November 2007 (UTC)

I want to have the same support desk Like this one in my site
How Can I create a Project:Support desk like this one in my site, with archives and all things I see here? —213.233.160.25 02:42, 12 November 2007 (UTC)
 * Of course, this is just a normal article like any other, just add it to your sidebar, and manually chop the article into archive articles whenever it gets too big --Nad 22:14, 12 November 2007 (UTC)

Thanks Nad, but if you see there is a plus (+) near project page and I saw this plus in discussuon pages only :) is there any way to add such + into our Article pages? --213.233.160.18 16:53, 13 November 2007 (UTC)

Can there be more than one administrator on my site?
Is there any possibility of modifying any files (perhaps defaultsettings or localsettings) in order to have multiple administrators for the site? Thanks again. -SupervladiTM 12:24, 12 November 2007 (UTC)
 * Go to Special:Userrights and add other users to the sysop group --Nad 22:13, 12 November 2007 (UTC)
 * Go to Special:Userrights on my site? Or where? -SupervladiTM 19:48, 13 November 2007 (UTC)
 * Yes on your sites Special:Userrights, however you must be a Bureaucrat to obtain the functality to add other Sysops --Zven 21:14, 13 November 2007 (UTC)
 * OK, so I promoted myself to bureaucrat on that page and when I go afterwards to Special:Userrights I receive a permission error telling me the requested action is reserved to Bureaucrat users only and I cannot add other admins to the site. Did I do anything wrong? -SupervladiTM 06:58, 14 November 2007 (UTC)

Moving to new server and failing
On moving mediawiki to a new production server, I had the situation where i simply get a blank screen. This got resolved, and php started then rendering the php pages, however whenever it gets to a require_once in the code anywhere that has relative path starting with a "." eg require_once('./includes/Webstart.php;); it fails to find this file with the error:

Warning: require_once(./includes/WebStart.php) [function.require-once]: failed to open stream: No such file or directory in W:\XXXX\XXXX\index.php on line 38 Fatal error: require_once [function.require]: Failed opening required 'WebStart.php' (include_path='.;C:\php5\pear') in W:\XXXX\XXXX\includes\Index.php on line 38

If i remove the leading "./" from the include, this then goes through no problems, also if i add in 'dirname(__FILE__). "/includes/WebStart.php"' it also works, however i understand this as a possible workaroun, but do not want to have to do this.

This is using MediaWiki version 1.11.0 PHP version 5.2.5 and MySQL. Like i say, the Wiki works no problems on 2 other machines. One being IIS with the same version of everything (MySQL hosted on a remote server), and the other machine it works on being linux based.

Also, putting at the top of the "index.php" file "echo getcwd;", i get the output of the last folder that was used by the server, not the directory that the scripts reside in. eg it shows C:\windows\system32\inetsrv instead of W:\XXXX\XXXX\ where on the server that this works on, it shows the correct folder for where the scripts are located.

Any help would be gratefully appreciated.

Steve

—194.150.252.229 14:52, 12 November 2007 (UTC)

Do i need Templates?
Hi, i have installed Mediawiki and it works great. I have now a small question about templates and hope you can help me. I want to make a new Page with some Informations about for example one Car. When i add new Informations about another car, then i want to take my old page as template. I don't want to do this like Copy and Paste. Is there an extension or any other possibility to make a Template for this? The best idea is, to have a template with variables, so that you now here is something to change.... I want to have all Pages in the same structure and i think templates or something are the best solution. I have tried it with templates, but i am not in the position to change the text.

Sorry my english is bad, i hope you can understand what i mean...

—87.154.175.136 19:06, 12 November 2007 (UTC)
 * Can you give an example of the problem or a link to the site? --Nad 20:29, 12 November 2007 (UTC)


 * I am sorry but the Wiki is just in our LAN available.
 * I will try it to explain. I have one site where i have some Informations and the page looks like
 * http://de.wikipedia.org/wiki/Michael_Schumacher. And now i want to make a template, that every Page looks like thie website
 * Means on the right the Foto and then Informations of each Year.
 * I know i can make a template and include the template, but i just want the same style of each site but not the same text.
 * I hope you have understand what i mean? The next side coul be another Driver but with the same site only another text.


 * Very easy to do. Just look at examples such as the one you see there, which uses the template at http://de.wikipedia.org/wiki/Vorlage:Infobox_Formel-1-Fahrer or read the details on how templates work at Help:Templates -- Dr DBW  |  talk  05:39, 15 November 2007 (UTC)

SQL Database
Can Media Wiki work with SQL2000 rather than mysql —213.249.162.132 11:08, 13 November 2007 (UTC)

Limiting Users to Edit User Pages
Is there any way to only let users to edit their user page? I mean the other users will not be able to edit other user pages... I don't like to use extensions that has this type of message above them: ''If you need per-page or partial page access restrictions, you are advised to install an appropriate content management package. MediaWiki was not written to provide per-page access restrictions, and almost all hacks or patches promising to add them will likely have flaws somewhere, which could lead to exposure of confidential data. We will not be held responsible should a password or bank details be leaked, leading to loss of funds or one's job.'' —213.233.160.18 15:00, 13 November 2007 (UTC)


 * That will be the only extensions you can find, all extensions dealing with controlling editing of pages have that warning. -- Dr DBW  |  talk  05:35, 15 November 2007 (UTC)

Who wrote MediaWiki?
who made mediawiki?
 * Developers -- Dr DBW |  talk  05:36, 15 November 2007 (UTC)

Save Page button won't stop loading
Out of no where, whenever I click on "Save Page" when editing on my site it starts loading and the status bar tells me it's waiting to connect to the site. It never connects however, and never times-out either. The rest of the site loads and works fine. Even if i click "Preview" it loads no problem but as soon as I click "Save Page" it seems stuck, perpetually loading. Any ideas?

-64.132.54.212 15:21, 13 November 2007 (UTC)

How Restrict user pages to the owner of page?
How can I ban other users for editing the other user pages and every user can only have permission to edit his own user page? —213.233.160.18 16:56, 13 November 2007 (UTC)
 * Add the following code to your localsettings file --Nad 21:22, 13 November 2007 (UTC)

Read-only main-NS for anonymous users
Is it possible to restrict anonymous users such that they only can read the main name space pages, and nothing else. Logged in users have access to all ns's and can edit those. 128.186.38.92 23:14, 13 November 2007 (UTC)
 * Add the following to your localsettings file --Nad 01:00, 14 November 2007 (UTC)

Inputbox doesn't search correct namespace
I have installed the inputbox extension and the inputbox shows up but does not search the correct namespace. Example: here. I have tried following the instructions listed on the talk page here: but they did not work. Is any one else more familiar with it? Regards 60.50.165.89 00:59, 14 November 2007 (UTC)
 * Best option is asking on the talk page and / or contacting the developer of the extension. -- Dr DBW |  talk  05:32, 15 November 2007 (UTC)

OpenLDAP group and MediaWiki group conectivity
We have a OpenLDAP directory working for some applications and now we want to implement LDAP with mediawiki as well. We managed to have a connection with ldap with the LDAP plugin module but all LDAP users get user permissions. We want users that are in certain OpenLDAP groups go in certain mediawiki group.

Our Configurations is as follow (LocalSettings.php):

What can be wrong with the configuration. Now the user can not log in.

error log —Andrejb 08:49, 14 November 2007 (UTC)

PHP5
HI,

I am trying to install MediaWiki onto my server, but it requires a HTACCESS file to tell it to run in PHP 5 mode.

I have no problem adding the file, but do not know the code that i should include in it.

Thanks

—62.171.194.6 09:17, 14 November 2007 (UTC)

How do I replace MediaWiki's Authentication with the web server's mechanisms?
I have a MediaWiki running on a webserver in a part of the URL namespace that is not publicly available, users need to authenticate against the webserver to login (with some proprietary one time password method). But since the Wiki is configured to keep track of changes and not to allow anonymous write access, the users need to authenticate again, which is also a security problem if they access from an insecure machine (e.g. internet cafe).

Is there any way or plugin to have MediaWiki ommit it's own authentication, to accept the authentication from the web server, take the user name given by environment (and maybe use a translation table, e.g. from jdoe to "John Doe") ?

—Hadmut 10:17, 14 November 2007 (UTC)

=Problem having ExtraNamespaces rearranged =

I have added extranamespaces in the Localsettings.php, later i have added some Pages with Namespace:PageName. Later i found that the First Tab which is having preivious namespace not the actual one. where can i change the Namespace Tab. how i can correct this? Please any one help me. —Saravanakumar 11:38, 14 November 2007 (UTC) Saravanakumar

special:newpages - how to show all namespaces?
1.5.5, PHP: 4.3.10-16 , MySQL: 5.0.19 I'm still using MediaWiki 1.5.5. Is there any workaround to show all newpages in all namespaces, not only main, with special:newpages??? I work with a few ExtraNamespaces. —Kermit 13:18, 14 November 2007 (UTC)

= Mime info error =

Hi,

I'm having problem with upload file in mediawiki.

The upload part is doing well but there's an issue in the mime type select.

When I upload an image file (jpg or gif) it say always the MIME type is audio/x-mod

Here is an output of the Image:Windows_vista_002-ig.jpg page : Windows_vista_002-ig.jpg‎ Taille du fichier : 24 ko, type MIME : audio/x-mod

I try to add some conf into the LocalSettings.php file : $wgMimeInfoFile = "includes/mime.info"; $wgMimeTypeFile = "includes/mime.types";

But this doesn't change at all.

Did I miss something ? —193.168.50.8 16:02, 14 November 2007 (UTC)
 * If you can't fix the problem, you turn off the mime checking completely by setting $wgVerifyMimeType to false --Nad 23:17, 14 November 2007 (UTC)

= wikitables - no show/hide buttons =

I want to copy the following Wikipedia page to my own wiki in order to experiment with show/hide wikitables:

http://en.wikipedia.org/w/index.php?title=Template:Hidden

Everything seems to be working, but there are no [show] or [hide] buttons at the right. Here is what I have done:

1) From MediaWiki:Common.js, copy the section that starts with the comments:

/** Collapsible tables *********************************************************

* * Description: Allows tables to be collapsed, showing only the header. See *              Wikipedia:NavFrame. * Maintainers: User:R. Koot */

2) From MediaWiki:Common.css, copy the section that starts with the comments:

/* wikitable/prettytable class for skinning normal tables */

3) Copy the following templates:

Hidden Rh

—OldGrantonian 16:12, 14 November 2007 (UTC)

= ONE page THREE TOC's? =

I'd like to have pages with three columns that reside next to each other and are editable independently from each other (like here). I think I will do this with tables or divs. The Problem is that for each of the columns I want to have it's own Table of contents on top of the column. Is this possible? Thanks for your time. - Torsten-peh 16:33, 14 November 2007 (UTC)

= What does IMPORT PAGES do? =

The special page for admins? --Bentendo 21:53, 14 November 2007 (UTC)
 * It imports a set of articles that have been exported with Special:Export --Nad 23:12, 14 November 2007 (UTC)

= Changing the Main Page =

Hello, I'm trying to change the "Main Page" heading of the Main Page to another heading. I've read the FAQ and know which code to edit. However, I'm having trouble finding which php file holds that piece of code. Of course, I can see the code when looking directly at the main page but I don't know how to save it. Thanks.
 * It's not code, set it in the MediaWiki:Mainpage article --Nad 23:14, 14 November 2007 (UTC)

= Problem completing configuration! =

Hello! I've just installed and configured Mediawiki on my website. I followed all the instructions at this site (great instructions, by the way - have been very helpful!) However, just at the end of the config instructions, where it says to move the LocalSettings file into the parent directory, then delete the config folder, then reset the LocalSettings with stringent settings (I did all three things), it then says that the site should at this point appear at the corresponding web address. The problem is, it doesn't! When I enter this web address in my browser, I just get a blank white page. This may be a dumb question, but do I need to wait a few hours or a day before my server displays it? Or is there anything I might have done wrong or missed? Thanks in advance! Simon 78.16.74.41 03:29, 15 November 2007 (UTC)
 * Next day, and the page still appears as blank. I suspect something has gone wrong. Any tips? The page is at http://www.seewhatisthere.com/wiki/ 78.16.74.41 15:16, 15 November 2007 (UTC)


 * you must go to www.seewhatisthere.com/wiki/index Try that... DJ Davies 19:20, 15 November 2007 (UTC)


 * Thanks for the suggestion. I tried going to www.seewhatisthere.com/wiki/index or even www.seewhatisthere.com/wiki/index.html but in both cases it says "page not found." What would you suggest next? 78.16.74.41 21:55, 15 November 2007 (UTC)


 * Today I also contacted my host and they couldn't suggest anything. However, they did point me to an error log, but I'm not sure whether it's relevant or not: It contains variations of the following repeated multiple times: "PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/simon/public_html/wiki/includes/Exception.php on line 160. PHP Fatal error:  Call to undefined function:  headers_list in /home/simon/public_html/wiki/includes/OutputHandler.php on line 71." 78.16.74.41 21:59, 15 November 2007 (UTC)


 * I was able to connect via http://www.seewhatisthere.com/wiki/index.php5?title=Main_Page try that. but /wiki/index.php5 works too. Dj Davies 23:20, 15 November 2007 (UTC)


 * Thank you, that works!! It's quite a cumbersome title, but I guess I can shorten it to make it simpler. I found a mediawiki page explaining how to do that, so I'll attempt that. Thanks again. 78.16.74.41 15:05, 16 November 2007 (UTC)

Admin Center
Can you please tell me how too go to the admin center or HQ? Like where i change my logo and upload info and such please?

techwikiforums.info/wiki/index

Thanks, Kyle

—24.19.190.158 04:04, 15 November 2007 (UTC)


 * Couple of places to look, depending on what you are looking to do. First one is the LocalSettings.php file, next is the Special:Specialpages page, and final is Special:Allmessages page. -- Dr DBW  |  talk  23:47, 15 November 2007 (UTC)


 * Ok thank you very much doctor. 71.227.199.30

Bureaucrats and admins
Hi again. I seem to experience a small problem concerning the bureaucrat and admin rights to my site. More precisely, I, as administrator of my site, wanted to promote myself as a bureaucrat in order to be able to grant a few other people admin rights. So I went to Special:Userrights, added my username as a bureaucrat and afterwards when I wanted to promote the others as admins on the same page, I received a message saying I need to be part of the bureaucrat group (on which I had already promoted myself to). Am I doing anything wrong? Thanks in advance. -SupervladiTM 08:49, 15 November 2007 (UTC)

= How to test Javascript? =

Is it possible to test my Javascript before I give it to my system administrator to insert in MediaWiki:Common.js?

If so, what wiki markup do I need?

.

—OldGrantonian 11:38, 15 November 2007 (UTC)

default thumbnail size
Logged-in users can set their own size preferences for thumbnails, but how can I change the default thumbnail size for the anonymous visitor?—141.76.45.35 15:25, 15 November 2007 (UTC)

Different skins in different categories
Hello,

I am using MediaWiki v1.6.1, PHP5 and mySQL DB. I wonder if it is possible to use different skins in different categories. If it is, how can i accomplish that?

Thanks. —212.174.225.78 15:53, 15 November 2007 (UTC)

How to insert small banners in left colomn (after Toolbox) in all pages ?
How to insert small banners in left colomn (after Toolbox) in all pages ? —91.76.185.101 16:38, 15 November 2007 (UTC)


 * Edit the template files for the skin that you are using. -- Dr DBW |  talk  23:48, 15 November 2007 (UTC)

Hiding "logout" at museum kiosk
Is there a way of hiding the "Logout" for a given user? Currently we are using mediawiki for kiosk site in our museum's gallery. We have is we created a default User account for the kiosk in the gallery that is constantly logged in so people can edit pages. Problem people seem to like to logout at the kiosk disabling the ability to add/edit text. We would like to be able to hide the "Logout" text on the template only for the kiosk user account.

Any solutions or extensions? (unfortunately making the wiki editable to anonymous users is not an option at this time)

Thanks! Myotus 19:58, 15 November 2007 (UTC)

Change Logo
Can someone make me a logo code and tell me exactly where to put it? Or at least give me an example of what it looks like and where it goes? Mine is:

$wgLogo	= false; ///defaults to "http://img521.imageshack.us/img521/1295/techwikiforumslogo3uk8.jpg"

on line 111

Thanks, Kyle Davies

—71.227.199.30 04:19, 16 November 2007 (UTC)

How do disable the 'Leading Spaces' formatting feature of mediawiki?
There is a feature in MediaWiki where if you put 'leading spaces' in front of a line, MediaWiki formats the text in a special way. I want to completely disable this behavior for my MediaWiki installation on my website. If there isn't a flag for it, then I want to go into the code and comment it out or something! If you don't know what I'm talking about, here is the 'leading spaces' thing explained: http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page#No_or_limited_formatting.E2.80.94showing_exactly_what_is_being_typed —76.25.250.72 05:00, 16 November 2007 (UTC)

—Rusdamus 06:52, 16 November 2007 (UTC)

—Rusdamus 06:59, 16 November 2007 (UTC)

Search result
Hi,

I just installed mediawiki on my website, but there is only one thing that I can't found how to change.

When I do a search in wikimedia, in the result I have : Title and Relevance.

But with my version I have a lot of other informations that I don't want (content of the article, etc...)

Do somebody know how I can change this?

Thanks in advance.

Regards. —213.31.11.80 11:29, 16 November 2007 (UTC)

ini_set, debug_backtrace, array_slice warnings
I installed my wiki correctly but three warnings are shown:

Warning: ini_set has been disabled for security reasons in .../i-tek_wiki/includes/AutoLoader.php on line 5

Warning: debug_backtrace has been disabled for security reasons in .../i-tek_wiki/includes/GlobalFunctions.php on line 731

Warning: array_slice [function.array-slice]: The first argument should be an array in .../i-tek_wiki/includes/GlobalFunctions.php on line 731

Please tell me how to fix these warnings.

Thanks

-80.171.126.238 16:30, 16 November 2007 (UTC)

—156.99.55.125 22:39, 16 November 2007 (UTC)

How notify mediawiki developers about External Link bug in mediawiki?
I asked before in this forum about external image link that doesn't work in mediawiki, no body answered and I think it is a bug, how can notify developers about this bug?you can read more here —Tofighi 12:10, 17 November 2007 (UTC)

How Restrict user pages to the owner of page? (Section 2)
Thanks user:Nad for replying section 1 of question, it was very useful, but as you know in user pages people put some images from themselves, how can I ban other users from changing the images that one user upload for himself/herself? (can I define a new namespace with name of ProfileImages and people upload their pictures into it and restrict other people as you did in previous section?) —Tofighi 12:49, 17 November 2007 (UTC)

Java Script
How can I add JS scripts to main page of wiki? ~Bruce