jpatokal / mediawiki-gateway

Ruby framework for MediaWiki API manipulation
Other
133 stars 50 forks source link

Recent Changes #17

Open arjes opened 13 years ago

arjes commented 13 years ago

Hey,

Do you have any plans to add support for pulling recent changes? I know its available via the API, and I can implement it your not planning on doing it. its writing the specs that I'm not really familiar with.

jpatokal commented 13 years ago

No plans, so go for it.

arjes commented 13 years ago

Hey, I added the code for the RC and EmbededIn to my fork, but I haven't written any tests for them. I will see if I can figure it out the , but I'm not sure I will figure out the fake_media_wiki emulator thing.

I didn't change any of your code, so my fork shouldn't break anything, but I know you probably don't want un-tested code floating around :)

jpatokal commented 13 years ago

Ta, will take a look once I get back from holidays next week.

arjes commented 13 years ago

I also needed to pull namespace lists, so added that function as well.

arjes commented 13 years ago

As an FYI I undid the namespaces, i didn't notice the namespaces_by_prefix, may want to alias that function to namespaces.

I also added some more SMW specific functions using the Special:Ask page instead of rendering the {{#ask: }} function since it returns a more useful data structure.

This is my first real practical code contribution in a while, so do your worst :)

jpatokal commented 13 years ago

Can you send me a pull request for this?