On Tue, Jun 27, 2017 at 11:10 AM, Kai Sommer <som...@leibniz-gei.de> 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 correct with the (implementation of the) > user right "suppressredirect" (which is required for using the API > parameter "noredirect"; see [0]). > It works fine when I try it on my local test wiki. Although I'm using MediaWiki master rather than 1.27.3. > # one more point > If I query the API (api.php) for the moved page with the parameters > * prop=contributors > * titles=$MYPAGENAME > * pcrights=suppressrevision > suppressrevision and suppressredirect are different rights. prop=contributors is also a poor method to check rights, action=query&list=allusers&aurights=suppressredirect would make much more sense. Or, while logged in as your bot, try action=query&meta=userinfo&uiprop=groups|rights. -- Brad Jorsch (Anomie) Senior Software Engineer Wikimedia Foundation
_______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api