Thread:User talk:Wikinaut/UserMerge Maintainer/reply (3)

What is your "business case" for the mass account deletion (is it really needed generally?)? How does the interface (special page) look (parameters, input fields) ?

The extension is used on Wikimedia foundation wikis, so larger changes will definitely require a lot of work to get it through code review etc.

I propose you file a regular enhancement bug (just and only for better tracking of this idea) first (in https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=UserMerge ) in which you decribe your proposed changes, and that you already have a working version.

Then you _could_ send me your version - but wait :

It would be better and however very useful, if you apply your code changes as (feature) branch based on the lastest HEAD code version of UserMerge in git/gerrit.

Here's rough guide, and I suggest


 * you have to use git (git is available for all platforms, even the portable version for windows works well)
 * archive your present subdirectory and work (backup)
 * start with the current UserMerge from git:
 * checkout (clone) the current HEAD of UserMerge
 * create a new branch with a meaningful name like "batch-user-merge" or "mass-account-merges" (or the like).
 * now the real work starts:
 * being in that new feature branch (git checkout batch-user-merge), apply all your changes (=your version) to that branch (YMMV : your mileage may vary.), keep in mind to have messagekeys inline with style guidelines (I mean that the message _keys_ are prefixed with the extension's name like "usermerge-some-text" and look nice.
 * check and confirm that the new code is working and does not breaking anything what worked before. This is really important.
 * if everything works find, then attach the diff (git diff), a single file, to the bugzilla, from which I then can retrieve it and make a formal draft commit to gerrit. From this step on we can then work together on further improvements.