Project:Support desk/Archive 10

Using MediaWiki source code in commercial software
Hi If we use MediaWiki source code for creating a part of some commercial non-open-sourced software (it's not based on MediaWiki, just little part of it) - do we have to make our software GNU-licensed?

Thank you, best regards, -- Peterpen 13:14, 15 August 2007 (UTC)


 * Yes.

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!!! User:Alex Dubitski


 * 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 Category:Extensions 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??
 * Using FCKeditor may need more modifications. It is NOT ready for prime-time.  Please contact the Extension creators as they are currently looking for help in getting their extension up to snuff for MW integration.

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)
 * Has this been resolved?

Sometime over the weekend, my server crashed, and my formerly working wiki is giving me this error. NewBob --69.88.64.142 17:03, 12 May 2008 (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)


 * When you inline HTML into a page, it is run through a tidy process to validate it. By default, MediaWiki uses a builtin tidy, but Wikipedia and the other projects use an external tidy utility which is supposed to give better results.  That's the reason why yours is different, not the different software version.  You'll need to find the tidy program, and configure your wiki to use it. -Steve Sanbeg 18:11, 15 August 2007 (UTC)


 * That's exactly what I was looking for. Thanks. Unfortunately, my hosting provider doesn't have "/dev" included in their "open_basedir" restrictions and (for some strange reason) WikiMedia pipes lots of output to "dev/null." It seems to me like this was a poor choice on WikiMedia's part. --TedPavlic | talk 15:30, 20 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.
 * TitleMoveComplete Manual:MediaWiki_hooks

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)
 * I'm a windows user, so my experience might not be directly transferable. Try your best! Here is my setting:
 * # $wgImageMagickConvertCommand = "/usr/bin/convert";
 * $wgImageMagickConvertCommand = "C:\Program Files\ImageMagick-6.3.3-Q16\convert.exe";
 * You can see that I've commented out the "default" line, which points to /usr/bin/convert, and modified that line to point to the directory on my Windows box. You should do the same on your setup. Either install imagemagick, or find where it has been installed, and point $wgImageMagickConvertCommand to the right place Kareeser|Talk! 14:50, 15 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)

Instead of re-installing, manually edit the database. This page, hosted at meta.wiimedia.org, explains how and what to do. 209.193.75.158 15:25, 21 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)

(Resolved) 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)
 * I only got into the habit of checking the logs recently... so I'm not sure when it started :S... 206.248.139.177 14:39, 15 August 2007 (UTC)

THIS IS NOT A FIX - but possibly a band-aid to stop the log entries. Create an empty file named 'common' at that location. Of more importance would be to find out what's been added to your wiki that's looking for that file. 209.193.75.158 15:32, 21 August 2007 (UTC)
 * Actually, it was much more than a fix, Mr 209! After I did as you suggested, the error log changed to a more specific location, and from there, I determined that the GFDL Logo wasn't displaying properly. A quick declaraction of $wgRightsLogo fixed that right up. Thanks! Kareeser|Talk! 01:47, 28 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)


 * Yep. You need to look through your files and/or your online repository if you are a linux user, and install something called Imagemagick.  Look up at section 32 for relevant information.  Tmalmjursson 13:09, 20 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)


 * Thanks for the idea. I can't find it in LocalSettings.php or includes/DefaultSettings.php.  I'm going to keep looking, but do you have any idea where it might be? <font color="#006500">Smaug  17:23, 15 August 2007 (UTC)


 * No idea what so ever. --Dr DBW 03:44, 27 August 2007 (UTC)

wfmsgext
What is it and when was it introduced? Thanks in advance, --Flominator 13:03, 15 August 2007 (UTC)


 * I don't know, but what prompted this question of yours? <font color="#006500">Smaug 17:56, 15 August 2007 (UTC)
 * See http://svn.wikimedia.org/doc/GlobalFunctions_8php.html#172b5098f951487946bb60cd983b9d1b - don't see any "implemented in" documentation. Standard message parser - it's used all over the place to parse out system messages.

Disabling uploads when there are images
Please see Manual talk:$wgEnableUploads. Thank you, SPQRobin 13:56, 15 August 2007 (UTC)

Can anyone with a Email edit a page even if its somebody elses page? Bug?
I was wondering about this webpage. I sign in and it looks to me I can edit anything on this page..Is this a bug? http://www.wowwiki.com/Server:Misha_US Alliance side says I can edit, Horde says I cant. I also have a edit button for the whole page. Is this a bug?
 * It's not a bug. That's how wikis work.  You can edit anything that's not protected (Unless they have some crazy permissions extension).  I don't believe WoWWiki runs any non-standard permissions.  So that's intended - that's how they have it set up.

Categories Not listing Sub Categories
I have a wiki running up at survivalwiki.org and my category page has recently stop listing subcategories. I believe It may be a database issue as this may have happenned around the time I attempted to install the wikiBB extension, which is not working. However I have attempted removal and still have this issue. I am wondering if this is something anyone else has experienced and if anyone has any suggestions for a possible fix.

-BiTMAP- -68.150.34.225 00:47, 16 August 2007 (UTC)

cannot login with Sysop account
MediaWiki version: 1.10.1

Enviroment: * PHP 5.2.3 installed * Found database drivers for: MySQL * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title) * Have XML / Latin1-UTF-8 conversion support. * Session save path (/tmp) appears to be valid. * PHP's memory_limit is 128M. * APC installed * Found GNU diff3: /usr/bin/diff3. * Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. * Installation directory: /usr/local/apache2/htdocs/wiki * Script URI path: /wiki * Environment checked. You can install MediaWiki.

Issue: 1. "superuser account" is used in installation. But it has to run Installation twice to create LocalSettings.php file. And there is not "?>" at the end of LocalSettings.php. 2. Sysop account has been created, but it cannot be used to login.

-202.98.13.181 04:04, 16 August 2007 (UTC)


 * The missing ?></tt> is fine; we no longer place it at the end of most files, since it causes some issues when users come to edit their configurations
 * What does "cannot be used to login" mean - what happens? Error message? robchurch | talk 01:13, 20 August 2007 (UTC)

Using MediaWiki source code in commercial software
Hi If we use MediaWiki source code for creating a part of some commercial non-open-sourced software (it's not based on MediaWiki, just little part of it) - do we have to make our software GNU-licensed? Thank you, best regards, -Peterpen 07:09, 16 August 2007 (UTC)


 * Carefully ask the opinion of a qualified legal specialist on copyright law. MediaWiki code is protected by the GPL, as far as I recall.  However, IANAL and TINLA, but here is an opinion: if you use a seperate module accessed through an open API of the gpl code, you would only need to provide access to that specific module's source code. --Grymwulf 11:06, 17 August 2007 (UTC)


 * I think that if you distribute code Licensed under the GPL you must include a copy of the source code and the GPL with the software. You must make it very easy for people to have access to the sourec code

Missing question
Err. May be a daft question, but what happened to the question I asked the other day (substring search question) - it seems to have disappeared - I'd just updated it to explain in more depth, but it's disapeared overnight? -Nomis35 08:09, 16 August 2007 (UTC)

-62.159.112.104 10:56, 16 August 2007 (UTC)


 * Was it archived? Check up the top of the page, list of archived pages on the right --Dr DBW 21:56, 16 August 2007 (UTC)


 * It isn't in the Archive, looking at the history of the page, the following appears:

02:12, 16 August 2007 66.245.226.217 (Talk) (152,659 bytes) (undo) 00:47, 16 August 2007 68.150.34.225 (Talk) (48,311 bytes) (undo)

it's there in the version at 00:47, but not in the one at 02:12.

Any ideas? Or maybe I should just ask it again :-) --Nomis35 07:29, 17 August 2007 (UTC)


 * I would ask it again. --Grymwulf 10:46, 17 August 2007 (UTC)


 * OK - running Mediawiki from a Xampp install (MySQL 5.0.45, PHP 5.2.3, MW 1.10) - How do I enable substring searching - it works on Article text but not on the Article Titles. I've seen details for getting it working on Mysql4, but I'm obviously using the later version. - I've changed min. word length to 3 so I can search TLA's but thats the only config change I've made?--Nomis35 11:19, 17 August 2007 (UTC)

Security about edit a new Page
I have installed Mediawiki on a Server 2003 and it works fine. I want now something for the security about edit a new page. My Idea is, when someone wants to write a new Page he can save the site but no one can't see this page until an Administrator gaves his ok. The best way is, when someone wants to create a new page, Mediawiki send the Admin an eMail and he has to say Yes Thats good or no please delete..... Is it possible to create a rule like that?


 * Pretty sure there is an extension being / been developed to do something like this. Have a search through them. --Dr DBW 21:57, 16 August 2007 (UTC)

I don't know for what i can search. I don't know the name for an extension like that.... Can you help me and say me what could be the name for an extension like that? I have searched for email or something but don't found an extension like this:-( 22 August


 * Don't recall the name, just remember reading is somewhere. Something like flow control, document editing flow, something like that.  Didn't take much notice, just recall reading about it somewhere on here. --Dr DBW 03:47, 27 August 2007 (UTC)


 * Think I was thinking of this one: User:Robchurch/ConfirmEdit rewrite --Dr DBW 05:41, 31 August 2007 (UTC)

Disabling uploads when there are images
It is disabled by default. When you enable it, is it possible to disable it back, while there are images on the wiki? Thank you, SPQRobin 13:56, 15 August 2007 (UTC)
 * disabling and re-enabling the uploads has no effect on the content currently in the wiki, just the ability to perform those functions. --Grymwulf 10:44, 17 August 2007 (UTC)

Question
Hi,

we use MediaWiki for documentation of our Data-Center.

We'll get an Audit next month and now we have to print a lot (>300) articles because audit -guys loves paper and hates web :-/

Is there any interface, 3rd party code or whatever to print all articles that are on a list?

Were are using:
 * MediaWiki: 1.7.1
 * PHP: 5.1.5 (apache2handler)
 * MySQL: 4.1.21-standard-log

