wiki.techinc.nl/tests/phpunit/includes/api/query
Dreamy Jazz 2e3bd68bec Add 'temp' flag to ApiQueryUserInfo API
Why:
* The ApiQueryUserInfo API returns 'anon' as true when the user
  making the request is an IP user.
* This API should return 'temp' if the user making the request is
  a temporary account, as described by T358683.

What:
* Return 'temp' with the value true from the ApiQueryUserInfo API
  when the user making the API request is a temporary user.
* Test that the temp user flag is added when the user making the
  request is a temporary user and that the flag is not added when
  the user is logged-out.

Bug: T358683
Change-Id: I5f165576a12a2218d89ab3623d7df45e2c9049fa
2024-02-28 17:21:30 +00:00
..
ApiQueryAllPagesTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryAllRevisionsTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryAllUsersTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryBasicTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryBlockInfoTraitTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryBlocksTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryContinue2Test.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryContinueTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryContinueTestBase.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryDisabledTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryImageInfoTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryInfoTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryLanguageinfoTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryLogEventsTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryPrefixSearchTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryRecentChangesIntegrationTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryRevisionsTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQuerySearchTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQuerySiteinfoTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryTestBase.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryTokensTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryUserContribsTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryUserInfoTest.php Add 'temp' flag to ApiQueryUserInfo API 2024-02-28 17:21:30 +00:00
ApiQueryWatchlistIntegrationTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00
ApiQueryWatchlistRawIntegrationTest.php tests: Namespace api tests 2024-02-18 15:47:04 +00:00