Hi Chris,
no you misunderstood.
The example link [[SamplePage#SampleAnchor]] is not on the "SamplePage". If someone clicks the link he gets the page from URL .../index.php/SamplePage#SampleAnchor
I want to switch things on the SamplePage and want to check if it is possible to get the #SampleAnchor info to use for switching.
If you know some other way to transfer a param from the calling page to the called page, that would be fine too. But I never read that this is possible in MW...
Greetings
Frank
On 25.01.2015 18:58, Chris Tharp wrote:
Hi Frank,
Couldn't you just do:
[[SamplePage#SampleAnchor| Text you want here]]
Sent from my iPad
On Jan 25, 2015, at 8:45 AM, Frank Baxmann service@frankbaxmann.de wrote:
Hi,
I have a simple question about using anchors in links.
Example link: [[SamplePage#SampleAnchor]]
Is there any possible way known to get information about the used anchor in "SamplePage"?
For example with ParserFunction {{#ifeq: <here the anchor text>| compare text|.....}}?
Greetings
Frank Baxmann
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l