Regards, Stephan -84.178.21.47 14:36, 16 August 2007 (UTC)
 * Try using the Export special page, it will export pages into an .xml file format that should be able to be read by an XML document viewer. You can even export your entire documentation, then import it as tables into Microsoft Access, then create a report from the revision table, the comment field has the title of the page,  and text has the text of the page.--Grymwulf 10:43, 17 August 2007 (UTC)

Using the hook TitleMoveComplete.
I am trying to use the TitleMoveComplete hook and I can not seem to find the correct functions to get the information out of these array's. I tried something like "$OldTitle = $title->getTitle->getText;" which I have used on other hooks but that didnt seem to work. It would be nice if each of the hook pages had a example of how to grab the information from each of the hooks (http://www.mediawiki.org/wiki/Manual:MediaWiki_hooks/TitleMoveComplete).

$wgHooks['TitleMoveComplete'][] = 'fnKBMoveHook';

function fnKBMoveHook(&$title, &$newtitle, &$user, $oldid, $newid) {	$OldURL = ""; $OldTitle = ""; $OldID = $oldid; $NewURL = ""; $NewTitle = ""; $NewID = $newid; $ArticleMovedBy = ""; $ArticlePostedBy = ""; $ArticlePostedBy = "";

return true; } -143.166.226.42 14:43, 16 August 2007 (UTC)
 * Like so:

function fnKBMoveHook(&$title, &$newtitle, &$user, $oldid, $newid) {       $OldURL = $title->getInternalURL; $OldTitle = $title->getText; $OldID = $oldid; $NewURL = $newtitle->getInternalURL; $NewTitle = $newtitle->getText; $NewID = $newid; $ArticleMovedBy = $user->getName; $ArticlePostedBy = ""; $ArticlePostedBy = "";

return true; }
 * The "postedby" vars don't make any sense - MW is revision based, so you could figure out whatever information you needed off of the $title object - may need to load up an Article object to pull the revision data. See http://svn.wikimedia.org/doc/ for all the Class documentation.

SideBar Links
Hi Guys. I have set up a div id tag for the section "Projects" on the mainpage, so that I can link to it easily from the sidebar. I have made a link in the sidebar by editing the MediaWiki:Sidebar page, and it is displayed as the word "Projects". I firstly tried creating the link by doing the following: mainpage#Projects|Projects in the editing section of the Sidebar page. This didnt work! The thing that did work was the following: http://localhost/mediawiki/index.php/Main_Page#Projects|Projects This is okay when you are at home, but for remote access, this is no good. Can someone please tell me how to do this so that I dont have to put in localhost, but instead, mainpage etc etc? Thank you. -58.175.34.89 15:44, 16 August 2007 (UTC)


 * Try  --Dr DBW 21:59, 16 August 2007 (UTC)

unicode title problem after export and import to new DB
Hi i have a problem with titles in mediawiki when i import the database in new db so i will explain more i need to move my database from current database to the other database in other server so i export whole of database then make new database and import it to new database... everything was well but titles of my articles were damaged

my language is Persian (Farsi) so i use unicode title for my articles the content of artice is still Persian the only problem is in titles

look at this page for example: http://codex.asroone.net/index.php?title=%D9%88%DB%8C%DA%98%D9%87:Recentchanges

i use mediawiki v1.0.6

howw can i solve my problem? -85.133.164.97 16:06, 16 August 2007 (UTC)

Server address changes to computername.local
I am running MediaWiki 1.9.3, PHP 5.2.2 and mysql 5.0.45 on OS X 10.4 Mediawiki runs and appears fine until I select something like "Random Page" from the navigation bar, my browser trys to open a page on computername.local insead of mydomainname.com. Everything works fine on local computers because the browser seems to be able to resolve omputername.local, but outside the local network the page is not loaded and I need to manually edit the address (replacing omputername.local with mydomainname.com) to get to a "Random Page". Any idea where MediaWiki is taking the domain name from and how I can change it?

thank you, bryan

-24.19.15.3 21:50, 16 August 2007 (UTC)
 * See $wgServerName - Also, you could re-run the configuration script from OUTSIDE the local box - the problem is when you setup MW, you ran it locally and were connected to http://compyname.local/ - NOT http://mydomainname.com/. (or that's my guess anyway) - Try just changing $wgServerName first.  It sounds like you only have problems when MW produces Full URL.

The database did not find the text of a page that it should have found
We recently upgraded to MySQL 5 and some tables in the database appeared to exhibit corruption. I've recovered the tables, but the Wiki is now giving me this error when I try to save pages - "The database did not find the text of a page".

I can see the text in the edit screen, but when I try to save, this is what I get.

Any ideas, please. I've been searching all over and have found nothing. Thanks.

-163.234.147.94 00:19, 17 August 2007 (UTC)

Editing text on bottom of content pages
On the bottom of many pages, it has a footer saying something like, "This page has been accessed 48 times. This page was last modified 18:41, August 14, 2007. Content is available under GNU Free Documentation License 1.2. "

How can I edit what it says here? It does't seem to be in Special:Allmessages, so it must be in the code. Where?

Thanks. <font color="#006500">Smaug 01:39, 17 August 2007 (UTC)


 * Actually, this text is in various Special:Allmessages:


 * MediaWiki:Aboutsite
 * MediaWiki:Copyright
 * MediaWiki:Disclaimers
 * MediaWiki:Lastmodifiedat
 * MediaWiki:Privacy
 * MediaWiki:Viewcount
 * —Eep² 09:28, 17 August 2007 (UTC)


 * Thanks! <font color="#006500">Smaug  12:38, 17 August 2007 (UTC)

Checking rewrite Rule - Articles with "+"
Hello there, i installed Wiki 10 and it works fine, with one exception: If i want to create a article which contains a "+" in the title this symbol will be deleted, so the article will be named without the "+". What can i do?

All help is greatly appreciated! - Flo -217.7.54.186 12:29, 17 August 2007 (UTC)
 * A plus symbol encodes to %2B - if you enter a literal + in a URL string, MW will translate it to a SPACE character. If you search for the nonexistant article title and then click the link to create the article - MW should create the properly URL encoded string.
 * Hi Tim is it possible to deactivate such a option? Because a friend of mine uses MW 9.2 in the english version and there it functions problery. Could you give me a example of your procedure? Thanks!! --87.160.20.195 19:27, 18 August 2007 (UTC) Flo
 * Well, if you searched for "One+Two" you should see a link on the search page (in the .new class red color) that links to One%2BTwo - if you create that page, the URL will always read One%2BTwo, but in plaintext - the real title will always be One+Two.
 * I tried that, i see the link for the "One+Two" Page. If i want to edit it i see the correct title in the heading, but if i saved the document it is saved as "One Two" --217.7.54.186 05:07, 20 August 2007 (UTC) FLO
 * SOLVED I deactivated the very-short url setting in the LocalSettings.php and now it's working fine. Another question would be how this functionalities can be combined FLO --217.7.54.186 03:44, 23 August 2007 (UTC)

Unknown Connection Timeout
I recently installed MediaWiki 1.10.1 on my Fedora Core 7 machine which runs PHP 5.2.2 and MySQL 5.x. However about half the time I try to view the wiki on another computer on my LAN, My connection times out. -Danielc192 21:56, 17 August 2007 (UTC)
 * Just when viewing MediaWiki pages? Or do you get timeouts on ANY web page hosted on your box?  Sounds like a network issue or an Apache issue.
 * Could be a number of things. Check the error logs... they're very helpful :) Kareeser|Talk! 02:07, 28 August 2007 (UTC)

Media Wiki installation
Hi! I am trying to install media wiki to my windows 2000 computer, but I cant get it to work.... I am using the newest WAMP and MySQL Server 5.0 (not the wamp included) I get this shown when I install:

PHP 5.2.3 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module

Everything I find seems to not work with WAMP

I am using MediaWiki 1.10.1 and WAMP5

-193.217.169.130 00:53, 18 August 2007 (UTC)
 * See Manual:Errors_and_Symptoms - enable the MySQL extensions.

enabling hotlinking
Dear Support, I'm a new wiki user, creating pages for a private company's new wiki site. I don't know what version it is, but they got it mid-2007, if that helps.

The company wants the wiki to be able to access its own database of images...hotlinking, I guess. There is no wiki administrator--no one is really in charge--so I'm kind of flying blind here, but it seems that hotlinking needs to be "turned on" in the configuration settings: that is, in LocalSettings.php, we need to do this:

$wgAllowExternalImages = true;

Is that all we need to do to hotlink to our own image database?

One of my techie colleagues asked this question. Do we also have to make sure the Upload Directory is properly configured and writeable by the Apache web server process? Then set the $wgEnableUploads variable to true to allow uploading in the web user interface? She also wondered if we needed to enable calls to a database - since dynamically created material would be accessed, rather than an image on a static HTML page.

Ideally, we want to be able to display the images and resize them on wiki pages.

Thanks for any assistance. JB -76.211.131.80 06:30, 18 August 2007 (UTC)
 * Hotlinking allows you to simply include an external image (static image). Resizing the external images won't be possible in MW - MW creates the resized thumbnails only for images in MW's database, NOT external (hotlinked) images.  I have no idea how you would accomplish using a fully external image DB - there's no built-in way to do it.


 * I'll let them know. Hotlinking=yes; resizing hotlinked images=no.


 * So, if my employers decide that static thumbnails are fine, and they want to hotlink, all they do is change/add $wgAllowExternalImages = true; to LocalSettings.php, right? Sorry to have you answer again...I really want to make sure I understand what you're saying before I relate this to my employers.


 * Thank you so much for responding.
 * JB
 * Yup.

How to provide a page outline (via template?) so that article contributors can fill in details between preset paragraph headings in the article ?
Hi there -

fiddled quite a bit with templates (on my private mediawiki installation) but I seem to be missing a point.

What I try to do is to set up a directory with information about historical persons (one person per wiki page) - following a standardized outline with detail paragraph texts in between povided by other users of the wiki.

