[Wikitech-l] Internal links and diacritics

2009-06-04 Thread Strainu
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

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Internal links and diacritics

2009-06-04 Thread Tar Dániel
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


Re: [Wikitech-l] Internal links and diacritics

2009-06-04 Thread Ahmad Sherif

 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 bdane...@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


Re: [Wikitech-l] Internal links and diacritics

2009-06-04 Thread Aryeh Gregor
2009/6/4 Strainu strain...@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.she...@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.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Re: [Wikitech-l] Internal links and diacritics

2009-06-04 Thread Roan Kattouw
2009/6/4 Strainu strain...@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 mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Internal links and diacritics

2009-06-04 Thread Strainu
On Thu, Jun 4, 2009 at 10:53 PM, Ahmad Sherif ahmad.m.she...@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 bdane...@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

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l