Jump to content

Topic on Extension talk:Maps

Disable or Remove the Category Footer

8
QuotesUK (talkcontribs)

How do I Disable or Remove the Category Footer?

"Category: Pages with a map rendered by the Maps extension"

This post was posted by QuotesUK, but signed as Quotes.

QuotesUK (talkcontribs)

I haven't found out how to remove the footer but I have found out how to rename it.

Locate the file /extensions/Maps/Maps.i18n.php

Line 21... 'maps-tracking-category' => 'Pages with a map rendered by the Maps',

Change to... 'maps-tracking-category' => 'Maps',

Languages Note: this setting is respecified in other languages in the same file

This will update the link in newly saved articles. If you have any existing articles pointing to the old category name click on the link that it provides and it will provide a list of articles that need to be updated. Edit and save is all that is required.

Suggestion: please update the documentation to explain where these global values are set.

This post was posted by QuotesUK, but signed as Quotes.

46.114.26.29 (talkcontribs)

I did the same which worked for me. When changing to 'maps-tracking-category' => the link disappears. No problem for me on a local wiki (with a backup). But I am not sure if this is doing something nasty with the wiki on the long run. So be careful.

Jeroen De Dauw (talkcontribs)

This is a hidden category. Why do you want to remove it?

Cavila (talkcontribs)

What do you mean by "hidden"? It's perfectly visible along with any other categories one may be using, so I guess that's what this post is about.

AdSvS (talkcontribs)

Indeed, if this is hidden I don't want to know what it looks like if it is not hidden :-).

But it is easy to make it hidden by adding '__HIDDENCAT__' to the category page.

Reply to "Disable or Remove the Category Footer"