Now of course I'd like the people who contribute to adhere to the rather strict outline of the article - thus I had hoped I could set up the outline as a template.

Upon generation of a new page (per person in the directory) the contributor would simply fill in the details BETWEEN the paragraph headings as set in the 'template'. That way I could still change/consolidate the paragraph headings at a later point without having to go through all individual pages. (Or add additional headings for additional paragraphs to be filled in for each entry, for that matter.)

Not sure if made my requirement clear enough.

In fiddling with the templates I came across the problem that while I can of course have a template included in an acticle it's kind of tricky (impossible?) to set it up as such that the individual contributor could write the detail text in between the (template preset) paragraph headings.

To that end it seems I would have to enter a template for EACH paragraph heading - but I'm sure there must be a better way?

Any hints appreciated (I'm quite a newbie to MediaWiki).

Many thanks in advance.

-84.174.112.155 09:25, 18 August 2007 (UTC)


 * I got a hint that I need to learn about template substitution as well as template transclusion - which I will do.


 * However I still wonder: Once I substitute the template into an article, if I then later update my template to change the heading layout - will the changes then propagate to articles that substituted text from the template? Will that work - at least as long as the users have not edited or rearranged the headings?


 * 84.174.100.96 14:18, 18 August 2007 (UTC)


 * Yes. There are also extensions (like CreateArticle) that can preload templates (but it doesn't parse the template and will include all of the wiki markup). —Eep² 03:11, 19 August 2007 (UTC)


 * Yes? Would you care to comment a bit more on this? (As I'm still missing something here, it seems.)


 * If I substitute the outline template into the article (so that the contributers can enter the detail text between the preset outline headings provided via the substituted template) - how do I ensure that later changes at the outline template are propagated into the article pages? (Wasn't even aware that this might be possible - short of a bespoke custom parsing solution).


 * On the other hand, if I would not substitute but transclude the outline template into the article(s) the contributors would simply see the link to that transcluded outline template in the article(s) - but couldn't enter the detail text between the outline headings.


 * How would that work?


 * Many thanks in advance for additional hints.


 * 84.174.124.254 10:43, 19 August 2007 (UTC)

Squid purge problems
Hi,

I have some problems with my Squid : when Mediawiki send purge request, it takes many many time (depend of the image quantity).

I've checked my access.log and there some strange lines : MediaWiki want to purge not existing thumbnail...

ex: there's "logo.jpg" on a page, without scaling (original sizes are 100px x 100px, and it is displayed with the same size on the page) and MediaWiki tells Squid to purge "100px-logo.jpg" in the "thumb" directory :s

What's the problem with MediaWiki ? Do I have made an error in the configuration ?


 * MediaWiki: 1.10.0
 * PHP: 5.2.0-8+etch4 (apache2handler)
 * MySQL: 5.0.26
 * Squid 2.6 (http purge)
 * OS : Debian ETCH

Sorry for my english ^^ -86.217.232.28 17:17, 18 August 2007 (UTC)

Picture with watermark
hi,

how can i put my Logo on every Picture that has been bigger as 300 x 300 pixel ? -91.17.85.140 22:57, 18 August 2007 (UTC)
 * There isn't currently an extension that does Watermarking. It could certainly be done - but someone would have to write it.  Check out the Project:Extension_requests for extension requests.

Get error at SmoothGalery
-Kampfschaf 00:34, 19 August 2007 (UTC)

'''I have installed SmoothGalery! Upload the SmoothGallery.php in my extensions Folder and the SmoothGallery Folder in extensions folder. And insert this in my LocalSettings.php'''

''$wgUseImageResize = true;

include("extensions/SmoothGallery.php");

$wgSmoothGalleryExtensionPath = "/mediawiki/extensions/smoothgallery";

$wgSmoothGalleryDelimiter = "\n" ;''

I get the following error:

 Fatal error: Call to a member function getUrl on a non-object in /www/htdocs/v110248/other/mediawiki/extensions/SmoothGallery.php on line 241

Line 241 ist: $full_thumb = $full_thumb_obj->getUrl;

What i wan't to do is:

<sgallery showarrows="true" showcarousel="true" showinfopane="true" timed="true" delay="1000">

Image:001.jpg

Image:002.jpg


 * You should ask on the extension's discussion page, or contact the author directly if you don't get a reply. —Eep² 03:11, 19 August 2007 (UTC)

Are template substitutions evaluated even when in a COMMENT line?
I have a comment line in my template 'OutlineTemplate' which reads:

"Put into newly created article and save. This will generate an outline IN the new article you can then work from."

Now it seems that the substitution is evaluated EVEN THOUGH THIS IN A COMMENT (which seems odd to me; or is this kind of a feature?) - resulting in some recursive mess.

Any hint how I can ensure a simple comment quoting the EXACT substitution command (that is, with TWO curly brackets each side) will show up in the article (that is, after substitution) of the commentary line?

The reason is simply that most contributors of my wiki will first look into the edit source of an existing article to figure out how to create a new one...

Many thanks in advance.

-84.174.124.254 14:53, 19 August 2007 (UTC)
 * Disable wikitext for the comment block by wrapping it in &lt;nowiki&gt; tags:   text text


 * Tried to put those nowiki commands around my substitution on that commment line - to no avail, though: still get the "WARNING: template loop detected" message (again, as before, once the OutlineTemplate is used via  upon creation of a new article).


 * Also tried the nowiki commands (I take it that you meant them as shown on the help desk page as rendered, not as you entered in edit code...) around (i.e. before and after)) the COMMENT line - same thing, still substituted.


 * Odd. Any further ideas anyone? (Subst: seems a rather strong command to me now :-)


 * Thanks in advance


 * 84.174.124.254 17:26, 19 August 2007 (UTC)
 * Please precede your reply text with colons to indent. If you're trying to exclude the note text from transclusion, use  around the entire note section.


 * Though, after reading your description again, I'm still not sure exactly what you're trying to do. I'm sure it's possible, but I'm just not clear on what you want to type, where you want to type it, and what you want your users to see.  The SUBST prefix, if evaluated, WILL take out the template referance and replace it with the template text - there are cases where you only want the SUBST to fire upon transclusion, where you would do something like:  which causes the template to evaluate when the article is viewed, but actually SUBST when the template is transcluded.

Allmessages page shows up blank
I've installed MediaWiki: 1.10.1 on a debian server running debian 4.0 with PHP: 5.2.0-8+etch7 (apache2handler) and MySQL: 5.0.32-Debian_7etch1-log. Everything works fine except when I go to the Allmessages page, I get a blank page with no content at all and no error messages! Any idea what might have caused this? Thanks.

-62.60.194.40 15:30, 19 August 2007 (UTC)
 * See Manual:Errors_and_Symptoms - that will allow you to troubleshoot. Also, you might just need to wait longer - Special:Allmessages is HUGE.


 * I added the lines to show the error messages in my LocalSettings.php, but I still get a blank page with no error, no matter how long I wait!, Any idea?

How to execute template substitution automatically upon creation of a new article?
I reviewed http://meta.wikimedia.org/wiki/Template (and some other sources) but could not identify how I can configure Mediawiki as such that upon creation of a new article the resulting page is not blank but a default template would be substituted into the new article automatically upon creation (so as to make it easier for the contributors to adhere to a preset form without having to fiddle with the template substitution command themselves - which they would be having a hard time given the limits of their involvement).

Can anyone please point me in the right direction?

Many thanks in advance.

-84.174.124.254 18:04, 19 August 2007 (UTC)
 * Two options Extension:Boilerplate http://www.mediawiki.org/w/wiki.phtml?title=Project:Support_desk&action=edit&editintro=Template%3AQuestions-preload&preload=Template%3ASignature-preload (note the &preload= argument - it specifies a template to load - this style is per-link. The boilerplate style is for EVERY new article)


 * Hello Tim -


 * thanks for the quick reply and pointing me towards the Boilerplate extension. That one works like a charm (after I got over my initial error). Exactly what I needed.


 * Will also take a more than the initial cursory look at the second solution. (As I need to have the SAME preset text in EVERY new article Boilerplate suffices for now - many thanks for adding the other option though - I really might need it in the future.)


 * Thanks again,


 * --84.174.124.254 07:14, 20 August 2007 (UTC)

templates expand in Wikipedia sandbox, but not in MediaWiki sandbox??
Hi,

Could someone please explain to me why saving templates to a sandbox page on mediawiki.org don't get expanded? For example, when I save this:

I get this:

as a virgin article link. This is a problem, because if I save the same code to a sandbox page on en.wikipedia.org, the article shows the proper expansion of the template content. What's going on?

I checked the documentation on MediaWiki.org and also searched back through several months on this help page. I found one recent template-related question above where the expert answered with this question: "Did you copy over all the templates onto your wiki?"

This makes me wonder if templates have to be copied and installed separately from the main MediaWiki package. Is this true? If so, why wasn't this done on mediawiki.org?

Any help appreciated, this is really frustrating me. I'm working with MediaWiki 1.9.3 to build a private wiki, and templates aren't being expanded in page edits on my wiki either.

Thanks,

-InBalance 19:00, 19 August 2007 (UTC)
 * I think this question has been resolved on the IRC help channel for the English Wikipedia (#wikipedia-en-help). InBalance came in to ask the question; it was explained that most of the templates on Wikipedia were created for Wikipedia by Wikipedia editors and are not included in the MediaWiki download. The redlink is the result of there being no template by that name. --70.0.29.135 19:53, 19 August 2007 (UTC) (NickW557 on en.wikipedia)


 * Nick, with all due respect, it looks like this is a deeper problem than you may suspect. There appear to be additional internal dependencies in quite a lot of the published Wikipedia template code. These internal dependencies become unresolved when code for any given template is copied wholesale from one wiki to another. For example, if you try copying the Template:helpme code from Wikipedia to a MediaWiki sandbox, you'll see that it doesn't expand remotely well. I know other readers here may want to just say, "well then, tough, you've got to create your own templates, or figure out all the interdepencies" -- but consider that a lot of the Wikipedia help pages on editing (some of which are linked to by the MediaWiki installation) make reference to Wikipedia template code. It's really hard for me to believe that the MediaWiki developers have just decided to ignore Wikipedia-user-created templates. Many of those templates seem to be deeply embedded into the generally perceived usefulness of the system -- InBalance 20:21, 19 August 2007 (UTC)


 * Pry a discussion for another page. Known Issue.

Hide Pagetitle
Hello folks, i want to hide the pagetitle on my main page. Is it possible? And if yes, how ? :) Thanks 4 your help! FLO -217.7.54.186 06:39, 20 August 2007 (UTC)


 * You can take a look at http://www.mediawiki.org/w/index.php?title=Manual:FAQ&diff=93496&oldid=85303 - it's really easy (once you know how :-)
 * Note also http://bugzilla.wikimedia.org/show_bug.cgi?id=6129 and http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_hide_the_main_page_title.3F
 * Cheers, 84.174.124.254 07:17, 20 August 2007 (UTC)
 * Hello there, i tried the FAQ but the workaround won't work :) I have a german version installed so my main page is called "Hauptseite". I inserted the ...  Tags, and also inserted the things in the common.css but without success. Or should i search for a "real" html source of the main page?! FLO --217.7.54.186 11:21, 20 August 2007 (UTC)
 * For a german Wiki: body.page-Hauptseite h1.firstHeading { display:none; }
 * SOLVED: TOOK WRONG .CSS FILE instead of common.css I inserted the command in the main.css from the monobook skin. THX 4 THE HELP!! FLO --217.7.54.186 10:04, 21 August 2007 (UTC)

Templates inside Extensions
With the MW1.1x branch, I'm using

$wgParser->setHook( 'sometag', 'somefunc');

and

function somefunc(..) { return ""; }

But this outputs the text " " literally. Since there seem to be problems using wgOut->parse, is there any way to accomplish this under the 1.1x branch? I read that extensions are parsed before template requests, but this doesn't seem to be the case? I guess I could also use ParserBeforeStrip and find the tag manually, but that's horrendous.

thanks in advance.

PS, you should consider forcing a subject in the form to submit a question

-71.146.38.183 10:56, 20 August 2007 (UTC)
 * Tag extensions are nearly independant of the rest of the parser. Write a Parser Function instead if you want templates expanded.  See Extending_wiki_markup


 * My whole reason for using an extension was to avoid the ugly . Are there any other alternatives?
 * Nevermind, I guess I accomplished this by taking render_wikitext from the EmailForm extension.

Logo Size Question
My logo for $wglogo is too big and being cut off, but I don't want to make the image smaller. What file can I edit in the mediawiki software to change the default width and height for the main logo image?-71.231.7.20 11:02, 20 August 2007 (UTC)
 * There's no easy way to do it. You can look in to editing MediaWiki:Monobook.css to change the monobook CSS styling - which controls ALL of the DIV placement (The original monobook.css is stored in skins/monobook/main.css).  Generally speaking, it's not common practice.  Shrink your image.

Running javascript in a wiki page
Hi guys. Just wondering if you can insert javascript code in a wiki page? Eg. with the <script type="text/javascript">? Thank you. -58.175.34.89 14:18, 20 August 2007 (UTC)
 * Nope. tags will not be evaluated.  Check out available Extensions for options to accomplish this.

Lost thumbnails after transfering site to a new server - SOLVED
Mediawiki 1.10.1 - installed on Fedora 4 (updated)- ran great!

Had to move site to a hosted server. A CentOS V4 box. Had to enable the CentOS plus repositories to get current MySQL and PHP. Adjusted paths in LocalSettings.php to match new location on new server. Apache has full rwx permissions on all directories and sub dirs (for now). Site is up and running - but having problems with uploaded images.

Images upload fine - they're there and display nicely in their original size (not a wiki page, follow all the links), but all thumbnails or attempts to put images in articles yield a blank placeholder with the Image: text as a link instead of the image. On the image page and in the database (using phpMyAdmin to browse) - the file name line is munged with extra characters in mime type:

(file size: 19 KB, MIME type: image/gif�����������������������������)

May be a separate issue as existing imaegs in the wiki don't have this MIME type munge and they won't display as thumbnails or in articles either.

ImageMagic is available and path for 'convert' in LocalSettings.php is right. have tried commenting out ImageMagick in LocalSettings.php to force use of gdlib - same results. have run the Image repair scripts in maintenance, several of them. No joy.

Suggestions, ideas and any help on where to look to fix this is much appreciated!

Thanks! -209.193.75.158 15:23, 20 August 2007 (UTC)
 * So when you upload a new image, and try to resize it (using imagemagick or GD) you don't get any errors? It acts like everything completed fine but doesn't display the image properly? Also, have you checked the image cache to see if it made?  Like if the original image path is images/thumb/e/e3/Tool41.jpg</tt> then a 100px thumb would be images/thumb/e/e3/Tool41.jpg/100px-Tool41.jpg</tt>


 * Correct, upload completes - acts like normal - just the article page comes up has no thumbnail and the MIME type is munged. Would it be advisable/possible to delete the cache folders? I did just copy them over direct from the old server. Existing images that were copied over don't show up either. One I just uploaded. 209.193.75.158 18:52, 20 August 2007 (UTC)
 * (sorry, had to remove the link due to domain owners wishes. This site is not to be released to teh public, yet. If you've any ideas and want to see, leave a note here, I'll get you a look. 209.193.75.158 22:34, 20 August 2007 (UTC)
 * Odd - I have no idea - usually my problem is imagemagick issues, where disabling imagemagick resolves it (you ahve to re-upload AFTER disabling imagemagick, it' won't re-process things). If you've tried both, I dont' know.  I'll leave that link there so others can take a look and maybe have an idea.


 * Downloaded all images to local machine. Dumped Wiki database to local archive file (tar.gz). Saved LocalSettings.php and Adminstration.php files. Dropped database, completely deleted Wiki directory from server. Performed clean install of Mediawiki using same database name, prefix and user credentials. Imported database from archive (phpMyAdmin is great for these tasks). Re-uploaded all images ensuring names are the same. Used same LocalSettings.php file. Everything works now. NOTE: this is almost the same procedure I used to move the wiki from the old server to the new one - except I didn't complete a clean install. I copied the directories and imported the database. Something about that upset the apple cart. 209.193.75.158 15:15, 21 August 2007 (UTC)

Subpages of moved pages
When subpages are turned on in a namespace, it seems like if a page is moved, so should all of its subpages. However, right now when I move a page that has subpages (in a namespace with subpages turned on), the subpages stay linked to the old name. Is there any way to get everything to move automatically? --TedPavlic | talk 15:38, 20 August 2007 (UTC)
 * Nope. See http://bugzilla.wikimedia.org/show_bug.cgi?id=2028 and http://bugzilla.wikimedia.org/show_bug.cgi?id=9626 - Known issue.
 * I see. Thanks, Tim. --TedPavlic | talk 18:58, 20 August 2007 (UTC)

Using external tidy and open_basedir
When MediaWiki shells out to external programs like tidy</tt>, it often redirects output to /dev/null</tt>. I think this is a design bug in MediaWiki as there are lots of other ways of capturing that output and discarding it. The current method breaks web servers that have PHP installed with open_basedir</tt> turned on because /dev</tt> is usually not included in the open_basedir</tt> path. Does anyone have a suggestion to fix this? I'd like to use an external tidy</tt>, but my hosting provider isn't willing to add /dev</tt> to the open_basedir</tt> paths. --TedPavlic | talk 18:57, 20 August 2007 (UTC)

Index.php gets called 4 times in a row
My wiki running on Alpha tru64 is extremly slow. We've tried optimizing MySQL db but that didn't help. One thing that is puzzling is why the main page, when invoked, loads multiple times?

Tried accessing the wiki from firefox with firebug on, and each time the page is called, index.php is called 4 times. Is this a bug or feature?

thanks -205.227.88.253 22:34, 20 August 2007 (UTC)


 * If you don't like a mere 4 calls, don't bother with Semantic MediaWiki and/or DPL which multiple that by, oh, 5 or 10 for every page... —Eep² 04:33, 21 August 2007 (UTC)


 * Indeed. The extra calls are the page grabbing CDATA and such.  Look at the source and search for index.php - you'll see a bunch of ?action=raw calls.

It's not a "bug" or a "feature", but it is intentional and normal behaviour. robchurch | talk 02:05, 30 August 2007 (UTC)

managing file documents
I am working on a wiki where there are a lot [many] documents associated to each voice. Is there a way to have a complete list of the documents files? The best should be to associate a category to each single document and to sort them by categories. I thought to use the "description" field and the "special pages" where there is the possibility to list all the documents but unfortunately it is not possible to order them by "description" [and it considers also images]. How can I manage 200 hundreds [+ or -] documents files? I have the same problem with links. Thanks!

-84.220.216.63 22:39, 20 August 2007 (UTC)


 * Isn't that what Categories are for? Why doesn't that do what you want to do? --Dr DBW 07:56, 21 August 2007 (UTC)

Logged in user menu
Is there a way to have a menu that appears on the left, that you can edit in the same manner as the sidebar menu via a wiki page, that only appears for logged in users? --Dr DBW 01:24, 21 August 2007 (UTC)


 * Interesting idea - Wouldn't people be able to see the links if they view the MediaWiki:UserSidebar or whatever page? Or would that not be a big deal?  And where would you want it exactly?  I know there's a hook for right at the bottom under the toolbox - but I assume you're thinking above the normal Sidebar?


 * For what I am envisaging it, wouldn't matter if others could see it somewhere else within the wiki. I am thinking of providing a list of links that provide information and guidance for the editors.  The things are already within the wiki in various locations, just want to pull them together in the one spot that they can access quickly, on any page and so on.  Such things as a link to the page detailing conventions being used, layouts, editors category where all the articles for the editors are located, pages required, those sort of things.  Pulling together normal articles and special pages into a short menu.  It is static like the Sidebar, not dynamic like the toolbox menu.  Location wise, yes, above the normal menu would be the more appropriate location, since being an editor, rest of the normal menu isn't actually of any real use (since it is aimed at users looking for particular information).  Hopefully that is clear what I am talking about. :-) --Dr DBW 05:01, 21 August 2007 (UTC)


 * Found something that might do what I want it to ... Manual_talk:Interface/Sidebar ... yet to check it out fully though. --Dr DBW 00:25, 23 August 2007 (UTC)


 * Can someone provide some explanation / assistance on how this following code, which is added within the  script, within the function called  .  I take it that somewhere, the   variable is associated / linked to Mediawiki:Sidebar, where is that done?  Because, that will then mean I have to make the link somewhere else so that the editors sidebar is correctly identified. --Dr DBW 00:52, 23 August 2007 (UTC)

if ($wgUser->isLoggedIn) { $lines = explode( "\n", wfMsgForContent( 'editor_sidebar' ) ); } else { $lines = explode( "\n", wfMsgForContent( 'sidebar' ) ); }
 * Try Extension:SidebarEx - It also requires Extension:ExtensionClass (could be modified to work w/o ExtensionClass, but it's pry easier to install both). With regard to where' it's getting Mediawiki:Sidebar - wfMsgForContent('string') will ALWAYS go out and check Mediawiki:string for custom values - and you can't chagne the behaviour of wfMsgForContent without absolutely exploding MediaWiki.  The theory behind the above code is that you make an alternate menu called "MediaWiki:editor_sidebar".  As for SidebarEx, it uses a similar syntax: MediaWiki:Sidebar/GroupName  ;-)


 * Thank you very much Tim, been a great help, think should be able to get it happening now. :-) --Dr DBW 04:20, 27 August 2007 (UTC)

Help related to create thumbnail images
-128.107.248.220 06:54, 21 August 2007 (UTC) Hi,

I want to create thumbnail images.I have installed imagemagick to my local directory.I dont know why it isnt working.Moreover i wanted to know where should i check for the LocalSettings.php file.Please revert with the answers ASAP.

Regards,

Priya.N


 * See Manual:LocalSettings.php for details about that file. If you want help on your issue, you have to provide a whole lot more information.  What you have done so far is like calling up the mechanic and saying "my car doesn't work", then asking him "how can I fix it?".  Exactly what have you done?  What have you tried doing?  What has happened?  What errors have appeared?  Help us to help you :)  --Dr DBW 07:52, 21 August 2007 (UTC)

Hi,

Am ready to provide you all the required info so that u can help me out.

Regards,

Priya.N


 * You could have saved a lot of time by simply posting the information .... help us to help you :) --Dr DBW 23:31, 21 August 2007 (UTC)

