Hi--
I'm stumped. I have a mediawiki installation and am using the default monobook skin. I'd like to target an anchored heading of a page, where:
(a) Main_Page is the page I am targetting.
(b) The <a> element I would like to target on the main page is called "How_We_Can_Help".
Problem: In the sidebar, I typed:
* About ** [[Main_Page#How_We_Can_Help]]|How We Can Help
But this did not work.
I also tried many variants, with and without the "[[ ]]". The <a> exists, and I was able to do what I want successfully in normal HTML. Can I make this work in mediawiki, and if so how?
Many thanks.
Firstly the syntax you should be using is: * About ** Main Page#How We Can Help|How We Can Help
However I recommend you actually use: * About ** howwecanhelp-url|howwecanhelp And at [[MediaWiki:howwecanhelp]] insert: How We Can Help And at [[MediaWiki:howwecanhelp-url]] insert: Main Page#How We Can Help
It makes things work cleaner, allows localization, and cleans up ugly page ids.
~Daniel Friesen(Dantman, Nadir-Seen-Fire) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
Craig_Flores@PlayStation.Sony.com wrote:
Hi--
I'm stumped. I have a mediawiki installation and am using the default monobook skin. I'd like to target an anchored heading of a page, where:
(a) Main_Page is the page I am targetting.
(b) The <a> element I would like to target on the main page is called "How_We_Can_Help".
Problem: In the sidebar, I typed:
- About
** [[Main_Page#How_We_Can_Help]]|How We Can Help
But this did not work.
I also tried many variants, with and without the "[[ ]]". The <a> exists, and I was able to do what I want successfully in normal HTML. Can I make this work in mediawiki, and if so how?
Many thanks.
mediawiki-l@lists.wikimedia.org