https://bugzilla.wikimedia.org/show_bug.cgi?id=36520

Daniel Norton <dan...@danielnorton.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dan...@danielnorton.com

--- Comment #5 from Daniel Norton <dan...@danielnorton.com> ---
An action=query property is valid for converting from a title to a short URL,
but I don't think that's possible for the other way around. I think there needs
to be a separate action for translating from a short URL to a page.

I have implemented a version of the query API on my own server. (I'm a n00b, so
I'm still  figuring out the framework.) Here's an example query:

https://wkil.org/w/api.php?action=query&prop=shorturl&suqprop=path&titles=Test%20target%201|Test%20target%202|User%20talk:Danorton|User:Danorton

Valid sub-properties are "code", "path" and "ns".

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to