Hi,

I installed imagemagick on my wiki server for getting thumbnailing feature to work.I also made the follwowing changes to the loaclsettings.php file.But still iam getting this error "'''Warning: exec [function.exec]: Unable to fork [""C:\Program Files\ImageMagick-6.3.5-Q16\convert" -quality 80 -background white -size 180 "E:\Wiki\mediawiki-1.7.1/images/e/e4/EagletonTripPic2.JPG" -coalesce -resize "180x135!" -depth 8 "E:\Wiki\mediawiki-1.7.1/images/thumb/e/e4/EagletonTripPic2.JPG/180px-EagletonTripPic2.JPG" 2>&1"] in E:\Wiki\mediawiki-1.7.1\includes\GlobalFunctions.php on line 1719'''"

Regards,

Priya.N

Hi,

The modifications i did are

$wgEnableUploads      = true; $wgUseImageResize     = true; $wgUseImageMagick     = true; $wgImageMagickConvertCommand = "/usr/bin/convert";

Regards,

Priya.N
 * Please stick to one topic, and try not to create new topics every day.. See below for the answer. Kareeser|Talk! 02:01, 28 August 2007 (UTC)

SpecialAllpages.php
I'm trying to add a total page/article count to be displayed in a table header for this special page but I'm not having much luck. Here's what I added from:

