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 sommer@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.
#hmmm I had the same problem with 1.27.2.
# 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.
Oh yes, you are right! − I coundfounded that both parameters … #sry
[…]
Or, while logged in as your bot, try
action=query&meta=userinfo&uiprop=groups|rights.
That was a good hint! − That’s my output:
----- 8< ----- array(2) { ["batchcomplete"]=> bool(true) ["query"]=> array(1) { ["userinfo"]=> array(4) { ["id"]=> int(2) ["name"]=> string(5) "WVbot" ["groups"]=> array(4) { [0]=> string(3) "bot" [1]=> string(1) "*" [2]=> string(4) "user" [3]=> string(13) "autoconfirmed" } ["rights"]=> array(17) { [0]=> string(13) "autoconfirmed" [1]=> string(17) "editsemiprotected" [2]=> string(14) "nominornewtalk" [3]=> string(10) "autopatrol" [4]=> string(8) "writeapi" [5]=> string(4) "read" [6]=> string(10) "createpage" [7]=> string(10) "createtalk" [8]=> string(4) "move" [9]=> string(13) "move-subpages" [10]=> string(18) "move-rootuserpages" [11]=> string(18) "move-categorypages" [12]=> string(4) "edit" [13]=> string(9) "minoredit" [14]=> string(5) "purge" [15]=> string(15) "applychangetags" [16]=> string(10) "changetags" } } } } ----- >8 -----
So it’s fact that my bot is missing the right "suppressredirect". :-| => What shall I do!? (I wanna stay with th 1.27 = LTS.)
Thanks Kai