Hi all,
This is my first contribution, I have a few queries and I hope
somebody can help me find the solutions or information I need.
Problem:
I have a mediawiki running on a hosted web server ( ie not on my own
computer ) which is being repeatedly spammed by a bot or bots which
not only edits multiple pages inserting hundreds of porn links and so
on, but also creates lots of new pages and talk pages.
according to the version page, the wiki is running on
MediaWiki (http://wikipedia.sf.net/): 1.3.5
PHP (http://www.php.net/): 4.3.10 (apache)
MySQL (http://www.mysql.com/): 4.0.24-standard-log
I can access the database using phpMyAdmin 2.6.3
The spammer(s) use IP addresses which vary, but always begin with 69.50.
So what I can do for now, after a spam attack, is to log in as
WikiSysop, block the individual IP number, go through reverting all
the pages and deleting the newly created ones.
Then I go to the phpMyAdmin page and run a few stored scripts which
delete all the unwanted edits from both 'old' and 'recentchanges' ,
empty archive , and then the database is back to normal without
expanding unmanageably.
My main question is :
How can I block the entire range of IP addresses like 69.50.* ??
Any help much appreciated, as I am determined to try and keep this
wiki open to all and not concede to the spambots.
--
Andy Roberts
http://blog.ultralab.net/~blogger/andy/http://www.ukcider.co.uk
When trying to upload, I get:
--
The file you uploaded seems to be empty. This might be due to a typo
in the file name. Please check whether you really want to upload this
file.
--
Having been through this several times before, I have notes on the
common things to check for. Unfortunately, after having gone through
those solutions I am still unable to resolve this problem.
First, is there any other documentation on the subject, other than
http://meta.wikimedia.org/wiki/Uploading_files ?
* php.ini has file uploading enabled.
* php.ini has a 2M upload size, which is larger than the file size.
* I tried editing php.ini to specify a temp folder, which I made sure
was world-writable.
* images/ is writable.
* I'm not running php safe_mode
* my browser has permission to upload the file.
* I'm not running Apache2, and don't have funky settings.
* I've tried taking down various firewalls, to no avail.
The thing that's changed is.. the underlying distribution. So I
suspect there's an issue there, but I don't have the knowhow to know
where to poke around.
Ideas?
Running mw 1.5rc4
I need help with an authorization script. I have an external member
database that I wish to verify against. I have tried all the authplugins
that I could find on the net and modified the code using these values,
but I cannot get any of them to work. Can someone help me out here?
Database Name: 'members'
Database Server: 'localhost'
Database Wser: 'DB_USER'
Database Password: 'DB_PASS'
Member Table: 'authuser'
Username Field: 'uname'
Password Field: 'passwd'
Email is stored in a separate table: 'signup'
Email Field: 'email'
Is it possible to specify a 'default' template for all documents in a
particular namespace? I am using v1.5rc4.
I am very new to mediaWiki and I am sure this is a simple thing to do
but I have not been able to tease it out of the documentation..
Hi all,
I've had some serous disk trouble and now, I'm missing the user_rights table,
however, I'd simply create a new one, so, that every little user should just
recreate their accounts.
but how do I do?
could anyone gimme a short hint on what the schema of this table usually looks
like *AND* wether this would lead into other problems when I do it that way?
(I do not wanna loose the page contents)....
Regards,
Christian Parpart.
Hi There,
I just installed latest version 1.4.9 of MediaWiki and I'm learning
to use it. Please bear with me if my questions seem trivial.
Q1 - Can anyone recommend a tutorial site?
Q2 - On a few wiki sites I saw handy button (Create New Page) -- How
can I get this button to appear or is it some sort of hack I need to do?
Thanks,
Craig Hoffman
_______________________
Craig Hoffman
choffman(a)eclimb.net
iChat / AIM: m0untaind0g
_______________________
after some tests, it seems that #redirect works only once (1.5)
that is
test1 redirect to test2 redirect to test3
clicking on test1 send the user on test2, not on test3
is that what is wanted ?
I mail fail, but I had already renamed a page more than once
(due to excess typos :-() and I think a got the last page
from the first on the same clic (1.4)?
thanks
jdd
--
pour m'écrire, aller sur:
http://www.dodin.nethttp://valerie.dodin.nethttp://arvamip.free.fr
Hello. I have 3 separate questions:
1. I was wondering how to add more namespaces to MediaWiki.
2. I saw on a website that somebody added links below the search box. I was
wondering how to do that.
3. I am programming a script that modifies the database directly every so
often (like wikipedia's sandbot). However in order to do that, I need to
know how to insert text into a binary field with php and mysql.
I am running MediaWiki 1.5rc3 (but it might be rc4 by the time I read the
answers, but I don't think that that matters)
Thank you. Your help is appreciated. -- Shardsofmetal
Does anybody know if MediaWiki supports using a remote
MySQL database ?
I'm having trouble getting that set up.
Here is the error I am getting.
Checking environment...
* PHP 5.0.4: ok
* PHP server API is isapi; unknown; using pretty URLs
(index.php/Page_Title), if you have trouble change this in
LocalSettings.php
* Have XML / Latin1-UTF-8 conversion support.
* PHP is configured with no memory_limit.
* Have zlib support; enabling output compression.
Turck MMCache not installed, can't use object caching functions
* Couldn't find GD library or ImageMagick; image thumbnailing
disabled.
* Installation directory: G:\wwwroot\wiki2
* Script URI path: /wiki2
* Warning: $wgSecretKey key is insecure, generated with mt_rand().
Consider changing it manually.
* Connected as root (automatic)
* Connected to database... 4.1.13a-nt; enabling MySQL 4
enhancements
* Warning: $wgSecretKey key is insecure, generated with mt_rand().
Consider changing it manually.
* Database wikidb exists
* Creating tables... done.
* Initializing data...
* Granting user permissions... Query "GRANT ALL ON `wikidb`.* TO
root@'%' IDENTIFIED BY 'mysql'" failed with error code "Access denied
for user 'root'@'%' to database 'wikidb'".
thanx,
Lori
For privacy purposes I would like to hide Special:Ipblocklist from those
who do not have 'block' permissions. (Seeing who's banned is okay but I
can't have autoblocked IP address collisions displayed to users.)
I just installed the Special:Renameuser extension and saw that it is
listed under Rights-restricted pages. I inspected that and
Special:Blockip to see where they were declaring their rights and found
nothing; absolutely nothing. I did find the check where they print an
error message and stop if you do not have the necessary rights, but
nothing to suggest that either one was adding itself to the variable
that apparently classifies pages requiring rights.
I'm not a programmer, so I don't understand Special:Specialpages. I'm
sure it's a simple fix, and any help would be appreciated.
Hínandil