If you make a link to [[Category:Foobar]] but only want to display "Foobar",
write this code :
[[:Category:Foobar|]] or [[:Category:Foobar|Foobar or what ever else you
want]]
If in the title of a page you want to hide the namespace
("Category" or "User" or "User talk"...) you should write a
little and
simple hook.
You can see an example on my wiki :
the word "Catégorie" (french for "Category") is replaced by an icon.
2007/2/27, Paul Coghlan <pcoghlan(a)usa.net>et>:
Kasimir
Where in Mediawiki can you prevent inclusion of the namespace in the page
title?
I see there is an extension called DynamicPageList
(
http://meta.wikimedia.org/wik/DynamicPageList) which appears to provide
this but it isn't clear how.
Thanks,
Paul
On 2/26/07 4:32 PM, "Kasimir Gabert" <kasimir.g(a)gmail.com> wrote:
Hello Fernando,
If I understand your problem correctly, then you could achieve the
same effect by using namespaces. Put all pages that are for "this
client" in "This client:Person form", and then do not show the
namespace in the page title.
I hope that this helps,
Kasimir
On 2/26/07, Fernando Correia <fernandoacorreia(a)gmail.com> wrote:
What is the best place to customize the way page
titles are displayed?
I'd like to customize the page title on the main article view, and
also on the page listing within a category.
The reason is that we have several pages with conflicting names like
"Person form (This client)" and "Person form (That client)" and
we'd
like to show just "Person form".
The full page title will remain effective, used in link and listings
like Search and Recent changes.
But it would be confusing for users of "This client" if all pages
related to them were shown with "This client" appended.
I wonder if anyone already solved this... Any hint will be appreciated.
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l