Giter Club home page Giter Club logo

Comments (8)

xbony2 avatar xbony2 commented on June 3, 2024 1

@Developaws I know that. But putting English names into non-English wikis is unprofessional.

from mediawiki-butt-ruby.

 avatar commented on June 3, 2024 1

http://minecraft-es.gamepedia.com/api.php?action=query&meta=siteinfo&siprop=namespaces

https://www.mediawiki.org/wiki/Manual:Namespace#Built-in_namespaces

result['query']['namespaces']['14']['*'] = 'Categor\u00eda'.
Congratulations, you now have the localised namespace :P That's about the best you can possibly get from the API. Unless you wanted a /little/ bit deeper, and possibly query the site messages?

from mediawiki-butt-ruby.

elifoster avatar elifoster commented on June 3, 2024

What APIs support these things?

from mediawiki-butt-ruby.

xbony2 avatar xbony2 commented on June 3, 2024

Dunno.

from mediawiki-butt-ruby.

 avatar commented on June 3, 2024

@xbony2 You realise that English namespaces are supported for non-en langauge wikis? e.g.
http://minecraft-es.gamepedia.com/File:Minecraft_Wiki_header.svg

As for API that support being able to translate? Not possible, unless you're specifically on a language wiki, and query for it's namespaces/site messages

from mediawiki-butt-ruby.

 avatar commented on June 3, 2024

Then query the name spaces by Id lol?

On 12 Nov 2016 10:19 pm, "xbony2" [email protected] wrote:

@Developaws https://github.com/Developaws I know that. But putting
English names into non-English wikis is unprofessional.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHSUIyzRfuBvrNy4BWaUhIh6nXzFLzlks5q9jtggaJpZM4HQDyB
.

from mediawiki-butt-ruby.

xbony2 avatar xbony2 commented on June 3, 2024

Not sure what you mean. It's not about querying, it's about adding categories to pages and that sort of stuff :P

from mediawiki-butt-ruby.

xbony2 avatar xbony2 commented on June 3, 2024

I suppose that would work...

from mediawiki-butt-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.