Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

The display name of the page in Mediawiki can be changed using the magic word:

{{DISPLAYTITLE:name_with_underscore}}

But the list of pages on the category page displays the original name (without the underscore in my example).

Is there a way to display a custom name in this list?

share|improve this question
1  
Possible duplicate of the following unanswered question. I am not aware of any way to do this. webmasters.stackexchange.com/questions/38842/… –  Asa Aug 12 '13 at 18:27
    
Is there a reason you don't want to simply rename the page via 'Move' or request that an administrator do so? –  denmch Nov 15 '13 at 3:09
    
@denmch, it is impossible to assign a name with underscores, as in my example –  Yuriy Dec 25 '13 at 8:00
add comment

migrated from webapps.stackexchange.com Aug 12 '13 at 13:57

This question came from our site for power users of web applications.

1 Answer

IIR, you can add the index entry as an additional parameter in the category link; e.g., consider a page "Donald Duck":

[[Category: Ducks]]
[[Category: Ducks by lastname|Duck, Donald]]

In the category "Ducks", it would be listed as "Donald Duck", while in "Ducks by lastname" it would be "Duck, Donald".

share|improve this answer
    
but what about displaying a custom name in list of pages in category as has been asked for? –  Yuriy Dec 25 '13 at 7:57
    
Like I wrote: add it as an argument to the category link. Note that entries which start with lowercase letters may be listed separately (not together with their captalized siblings; ASCII sorting). –  Tobias Jan 6 at 8:32
    
unfortunately, it didn't work for me. In category Ducks by lastname displays a link to Donald Duck(not Duck, Donald) page. MW version is 1.22.0. As I understand, the name after the pipe - only for sorting, not for displaying. –  Yuriy Jan 6 at 9:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.