[MediaWiki-l] How to define a different pagename?

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

[MediaWiki-l] How to define a different pagename?

baalchina
Hi I am new to mediawiki, and I have a question.


My wiki site is www.wiki.com, and I made a new page such as 'www.wiki.com/index.php/Car'. In this page, the "page name" below article is 'Car'. But my users thinks a Chinese word such as '汽车' is better.(Which means car in Chinese)


So, how can I made the link still  www.wiki.com/index.php/Car, while the page name is '汽车'?


Thanks. I searched the help page, but still found no answer.
_______________________________________________
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: How to define a different pagename?

John Doe-27
Look up displaytitle and wgrestrictdisplaytitle

On Wed, Jan 30, 2019 at 8:15 AM baalchina <[hidden email]> wrote:

> Hi I am new to mediawiki, and I have a question.
>
>
> My wiki site is www.wiki.com, and I made a new page such as '
> www.wiki.com/index.php/Car'. In this page, the "page name" below article
> is 'Car'. But my users thinks a Chinese word such as '汽车' is better.(Which
> means car in Chinese)
>
>
> So, how can I made the link still  www.wiki.com/index.php/Car, while the
> page name is '汽车'?
>
>
> Thanks. I searched the help page, but still found no answer.
> _______________________________________________
> 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: How to define a different pagename?

baalchina
Yes,that works!Thank you!

发自我的 iPhone

> 在 2019年1月30日,21:20,John <[hidden email]> 写道:
>
> Look up displaytitle and wgrestrictdisplaytitle
>
>> On Wed, Jan 30, 2019 at 8:15 AM baalchina <[hidden email]> wrote:
>>
>> Hi I am new to mediawiki, and I have a question.
>>
>>
>> My wiki site is www.wiki.com, and I made a new page such as '
>> www.wiki.com/index.php/Car'. In this page, the "page name" below article
>> is 'Car'. But my users thinks a Chinese word such as '汽车' is better.(Which
>> means car in Chinese)
>>
>>
>> So, how can I made the link still  www.wiki.com/index.php/Car, while the
>> page name is '汽车'?
>>
>>
>> Thanks. I searched the help page, but still found no answer.
>> _______________________________________________
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: How to define a different pagename?

Siebrand Mazeland-2
In reply to this post by baalchina
On Wed, Jan 30, 2019 at 2:16 PM baalchina <[hidden email]> wrote:

> Hi I am new to mediawiki, and I have a question.
>
>
> My wiki site is www.wiki.com, and I made a new page such as '
> www.wiki.com/index.php/Car'. In this page, the "page name" below article
> is 'Car'. But my users thinks a Chinese word such as '汽车' is better.(Which
> means car in Chinese)
>
>
> So, how can I made the link still  www.wiki.com/index.php/Car, while the
> page name is '汽车'?
>
>
> Thanks. I searched the help page, but still found no answer.


A complete solution will probably consist of:

* Ensure https://www.mediawiki.org/wiki/Manual:$wgAllowDisplayTitle is set
to true. It is set to true by default since MediaWiki 1.11.
* Using the magic word DISPLAYTITLE. See documentation at
https://www.mediawiki.org/wiki/Help:Magic_words#Technical_metadata
* Enabling extension https://www.mediawiki.org/wiki/Extension:Display_Title

Cheers!

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