(I made this a variable since it's used at twice by default (and 3 more times after my edits):

to:

But all I get is "0" (as seen on http://www.tnlc.com/wiki/index.php?title=Special:Allpages ). Any ideas? I'd also like to get the columns listed vertically vs. horizontally (but I'm not sure if the sortable table cells would still work in all columns like it currently does, interestingly) and have the default sorting mix capital and lowercase articles together (which occurs when the table cells are manually sorted). —Eep² 10:19, 21 August 2007 (UTC)

How I do to change the logo of the my page? -200.169.222.130 16:08, 21 August 2007 (UTC)

Adding custom special page to Restricted special pages -- WORKAROUND FOUND
Hi,

I've created a custom page following the instructions [Writing a new special page|here]. It appears in the "Special pages for all users" in the Special Pages list. How do I get it to appear in the Restricted Special Pages list or restrict read access to it to Sysops only. Many thanks in advance -ClarkF1 20:44, 21 August 2007 (UTC)

Workaround found using $wgUser features ClarkF1 21:17, 21 August 2007 (UTC)

Modifying User Signup Script
I'm working on modifying a MediaWiki 1.6.10 install. Specifically, I'm trying to set up a particular nickname field for each user during account signup (actually varying from user to user, but that's all been done and is working). At the end of includes/SpecialUserlogin.php's addNewAccountInternal function, I have the following code:

$return = $this->initUser( $u );

...

$u->setOption('nickname', "$name ");

$u->setCookies;

$u->saveSettings;

return $return;</tt>

The $u parts are mostly cannibalized from includes/SpecialPreferences.php, where it seems to work perfectly well. I do know that setOption is within the proper scope, but nevertheless when going into Special:Preferences after signup shows a blank field for nickname. I'm very familiar with PHP, but MediaWiki is built on so many layers I'm having trouble making sense of this. Any light anyone could shed on the subject would be very much appreciated. -IntrigueBlue 20:44, 21 August 2007 (UTC)

I tried to install mediawiki, i get this:

PHP 5.2.1 installed Found database drivers for: MySQL Warning: PHP's register_globals option is enabled. Disable it if you can. MediaWiki will work, but your server is more exposed to PHP-based security vulnerabilities. PHP server API is apache; ok, using pretty URLs (index.php/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 20M. Couldn't find Turck MMCache, eAccelerator, or APC. Object caching functions cannot be used. GNU diff3 not found. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /home/daan/domains/internetmarkt.be/public_html/mkportal/wiki Script URI path: /mkportal/wiki Environment checked. You can install MediaWiki. Warning: $wgSecretKey key is insecure, generated with mt_rand. Consider changing it manually. Generating configuration file...

Database type: MySQL

and there is no LocalSettings.php file in the config map

can you help, thanx

Adding a new header
Hi I tried adding a new header in mediawiki website, once i add a new header all the tabs move away. do you think there is a fix for this. thanks D -58.68.26.72 09:52, 22 August 2007 (UTC)

Removed spam comment from Support Desk See Diffs for content. Tmalmjursson 12:52, 22 August 2007 (UTC)

Section wise security
-125.22.244.79 12:46, 22 August 2007 (UTC) Hi: I would like to have the following sections in wiki http://www.abcdomain.com/IT http://www.abcdomain.com/HR http://www.abcdomain.com/Finance

There can be sub page under the above section. I want to restict each section access to particular group of users. How to do it.

Please help

Regards, Swami

Possible typo in DefaultSettings.php
Hi. In the DefaultSettings.php file, there is a line referring to the maximum uploadable file size - I cannot remember the whole text, but it contains the following: 1024*1024*100 /*(100M)*/ - I set this in my LocalSettings.php to permit a large file for upload, and it says as an upload warning - Maximum file size is only 100K - can I assume the bit at the end of the line (100M) is a typo? That's the only thing I can think of. I need to set maximum uploadable file above 20M, since I will be allowing Video on my wiki. Thanks all. Tmalmjursson 12:48, 22 August 2007 (UTC)

How do I add a header to my wiki?
I've integrated a wiki with my website, and am now trying to create continuity by making the wiki have the same header as the rest of my website, how do I do this? -130.102.0.178 15:20, 22 August 2007 (UTC)


 * Don't know exactly, but suspect you will need to do it via the skin(s) --Dr DBW 00:32, 23 August 2007 (UTC)

Question and Suggestion
-66.232.94.108 18:09, 22 August 2007 (UTC) I am in Idaho and I have been searching all thru Wikpedia to find a place to contact Wikpedia directly. I am a "Novice" computer user and it took me forever to find a page that I could write a letter to. I hope this works! Please let me know if it does!!!

1. My suggestion is "Why not put a box on your "Main page" that says "Contact Wikpedia!"  I know you have this but I clicked on it and found it also confusing.  Just a simple outline of who one can send an email to with information on EX: death of a well known person.

Nat Adams recently passed away in Boise Idaho. He was in his 80's and his family found in an old trunk, memorabilia that included letters from President Bush, Sr about how greatful he was to Mr. Adams for saving his life during war time. Plus many honors, medals and etc that Mr. Adams never spoke of.

I was trying to figure out how to alert you of this "unusual obit." Tim Woodard of the Idaho Daily Statesman wrote a wonderful article on Mr Adams just days before he passed away.

Would love to see his obit amoung well known people's death. He was a "Silent well-known person" about his past. But he was also a well known architect in Idaho.

Please let me know about how we can put this information into Wikpedia deaths and also how to go about this in a better way for me and possibly others out there like me!!! With most sincerity, Darlene Steward Idaho


 * You might have better luck finding links to contact Wikipedia by looking on Wikipedia itself; this site is about the software which powers those web sites. On the English Wikipedia, there's a "Contact Wikipedia" link in the navigation bar to the left, which points to http://en.wikipedia.org/wiki/Wikipedia:Contact_us. robchurch | talk 02:03, 30 August 2007 (UTC)

How to disable random page and recent edits for users who are not logged in?
Is it possible to disable "recent edits" and "random page" for users not logged in? I can remove them from the navigation bar but a savvy anonymous user could still access them. I looked at User:Rights but it did not seem to support this "feature".

-192.24.251.123 18:30, 22 August 2007 (UTC)


 * Perhaps put a redirect onto the recent edits page by way of Special:Allmessages? Tell me if this works. <font color="#006500">Smaug  14:06, 23 August 2007 (UTC)

I have no idea what your suggestion means. Can you give me another clue? Thanks. Bobby

Banner Ads
I see that there is a number of extensions that work with things like Google, Amazon and Adsense. We actually use OpenAds and are exploring the option of having them inserted onto article pages. Any pointers on how to go about doing this? It is actually just some HTML code that needs to be inserted into the appropriate location of the page. --Dr DBW 02:18, 23 August 2007 (UTC)


 * You could make a template with the add, protect it with admin-modify-only priveligdes, and then insert that template where you want the adds. I'm not really sure what question you are asking though, but that is a pointer I have to give. <font color="#006500">Smaug  14:04, 23 August 2007 (UTC)


 * Yeah, those extensions are just poking the AdSense or whatever HTML in to the page. You could easily write a tag extension to throw your OpenAds HTML on to the page whereever you put your custom tag.  A common way to "Ad up" a site would be to modify the template file (skins/Monobook.php) and put the ads all over the place (like in the sidebar, under the content DIV, here, there, everywhere).


 * Thanks guys, just what I was after, just needed some direction to get me going :-) --Dr DBW 04:22, 27 August 2007 (UTC)

History only for registered users?
How do i hide the history tab for users that are not logged in?

Thanks for your help! It's very appreciated! FLO -217.7.54.186 04:00, 23 August 2007 (UTC) See : http://www.mediawiki.org/wiki/Manual_talk:MediaWiki_feature_list#Disable_Display_of_History.3F ? --Pascal Boulerie 16:25, 22 November 2007 (UTC)

SpecialWhatlinkshere.php table
I'm trying to make Special:Whatlinkshere output a table vs. a list but am having some provlems. http://www.tnlc.com/wiki/index.php?title=Special:Whatlinkshere/fly shows how it currently looks with a redirect page but I'd like it to look like this:

Note: (1) is # of redirects, which redirect pages (bulleted) should appear in a single cell so as to not screw up sorting (unless there's a way to allow sorting with including redirect pages and a way to leave them under their parent page too).

How would I do this? Here's the current relevant code with the original lines commented out: \n" ); ...

—Eep² 04:53, 23 August 2007 (UTC)

Help regd Thumbnails
I installed imagemagick on my wiki server for getting thumbnailing feature to work.I also made the follwowing changes to the loaclsettings.php file.But still iam getting this error "'''Warning: exec [function.exec]: Unable to fork [""C:\Program Files\ImageMagick-6.3.5-Q16\convert" -quality 80 -background white -size 180 "E:\Wiki\mediawiki-1.7.1/images/e/e4/EagletonTripPic2.JPG" -coalesce -resize "180x135!" -depth 8 "E:\Wiki\mediawiki-1.7.1/images/thumb/e/e4/EagletonTripPic2.JPG/180px-EagletonTripPic2.JPG" 2>&1"] in E:\Wiki\mediawiki-1.7.1\includes\GlobalFunctions.php on line 1719'''"

The modifications i did are

$wgEnableUploads      = true; $wgUseImageResize     = true; $wgUseImageMagick     = true; $wgImageMagickConvertCommand = "/usr/bin/convert";

Kindly respond ASAP

Regards, Priya.N -Prinav 06:45, 23 August 2007 (UTC)
 * See below. Kareeser|Talk! 01:58, 28 August 2007 (UTC)

Pretty URLs and namespaces with subpages
I'm running the latest version of MediaWiki, and have configured pretty URLs. They work fine, unless it relates to a subpage. For example: www.domain.com/wiki/article/article subpage. If you type in a pretty URL direct to a subpage it won't work and gives a 404 not found error. If you type in an unpretty URL - www.domain.com/wiki/index.php?title=article/article subpage - then it works fine. Any ideas on how to fix this? —Coldmachine 16:19, 23 August 2007 (UTC)

Site Logo Not Displaying
I am current using the following:

MediaWiki  1.10.0 PHP        5.2.3 (apache) MySQL      5.0.27 Site       http://gough-name.org.uk/wiki

My logo is not displaying when reading, but is as soon as I click edit page. Once I go back to viewing a page the logo goes away. The logo is a 135x135 png file but I have also tried it with a jpg file.

Please advise —168.224.1.14 10:40, 23 August 2007 (UTC)


 * Could be a cache issue. Trying clearing your browser cache or view on another computer. --Dr DBW 04:23, 27 August 2007 (UTC)

How do I add meta information to Pages?
How would I add meta information to pages on the wiki? Thanks. <font color="#006500">Smaug 14:01, 23 August 2007 (UTC)


 * Please ask a vaguer question. robchurch | talk 02:00, 30 August 2007 (UTC)
 * try Extension:RDF -- Duesentrieb ⇌ 10:05, 30 August 2007 (UTC)

where is searchableNamespaces
Where is searchableNamespaces? I'm hoping to edit it to reduce the amount of searchable namespaces, i.e. make talk spaces not appear in the checklist on the bottom of Special:Search. Thanks. <font color="#006500">Smaug 14:48, 23 August 2007 (UTC)


 * Off the top of my head, should be in SearchEngine</tt> - check includes/SearchEngine.php</tt> and related files. robchurch | talk 02:00, 30 August 2007 (UTC)

Installing scripts to apply to all users: MediaWiki:Common.js
I have tried copying and pasting the js from a number of scripts (e.g. the Force Edit Summary script, and the Force Preview before save script) into MediaWiki:Common.js but none of them seem to work. I've tried with and without the initial pre and nowiki tags (and closing them at the end). If I omit both of those then the page looks pretty weird - some of the code is highlighted in a boxed area for example. If I include them both then still no luck. Is there an extension which needs to be installed prior to amending Common.js with scripts? Oh, I also tried importing via the importscript command both to external URLs and to an internal userspace-based article containing the code, and no luck there either. —Coldmachine 16:19, 23 August 2007 (UTC)

Getting rid of user account
how do you get rid of a user account? --> —Ash 16:22, 23 August 2007 (UTC)


 * You can't delete a user account, however you can indef block it or you could rename it using the renameuser extension. Coldmachine 17:56, 23 August 2007 (UTC)
 * That's just on Wikipedia due to licensing problems and the fact that you never really need to do it there.  Cbrown1023  <font color="#002bb8">talk  01:42, 25 August 2007 (UTC)
 * No, that's false - the GNU Free Documentation License is nothing to do with the removal of user accounts, which Wikipedia could theoretically do. The problematic issues are maintaining referential integrity. robchurch | talk 01:59, 30 August 2007 (UTC)
 * Or Extension:User Merge and Delete f/ MW 1.10+ ;-)
 * Yes, you could also just remove them by going into the database, but that's annoying and you might mess something up. :-)  Cbrown1023  <font color="#002bb8">talk  01:42, 25 August 2007 (UTC)

email usage stats
OK this is a meta question but thwey don't have any reference desk I wanted to know where can I find any statistics on the number of users that enable email features compared to users total on Wikipedia for instance. Enabling support for email is one of the least documented aspects of mediawiki software and it seems that no one is actually bothering to enable email for their medaiwiki installation - it would be very convenient to assume that people actually don't like gibving out their email, but I thoght it's more likely than I think. —354d 02:16, 24 August 2007 (UTC)

Regd error creating thumbnails
Hi all,

I face a serious problem with creating thumbnails on mediawiki.I have downloaded ImageMagick-6.3.5-6-Q16-windows-dll.exe.I made the following modifications to the localsettings.php file.

$wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "C:\Program Files\ImageMagick-6.3.5-6-Q16\convert";

But still am not able to create the thumbnails.Its throwing an error "Error creating thumbnail: " Am using mediawiki version 1.7.1. Database is mysql PHP version is 5.5

I really dont understand why this error is coming. Kindly help me out ASAP.

Regards, Priya.N --128.107.248.220 09:10, 24 August 2007 (UTC)
 * Hello Priya. The command is "convert" in linux, yes, but in windows, it's "convert.exe". Hope this helps! Kareeser|Talk! 01:56, 28 August 2007 (UTC)

Hi,

I tried with convert.exe too.But its not working.Ive also set the privilages for the imagemagick and cmd.exe correctly.But still the same problem persists.Can u suggest with any other inputs.

Thanks,

Priya.N--128.107.248.220 05:16, 28 August 2007 (UTC)
 * Open "C:\Program Files\ImageMagick-6.3.5-6-Q16\" and see if you can see the program installation. You did install the program, right? 206.248.138.106 16:00, 28 August 2007 (UTC)

Priya.N,

I had the same problem you have. I found the solution here.

Assuming you use the windows internet guest user for authorisation...

Open a command shell and type: C:\>cacls %COMSPEC% /E /G %COMPUTERNAME%\IUSR_%COMPUTERNAME%:R Also make sure that IUSR_%COMPUTERNAME% has read&execute permissions on the imagemagick directory and enough (at least change) rights on the directories thumb and temp. This did the trick for me. 159.46.248.227

extending the toolbox
How can I add some additional links to the toolbox under the Sidebar? I heard of "MonoBookTemplateToolboxEnd" - but how does it work? --WIKImaniac 09:39, 24 August 2007 (UTC)


 * Can't you do this by simply going to Mediawiki:Toolbox? Add to the end of that as you would normally edit the  Mediawiki:Sidebar page?  Not 100% sure on that, try it as see if it does what you want it to. --Dr DBW 04:32, 27 August 2007 (UTC)


 * FYI, the above doesn't work, so ignore that suggestion. --Dr DBW 00:56, 28 August 2007 (UTC)

embed svg images
I am not able to embed a svg Image with Image:Myimage.svg in double squarebrackets as it works with other Imagefiles like gif or png. The Output is just a red Uploadlink "Image:Myimage.svg", but the Image is uploaded already and if I click on the link and try to upload it again I get a warning that the file already exists. A direct http link to the file works though, so my apache has the right mime type I guess. If I link it as media file with Media:Myimage.svg in double squarebrackets I get a regular blue link and the image is displayed when I click on it, but what I want is do directly embed the Image in a page. What is wrong? —129.247.247.238 10:17, 24 August 2007 (UTC)

Hiding Menu from not logged in users
Hi, how can I hide the whole menu (like here site-download-suppoert-development-etc) from not logged in users? I searched a lot but found no solution!

Thanks to you guys,

Best regards, Kai —84.63.99.9 15:09, 24 August 2007 (UTC)
 * Do you mean the MediaWiki:sidebar? (The thing on the left of this page.) If so, I'm not sure of anything in the software by default, but you might be able to write a hack for it.  Cbrown1023  <font color="#002bb8">talk  01:23, 25 August 2007 (UTC)


 * yes I mean this sidebar! I wanna hide it from not logged in users... only show the login page or something like that... do you know a hack or where I can search for information? Thanks.. Kai--84.63.119.110 08:28, 25 August 2007 (UTC)


 * See Project:Support_desk, option is proposed there by Tim --Dr DBW 04:33, 27 August 2007 (UTC)

Memory requirements
What is a good minimum memory for runing MediaWiki well? Is a 12MB max okay? —66.214.124.4 20:51, 24 August 2007 (UTC)


 * 12MB may well be too low to comfortably serve an average MediaWiki request; a more sensible value for most smaller wikis is around the 20MB mark. This ramps up when additional features, etc. are introduced. MediaWiki isn't a lightweight. robchurch | talk 01:57, 30 August 2007 (UTC)

Q: I keep getting logged out and losing entries; is there a way to alter a cache to keep me logged in for longer?

I checked the FAQ and there is a short referance to my issue with a dead link.

Thank you in advance.. :-)

