Project:Support desk/Archive 16

= Resolved Topics =

[RESOLVED] Can ParserFunctions do this?
Hey all, can parserfunctions do any commands along the line of:

if = yes then insert content1, original content elseif  = no then insert content2 , original content

-PatPeter, MediaWiki Support Team  06:21, 6 January 2008 (UTC)


 * Try looking up the various functions at meta:Help:ParserFunctions. Pay special attention to,  , and  ; I think one of those might do it. Tuvok[Talk/en.wp] 07:57, 6 January 2008 (UTC)


 * The entire page confuses me and as such I came here. -PatPeter, MediaWiki Support Team  17:03, 6 January 2008 (UTC)


 * So are you trying to do something like ? That inserts content 1 if   = yes, content 2 if   = no, and always shows original content. Tuvok[Talk/en.wp] 18:12, 6 January 2008 (UTC)


 * I more meant inserting two different contents for six choices with "yes" and "no" (just used those as display). Template talk:Languages is similar to my circumstance. -PatPeter, MediaWiki Support Team  18:15, 6 January 2008 (UTC)


 * Sounds like you want to use . How about using  ? Tuvok[Talk/en.wp] 19:18, 6 January 2008 (UTC)


 * Tried that, it is the one parser function I use more than any other but surprisingly that did not work, try testing the parser functions on Template talk:Languages and you might figure it out. -PatPeter, MediaWiki Support Team  20:00, 6 January 2008 (UTC)


 * What I've noticed a lot on the English Wikipedia is that the parameter passed to  will have a default value, e.g.   in the example I gave. Try adding the default value and see if it solves the problem. If not, I'll have to start digging deeper. Tuvok[Talk/en.wp] 20:36, 6 January 2008 (UTC)


 * I just edited the page, here, and added the "|"s, once it makes its way through the system we can see if it worked. -PatPeter, MediaWiki Support Team  22:37, 6 January 2008 (UTC)

I just tried this:

Without the brs (those for show), and it just ends up putting everything listed as "0", so obviously the other parsers aren't processing. -PatPeter, MediaWiki Support Team  22:41, 6 January 2008 (UTC)


 * Don't blow up at me, but I've been assuming you've already installed the ParserFunctions extension. Was that assumption incorrect? The #if, #ifeq, etc. functions don't come with MediaWiki (though IMHO, they should). Tuvok[Talk/en.wp] 02:47, 7 January 2008 (UTC)


 * Did I sound mad? No I was just stating an observation, and my use of the word "obviously" meant more that I had faith you knew what i was talking about.


 * Also remember the test template for this is on Wikipedia English. -PatPeter, MediaWiki Support Team  04:02, 7 January 2008 (UTC)


 * Dear, that's not what I meant to say. The intended meaning was more along the lines of "don't blow up at me if my assumption was wrong" (hyperbole included -- I don't really expect anyone to blow up here). Sorry about that; I should have been clearer.


 * But it does answer the question. You're testing these on en.wp, eh? I don't see why they're not working, then. Actually, unless I'm not understanding what the template is supposed to do, it looks like it's working quite well. If it's not working the way it's "supposed" to, what is going wrong? Tuvok[Talk/en.wp] 04:45, 7 January 2008 (UTC)


 * ARG I think I know what I have been doing wrong, the place where the "0" "1" "2" etc. are is where the content is supposed to go if it does not equal the pagename, as such I need to do something like this:

Let me test this and see how it works. -PatPeter,  MediaWiki Support Team  22:41, 9 January 2008 (UTC)

[RESOLVED] how to remove a user in 1.6 mediawiki ?
MediaWiki: 1.6.10 PHP: 4.3.9 (apache2handler) MySQL: 4.1.20 Extensions: Other: New User Email Notification by Rob Church Extension functions: efNewUserNotifSetup Hooks: AddNewAccount: efNewUserNotif

—209.98.139.24 18:42, 8 January 2008 (UTC)

I have just installed MediaWiki 1.6 (I am limited to php4) and I have created 2 dumb users and now would like to delete them. how ever I cannot find how. I have tried to install extension like user merge and delete, ... but they do not work on my 1.6 install ?!?!?!

what can I do?

