[Mediawiki-api] Q = Bot and move without redirect

2017-06-27 Thread Kai Sommer
Hi everyone, ATM I’m fiddeling around with a little enigma (for me). − I hope some one can help me … :-) # I wanna do Moving a page as a bot (written in PHP) with api.php without leaving a redirect. # the problem I can move the page. − But the parameter "noredirect" (value = 1) seems to

Re: [Mediawiki-api] Q = Bot and move without redirect

2017-06-27 Thread Brad Jorsch (Anomie)
On Tue, Jun 27, 2017 at 12:17 PM, Kai Sommer wrote: > ["rights"]=> > array(17) { > [0]=> > string(13) "autoconfirmed" > [1]=> > string(17) "editsemiprotected" > [2]=> > string(14) "nominornewtalk" > [3]=>

Re: [Mediawiki-api] Q = Bot and move without redirect

2017-06-27 Thread Kai Sommer
Thanks Brad, again! Am 27.06.2017 um 18:35 schrieb Brad Jorsch (Anomie): […] That list of rights looks like you're using OAuth or BotPasswords for the bot login, Yes, my bot is (such) a "BotPasswords"-login. − I thought that’s the correct way to achieve my goals (interacting with my API)

Re: [Mediawiki-api] Q = Bot and move without redirect

2017-06-27 Thread Brad Jorsch (Anomie)
On Tue, Jun 27, 2017 at 11:10 AM, Kai Sommer wrote: > # the problem > I can move the page. − But the parameter "noredirect" (value = 1) seems to > be ignored. So every moved page exists with the redirect after moving … > > # my guess > I guess there is something not

Re: [Mediawiki-api] Q = Bot and move without redirect

2017-06-27 Thread Kai Sommer
Hi again! 1st: Thanks Brad for your comment! Am 27.06.2017 um 18:03 schrieb Brad Jorsch (Anomie): On Tue, Jun 27, 2017 at 11:10 AM, Kai Sommer wrote: # the problem I can move the page. − But the parameter "noredirect" (value = 1) seems to be ignored. So every moved

[Mediawiki-api] Putting text between api.php and the ? no longer works (PATH_INFO part of the url)

2017-06-27 Thread Brian Wolff
Previously, it was possible to access the api via urls like: * https://en.wikipedia.org/w/api.php/Some_text_here?action=query=... * https://www.wikidata.org/w/api.php/(Plus some POST data) etc. Due to a security issue in certain browsers, we are no longer allowing any text to be between