Mediawiki version: 1.9.3 PHP version: 4.4.4 (5.0 upgrade for mediawiki) DB: MySQL version 4.1.22-standard —64.59.144.23 23:02, 24 August 2007 (UTC)

Problems posting pages past a certain amount of characters
I am having a problem with creating new pages which are a certain length. If I go past a certain amount of characters, the page will just come up blank when I hit submit and the changes are not posted to the page. I am trying to make a page called Glossary with a list of terms and their descriptions. Is there a certain character limit when posting new articles and how do I change that limit. I can create new pages, but any pages that are beyond a certain amount of words/paragraphs don't work. I just get a blank page that says Done at the bottom when I click Submit. I am using the newest version of MediaWiki on a Plesk 7.5.4 Linux server. I can barely get past 300 words before the pages won't post anymore. Any ideas?

-66.92.39.95 22:17, 26 August 2007 (UTC)

wikilink source
Lets say there is a wiki page/entry called "WikiLink"

It contains text and some magic words.

Normally you would link as WikiLink.

But what if I want to display the unrendered source to WikiLink in another page? The content you would see in an edit textfield, but pushed inline into another page. Like, but for regular links rather than templates. Is this possible?

—71.146.38.183 00:53, 25 August 2007 (UTC)
 * You could do :

TEXT

