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 <[email protected]> wrote:

> El 24/07/12 19:45, Mauricio Etchevest escribió:
> > 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 is the best way to add/remove an article from a Category ?
> >
> >
> > Thanks!
>
> You're doing it the wrong way. You want to call getCategoryLinks() on
> the parser output. Take a look at LinksUpdate.php
>
>
>
> _______________________________________________
> Wikitech-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to