My ships are stuck in the Bay of Patras, how do I get them out? Game #2721041
Project:Support desk
Jump to navigation
Jump to search
Reply to "There Is No Captcha to answer question Below!!!!"
Reply to "Deleting multiple users"
Reply to "Mass user deletion"
Reply to "Reset password / Delete test users"
Reply to "Problem when modifying Tempo.skin.php file"
Reply to "I just registered with MediaWiki."
Reply to "How to enable multiple space characters?"
Reply to "Activation of newly registered accounts only through admins possible?"
problem with creating account
Which website exactly is this related to?
Also, have you tried with different browsers?
I'd like to be able to delete nearly every user on my wiki - probably "every user which has never made an edit" - or "every user who has only edited his own user page".
Is there an extension that could do this? Or a tried-and-tested SQL query?
Thanks in anticipation.
The most appropriate way to achieve something similar is by way of Extension:UserMerge. The more customized solutions, either don't exist or are likely to be very unreliable.
Thanks. That extension doesn't look useful for removing (or merging) hundreds of users. Its page has a link to Extension:BlockAndNuke but that's not maintained and from the talk page looks not to be working with the latest MW version.
Back to SQL, do you think the following would work? The intention would be to delete every user from the user table who has never made a revision which appears in the revision table.
DELETE FROM wm_user WHERE user_id NOT IN (SELECT DISTINCT rev_user FROM wm_revision)
There are no pages in the User or User Talk namespaces to worry about having to delete.
@Samwilson I saw you reply to another message about users, and wondered if you would be able to help with my (SQL) query above. Thanks in anticipation.
I'd recommend against trying to do this directly with SQL. It's really likely to be a headache.
I suspect that getting the BlockAndNuke extension up to date would be easier, and result in a more reliable solution that's more usable by more people. :)
(I might have a look at it this weekend...)
>> every user which has never made an edit
Well, this is simple. Just run the maintenance script 'RemoveUnusedAccounts.php' - Manual:RemoveUnusedAccounts.php
This post was hidden by 94rain (history)
Over the last year my website was raided by spambots. They have created hundereds of accounts that I wish to delete for good. There is a UserMerge extension that can merge all of the accounts into one, but that seems to be a very inefficient way of dealing with it, since there are hundereds of spambots. Is there a way to delete a lot of users at once?
Extension:BlockAndNuke can mass block spam accounts and delete all contributions made by those spam accounts, in just two clicks.
Also, Extension:Checkuser may be helpful, which can find the underlying IP and the interface can provide options to block a bundle of accounts from the same IP or an IP range.
I see that BlockAndNuke only works for recent accounts. Unfortunatelly it does not really work for me, as the users are dated back to 2017. Also, all contribution has been deleted already by other extensions, I only want to delete the accounts.
This post was hidden by Deimos (history)
Oh I did not read the question carefully...
I see that BlockAndNuke extension can be integrated with Extension:UserMerge to merge blocked accounts. But I do not know how it works exactly
| “ | Integration with Extension:UserMerge If you have Extension:UserMerge installed, this blocked user's accounts will be merged with the user specified in $wgBaNSpamUser which, by default, is "Spammer". If you want this to work you will need to install code from here for UserMerge as the main branch of UserMerge does not have the necessary hooks in it. |
” |
I tried to use it. Unfortunately, seems like this patch is long outdated. It needs to apply changes to the file UserMerge.php, but in UserMerge extension for MW1.32 there is no such file. As I remember, older version (namely 1.16 that I used) did use the starting file of extensions in that format, but no more. So its effectively useless :c
diff --git a/UserMerge.php b/UserMerge.php
index d0c20d2..7247024 100644
--- a/UserMerge.php
+++ b/UserMerge.php
@@ -45,6 +45,7 @@
This post was hidden by Deimos (history)
I have a similar problem: see Deleting multiple users.
I answered in your thread, luckily for you there is a simple solution for your case.
This post was hidden by 94rain (history)
When testing the ConfirmAccount and other functions i run into this message A password reset email has already been sent, within the last 24 hours. To prevent abuse, only one password reset email will be sent per 24 hours.
Is there a way to bypass this limit for the sysop?
The relevant settings is $wgPasswordReminderResendTime. Don't think there is presently any way to customize this for specific user groups.
Thanks - it will do while I set up! :-)
Hello guys
I am trying to customize the skin Tempo for my mediawiki
I modifier sucesfully the CSS of the skin. However, I would like to costumize also the php code of the skin, which I find in Tempo.skin.php.
But my problem is that when I modify the file, the changes are not taken into account by my browser, (but the changes to the CSS were taken) and the mediawiki isn't modified (other than the CSS)
Is there anything I am missing to make my browser look into the php file when putting a skin on my mediawiki?
Thanks in advance
Oaky, I found what the problem is.
I use Firefox to test out the skin, and it somehow keep the old php in cache.
I actually installed Google Chrome to try it, and Bam! All the changes were there.
Does anyone know how to empty that cache that firefox uses?
For MediaWiki, this might be what you need: Manual:$wgInvalidateCacheOnLocalSettingsChange
And for Firefox.
Thank you for this solution :)
Another way to make it work is to refresh the page with Ctrl + F5, it'll do a "hard refresh" of the page
How do I update your Biographys on companies. I was a co owner of Kalimar, and your bio is not correct? Larry Lipsitz President of Kalimar inc
On mediawiki.org there are no biographies on companies. If you refer to some other website (for example a Wikipedia), please ask in a forum of that other website.
How I start volunteer for technical writing? Thanks.
Hi! Thanks for volunteering.
What are you interested in? You can find what you are interested in on How_to_contribute and get involved.
You may also take a look at the message I left on your talk page. If you still have any questions, please feel free to ask.
Hi, when I write an article and use the space character more than one time in a row, it will always be displayed as one space character.
How can I completely deactivate this automatic?
Thanks
That's default HTML behavior and not MediaWiki specific so there is no way to deactivate. See for example using <code> </code> in HTML instead.
What effect do you need to achieve?
Thanks Malyacko.
@Jonathan3: I want to write such thing in my wiki articles:
Mt 2,3.5.9 + John 5,6
Sometimes I want to have multiple space characters.
The space characters before and after the plus were supposed to be double space charaters..
Use as explained on a previous message to insert spaces that must be preserved.
Based on your example above, an extension could replace every double-space in the middle of a line with
Maybe it's simple enough to include in LocalSettings.php.
Hey there,
I've just started my first MediaWiki and because it's going to be for our kindergarten I want to make sure that not everyone can register and thus edit its content (for example bots or random "users" who somehow found their way to the wiki and are trying to be destructive there...). I want to have control over the registration by only allowing new users that have been verified/activated by me in my function as the page admin.
I've already looked up for this option on the help sites for a while and couldn't figure out if this is possible or not so you may be of help here?! ;-)
Cheers,
Marius
Heyho,
thanks a lot for your reply.
Unfortunately I can't handle the extension correctly it seems... I either have one of these problems:
A) If I want to register a new account the wiki says that I have to have the right to read pages on the wiki in order to visit this (registration) site
or
B) after I filled in my account name (to be newly created) and e-mail address and confirm my wish for registration it says: "
This page isn’t working
wiki.rudolfsteinerkindergarten.de is currently unable to handle this request.
HTTP ERROR 500"
I am using these settings at the moment (while case B) is appearing):
$wgGroupPermissions['*']['createaccount'] = true;
$wgGroupPermissions['*']['read'] = true;
(( $wgGroupPermissions['sysop']['block'] = true; ))
$wgGroupPermissions['sysop']['createaccount'] = false;
Before I had installed the "ConfirmAcc" extension successfully... (at least the special:version page tells me so)
What am I missing here? :-/
PS: If I set $wgGroupPermissions['*']['read'] = true; to false, of course, case A) is happening...
Regards,
Marius
The line (( $wgGroupPermissions['sysop']['block'] = true; )) might be incorrect from a PHP syntax point of view and the permission also appears to be redundant. Remove that line.
Regarding A, as mentioned in Manual:Preventing access#Simple private wiki, when using Extension:ConfirmAccount you will need to whitelist the Special:RequestAccount page:
$wgWhitelistRead = array( 'Special:RequestAccount', 'Main Page' );
- In other languages you have to replace "Main Page" and "Special:RequestAccount" with their local names, for instance "Hauptseite" and "Spezial:Benutzerkonto_beantragen" in a German wiki.
For details, see Manual:$wgWhitelistRead.
Thanks again for your reply :-)
Unfortunately I still seem to be running in circles: Now I have the problem that (after allowing to access the necessary pages, which you translated correctly into German ;-)) I only get to a blank page after trying to register (while accepting the terms of service). No mail ever appears that someone's trying to register or any other message :-/
Regards,
Marius
To troubleshoot the blank page, in LocalSettings.php, set:
$wgShowExceptionDetails = true;
$wgDevelopmentWarnings = true; error_reporting( -1 ); ini_set( 'display_errors', 1); error_reporting(E_ALL);
and then redo the steps which got you the blank page. Maybe an error description will show up.

