On Tue, Dec 25, 2012 at 6:46 PM, Ryan Kaldari <rkald...@wikimedia.org> wrote: > On 12/25/12 2:14 AM, Bináris wrote: >> >> Thank you for the answers! This will be great and simplifies life. >> >> 2012/12/25 Ryan Kaldari <rkald...@wikimedia.org> >> >>> Yes, the magic word is completely localizable and aliasable. >> >> What is the way to do it? > > > The magic word can be localized and aliased through the extension's > Disambiguator.i18n.magic.php file (similar to how other magic words are > localized). > > >> How will bots recognize the localized versions? > > > The magic word will be localized, but the page property in the database > won't be. The page property will always be called 'disambiguation'. If you > know any bot writers that are dealing with disambiguation pages, I would > love to know more about what their needs are specifically. Perhaps an API > could be added to the extension if it would be useful.
Is this enough? api.php?action=query&prop=pageprops&ppprop=disambiguation&titles= > Ryan Kaldari -Liangent > > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l