Hi,
I'm trying to format a link like this: [[musulman]]ă. On ro.wp, this is equivalent to [[musulman|musulman]]ă (the special letter is not included in the wiki link. While going through http://www.mediawiki.org/wiki/Markup_spec I saw that:
<internal-link> ::= <internal-link-start> <article-link> [ "#" <section-id> ] [ <pipe> [<link-description>] ] <internal-link-end> [<extra-description>] <extra-description> ::= <letter> [<extra-description>] <letter> ::= <ucase-letter> | <lcase-letter> <ucase-letter> ::= "A" | "B" | ... | "Y" | "Z" <lcase-letter> ::= "a" | "b" | ... | "y" | "z"
This tells me that only ASCII letters are used for this type of linking. However, on fr.wp I can write [[Ren]]é and this is equivalent to [[Ren|René]].
How was this made? Is it something that can be set by from a page or should some php be changed?
Thanks, Strainu
You have to use the MediaWiki:Linktrail page, for example: http://hu.wikipedia.org/wiki/MediaWiki:Linktrail (or see the same page on fr.wiki).
D.
You have to use the MediaWiki:Linktrail page, for example: http://hu.wikipedia.org/wiki/MediaWiki:Linktrail (or see the same page on fr.wiki).
AFAIK, it has to be set in the language file thru $linkTrail variable, because it looks like that MediaWiki:Linktrail is no longer used.
On Thu, Jun 4, 2009 at 10:38 PM, Tar Dániel bdanee88@gmail.com wrote:
You have to use the MediaWiki:Linktrail page, for example: http://hu.wikipedia.org/wiki/MediaWiki:Linktrail (or see the same page on fr.wiki).
D. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Thu, Jun 4, 2009 at 10:53 PM, Ahmad Sherif ahmad.m.sherif@gmail.com wrote:
You have to use the MediaWiki:Linktrail page, for example: http://hu.wikipedia.org/wiki/MediaWiki:Linktrail (or see the same page on fr.wiki).
AFAIK, it has to be set in the language file thru $linkTrail variable, because it looks like that MediaWiki:Linktrail is no longer used.
On Thu, Jun 4, 2009 at 10:38 PM, Tar Dániel bdanee88@gmail.com wrote:
You have to use the MediaWiki:Linktrail page, for example: http://hu.wikipedia.org/wiki/MediaWiki:Linktrail (or see the same page on fr.wiki).
D. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Yep, I started from there and got to http://meta.wikimedia.org/wiki/MediaWiki_talk:Linktrail It suddenly became all clear :)
Thank you all for your responses.
Strainu
2009/6/4 Strainu strainu10@gmail.com:
While going through http://www.mediawiki.org/wiki/Markup_spec I saw that:
<internal-link> ::= <internal-link-start> <article-link> [ "#" <section-id> ] [ <pipe> [<link-description>] ] <internal-link-end> [<extra-description>] <extra-description> ::= <letter> [<extra-description>] <letter> ::= <ucase-letter> | <lcase-letter> <ucase-letter> ::= "A" | "B" | ... | "Y" | "Z" <lcase-letter> ::= "a" | "b" | ... | "y" | "z"
This tells me that only ASCII letters are used for this type of linking.
It's wrong. Don't trust that page too much. It was written after the fact to try to document the parser, not something the parser was designed to follow. It's almost certainly wrong in a lot of corner cases. (Like non-English languages, apparently.)
On Thu, Jun 4, 2009 at 3:53 PM, Ahmad Sherifahmad.m.sherif@gmail.com wrote:
AFAIK, it has to be set in the language file thru $linkTrail variable, because it looks like that MediaWiki:Linktrail is no longer used.
Correct.
2009/6/4 Strainu strainu10@gmail.com:
Hi,
I'm trying to format a link like this: [[musulman]]ă. On ro.wp, this is equivalent to [[musulman|musulman]]ă (the special letter is not included in the wiki link. While going through http://www.mediawiki.org/wiki/Markup_spec I saw that:
<internal-link> ::= <internal-link-start> <article-link> [ "#" <section-id> ] [ <pipe> [<link-description>] ] <internal-link-end> [<extra-description>] <extra-description> ::= <letter> [<extra-description>] <letter> ::= <ucase-letter> | <lcase-letter> <ucase-letter> ::= "A" | "B" | ... | "Y" | "Z" <lcase-letter> ::= "a" | "b" | ... | "y" | "z"
This tells me that only ASCII letters are used for this type of linking. However, on fr.wp I can write [[Ren]]é and this is equivalent to [[Ren|René]].
How was this made? Is it something that can be set by from a page or should some php be changed?
The set of characters allowed in the so-called linktrail depends on the language used, and is set in the individual LanguageXx.php files.
Roan Kattouw (Catrope)
wikitech-l@lists.wikimedia.org