-
Notifications
You must be signed in to change notification settings - Fork 30
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
Support non-enwiki projects #532
Comments
For the multilingual interface, I recommend Krinkle's intuition: https://github.com/Krinkle/intuition/wiki/Documentation along with TranslateWiki. We set that up for XTools and it worked well. |
Any update on this? we can have a separate mailing list, but can be used same IRC channel. We also can use the same mailing list and IRC channel by renamed as wikipedia-accounts. |
Work has so far not yet started. I want the recent newinternal branch merge to settle somewhat, as well as enable the updates to OAuth before truly getting started. I do have vague plans already, but this will need to be broken down into smaller, lower risk pieces of work which can be put into prod individually, to avoid an enormous code review and merge challenge at the end like we had for newinternal. From the policy/procedural standpoint, can you give me a link to where this has been discussed on bnwiki? I should have asked for this before, so my apologies for not doing so. |
100% support, hopefully we have no obstacles in getting it started. https://w.wiki/YTL |
Cheers, I've dumped some of the initial notes I made offline into the description of the ticket; I'll try and split this out into smaller units of work that we can complete independently and deploy to prod in small chunks. I don't want a repeat of the |
JFYI: today I added the link to your tool to https://ru.wikipedia.org/wiki/MediaWiki:Createacct-imgcaptcha-help with a mention that it is in English since there isn’t a better solution. Hopefully it's alright that some requests to ACC will not be in English (even though I noted that the form is in English). This seems like the only solution at the moment to the issue of inaccessible account creation captcha raised in https://phabricator.wikimedia.org/T6845 while the WMF is slacking. |
@stjohann: I don't have a problem with requests coming to us, but I still think it's going to require some special handling on our side at least until this ticket is properly resolved (when these problems will hopefully disappear) The tool currently will only create accounts on the English Wikipedia. If you're directing people to us due to an ruwiki block stopping account creation, then an account created only on the English Wikipedia will do no good (as the account creation block will prevent the account attaching to ruwiki as well). We can manually override this, but this sort of cross-project use is fairly outside what this tool was designed to help accomodate (which again, this ticket is supposed to be trying to resolve, but it's not done yet). It's also worth noting that we evaluate requests based on the English Wikipedia username policy, so if there are discrepancies between ruwiki and enwiki's username policies, it may cause some friction. I can create a custom form for ruwiki for the time being as well, which can route the ruwiki requests into a separate queue for easier handling on our side. I'd need you to update the form link (to https://accounts.wmflabs.org/index.php/r/enwiki/ruwiki-requests ) once I've got the form set up properly. If you could provide translations for the below four bits of text (syntax is markdown, not wikitext), I can also include them on the form. Main block of text shown above the form:
Help text below the username field:
Help text below the email fields:
Help text below the comments field:
|
No, in this case, this is a link in Special:CreateAccount for people who cannot complete the captcha, not ‘in case of a local block’. Translations:
(As I didn't know if buttons and labels would be translated, I left "Submit" in translation as is.) |
Yeah, not everything is translatable at the moment (again, this ticket!). I've applied the translations to https://accounts.wmflabs.org/index.php/r/enwiki/ruwiki-requests and enabled the necessary config. We'll see how this goes. 😄 |
Changed the interface message to the Russian form, thanks for the quick work :-) Hopefully it won't be too much for the reviewers. |
ZI Jony approached us with a request to allow bnwiki access to the ACC tool for their local account creation issues. They've requested full tool admin access to manage the bnwiki side. DQ and I discussed this, and we've agreed that we want to support this.
This presents with a number of technical and operational challenges. On the technical side, there's these:
We can probably use some of the event management code I've written (#281) for parts of this, as that has some basic separation of queue permissions and different request interfaces.
On the operational side, we need to:
There's a LOT hard coded into the system to be enwiki-only, so this task will act as an overall tracking task for the "features" project, but when this work gets started, I expect we will have a new project to track everything.
Overall design plan
The design for this will be split into two parts - broadly split into i18n and non-i18n.
Point 1: i18n
Firstly, to internationalise the tool. A lot of strings in the interface are hard-coded, and thus are easy targets for translation. A lot of the remaining strings are domain-specific data, which won't be a problem as it'll be handled by point 2. Use of resources such as intuition/translatewiki will be good here - we just need to integrate it into the tool.
Point 2: Domains
I want to introduce the concept of "domains" to the tool. This is nothing to do with DNS, rather I'm using the definition "A group of related items, topics, or subjects."
My expectation is that this will be a form of data-specific user rights which will sit alongside the existing role-based access control. The idea is that every request will be tagged with a specific "domain" which it sits in. Every user will also sit in a domain, and if the domains match, then the user can see the record. Broadly speaking, a domain will have all information specific to a wiki instance attached to it, including things like the API address and the default close template.
For the vast majority of users, I expect access to be granted to a single domain - either bnwiki or enwiki. Users in a single domain will see no difference in the tool interface. For multi-domain users, I plan to add a "domain switcher" which will let users log in to a different domain. While in the domain, nothing in other domains will be visible. For an idea of the UI I'm planning for this, take a look at software such as AWS (account switching), the Unifi Controller (site switching), or even OpenStack Horizon (project switching) - essentially a dropdown allowing a switch, and following the switch, only data in that domain is visible.
Some stuff, like requests, close templates, welcome templates, bans, and role grants etc offer obvious targets to be domain-specific. Other stuff, like users, are obvious targets to be global.
Some things will need to be moved from their current location to a domain-specific location, such as some user preferences (email signature, welcome template choice, etc), and the default close template.
Known hurdles and open questions
Overall task list
This is the breakdown into a number of stages that we can to probably push into prod fairly independently. The (very) rough dependency graph is as follows:
The text was updated successfully, but these errors were encountered: