Can anyone here give me some suggestions for the best way to back up
the database for our website? Originally we used a cron job that did a
MySQL dump every evening, but as the size of our wiki has grown, the
time needed just to run the dump has grown. It now takes 30-45
minutes, during which time site performance bogs down. We've therefore
tried doing live MySQL replication instead to maintain a mirror of the
database, but that doesn't seem to work very well.
Is there some other approach that we should be trying?
-------------------------------------------
SHELDON RAMPTON
Research director, Center for Media & Democracy
Center for Media & Democracy
520 University Avenue, Suite 227
Madison, WI 53703
phone: 608-260-9713
Subscribe to our free Weekly Spin email:
<http://www.prwatch.org/cmd/subscribe_sotd.html>
Subscribe to our Weekly Radio Spin podcasts:
<http://www.prwatch.org/audio/feed>
Read and add to articles on people, issues and groups shaping the
public agenda:
<http://www.sourcewatch.org>
Support independent, public interest reporting:
<http://www.prwatch.org/donate>
Hi,
I would like to edit mediawiki:nologin, yet it doesn't accept any of the
<br />'s etc. I could edit includes/templates/Userlogin.php, but does
anyone have a better solution?
thanks,
Alain
All,
I've managed to get short urls working in the form of
http://wiki.com/articlename . However I'm experiancing a slight issue with
the fact that for some reason everything works except for system functions
such as Logging in or out. I'm assuming there's a scripting variable set
wrong.
>From LocalSettings.php
The URL base path to the directory containing the wiki;
## defaults for all runtime URL paths are based off of this.
$wgScriptPath = "http://beta:8000";
$wgScriptExtension = ".php";
$wgScript = "";
#Added for short URL
$wgArticlePath = "/$1";
Apache Configuration
# allows people to use the old syntax.... surprisingly it works. I still
experiencing the same scripting issue with or without this rule
Redirect /index.php http://ii:8000
Alias /skins /var/www/beta/skins
Alias /index.php /var/www/beta/index.php/
Alias / /var/www/beta/index.php/
Any help would be greatly appreciated. This short URL scheme seems to work
pretty well, aside from the obvious issue.
--
Thank You and Sincerely,
Jon
Hi,
I've tried to upgrade my wikimedia installation, but I think there is a problem because my database server is not the same as the http.
When I run the update.php script via shell I got the answer that there is no connection to the database. The "wgAdminUser and wgAdminPassword" fields in the AdminSettings.php are filled in correctly with the mysql superuser.
Do you have any hints?
Best regards,
Sebastian
I am trying to get mediawiki to have clamscan scan files that are
uploaded. Now every file I upload that doesn't have a virus gives this
message:
Upload warning
The file contains a virus! Details: scan failed (code 127)
These files check out clean when I run clamscan by my self.
However, files WITH a virus are able to be uploaded!
Later:
My current fix is changing line 310 - 318 of DefaultSettings.php to
this:
'clamav' => array (
'command' => "clamscan --no-summary ",
'codemap' => array (
"127" => AV_NO_VIRUS, # no virus
"0" => AV_VIRUS_FOUND, # virus found
"52" => AV_SCAN_ABORTED, # unsupported file format (probably imune)
"*" => AV_SCAN_FAILED, # else scan failed
),
I am working on finding the correct Virus Found code.
In addition, here's output of a virus found with clamscan --no-summary :
test/clam.zip: ClamAV-Test-File FOUND
So we should parse for FOUND on line 320.
Darren VanBuren
onekopaka(a)gmail.com
----------------------------------------------
Administrator of Onekopakaspace
Trunk MediaWiki install:
http://oks.verymad.net/~onekopaka/mwtrunk/
Greetings.
i'm currently using ArticleInsertComplete and ArticleSaveComplete.
On "update" of an existing article, everything works fine since I have just
the call to "articlesavecomplete".
On "insert" of a new article, I have a little issue, since both
ArticleInsert and ArticleSave are called.
Maybe i just have to hook ArticleSave and swich in some way between a "new"
or an "update"?
Thank you
Hi,
I am new in theis community (and my english is not that well ;)
I am the webmaster of the cooking project of http://www.allekochen.com and I am using the software of mediawiki.
I am using this since February 2008 - and there was never a problem with it, but since a few days I have a big problem.
When I go to "Recnt changes" I cannot see any changes anymore. There should be by about 500 new changes - but they have gone. The last change I can see is when I enter the upload-section - there the last pic shown here was uploaded on 4th of may.
I had this problem once ago but after one day everything was ok again - but now it does not work anymore.
I have already asked my server, but they do not have any problem from their side.
Is there someone who could help me plz.
best regards,
Alex L.
www.allekochen.com
webmaster(a)allekochen.com
I just released it on mediawiki.org... doing the update from DFW and
they just called my flight... more later...
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
I just wrote an extension that mimics the PAGESINCAT Magic Word until
I'm allowed to upgrade our MW version. I don't want the wiki to get
hosed up when we finally upgrade. What is a good way to not load the
extension if the wiki version is high enough? Right now I am using the
inaccurate
if (function_exists( 'wfLoadExtensionMessages' )) {
return true;
}
Courtney Christensen