User talk:Smaug

From MediaWiki.org
Jump to navigation Jump to search

Feel free to talk to me..

Logo/Uploading Help[edit]

Hello,

I'm having a few problems with my MediaWiki and was wondering if you could help me out.

First off, I can't get file uploads to work. I keep getting a message that says they are disabled even though I have went through the steps to enable them such as changing the words to "true" and "yes" in the LocalSetting.php and php.ini files. Is there something else I can try?

The other thing is regarding the logo on the left.

For some reason, there is no logo area inside the LocalSetting.php file where they tell you to go to change the picture. Is there a way to fix this?

Any help would be appreciated. I'm getting a little frustrated.

http://www.twins-territory.com/wiki/index.php?title=Main_Page

--12.218.227.226 18:43, 3 June 2008 (UTC)

You should consider getting an account on MW.
Anyway, $wgLogo is not in LocalSetting.php; you must add it. Whenever documentation or instructions say to set a variable in Localsettings.php, feel free to add it in if it is not there.
I do not yet have personal experience in file uploads. I noticed that you asked this question on the Support Desk. If you do not get an answer there, you could try #mediawiki on IRC. Smaug Tournesol.png 19:24, 3 June 2008 (UTC)


Okay, so I just need to add the logo thing into the file. Do you know what exactly I need other than the "$wgLogo" part?

--12.218.227.226 13:22, 4 June 2008 (UTC)

If you have your image at "http://www.twins-territory.com/wiki/images/newlogo.png" then set
$wgLogo = "images/newlogo.png";
or if that doesn't work
$wgLogo = "http://www.twins-territory.com/wiki/images/newlogo.png"
Also see Manual:$wgLogo. Smaug Tournesol.png 15:39, 4 June 2008 (UTC)

Okay, that worked great. Now I need to simply fix the upload thing because I can't start unless I can upload pictures.

I uploaded the logo in the backend manually...

--12.218.227.226 21:52, 4 June 2008 (UTC)

I know you said that you don't have much experience with the uploads aspect of MediaWiki, but I was looking through the documentation again trying to figure it out, and saw that I have no php.ini folder which is an area that you need to set file_uploads to on.

Could that be the reason? If so, how could I go about adding this file?

Nevermind I guess it wasn't in the Wiki folder and was just a different file on the server. Do you think I'd need to move it to the Wiki folder to make it work?

Also, is there someone you could ask about this? Thanks for your help so far...

--12.218.227.226 00:54, 5 June 2008 (UTC)

Nevermind again. It looks like it was only overwriting one of the LocalSettings.php files meaning the other one was still set to "false". I made the change and uploads are working.

Thanks for all of your help, I appreciate it.

--12.218.227.226 01:04, 5 June 2008 (UTC)

Page name edit[edit]

Hi, I wasn't sure about how to continue the discussion in the support desk so I try here. I don't know how to rename a page, so I can't try what you suggested, but I would like to explain you my situation : I have a company wiki in which I have two sections with many pages in it. The content is the same from one section to the other, so I created all the pages for my first section, and I'm using these pages for the second section. But, as the title of the pages comes from the URL (if I'm right), from the first section to the second, the page names are the same. That's what I want to change, instead of creating all the pages for the second section with the same content as the first section. I hope this explanation was clear enough. -- FB

(To rename a page, find an adminstrator or someone with "move" rights on your wiki, and they can move the page. If you see a "move" tab in the same line of tabs as your "edit" tab, you can move a page yourself.)
How are you separating the sections? Are both sections in the same namespace, so that effectively each page will have a duplicate, the only change being name? How about using tranclusion of a page in the main namespace (read both links)?
And in the future, if you want to continue a discussion on a support page or any page, just click the edit button. Smaug Tournesol.png 02:32, 7 June 2008 (UTC)

Ok so I tried to rename a page, but it redirects the page, so the first one is not available anymore. It is possible that what I'm asking for is not possible.
I'll try to describe the structure of what I would like to change with an example, let's say my wiki is about cars: on my main page, I created categories (car companies). On one categorie's page (let's say Mercedes), I created subcategories (Mercedes' models). In two of my subcategories (for example Class A and Class S), I have a list of properties (car's characteristics), and this list is almost the same for Class A and Class S. So I created the list on Class A's page, with a link to a page with more information for each characteristic on the list. What I have when I edit Class A's page is something like that:
*[[ClassA_Engine|Engine]]
**[[ClassA_Engine_Radiator|Radiator]]
and so on...
As the list is almost the same for Class S's page, I copied the source of Class A's page to Class S's page. So now when I watch a characteristic page of Class A's list, the title is "Class A whateverthenameis". And of course, when I watch a characteristic page of Class S's list, the title is the same while I would like to have "Class S whateverthenameis".
So I guess there is no way to make the title change depending on which page I come from, but do you think I could find another way (such as a template that would ask which title I want for my page)?
Thanks for your help!
-- FB

I'm not certain I fully understand what you want, but perhaps you could use a template with a parameter specifying class. IE {{characteristic|class}} so that for engine you make Template:Engine, and then for class A of that engine you tranclude {{engine|A}}. Inside the templates, you could have text such as "Class {{{1}}} engine info..." Hope this helps. Smaug Tournesol.png 03:15, 8 June 2008 (UTC)
Also, a page containing a redirect (such as a page that has been moved from) can still be edited. Just type in the URL and append "&action=edit" to go directly to the editing page. (Alternatively, append "&redirect=no" to the URL and be brought to the page, on which you can then click the edit tab.) Smaug Tournesol.png 00:10, 9 June 2008 (UTC)

