Hi In order to add new link to navigation tool, I did the following steps. 1. Add a line of the form array( 'text'=>'something', 'href'=>'something-url' ) in LocalSettings.php It is showing me <Something> in navigation tool instead of something I dont know why? when I click this link I get error -Link target missing. 2. Then it is written in FAQ to edit (create) the pages in your wiki (substituting the names you chose); the first should contain whatever you want the link's text to be (e.g. "Contact us") (Blue above), and the second either the name of a wiki page (e.g. "Project:Get in touch") or the full URL of an external document . I did'nt get it clearly.How many pages should i create here. How will I create new pages with what names and how will they be linked in namespace.
Please help me here. Thanks and Regards, Munish Mittal
On 31/05/05, Ext-Munish.Mittal@nokia.com Ext-Munish.Mittal@nokia.com wrote:
- Add a line of the form array( 'text'=>'something', 'href'=>'something-url' ) in LocalSettings.php
It is showing me <Something> in navigation tool instead of something I dont know why? when I click this link I get error -Link target missing.
[...]
How will I create new pages with what names and how will they be linked in namespace.
The answers to your two questions are the same 1) you create a page called [[MediaWiki:Something]], which is what the 'text'=>'something' part of your edit refers to; it should contain the text of the link 2) you create a page called [[MediaWiki:Something-url]], which is what the 'href'=>'something-url' refers to; it should contain the target of the link, which is either a page name or a URL
To make this as clear as possible, the names you choose in LocalSettings.php don't actually matter - they are just references to pages in the database. If you added the following to LocalSettings.php: array( 'text'=>'Munish', 'href'=>'Mittal' ) You would create a page on your wiki called "MediaWiki:Munish", and a page called "MediaWiki:Mittal". If [[MediaWiki:Munish]] contained the text "Silly example" and [[MediaWiki:Mittal]] contained "http://example.com", a link would appear labelled "Silly example" and pointing to http://example.com. "Munish" and "Mittal" would never appear on the screen.
Over at www.codex.wordpress.org we use MediaWiki version 1.4.2 and one of the brainy sysops is out taking tests so maybe someone could help.
The problem: When a Table of Contents is created, either automatically or with __FORCETOC__, that TOC is presented as floating right.
The question? Where would the administrator/sysops look to fix this so that the TOC floated to the left instead. I know on my test MediaWiki all TOCs float left so what did the sysops change at the wordpress site to make it float right?
Thanks for any insight!
Michael E. Hancock volunteer at www.codex.wordpress.org mhancock@us.net
Open up your skin's main css file. For monobook it would be skins/Monobook/main.css. FInd the class "toc", there should be a
float:right
line. Change it to float:left or remove that line completely which will be the default inline action, I believe.
Michael E. Hancock wrote:
Over at www.codex.wordpress.org we use MediaWiki version 1.4.2 and one of the brainy sysops is out taking tests so maybe someone could help.
The problem: When a Table of Contents is created, either automatically or with __FORCETOC__, that TOC is presented as floating right.
The question? Where would the administrator/sysops look to fix this so that the TOC floated to the left instead. I know on my test MediaWiki all TOCs float left so what did the sysops change at the wordpress site to make it float right?
Thanks for any insight!
Michael E. Hancock volunteer at www.codex.wordpress.org mhancock@us.net
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
First of all, I don't know how that happened.
The other place to look is [[MediaWiki:Monobook.css]].
On 5/31/05, Michael E. Hancock mhancock@us.net wrote:
Over at www.codex.wordpress.org we use MediaWiki version 1.4.2 and one of the brainy sysops is out taking tests so maybe someone could help.
The problem: When a Table of Contents is created, either automatically or with __FORCETOC__, that TOC is presented as floating right.
The question? Where would the administrator/sysops look to fix this so that the TOC floated to the left instead. I know on my test MediaWiki all TOCs float left so what did the sysops change at the wordpress site to make it float right?
Thanks for any insight!
Michael E. Hancock volunteer at www.codex.wordpress.org mhancock@us.net
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Michael E. Hancock wrote:
Over at www.codex.wordpress.org we use MediaWiki version 1.4.2 and one of the brainy sysops is out taking tests so maybe someone could help.
The problem: When a Table of Contents is created, either automatically or with __FORCETOC__, that TOC is presented as floating right.
The question? Where would the administrator/sysops look to fix this so that the TOC floated to the left instead. I know on my test MediaWiki all TOCs float left so what did the sysops change at the wordpress site to make it float right?
Funnily enough I wanted to copy your right floating skin!! I scanned your CSS files to see how you did it and it's a customised version of the skin you are using and you have a "float: right" as one of the customisations in an extra css file (it's a small file with just this one stanza in).
By the way, there is a firefox extension to "Edit CSS" which is really useful for tweaking this stuff visually.
Drop me a line if you can't find it. I rather like what you did though...
Ed W
On 5/31/05, Rowan Collins rowan.collins@gmail.com wrote:
On 31/05/05, Ext-Munish.Mittal@nokia.com Ext-Munish.Mittal@nokia.com wrote:
To make this as clear as possible, the names you choose in LocalSettings.php don't actually matter - they are just references to pages in the database. If you added the following to LocalSettings.php:
Rowan,
Thanks, this just clarified something which I was when writing a new special page, the same kind of localization/indirection through messages happens for special pages also. The <blah blah> reminded me of how Special:SpecialPages was displaying my new special page at one point. I'd fixed it by using the global $wgMessageCache and the addMessages() method, a trick I'd picked up by reading the BoardVote extension. Your answer to this other question made me realize that adding a page in the mediawiki namespace for the name of my special page would work as well. I just expanded my earlier article on meta. http://meta.wikimedia.org/wiki/Writing_a_new_special_page
Were you able to resolve this problem? I get the <Something> as well.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Ext-Munish.Mittal@nokia.com Sent: Wednesday, June 01, 2005 12:08 AM To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Error in customizing navigation tool
Hi In order to add new link to navigation tool, I did the following steps.
- Add a line of the form array( 'text'=>'something',
'href'=>'something-url' ) in LocalSettings.php It is showing me <Something> in navigation tool instead of something I dont know why? when I click this link I get error -Link target missing. 2. Then it is written in FAQ to edit (create) the pages in your wiki (substituting the names you chose); the first should contain whatever you want the link's text to be (e.g. "Contact us") (Blue above), and the second either the name of a wiki page (e.g. "Project:Get in touch") or the full URL of an external document . I did'nt get it clearly.How many pages should i create here. How will I create new pages with what names and how will they be linked in namespace.
Please help me here. Thanks and Regards, Munish Mittal
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I'm trying to sort through the code here, and it looks like it may be related to "memcached" or some kind of caching strategy. It seems that MW keeps entering some kind of mem caching function in MessageCache.php, but that's really strange because I have $wgUseMemCached set to false! Why would we be doing memcache activities if that value is set to false?
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Carlton B Sent: Sunday, June 05, 2005 5:07 PM To: MediaWiki announcements and site admin list Subject: RE: [Mediawiki-l] Error in customizing navigation tool
Were you able to resolve this problem? I get the <Something> as well.
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Ext-Munish.Mittal@nokia.com Sent: Wednesday, June 01, 2005 12:08 AM To: mediawiki-l@Wikimedia.org Subject: [Mediawiki-l] Error in customizing navigation tool
Hi In order to add new link to navigation tool, I did the following steps.
- Add a line of the form array( 'text'=>'something',
'href'=>'something-url' ) in LocalSettings.php It is showing me <Something> in navigation tool instead of something I dont know why? when I click this link I get error -Link target missing. 2. Then it is written in FAQ to edit (create) the pages in your wiki (substituting the names you chose); the first should contain whatever you want the link's text to be (e.g. "Contact us") (Blue above), and the second either the name of a wiki page (e.g. "Project:Get in touch") or the full URL of an external document . I did'nt get it clearly.How many pages should i create here. How will I create new pages with what names and how will they be linked in namespace.
Please help me here. Thanks and Regards, Munish Mittal
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
On 05/06/05, Carlton B carltonb@mindspring.com wrote:
Were you able to resolve this problem? I get the <Something> as well.
Please read http://mail.wikimedia.org/pipermail/mediawiki-l/2005-May/005288.html and http://meta.wikimedia.org/wiki/MediaWiki_FAQ#How_do_I_change_the_contents_of...
Basically, the "<Something>" means "I can't find the page called MediaWiki:Something which you've referred to". The "mem caching function" you're seeing is probably the function to fetch this from the database.
To summarise once again, the "something" refers not to the literal text "something" but to "whatever the page MediaWiki:Something currently contains". It's *supposed* to make reconfiguring *easier*, because changes can be made by any user with "sysop" status through the normal wiki interface.
I may, of course, be wrong, in which case I apologise, but it seems many people have reawl trouble getting the hang of this.
mediawiki-l@lists.wikimedia.org