Extension talk:TagAsCategory

Problem
The links created by the extension are wrong in my wiki. Instead linking to "http://wiki.example.com/index.php?title=Special:Categories" it links to "http://wiki.example.com/Special%3ACategories" with "%3A" instead of ":" and without "index.php?title=" this does not work.

Will take a look
Thanks for the heads-up - I'll take a look. I believe our blog is running in the mode that rewrites URLs. There's probably a way to build a link programmatically through the API that will be compatible with both URL syntaxes. --Gbarnett 22:06, 7 August 2007 (UTC)

File called ArticleTagger.php??
Should the file actually be called ArticleTagger.php? If the require functionis looking for extensions/TagAsCategory/TagAsCategory.php, shouldn't you then have to cretae a directory in extensions called TagAsCategory and then in that directory, name your file TagAsCategory.php?

Yes, should be called TagAsCategory.php
Sorry, the extension used to be called "ArticleTagger", but we renamed it to "TagAsCategory" because we felt it was more descriptive.

I've replaced the references to "ArticleTagger" in the extension page with "TagAsCategory" -- sorry about the typo.

--Gbarnett 13:23, 10 August 2007 (UTC)

A function I would like to see.
A very nice feature would be to have a drop-down list of all your categories appearing, or an AJAX auto complete feature showing existing categories as you type.

Deleteing tags
How do you delete a wrongly named Tag ?
 * I just edit the article and manually remove the tag from the article.  This extension simply makes it easy to inject the category tags into articles... removing them is still through the normal means.  --Brianadkins 21:53, 13 September 2007 (UTC)

Thanks I am New to this. see also Project talk:Categories

Note for people running a custom skin
You need the "catlinks" div to exist in your skin.

essentially //name of div identifying categories the page belongs to if (document.getElementById('catlinks')) {   document.getElementById('divLocationForTagForm').appendChild(document.getElementById('tagform')); }

You can just rename the div if you've ignored / heavily modified monobook.

Neilkt 01:53, 16 September 2007 (UTC)

example sites?
Anyone have any example sites running this extension? I would like to see it in action.

--Smarbin 07:09, 19 September 2007 (UTC)

Localized message for "Add tag"
For those who haven't figured it out, you can localize the "Add tag" button in the TagAsCategory.php file.

Example with danish text: $wgMessageCache->addMessages(       array ( 'addtag' => 'Tilf&oslash;j kategori', 'notags' => '(none)' -- Kirjapan 10:33, 17 October 2007 (UTC)
 * 1) add localized messages for the "Add Tag" and "(none)" interface strings