-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use MW >= 1.25 token handling #124
base: master
Are you sure you want to change the base?
Conversation
Hi Sam. Thanks for doing this. Think there's a syntax error on line 2323 of Wiki.php though. Should read $tokens['query']['tokens'] (to reflect the usse of the new query API). |
It's not a syntax error if it's syntactically valid ;). |
Also, it would've worked fine. It just looked a bit odd |
Actually, no.. It was right the first time |
Are you sure? It doesn't work for me. I get "Notice: Undefined index: tokens in /data/project/jarry-common/public_html/peachy/Includes/Wiki.php on line 2323" followed by "Warning: Invalid argument supplied for foreach() in /data/project/jarry-common/public_html/peachy/Includes/Wiki.php on line 2323" followed by "Error retrieving userrights token...". Whereas if I make the change it works perfectly. This is on en.wp. Edit: Or perhaps we are using different apiQuery functions |
Closes #120