thanks


 * MediaWiki was never designed to have users removed. If the users haven't made any edits, you can run a maintenance script named (creatively) removeUnusedAccounts.php on the command line, which will delete all users who haven't edited at all from the database. There is no facility to rename users who have made edits because that would probably cause problems with licenses like the GFDL and others. Tuvok[Talk/en.wp] 19:38, 8 January 2008 (UTC)
 * There is however Extension:Renameuser available to rename any user account but it requres MediaWiki 1.7.0 and above --Zven 20:15, 8 January 2008 (UTC)

Perfect that's what I was looking for. Thanks

[RESOLVED] newbie questions
Is there a way to add the "+" that is next to edit on talk pages to pages that normally don't have it?

Is there a way to automate signing by logged in users?

Is it possible to set up an account that would be tied to a non media wiki login (like my forum account) so that if one is logged in both are? I don't need to make every account on both systems tied this way, but just a generic admin for myself and co admins would be nice.

If I use mediawiki software for just my websites news pages and personal pages (webspace)for my SMF forum members instead of some big collaborative effort on something, is that just wrong, so wrong dude as a friend suggested? >.> .. —216.46.209.10 05:48, 5 January 2008 (UTC)


 * You can get the "+" tab to appear by putting  __NEWSECTIONLINK__  somewhere in the page source. Automatic signing has not been implemented due to the complexity of doing so (sometimes talk page edits shouldn't be signed, and the software would have to be basically redesigned to support such a feature). It has been suggested many times, though.


 * For account integration, check the extension list. I think you might find Extension:SMF Authentication useful.


 * Using MediaWiki as a news page and webspace is just your idea for using it. Your friend may not understand the concept of "hacking" things to make them fit a new purpose. ;) You might want to check out Extension:EditOwn, though, if the wiki is just personal web space for forum members. Hope all this helps you! Tuvok[Talk/en.wp] 07:58, 5 January 2008 (UTC)

[RESOLVED] The layout of main page has problems
The search function should be put at the top. Google did a better job in page layout, and it improved often. Now, it puts all of its options at the very top --76.68.123.15 20:30, 8 December 2007 (UTC)


 * Please give a link to your wiki, what version: MediaWiki, PHP, MySQL, and database. -PatPeter 18:03, 13 December 2007 (UTC)

[RESOLVED] Desktop Enabling
Hello all. I desktop-enabled my site on my computer but my idea is to make all links inside it open inside the same desktop-enabled window. Which they don't. They open in new windows. Any idea on how to fix this? Thank you. -SupervladiTM 07:03, 14 December 2007 (UTC)


 * I just tried it, this is a operating system problem and thus we cannot help you here. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:39, 10 January 2008 (UTC)

[RESOLVED] How to make a alphabetical list of sites?
MediaWiki: (1.11.0)

Hi!

How can i make a alphabetical list of linked sites! Such as

Many thanks for your help —Bpczi 11:56, 14 December 2007 (UTC)


 * Just make a page like:

C
And so on, the TOC will automatically be generated. Aside from making the actual list that has to be manual. -PatPeter,  MediaWiki Support Team  20:40, 10 January 2008 (UTC)

[RESOLVED] Header and Footer Template
MediaWiki: (Your version)

PHP: (Your version)

MySQL: (Your version)

Database: (Your version)

URL: [LINK Title]

Sorry for my english.... my question is: How can I redesign the header and the footer of the newest german wikimedia version? I could not find any header or footer template. How can I do this?

Thanks for Information

Jan


 * What do you mean header and footer? You mean in the skin? Or a fund raising template like on Wikipedia? -PatPeter, MedaiWiki Support Team  18:43, 17 December 2007 (UTC)

[RESOLVED] Not differentiate capital letter and lower-case in the serch and the internal links
MediaWiki: 1.9.3

PHP: 5.1.6 (apache2handler)

MySQL: 5.0.24a-Debian_9ubuntu0.1-log

Database:

URL:

How can I not distinguish capital letter and lower-case in the search and the internal links? But not change the titles of articules.—Ganon 21:06, 15 December 2007 (UTC)

Based on your spelling I am guessing that that is probably the problem and not capitals, because if you spell a two-word title right and use capitals instead of lower-case then it should still pick up in the search. -PatPeter, MedaiWiki Support Team  03:36, 16 December 2007 (UTC)

