Re: [Wikitech-l] Add an article to a category

2012-08-18 Thread Mauricio Etchevest
Thanks for answer.. I was working erasing the text, but the problem is when the word category is in other language. How can I find all the translations of the word category to remove a categorization made in other language ? Thanks.- On Fri, Aug 17, 2012 at 6:05 PM, Platonides

[Wikitech-l] Add an article to a category

2012-08-17 Thread Mauricio Etchevest
Hi, I´m developing a extension and I need to add an article to a category. I only get the title of the article, so I try this: $articleToAdd = new Article($title); $context = $articleToAdd-getContext(); $resArticle = MediaWiki::articleFromTitle($title, $context); $linksupdate = new

Re: [Wikitech-l] Category Internacionalization.

2012-07-25 Thread Mauricio Etchevest
I can get all the categories with the Parser Output, but I can´t add or delete a category. I'm using updateCategoryCounts() in LinksUpdate but it doesn't work. On Tue, Jul 24, 2012 at 3:23 PM, Platonides platoni...@gmail.com wrote: El 24/07/12 19:45, Mauricio Etchevest escribió: Hi ! I'm

[Wikitech-l] Category Internacionalization.

2012-07-24 Thread Mauricio Etchevest
Hi ! I'm working on a extension for Media Wiki. And I need to detect when a categorization is made on an article. So I search for the annotation with the keyword category but, then I need to detect categorizations in other languages.How can I get the translation of the keyword category ? Wich