Then when you transluded, everything should be shown in "TEXT", no matter what it would display with wiki-formatting. Is this what you're looking for?  Cbrown1023  <font color="#002bb8">talk  01:12, 25 August 2007 (UTC)

Database error upgradeing from 1.9 to 1.10
I upgraded from 1.9 to 1.0 and now my site (http://www.bethmardutho.org/wikisyriaca) gives the following error:

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 "Title::loadRestrictions". MySQL returned error "1146: Table 'wikidb.wikisyriaca_page_restrictions' doesn't exist (localhost)".

This is how I did my upgrade:
 * I made a copy of the live 1.9 version elsewhere
 * I downloaded 1.10 and replaced the files of the live version with the 1.10 files.
 * I copied AdminSettings.sample into AdminSettings.php and provided the login for the admin to the MySQL server.
 * I ran the update.php script from the maintenance folder, but I received the following error: ADD rc_params blob NOT NULL default '' " failed with error code "ALTER command denied to user ' '@'localhost' for table 'wikisyriaca_recentchanges' (localhost)

If anyone can help, I greatly appreciate it.

Thanks

—68.196.241.138 12:01, 25 August 2007 (UTC)


 * Your upgrade failed with an error. Read the error message, then ensure that the user credentials in AdminSettings.php</tt> are for a user with permission to create and alter tables and indices on the wiki database, and re-run the upgrade script. robchurch | talk 01:56, 30 August 2007 (UTC)

Login name
I'm searching for possibility of displaying the login name of the current user in a wiki-text. Is there any possibility to do this? So what I mean is, when I come to a page I see my own login name in the text and if you come on the same page, you see your login name and so on. Hope this is somehow possible...

Best regards,

DerTobi


 * If there is it will be a variable, Help:Variables --Dr DBW 02:56, 27 August 2007 (UTC)


 * Now that I think about it, I don't think that there will be, due to the fact that pages are cached. If they are cached, then that means they are not generated for each individual user / visitor. --Dr DBW 00:57, 28 August 2007 (UTC)


 * What do you need this for? It should be possible using cookies like it's done in each local Wikipedia, where the user is identified and his name is displayed in the top of each page. Greetings, Maziminke


 * Individual page views are subject to caching, but at different levels. We cache the rendered text of each page in the parser cache, varied according to the preferences of the user for whom it's cached. This means that multiple users with similar preferences share the same cached objects for regular page views.


 * On top of this lies (optional) front-end caching via caching proxies such as Squid. Anonymous page views are aggressively cached, and need to be explicitly purged (which is done by the software), and MediaWiki emits appropriate Cache-Control</tt> and <tt>Vary</tt> headers to ensure that Squid doesn't serve up the wrong cached page to logged-in users.


 * Essentially, the personal tool links (the user name, link to the user and talk pages, watchlist, etc.) are cached at a higher level than the page text. Introducing a magic word which returned the username of the current user would require storing a different cached object for every user (and every anonymous user, since those users' usernames are effectively their IP addresses), which would introduce an unacceptable level of cache fragmentation, effectively rendering the parser cache useless.


 * You are quite free to hack this into your own copy of MediaWiki, or implement it as an extension, if you feel that you are capable of handling the additional load conferred by a lack of parser caching, but this will not be made available in the core software. robchurch | talk 01:55, 30 August 2007 (UTC)


 * Have a look at Extension:Variables --Dr DBW 01:47, 3 September 2007 (UTC)

Can not edit my Welcome Page
HI i can not edit my welcome Page and i can not edit a sumitted page.. plz can somebody help me?

my Page is http://gfx-gen.de/wiki/index.php and this url doesnt work to edit welcom page http://gfx-gen.de/wiki/index.php?title=Hauptseite&action=edit

German: Hi vielleicht kann mir einer von euch helfen ich kann weder meine Hauptseite bearbeiten noch kann ich andere, schon editierte Texte verändern... ich weiß nicht woran es liegen könnte..

Have a nice day Fred —84.189.199.84 13:04, 25 August 2007 (UTC)


 * What does it say when you try to edit a page? --Dr DBW 02:57, 27 August 2007 (UTC)


 * Works fine for me... in fact, I just left a message on your main page.. Kareeser|Talk! 01:54, 28 August 2007 (UTC)

which characters are illegal in the username?
I can't find any information about which characters are illegal for a mediawiki username. Only thing i found is that _ is not allowed.

I want to rewrite the preg_match of our smf forum so that it only allows characters the wiki username allows too.

current code is: if (preg_match('~[<>&"\'=\\\]~', $regOptions['username']) != 0     || $regOptions['username'] == '_'     || $regOptions['username'] == '|'     || strpos($regOptions['username'], '[code') !== false     || strpos($regOptions['username'], '[/code') !== false) fatal_lang_error(240, false);

-- ninjamask 81.173.131.250 17:39, 25 August 2007 (UTC)


 * Have a look at <tt>User::isValidUsername</tt> in <tt>includes/User.php</tt>. robchurch | talk 01:49, 30 August 2007 (UTC)

Change permissions for certain Groups.
—194.78.207.175 17:42, 25 August 2007 (UTC)

We've created 2 groups. But when we change the permissions in the document 'LocalSettings.php' with the following lines "$wgGroupPermissions['operator']['edit'] = false;" or "$wgGroupPermissions['operator']['createpage'] = false;", it doesn't change, the group 'operator' can still edit or create pages.

Can you help me?


 * If the users in the "operator" group are also in a group that can edit (such as user or IP), then they would still be able to edit. Make sure users and anons can't edit either. Prodego 01:02, 26 August 2007 (UTC)

Activate Parser functions
Hi!. I have a problem whit the Parser functions in my wiki. The problem is that the Parser functions don't work. I tried with #if and #switch and no one works. If someone can tell me how to fix this, I would appreciate it very much. Thanks. Alex2610 (talk) 18:25, 25 August 2007 (UTC)
 * I had this problem... ParserFunctions is actually an extension of PHP or MediaWiki or somethingorother. See here. Kareeser|Talk! 01:52, 28 August 2007 (UTC)

Confirm a change
—81.82.194.28 06:45, 26 August 2007 (UTC) Is it possible add an option for editing a page? I have 2 groups: 'operators' and 'responsables'. When the operator want to change a page, there must be sent an e-mail to a responsable of the category were the page is about. Then the responsable have to confirm that the change is OK.

Now the page may be changed.


 * May be this - User:Robchurch/ConfirmEdit rewrite --Dr DBW 07:31, 31 August 2007 (UTC)

Sidebar
I im confused by the instructions on how to edit the side bar. Do i point my browser to:

http://www.mydomain.com/wiki/Wiki Name:Sidebar http://www.mydomain.com/wiki/MediaWiki:Sidebar

i get a 404 error. Thanks —Imrie 17:03, 26 August 2007 (UTC)


 * You most likely don't have clean/pretty/short/simple/ URLs set up. Try http://domain.com/wiki/index.php?title=MediaWiki:Sidebar

Add new sidebar
Hi, how to add new sidebar with HTML code? --88.222.212.231 18:39, 26 August 2007 (UTC)


 * Edit the skin. However, you can edit the sidebar at Mediawiki:Sidebar, which may do what you want to. --Dr DBW 04:37, 27 August 2007 (UTC)

Thanks - fixed --Imrie 16:07, 27 August 2007 (UTC)

Problem creating new pages of a certain length
I am having a problem with creating new pages which are a certain length. If I go past a certain amount of characters, the page will just come up blank when I hit submit and the changes are not posted to the page. I am trying to make a page called Glossary with a list of terms and their descriptions. Is there a certain character limit when posting new articles and how do I change that limit. I can create new pages, but any pages that are beyond a certain amount of words/paragraphs don't work. I just get a blank page that says Done at the bottom when I click Submit. I am using the newest version of MediaWiki on a Plesk 7.5.4 Linux server. I can barely get past 300 words before the pages won't post anymore. Any ideas? —66.92.39.95 22:17, 26 August 2007 (UTC)


 * I have same problem with a Plesk 8.2 maybe is something related to Plesk Apps. NEW UPDATE: I found when you use a special character like é doesn't work, but if you delete that character works fine.


 * Could well be different issues. Check that the <tt>post_max_size</tt> limit isn't set too low - an invalid specification might be misinterpreted as a lower value. robchurch | talk 01:48, 30 August 2007 (UTC)

Special: Request Account
I have set up a wiki, and others can join but they need to apply - it's not open to the whole world. Can you tell me how I will be notified that someone has requested an account - I know that some have registered to be able to log-in, but nothing shows anywhere on the pages that are visible to me. Where should I look for that information i.e. so that I can approve new account applications?

Regards, Geoff —Hoppy 22:27, 26 August 2007 (UTC)


 * You might give the following a whirl:


 * Extension:ConfirmAccount
 * Extension:New User Email Notification
 * Extension:Newuserlog


 * robchurch | talk 01:43, 30 August 2007 (UTC)

Accept HTML meta tags
Does a mediawiki page understand tags in the wikitext? Since it appears to appear not taken as code on this page, I assume not. So then, how would one add meta information to a wiki page? Does a wiki page have corresponding php document somewhere? If it's just on mySQL, how would I add meta info? I'd like to be able to give my pages keywords and descriptions. Any ideas or help is appreciated. <font color="#006500">Smaug 15:40, 25 August 2007 (UTC)

—58.175.34.241 02:34, 27 August 2007 (UTC)

How can i know the name of the current user as for the current page ? —82.245.43.141 13:03, 27 August 2007 (UTC)

Permisson on Discussion
Hi I have the strange problem that i cannot make a disussion (not a own and not a pagediscussion. The strange point is, that i'm sysadmin and have all right, can someone help me please? —129.132.241.248 13:25, 27 August 2007 (UTC)

Problem with portnumber
Hi,

we set up a mediawiki. It works fine but there is a problem, when I want to save a page. Then the URL is without the portnumber and the page can not be displayed.

It is the same effect when I just type the URL http://localhost:8989/mediawiki but it works fine, when I use http://localhost:8989/mediawiki/index.jsp?title=Main_Page

Most other features are working. It seams that in some parts the portnummer got lost.

Has anybody an idea what happend and what I can do ?

—85.183.243.152 15:16, 27 August 2007 (UTC)

A-Z
Hello,

Is it possible to have an A-Z of articles, if so does this have to be coded manually, or is this function already intergrated into the software, if so where?

If it does have to be coded can some please point me in the right direction.

Thanks,

—Imrie 16:10, 27 August 2007 (UTC)
 * You are probably looking for Special:Allpages. --WIKImaniac 16:57, 27 August 2007 (UTC)

I dont have short urls, it displays a 404 error. --Imrie 17:19, 27 August 2007 (UTC)


 * You don't have to have short URLs, it has nothing to do with it. Go to your Special pages listing, which is reached by following the link on your wiki in the toolbox menu on the left, then look for the link in that listing the says Allpages. --Dr DBW 00:59, 28 August 2007 (UTC)

External Link in side bar
Hello,

how do i put an external link in the side bar, it comes up as .../wiki/INVALID-TITLE

Then a 404 error.

Thanks!


 * The manual page at Manual:Sidebar tells you. You use " ".

hiding table of contents of a column
We have a section on the main page of our wiki, which has headers. How can I hide the TOC in this ection, without hiding the general page-Table of Contents?

<div class="column_narrow" style="border: 1px dashed #FFF; align: right;"> ==== Upcoming events ==== * event one * event two ==== Recent updates ==== ===== New pages ===== http://www.wikimaas.org/index.php?title=Special:Newpages&feed=rss&limit=5

See http://wikimaas.org/Main_Page -unsigned comment posted by 212.68.222.69 on 12:30, 25 August 2007

—217.64.242.138 18:21, 27 August 2007 (UTC)

MonoBook CSS Issue in IE6
I am having an issue with the MonoBook skin in IE6 on XP. The font sizes are off as is the alignment and spacing of various elements on the pages. The site appears fine in FireFox. I am using version 1.10.0 and have tried re-downloading all of the original CSS files and searched everywhere, but still have had no luck. The site is at http://wiki.fei.com, if anyone has any suggestions I would REALLY appreciate it.

—Cdsmith 21:41, 27 August 2007 (UTC)
 * Just an addendum, the problem can be seen using IE7 as well. (IE Tabbed Firefox, actually) Kareeser|Talk! 01:48, 28 August 2007 (UTC)

Template Wide Image for Panoramic views?
Hi guys hope you can help. Im using 1.10.1 and trying to get panoramic views of images. Ive heard of the Template Wide Image. Can someone please shed some light on this on how to use it? Im not sure if you have to create this page, or even, what the page is called? And what you have to put in this. Just any help greatly appreciated. Ive got an example below of use, but I cant work out what page the template is called, or what to put in there. Thank you.

—58.175.34.241 02:35, 27 August 2007 (UTC) —58.175.34.241 23:25, 27 August 2007 (UTC)


 * First thing after the {{ is the template name. Please have a look at Help:Templates to understand how templates work.  Also, where ever you got the coding from, look how they did it and what is contained within the template called.  To see what templates are called by an article, when you edit it, down the bottom of the page will be a list of the templates called by that article. --Dr DBW 01:04, 28 August 2007 (UTC)

Hi Dr DBW!. Thanks for replying. I understand templates, but I cant get the parameters in the template itself. There seems to be no doco at all on this template.


 * Don't need documentation on the template, just look at how it is used, the actual contents of the template. Provide a link to where the template is located and may be able to give you some pointers. --Dr DBW 00:20, 29 August 2007 (UTC)

Creating Non-Public, but Private Section of the Wiki?
In using MediaWiki, version 1.9, PHP5 and MySQL, how do I create a space, or area, that is hidden from public view for certain users? In other words, how can certain users (non-sysop, just regular visitors with a regular logon ID) have access to pages for their efforts that CAN NOT be picked up, or seen by the general public, annonymous/guest visitors or regular account holders with logon IDs? In other words, of several hundred general users, how can I create a private area for 10, of those "several hundred" general users, that only those 10 can have access to? Any recommendations?

—24.22.99.176 03:13, 28 August 2007 (UTC)


 * One thing that the developers harp on about is that MediaWiki is not a CMS, so if you want access for users page by page, Mediawiki isn't the one for that. See the bottom of User:Robchurch for his position on it ;-)  Anyway, getting beyond that, there are some extensions that have been written to allow some control over different articles.  Look through Category:Page Access Control Extensions to find the ones that have been developed to date. --Dr DBW 06:23, 28 August 2007 (UTC)


 * Actually, my "position" is that MediaWiki should not be used where a more appropriate package exists; if you need complicated, per-page access controls (particularly read access), then you should use software which was designed to provide that. Common sense, really. robchurch | talk 01:41, 30 August 2007 (UTC)

Logging the user's access
I have a task to log everytime the user has accessed some page. In other words every read or edit access to the given page from a given user should be logged. I also have to log how many times the given page has been accessed by a given user. Does anyone now where should I start? Does MediaWiki already have implemented solution for this, or should I write the extension?

Thanks for any kind of help, Aleksandar —202.175.107.210 06:34, 28 August 2007 (UTC)


 * This should be a quite easy task. Just create a new MySQL-table and insert a few lines of PHP-code into the index.php file (not the best way to do it, I know) to write each users' access into the database. You can get the pagetitle und the username from the mediawiki. Don't forget to check if the user is logged in.
 * I have done it this way for my doctoral thesis (see http://de.wikipedia.org/wiki/Benutzer:Maziminke [German] ) and it works. Greetings from Germany,


 * Thank you for your assistance. I will try to do it your way. But before I start, do you have any idea how can I separate the edit and the read access? I mean, how can I tell that at this time a given user has edited a page and at that time that he or she has only read the page?
 * Greetings to Germany from Macao, Aleksandar


 * Mediawiki uses a variable called "action" as you can see in the URL-field of your Browser when you are working with Wikipedia. Examples are "action=view" (the user is only reading an article) or "action=edit" (editing articles) and so on. Greetings, Maziminke

The [edit] links on each page.
Hi guys, just wondering if you can help. What Id like to be able to do is to put a new link next to each [edit] link on each page, so it would look like the following. [top] [edit] [top] [edit] [top] [edit] All the way down the page so that if you click on [top], you go straight to the top of the page. Any help greatly appreciated. —203.5.155.234 08:54, 28 August 2007 (UTC)

Not Working: Mailto: on MediaWiki:SideBar
Anyone know how to get a direct Mailto: link with a filled out subject / body working in the sidebar, instead of having a specific contact page? I know it doesn't seem like a good idea, but the email template is used so much.

Any help is appreciated. Thank you!