[00:18:59] [telegram] Does need to login api? (re @Thecladis: By being in the group that is indicated in thr info part of the error) [00:19:38] [telegram] What is solution? (re @M: for get content some page from api [00:19:39] [telegram] I getting this error [00:19:40] [telegram] [00:19:42] [telegram] How to solve this?) [00:19:51] [telegram] Unless all users have the necessary permission, yes (re @M: Does need to login api?) [00:21:24] [telegram] For all page given content but [00:21:25] [telegram] This page that is in group that I haven't permission, don't show (re @Thecladis: Unless all users have the necessary permission, yes) [00:22:07] [telegram] What is solution for get content this page [00:24:06] [telegram] How to send request after login api? [00:24:07] [telegram] [00:24:09] [telegram] This there isn't in docs mediawiki [07:11:49] [telegram] How to send request after login api? [07:20:16] [telegram] Please help (re @M: How to I send request after login api?) [09:22:01] [telegram] Plwase stop spamming this channel. You asked the same question three times in a row. Thanks. [09:23:32] [telegram] There are docs: https://www.mediawiki.org/wiki/API:Main_page [10:10:22] [telegram] tried both Google and duck duck go. search for "Mediawiki api" (no quotes) and your link is first result. (re @andreklapper: There are docs: https://www.mediawiki.org/wiki/API:Main_page) [11:14:54] [telegram] just resurfacing this question if anyone knows :) (re @wmtelegram_bot: [irc] anyone have any ideas when the `workadventure` is going to go live (and if/how mentor-ish people are assign...) [11:47:20] [telegram] we’re planning to publish the WorkAdventure on Thursday evening, I think [11:47:59] [telegram] (evening in American timezones, that is, or a few hours before the first slots) [11:48:32] [telegram] no formal mentor assignment AFAIK, but there’s a newcomer room on the map where you can hang out [16:22:26] [telegram] I ask question but don't get answer (re @andreklapper: Plwase stop spamming this channel. You asked the same question three times in a row. Thanks.) [16:23:44] [telegram] My code for login api response must be json status login But it isn't json : https://tools-static.wmflabs.org/bridgebot/6deebfad/file_17951.jpg [16:24:38] [telegram] Response is this ,No json status login api Please help : https://tools-static.wmflabs.org/bridgebot/370905e3/file_17952.jpg [16:25:14] [telegram] Delete this image b/c you shared a private hash to login an account (re @M: My code for login api [16:25:14] [telegram] [16:25:16] [telegram] response must be json status login [16:25:17] [telegram] [16:25:19] [telegram] But it isn't json) [16:26:12] [telegram] https://tools-static.wmflabs.org/bridgebot/4811c71a/file_17953.jpg [16:27:19] [telegram] Response is this ,No json status login api Please help : https://tools-static.wmflabs.org/bridgebot/370905e3/file_17954.jpg [16:33:18] [telegram] Did you see the API Help pages in Mediawiki wiki? (re @M: Response is this , [16:33:19] [telegram] No json status login api [16:33:20] [telegram] [16:33:22] [telegram] Please help) [16:34:59] [telegram] Yes [16:34:59] [telegram] But must be json status login no api help page (re @dennistobar: Did you see the API Help pages in Mediawiki wiki?) [16:43:42] [telegram] https://m.mediawiki.org/wiki/API:Login [16:43:43] [telegram] [16:43:44] [telegram] Here is a snippet to login in PHP, test it (re @M: Yes [16:43:46] [telegram] But must be json status login no api help page) [16:48:37] [telegram] I test this but didn't answer (re @dennistobar: https://m.mediawiki.org/wiki/API:Login [16:48:38] [telegram] [16:48:40] [telegram] Here is a snippet to login using PHP, test it) [16:55:51] [telegram] I'm not in my computer 😞 (re @M: I test this but didn't answer) [16:58:21] [telegram] My problem is : instead json response , i get html help api (re @dennistobar: I'm not in my computer 😞) [17:00:14] [telegram] I know, you said before, but I can't test anything b/c I'm out of home :( [17:00:14] [telegram] [17:00:16] [telegram] Can you share your code in pastebin or gist, just to see it πŸ˜‰ (re @M: My problem is : instead json response , i get html help api) [17:00:25] [telegram] Now there is an urgent need for manpower, just a mobile phone and earn 300 (USD) a day. Contact me TG: @hash778899 [17:03:51] [telegram] Yes , does send code your pv ? (re @dennistobar: I know, you said before, but I can't test anything b/c I'm out of home :( [17:03:52] [telegram] [17:03:53] [telegram] Can you share your code in pastebin or gist, just to ...) [17:04:40] [telegram] Sure (re @M: Yes , does send code your pv ?) [19:10:47] [telegram] No. Pastebin or Gist was written. No "pv". And remove any tokens first. And stop sending the same messages here or get blocked. You've been asked before and you don't seem to listen. Thanks. [19:20:11] [telegram] to be extra clear this means not a screenshot, not an image. (re @andreklapper: No. Pastebin or Gist was written. No "pv". And remove any tokens first. And stop sending the same messages here or get blocked. ...) [19:20:12] [telegram] I don't access to gist or pastebin [19:20:12] [telegram] [19:20:12] [telegram] I ask question but didn't get answer correct [19:20:12] [telegram] For this reason again ask my question (re @andreklapper: No. Pastebin or Gist was written. No "pv". And remove any tokens first. And stop sending the same messages here or get blocked. ...) [19:20:13] [telegram] see pinned message for a link to a pastebin. https://t.me/wmhack/16989 (re @M: I don't access to gist or pastebin [19:20:13] [telegram] [19:20:13] [telegram] I ask question but didn't get answer correct [19:20:13] [telegram] For this reason again ask my question) [19:20:13] [telegram] For example , what is answer this question? (re @M: Response is this , [19:20:13] [telegram] No json status login api [19:20:13] [telegram] [19:20:13] [telegram] Please help) [19:20:13] [telegram] I don't see any question being asked. [19:20:14] [telegram] My question is above πŸ‘†πŸ‘† (re @andreklapper: I don't see any question being asked.) [19:20:14] [telegram] Anyway. Pastebin or Gist. See link. [20:43:26] [telegram] https://phabricator.wikimedia.org/P27827 (re @andreklapper: Anyway. Pastebin or Gist. See link.) [22:20:02] [telegram] I tested your code as pasted above (using `https://meta.wikimedia.beta.wmflabs.org/w/api.php` as the endpoint) β€” I got the error you're describing. [22:20:02] [telegram] [22:20:04] [telegram] However, if I made some small modifications to it, in line with the example given at https://www.mediawiki.org/wiki/API:Login#PHP (which I think you were linked to?), it works (or, at the very least, returns `{"login":{"result":"Failed","reason":"Incorrect username or password entered. Please try again."}}` because I didn't set up a botpassword etc.) [22:20:05] [telegram] [22:20:07] [telegram] I'd suggest taking a close look at your `function loginRequest` and comparing it to the one in the example :) [22:20:08] [telegram] [22:20:10] [telegram] As an aside, learning to ask good questions is a *really* good skill for any developer to have - https://stackoverflow.com/help/how-to-ask is a pretty good start for that (re @M: https://phabricator.wikimedia.org/P27827 [22:20:11] [telegram] [22:20:13] [telegram] This my code [22:20:14] [telegram] Please say answer) [22:42:36] [telegram] Yes with endpoint mediawiki work but with our mediawiki local doesn't work (re @TheresNoTime: I tested your code as pasted above (using https://meta.wikimedia.beta.wmflabs.org/w/api.php as the endpoint) β€” I got the error y...)