[RESOLVED] Problem with a search
Hello. I have a problem with a search: how to force it search for all word forms in russian? For example, search for "товарный" also returns "товарного", "товарным", etc. Is it possible? I have read about Lucene search, but could not understand whether it will help or not? If yes, how to compile it under Windows?
 * MediaWiki: 1.11.0
 * PHP: 5.1.4 (apache2handler)
 * MySQL: 5.0.21-community-nt


 * Try adding the other declensions or conjugations in Infoboxes on the pages, then again it depends what you are using your wiki for, what are you using your wiki for? -PatPeter, MediaWiki Support Team  01:34, 29 December 2007 (UTC)

[RESOLVED] Autolinking

 * MediaWiki: 1.11.0
 * PHP: 5...
 * MySQL: 4...
 * Database: no idea
 * URL: l3ga.tk

How can I disable the autolinking, that's when I write http://, it's getting linked?

86.90.194.103 17:10, 31 December 2007 (UTC)
 * You can enclose the http:// link inside of a &lt;nowiki&gt; (for example: &lt;nowiki&gt;http://example.com&lt;/nowiki&gt; would yield http://example.com ). --Skizzerz talk 17:16, 31 December 2007 (UTC)

[RESOLVED] SVGs improperly displayed
MW 1.11 FC5 php 5 mySQL 5

I have tried to upload quite a few SVG's and they all seem to upload but when I try to view them they look as if bits and pieces are missing or just a black block or they show up as a black block in the image preview window, yet look fine if you click on them to view image. I'm creating my SVG's by exporting them with OpenOffice Draw..

Also; the Minor edit, watch this page check boxes are below the save, preview buttons and they show up vertically.

Any suggestions?

Thanks.. -- DP 67  (talk/contribs) 04:17, 6 January 2008 (UTC)


 * Well, my experience (and consulting a few doc pages here) has led to the realization that (brace yourself) ImageMagick's support for SVG files, er, sucks (frankly). I had the same issue, and looked at Manual:Image Administration. I switched to using Inkscape for rendering and all the problems went away (once I cleared the thumbnail directory of rendered SVGs, of course). You could also use sodipodi or rsvg (the latter is what the Wikimedia Foundation uses); it all depends on what you have available. But don't use ImageMagick if something else is available -- that's the bottom line. For me it was easy to switch because I'm running a home server for our intranet, but I don't know if you're on shared hosting or what; you'll probably have to talk with your host's support department to get info on other SVG renderers. Hope that helps you! Tuvok[Talk/en.wp] 05:40, 6 January 2008 (UTC)
 * Would also recommend installing rsvg and setting $wgSVGConverter='rsvg'; as well as adding svg to your $wgFileExtensions in your LocalSettings.php --Zven 08:24, 6 January 2008 (UTC)


 * Bravo! RSVG works like a charm.. Luckily its my own box so I don't have to go asking for anything, and luckily Gnome is installed so rsvg libs are already there. This whole wiki project is not really a website perse I am just gathering information which interests me and making my own personal encyclopedia as well as using it to understand the inner workings of how Wikis work. I also use it as a proving ground for article I plan to post on WP. Now, if only I could figure out why the check boxes on the edit page are screwed up.
 * -- DP 67  (talk/contribs) 18:43, 7 January 2008 (UTC)

[RESOLVED] Autolinking InterWiki Links
How do I enable AUTO InterWiki links so that my wiki articles link to each other. Is there any option available to auto link wiki articles?


 * What do you mean? Can you be more specific? -PatPeter, MediaWiki Support Team  17:05, 7 January 2008 (UTC)

I want to print Interwiki link. But instead of me using the syntax for interwiki link, is there any extension/configuration that can automatically do the interlinking.

For Example: Consider that I have published 3 articles one each on PHP, Linux and Apache. Now if there is a text saying "PHP performs best with LINUX environment" in my PHP article. Is it possible that wiki identifies that there is another article about LINUX in the wiki and automatically creates a interwiki link to LINUX article. —The preceding unsigned comment was added by Kunwarbs (talk • contribs) 09:31, 10 January 2008 (UTC). Please sign your posts!


 * No, just place the in yourself. -PatPeter, [[Image:Tournesol.png|20px]] MediaWiki Support Team  20:52, 10 January 2008 (UTC)