Forum:DISPLAYTITLE question

Hello. I have a question about the DISPLAYTITLE magic word. I tried to use it on Category pages, but it won't change the display title. Am I missing something, or is there another way to change the display title of Categories and possibly other namespaces? Thanks in advance for any support. 07:40, November 1, 2012 (UTC)


 * Taking a look on this page may help you out.


 * Didn't work in the Category namespace. Thanks, though. I'll try to keep looking.  09:14, November 1, 2012 (UTC)


 * I've tried pretty much everything possible; it just doesn't work in the category namespace, sorry. -Sherm/Talk [17:28, November 1, 2012 (UTC)]


 * I just tested w:c:dev:DISPLAYTITLE - it does work in the category namespace. I'll take a look at your wiki and see if I can figure out what went wrong. -452 17:34, November 1, 2012 (UTC)
 * this revision should have worked - because that's exactly what worked for me. I found your test category, but since Template:DISPLAYTITLE is deleted, I can't see exactly what was in it. Please restore that revision of common.js, and that template, and I'll take a look at why it's not working for you. -452 17:36, November 1, 2012 (UTC)

Okay. So the .js and template have been restored. I've also put the template on the category page. Still isn't updating. Do I need to let it sit for a while? Where were you testing it? Also, is it possible to use this to change the title of the article completely? For example, we use subpages for our chapter summaries. Would it be possible to use this code or another code to change "The Eye of the World/Prologue" to "Dragonmount" and so on? Thanks for any help. 02:53, November 2, 2012 (UTC)


 * It works fine. Press Ctrl+F5. Lunarity 03:53, November 2, 2012 (UTC)
 * I'm seeing italics in the title of Category:Atha'an_Miere. For future reference, you almost always need to hard refresh or clear your browsers cache after updating javascript and CSS so that your browser downloads the updated files. (I think there's a message at the top of MediaWiki:Common.js about that)
 * Yes, with this particular script, you can change the title of articles completely, your example is possible, although I wouldn't advise doing it often because it will likely cause confusion.  Removing the name of the parent page from a subpage is definitely a good use for this script though, I hadn't thought of that, so thanks. -452  04:04, November 2, 2012 (UTC)