On 09/16/2013 03:21 PM, Tyler Romeo wrote:
> On Mon, Sep 16, 2013 at 6:12 PM, Gabriel Wicke <[email protected]> wrote:
> 
>> * drop the /wiki/ prefix
>>   https://en.wikipedia.org/Foo instead of
>>   https://en.wikipedia.org/wiki/Foo
>>
> 
> Where would we put the API entry point? It can't be at
> https://en.wikipedia.org/w/api.php because there might be an article named
> "w/api.php".

There *might* be, in theory. In practice I doubt that there are any
articles starting with 'w/'. To avoid future conflicts, we should
probably prefix private paths with an underscore as titles cannot start
with it (and REST APIs often use it for special resources).

>> * use simple action urls
>>   https://en.wikipedia.org/Foo?action=history instead of
>>   https://en.wikipedia.org/w/index.php?title=Foo&action=history
>>
> 
> This already works.


Both parts of the proposal have been working for a long time. The RFC is
mainly about using the capability in Wikimedia projects.

Gabriel

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to