Something like this...[edit]

Hello again,

I had a quick question for you regarding a table. I was wondering if I could do something like the following:

http://www.twins-territory.com/roster/players/joe-mauer.html

And something like this:

http://www.twins-territory.com/roster/organization-board/minnesota-twins.html

Is that possible to do on MediaWiki, and is so, how difficult would it be? The part with the stats is not critical, but the information on the page with the player's picture would be.

--12.218.227.226 16:37, 14 June 2008 (UTC)

Yes, it is possible. Have you looked at Help:Tables? Smaug Tournesol.png 17:15, 14 June 2008 (UTC)

Yeah, I checked that out. Would something that complex be pretty hard to do?

--12.218.227.18 03:25, 17 June 2008 (UTC)

Well, if it, it will get easier with practice. Try it out. Start small, start with a single part of the table, and move on from there. Smaug Tournesol.png 16:01, 17 June 2008 (UTC)

Advertising Help[edit]

I need help installing Advertisements on the sides (Out of the actual editing spot) of my wiki vindemi.com . I know you have to edit either monobook.php or monobook.css but I am not sure/I dont know which one and where exactly in the file to imput the code. And which code do I use; the one that google adsense generates? Thanks --Vindemi 02:35, 30 July 2008 (UTC)

I haven't yet done it myself, but just study monobook.php and put the code in where you want the ad to go. I would try using the generated code, and see if that works. You might also want to check out extensions here. If you are still at a loss, you should consider asking your question at the Support Desk where multiple people will see your question and increase your chance of receiving a good answer. Smaug Tournesol.png 17:20, 30 July 2008 (UTC)
I posted it a week ago but no one answered. Do you know anywhere else I may find how to do this? --72.211.220.204 03:20, 2 August 2008 (UTC)
There is the ever-popular IRC channel (#mediawiki on Freenode). Smaug Tournesol.png 15:28, 4 August 2008 (UTC)
Thanks I have finally fixed it. I have a problem with my URL(s) though. My site is located at http://vindemi.com/wiki/index.php?title=Main_Page. How do I make it http://vindemi.com/wiki/Main_Page ? Thanks --Vindemi 03:00, 6 August 2008 (UTC)
Manual:Short URL. By the way, how did you end up solving your advertising issue? Smaug Tournesol.png 20:26, 6 August 2008 (UTC)
Well it wasn't easy. I got redirected from one site to another. I finally found the code at metawiki. But when I got the code, I was having trouble installing it because it doesnt say were to install it in the file. So after 2 hours of experimenting and putting it everywhere in the file, I finally found the right place and its a success! I am going to actally publish where to insert the code. Thanks for you help though. I have a Question: I was on wikindex.com right now and i noticed in thier administration page aside from sysop, checkuser, Bureaucrat, they have also added thier own text that says interwiki. for ex: instead of saying "Admin ‎(Bureaucrat, Sysop)" it is "Admin ‎(Bureaucrat, Sysop, Owner). Is there any dummyproof way I can do this? Thanks. --Vindemi 00:38, 8 August 2008 (UTC)
Check out Manual:User rights. Smaug Tournesol.png 02:57, 9 August 2008 (UTC)

Doesnt show on Google Analytics[edit]

Hey, Im still having trouble with this extension, can you perhaps help?

From: Extension talk:Google Analytics Integration

I followed your installation process step by step. But it doesnt work. Does anyone have more information? Thanks.--Swessels 10:24, 30 July 2008 (UTC)

Have you waited a day? It might just take a little time to show up. Smaug Tournesol.png 17:11, 30 July 2008 (UTC)
Uh, yes :-) Its been almost a week now, still nothing.... --Swessels 06:35, 1 August 2008 (UTC)
I've looked at the source code for my index page, and there is nothing in that showing the google code, so it seems asif the code is not "pasted" into every page. The extension is installed, when I look at the Special page: Version.--Swessels 08:42, 4 August 2008 (UTC)
So you have the code at the bottom of LocalSettings.php, you have the extension code in the correct directory, and you put your Google analytics code replacing UA-xxxxxxx-x. I don't know why it wouldn't be working. The google code won't show up in any of the index.php code when you look at it, that's normal. It gets included when the code is executed by the server. Smaug Tournesol.png 15:35, 7 August 2008 (UTC)
ok, got it to work...silly me...favicon was just after the the google analytics code, i just swapped the code so that the google analytics is at the VERY end...now it works! thanx for the help! --Swessels 18:35, 7 August 2008 (UTC)
Glad you were able to get it working. :) Smaug Tournesol.png 22:43, 8 August 2008 (UTC)

Links and your sig[edit]

Support team members please click this link.
If you are a member of the support team you should have all of these links in your watchlist.

Ever think of putting a link to your talk page on your sig? Lol I like the convenience. Also, the image in your sig has usage in other places and does not necessarily always mean "MediaWiki Support Team" so I would suggest adding that to your sig. -PatPeter Tournesol.png MediaWiki Support Team 01:27, 18 August 2008 (UTC)

Yup I've got all those links watched. :) I know the Logo in my sig does not mean MW Support Team, but adding in the whole words makes my sig too long for my tastes. I thought the Logo was a nice compromise, though I acknowledge it is less informative. Smaug Tournesol.png(talk) 02:51, 18 August 2008 (UTC)