Babel: zh-N, en-3.
PGP key id: 0xFA025AD98BBC6C29
Mon, May 16
A quick summary of what I have dug up:
- Try to create accounts via api causes the same error.
- $this->authManager->beginAccountCreation() called by includes/api/ApiAMCreateAccount.php:105 to create an account
- $provider->testUserForCreation() called by includes/auth/AuthManager.php:1078 to check if we are denied by one of the providers
- We are denied by includes/auth/CheckBlocksSecondaryAuthenticationProvider.php because we have been blocked so $user->isBlockedFromCreateAccount() in L79 got the block.
Not sure why is this only causing issues recently though.
Sat, May 14
Seems that the issue has been fixed - CA for ɱ and Ɱ both give the results of Ɱ, and global rename log simply shows nothing.
Everything looks OK now (try it out here), except the padding between page and namespace panels seems too small. Feel free to do more tests on the patch demo.
Fri, May 13
@matmarex sure, I almost finished the patch with parent set to your change, just need a few more local testing. I plan to introduce some css rules in resources/src/mediawiki.special/whatlinkshere.less to position the invert and filter checkboxes. Flexbox for ns selection + invert checkbox to make them in the same line, and display: inline-block for filter checkboxes. I am also going to make the whole box collapsed if target is set which means the user is browsing results. Some screenshots will be posted later.
Thu, May 12
From the above discussion, here are a few notes I took:
- The Invert selection checkbox should be in the same line with the namespace dropdown list.
- Filter checkboxes should be inline so they will be in the same line if possible, and not consume too much space.
- Since OOUI design is still much spaced than current, we should make the form collapsible, and collapsed by default when parameters are set (i.e. user is browsing the results), just like the current behavior of Special:Contributions.
I will try to implement the above design, and any other suggestions are welcomed.
Tue, May 10
Sun, May 8
According to the insertable suggester, almost anything is allowed in a variable name including - and $, so the two variables are greedily combined together. Not sure how can we fix this, though. Maybe disable the use of $ in tvar names?
Sat, May 7
Fri, May 6
This makes sense to me, just like contains_any vs multiple in statements. And we can create a new function ip_in_ranges and implement it with IPUtils::isInRanges.
In checkPermissions() of SpecialUndelete.php, the parent (SpecialPage class) will be consulted first to check parent::userCanExecute( $user ), and SpecialPage::userCanExecute only checks if the user has deletedhistory right. So we have to grant the global group deletehistory right without touching mediawiki core.
Feb 7 2022
Just to clarify that I'm still interested in working on this. Sorry for the delay.
Jan 11 2022
The tool is working normally now. It is still under development so feel free to inform me if something breaks again.
Sep 3 2021
May 6 2021
1.37.0-wmf.4 has been deployed on meta.
Apr 7 2021
Hi @MusikAnimal, thanks for the quick reply. I would like to help and was wondering if there are any existing test environments on Toolforge (or maybe docker image?) available for development purposes like this, or shall I create a new tool and set up the environment following the doc? Thanks :)
Apr 2 2021
Apr 1 2021
Mar 2 2021
Feb 16 2021
Feb 14 2021
Feb 12 2021
I've been playing around with this recently. A new parameter is needed certainly, say, iprange. Then just fork and modify the $userIter of userprefix parameter (in ApiQueryUserContribs::execute) and that's it, imho. Desired $userIter should yield IP addresses selected from ip_changes, with condition ipc_hex BETWEEN <start> AND <end> and group by ip_hex. The rest is similar to other parameters, so ApiQueryUserContribs::prepareQuery won't be affected.
Feb 10 2021
Based on debugging logs on my local wiki, this is because UserRightsProxy::addGroup is not allowed to update existing user groups (see this line) while User::addGroup can do so, changed in this commit. So just doing the same thing as the aforementioned commit for UserRightsProxy will be a fix. I'll figure out if there are any side effects and submit a patch soon.
Dec 22 2020
Thank you for notifying me. The tool is just a preliminary version and needs a revamp though recently I'm too busy to do so. The webservice is temporarily stopped until I can figure out the issue.
May 12 2020
Apr 7 2020
Mar 30 2020
Mar 15 2020
As the description has been elaborated, I'm changing the status back to open.
Mar 12 2020
@Aklapper, I've done some additional tests and revised the task description. Please let me know if there is anything still vague. Sorry for being unclear before.
Mar 1 2020
I've managed to fix both lziad and lziad-cvnbot. Sorry for any trouble caused.
Dec 23 2019
Dec 22 2019
Dec 19 2019
Dec 18 2019
Dec 17 2019
Dec 16 2019
Dec 11 2019
Nov 19 2019
Nov 18 2019
https://www.mediawiki.org/wiki/Special:MyLanguage/API:Tutorial seems to be a better alternative, according to the above.
I prefer the idea to add a link to the actual sandbox query. The message document does not need to be updated so I'm not going to modify qqq.json.
Oct 22 2019
According to @A2093064 's advise I removed both of its subcategories and deleted that category to fix above glitch in database. After restoring again it seems working well so I'm closing it as invalid (if I'm making mistakes fell free to correct me).
Oct 19 2019
Oct 14 2019
Sep 30 2019
It turns out to be intentional - see highlighted lines of SpecialContributions.php. However, I cannot figure out why the comments say a 'logs' link (of an IP range) may be irrelevant and am looking forward to a reply from those who know it.
Mar 27 2019
@Ammarpad : sorry to disturb you but two months have past and I'm wondering when could we get that enabled, or are there any stuff we need to provide? Thanks a lot!