Benutzer:DerHexer/massenmail/en
w:de:User:DerHexer/massenmail.js
allows you to contact several users via wikimail through an easy tool. It is in particular helpful for people who need to contact users with non-public information which is not possible on user talk pages.
Implementation
[Bearbeiten | Quelltext bearbeiten]Add this code to your individual javascript page on Special:MyPage/common.js:
mw.loader.load('https://de.wikipedia.org/w/index.php?title=Benutzer:DerHexer/massenmail.js&action=raw&ctype=text/javascript');
For sending out more than 20 mails per day, you need to request a noratelimit right like the account creator one on en:Wikipedia:Requests for permissions/Account creator.
Usage
[Bearbeiten | Quelltext bearbeiten]- 1.
On every user or user talk page you will find a new link in the tool box called “massmail”. By clicking that, a small window is prompted which explains you the next steps. You can help with translations here. However, this very page explains the process more explicitely and adds some comments and hints.
-
Where to find the tool
- 2.
In this small window you first have to define whom to contact. The names must be submitted accurately and need to be separated with ;
without surrounding blanks, e.g. TheWizard;DerHexer
. This can be realized in different ways; search engines find results when you ask them for replace return with semicolon
if your list is available with usernames in new lines.[1]
-
Submit the users to be contacted
- 3.
After having submitted the usernames, you can enter the title of the mail in the next window.
-
Enter the title of the mail
- 4.
Having confirmed the title, you can add the text in the next window. New lines cannot be added by using the enter key because that would take you to the next window. Therefore, please prepare your text in a text processing tool of your coice and copy and paste it. For new paragraphs, leave one line blank like in Wikipedia source code. Furthermore, you can $$$
will be replaced with the respective username in the entire mail. That can be helpful for addressing the user or linking to their pages, e.g. Hi $$$!
would result in Hi TheWizard!, Hi DerHexer!
in the example above.
Warning: Even if you have complied with these instructions, some browsers have problems with forwarding the special characters for the enter key to the script. It works on Mozilla Firefox but has problems with Opera. It is highly recommended to send a test mail to yourself before you reach out to several users. Empfohlen ist daher, den gewünschten Text erst einmal sich selbst zum Test zuzuschicken.
-
Paste the text into the input field
- 5.
Afterwards, you can activate copies *for each mail* to your account by sending Yes (default: No).
-
Get a copy of every mail
- 6.
That’s it. In case all mails were successfully delivered, you will receive the notification “Emailing successful.”. In every other case, you will get “Emailing partly successful.” with a list of all users who have not enabled wikimail.
-
Successfull delivery of all wikimails
-
The list of users with disabled wikimail
Improvements
[Bearbeiten | Quelltext bearbeiten]- auto-completion of usernames
- only possible with graphical surface and access to the auto-completion tools on MediaWiki
- …
Developer
[Bearbeiten | Quelltext bearbeiten]Code
[Bearbeiten | Quelltext bearbeiten]The Javascript code can be found on w:de:User:DerHexer/massenmail.js but is not very well described.
Alternative tool
[Bearbeiten | Quelltext bearbeiten]References
[Bearbeiten | Quelltext bearbeiten]- ↑ There is an example.