Extension talk:Add Article to Category/Archive 1

Thank you for the great extension! http://www.taichiwiki.org--Kohyin 05:20, 3 February 2007 (UTC)

What is the ENDFORM thingy in the code??

This is really a great extension and very helpfull.

I had a suggestion : based on this extension can it be possible your you to create an Add Category to Category extension? So when you have some nested categories, you can create a category inside another one (and so an article) the easiest way possible.

Thanks

--Romainpelissier 14:49, 12 March 2007 (UTC)


 * HI, yes, it is actually not difficult, just add a checked box, when it is check, the title will be added the text :"Category:".
 * However, you can also just input: "Category:whatever" into the text field, and it will add a category to a category.
 * --BiGreat 14:42, 13 March 2007 (UTC)

Thanks for the reply. You mention a 'checkbox', can you explain this a little please? It seems not to be an extension so I don't really know how to add a check box ...

Thanks

--Romainpelissier 20:08, 14 March 2007 (UTC)

edit into
This looks like a useful extension; I've made a slight tweak to cleanup up the way Category: is displayed. I think it would also be useful to have an edit intro in the new page, like the input box extension does. -Steve Sanbeg 21:53, 28 March 2007 (UTC)

I also noticed that it looks a little strange in the diff view; it may be better to supress that somehow. -Steve Sanbeg 22:28, 6 April 2007 (UTC)

New Feature - boilerplate --Dtsig 17:38, 15 May 2007 (UTC)
The users really like this feature. We use this along with CategoryTree so the user can get to the correct category before creating a page. How hard would it be to modify to create the new page based on the category it is being created in. For example, category DOCUMENTATION-FUNCTIONAL would have a specific template created for it. Then on the create retrieve the article and place in instead of 'add your content here'

I have been trying to work this out but being really new to mediawiki it is a bit overwhelming. If you have any ideas i would appreciate them.


 * I'd guess it's not too hard; you can look at inputbox for an example of preloaded text, then figure out from the title what template you want to preload, and load it if it exists. -Steve Sanbeg 22:29, 15 May 2007 (UTC)

exist anyway for implements this extension for MediaWiki 1.7.x? Thanks!

Error
I installed it and now am getting this error.

Parse error: syntax error, unexpected '(', expecting '}' in /home/wiki/extensions/articletocategory.php on line 70

Thank you
The extension is working on my website just fine, thanks, livefreeblog.com

minor bug
i'm using mediawiki version 1.10. i get the following notices:

Notice: Undefined index:  category in F:\web\htdocs\wiki\extensions\articletocategory\articletocategory.php on line 26

Notice: Undefined index:  new in F:\web\htdocs\wiki\extensions\articletocategory\articletocategory.php on line 27

when i do the following:


 * 1) create a new article and add a link to a category that doesn't exist yet.
 * 2) click on that category-link
 * 3) --> notices are shown

as soon as i save the category-page i don't get those messages anymore.

my problem with Add Article to Category
When I add a article to a Category, it will not let me add it if the same article name is used it another category.

e.g History I would like the article to be Call e.g HMS Victory History were HMS Vctory is the Category and History is what is typed in the box? This way I only have to type History each time I enter a new Ship
 * HMS Victory
 * History
 * Construction
 * USS Cario
 * History
 * Construction


 * A category is just a way of grouping related articles. What you want is probably closer to a subpage -Steve Sanbeg 16:22, 17 September 2007 (UTC)

Parse error line 70
I am using MediaWiki 1.5.8 and when I install your extesnion I get the following error message: Parse error: parse error, unexpected '(', expecting '}' in W:\www\writing\components\com_mambowiki\extensions\articletocategory.php on line 70

However if I remove line 70 mTitle->getText}">

the extensions seems to work!? Is it OK to do that or will I have problems later on? It is a very nice user-friendly addition so I hope I can continue sing it minus the line 70? Thanks 79.66.177.10 15:44, 17 September 2007 (UTC)


 * Probably, your mediawiki is too old, and is missing a function. It looks like that line tells it what category to put the article in, so it wouldn't get a category without it. -Steve Sanbeg 16:22, 17 September 2007 (UTC)
 * Thanks. Yet it still works without the category output. I'll try to keep using it anyway, since the rest of the functionality is OK. I'm using MamboWiki which is a Joomla component and which uses Mediawiki 1.5.8. I'll try to upgrade Mediawiki and see what happens

Internalisation
Hi, nice but dirty hack. I am missing a i18n file. Now the 'system messages' are hard-coded and static.

Furthermore: the table tag messes up positioning of other div's that may reside in category pages (templates for clean-up, warnings etc.)

However: it works for me, and users like it. Nice job.