Hi, I have resolve the problem that I can display "a_b_c".
What I did is modify the code in mediawiki/includes/Title.php ,in which I
found something like "str_replace( '_',' ',... )".
But it's not complete. I cannot display "_a_b_c_" .The display is also
"a_b_c".
So I guess there are some mechanisms that convert the string from "_a_b_c_"
to "a_b_c".
Can anyone tell me where is the code for the convert mechanisms?
Thans very much.

2012/7/17 Platonides <[email protected]>

> On 16/07/12 11:28, wangfeng wangfeng wrote:
> > Yes, I have set "$wgAllowDisplayTitle = true; " in LocalSettings.php.
>
> If you want [[A B C]] to show as a_b_c, you will need
> $wgRestrictDisplayTitle = false; since [[a b c]] is a different article.
>
> However, you can show [[A b c]] as a_b_c with the given displaytitle.
>
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to