[MediaWiki-l] Metrolook problem with some anchor link

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Metrolook problem with some anchor link

Nicolas Petitdemange
Hello,

I have a problem with links "anchor", but only with the theme
"metrolook" (no problem with "Vector" for example).
When I activate the "Metrolook" theme, the complex "anchor" links no
longer work. The simple links works.

Example of a link that works:
https://wiki.example.org/AGD2018#Programme

Example of a link that doesn't work:
https://wiki.example.org/AGD2018#R.C3.A9sultat

(year, french wiki, so accent character)

MediaWiki 1.30
Php 5.6.33
MariaDB 5.5.56
ICU 57.1

Thanks for your help.

Nicolas Petitdemange

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

signature.asc (484 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Metrolook problem with some anchor link

Brian Wolff
It sounds like metrolook is somehow not respecting $wgFragmentMode setting.

You could try setting:

$wgFragmentMode = [ 'html5', 'legacy' ];

which will force using links of style
https://wiki.example.org/AGD2018#Résultat instead of
https://wiki.example.org/AGD2018#R.C3.A9sultat

--
Brian

On Sat, Apr 28, 2018 at 7:11 AM, Nicolas Petitdemange
<[hidden email]> wrote:

> Hello,
>
> I have a problem with links "anchor", but only with the theme
> "metrolook" (no problem with "Vector" for example).
> When I activate the "Metrolook" theme, the complex "anchor" links no
> longer work. The simple links works.
>
> Example of a link that works:
> https://wiki.example.org/AGD2018#Programme
>
> Example of a link that doesn't work:
> https://wiki.example.org/AGD2018#R.C3.A9sultat
>
> (year, french wiki, so accent character)
>
> MediaWiki 1.30
> Php 5.6.33
> MariaDB 5.5.56
> ICU 57.1
>
> Thanks for your help.
>
> Nicolas Petitdemange
>
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Metrolook problem with some anchor link

Nicolas Petitdemange
Thanks for your help, it's works !


Le 28/04/2018 à 19:57, Brian Wolff a écrit :

> It sounds like metrolook is somehow not respecting $wgFragmentMode setting.
>
> You could try setting:
>
> $wgFragmentMode = [ 'html5', 'legacy' ];
>
> which will force using links of style
> https://wiki.example.org/AGD2018#Résultat instead of
> https://wiki.example.org/AGD2018#R.C3.A9sultat
>
> --
> Brian
>
> On Sat, Apr 28, 2018 at 7:11 AM, Nicolas Petitdemange
> <[hidden email]> wrote:
>> Hello,
>>
>> I have a problem with links "anchor", but only with the theme
>> "metrolook" (no problem with "Vector" for example).
>> When I activate the "Metrolook" theme, the complex "anchor" links no
>> longer work. The simple links works.
>>
>> Example of a link that works:
>> https://wiki.example.org/AGD2018#Programme
>>
>> Example of a link that doesn't work:
>> https://wiki.example.org/AGD2018#R.C3.A9sultat
>>
>> (year, french wiki, so accent character)
>>
>> MediaWiki 1.30
>> Php 5.6.33
>> MariaDB 5.5.56
>> ICU 57.1
>>
>> Thanks for your help.
>>
>> Nicolas Petitdemange
>>
>> _______________________________________________
>> 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


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

signature.asc (484 bytes) Download Attachment