Tag Info

New answers tagged

1

You should never modify DefaultSettings.php. As its name suggests, it contains defaults; when upgrading your MediaWiki installation, it will be overwritten. Just copy whatever you need to LocalSettings.php.


0

See the comments, but if you're set on this solution you can use deleteBatch.php. Assuming the timing of the attack is what you said, it would be something like: mysql -e "select page_title from page where page_touched between 20150319000000 and 20150322000000 into outfile '/tmp/pagelist.csv'" php maintenance/deleteBatch.php --conf LocalSettings.php -r ...


0

You could edit a template (or more ideally copy, rename and then modify) in MediaWiki to achieve this. Templates are in the skins subfolder of your MediaWiki installation. For example, you could edit the VectorTemplate->execute() function in \skins\Vector\VectorTemplate.php to include the HTML for your footer text if you were using the Vector template.


1

The documentation seems a bit inconsistent and is hard to answer without knowing what version you are using, but you should be able to a print only message to the Footer template example here Depending on what the message is you may be able to edit or add a System Message for printing. There is also a coding option


1

You are probably using the global blacklist via Extension:SpamBlacklist. Unfortunately it's maintained by people who mainly care about the English Wikipedia and don't mind much if other wikis are hurt by the rules. You can use your wiki's MediaWiki:Spam-whitelist page to override remote rules.


1

It looks like it's just a matter of editing the spam blacklist file. See the tutorial for that extension.



Top 50 recent answers are included