http://bugzilla.wikipedia.org/show_bug.cgi?id=454
To whom it may concern:
today I released a new version of *** e-mail notification for changed
pages and user_talk pages (enotif) ***, which corrects a text and
recipients' address problem when sending the notification mails. The
patch is based on yesterday's evening version of CVS 1.4, further
updates are currently synchronised with 1.4 version as suggested by
Brion, and a lot of documentation pages are available on
http://meta.wikimedia.org/wiki/Enotif .
Remark: the useful proposals by Brion, JeLuF and Wil - see Bugzilla -
are not yet integrated into this v1.1 source, but will be soon.
I am looking forward to your feedback, if you can invest the time for
implementing and testing it.
Tom
Berlin
It has been chosen for me to not enable image uploads for regular users through the MediaWiki interface, however I still wish to allow my Wiki to use images as if they had already been uploaded. This would presumably require me to manually copy files I wish to "upload" to the /images directory (and any applicable subdirectories) and also manually create a proper entry in the "image" table in the MySQL database.
So far, my attempts to simply insert the name of the image in the img_name field and manually copy my file to "/wiki/images" have not worked. Obviously I have zero understanding of what the fields in the image table are supposed to contain.
Can somebody please post some valid data from their image table in their database along with the proper sub-directory structure beneath the "images" or "upload" directory (if applicable)?
Thanks!
Rick
I've thrown together a pretty simple script to collect hourly + daily
stats on hits, edits, etc. It does a single simple query of the
site_stats table, so its load on the server is incredibly minimal.
The script calls out to ploticus to generate bar charts of daily and
hourly hits and edits on the wiki.
To use the script, gunzip this file into your /path/to/wiki/maintenance
directory, add something like the following to your crontab:
0 * * * * /usr/local/bin/php /home/nick/web/wiki/maintenance/stats.php
-hourly
0 0 * * * /usr/local/bin/php /home/nick/web/wiki/maintenance/stats.php
-daily
Then, modify '/path/to/wiki/includes/SpecialStatistics.php', and add
something like the following:
$wgOut->addHTML( "<hr />\n<image src=\"$wgScriptPath/images/sp" .
"ecial/hourly_stats.png\" alt=\"Hourly usage
statistics\" />\n" );
$wgOut->addHTML( "<hr />\n<image src=\"$wgScriptPath/images/sp" .
"ecial/daily_stats.png\" alt=\"Daily usage statistics\"
/>\n" );
I added these immediately after the first call to $wgOut->addWikiText(
$text ), on line 35 of my revision of the file.
I let the script run for a few days before modifying
SpecialStatistics.php, so that the daily table has enough data.
If someone with CVS commit privilege wants to add this to the default
install, go right ahead. BTW, I have only tested this against 1.3.2, I
haven't updated to a newer release yet.
Enjoy!
-Nick
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.3.5 is a security update, which contains a small fix for a
potential cross-site scripting vulnerability. All MediaWiki 1.3.x users
are strongly encouraged to upgrade to this latest release.
The only substantial change from 1.3.4 is in includes/RawPage.php, so
you can copy that one file in to perform a 'hotfix'. (Copy also
includes/DefaultSettings.php to update the version number.)
Changes from 1.3.4:
* Clean up input validation in 'raw' page output mode which was a
potential
cross-site scripting opportunity.
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=271848
Download:
http://prdownloads.sf.net/wikipedia/mediawiki-1.3.5.tar.gz?download
Wiki admin help mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system:
http://bugzilla.wikipedia.org/
Play "stump the developers" live on IRC:
#mediawiki on irc.freenode.net
- -- brion vibber (brion @ pobox.com)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBXGXdwRnhpk1wk44RAmIwAJ0RupGm+mNo1cZ433k8hHa7J50U2QCgnuG+
SZLnmAK5JuKaHyIaVkxvHbg=
=0PBU
-----END PGP SIGNATURE-----
Thanks Brion. I was trying to restore over an existing database and
your suggestion seemed to work fine.
Is there any potential problems importing a backup database over an
existing one?
Thanks,
Chuck
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Brion Vibber
Sent: Wednesday, October 06, 2004 2:20 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Dumping and restoring database
On Oct 6, 2004, at 10:36 AM, Chuck Bishop wrote:
> I found some information on
> http://meta.wikimedia.org/wiki/How_to_move_a_MediaWiki_Database
> regarding dumping and restoring the sql database. The dump seems to
> work fine. However, when I try to restore the database, I receive the
> error, ERROR 1050 at line 11: Table 'archive' already exists
Were you restoring into a blank, newly created database or one that
already had a wiki in it?
If the latter, you need to either manually remove the old tables or
make your dump with the --add-drop-tables or --opt options to
mysqldump.
> How can I restore the database? Also, are there any other files which
> should be backed up?
Uploaded images and any config or customized code files that you want
to keep.
-- brion vibber (brion @ pobox.com)
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
Hi,
I found some information on
http://meta.wikimedia.org/wiki/How_to_move_a_MediaWiki_Database
regarding dumping and restoring the sql database. The dump seems to
work fine. However, when I try to restore the database, I receive the
error, ERROR 1050 at line 11: Table 'archive' already exists
bash-2.05b$ mysqldump -u root -p wikidb > /tmp/wikidb.sql
Enter password:
bash-2.05b$ ls -la /tmp/wikidb.sql
-rw-r--r-- 1 wikiuser wikiuser 377369 Oct 6 13:34 /tmp/wikidb.sql
bash-2.05b$ mysql -u root -p wikidb < /tmp/wikidb.sql
Enter password:
ERROR 1050 at line 11: Table 'archive' already exists
bash-2.05b$
How can I restore the database? Also, are there any other files which
should be backed up?
Thanks,
Chuck Bishop
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
Greetings all,
I'm very new at this this so the answers may be obvious to some of you.
After searching for a day and a half I'm either missing it or not looking
in the right places.
I am not seeing a "create new entry" button on link when I do a search.
I have been able to create new entries by creating a link on the term from
within another entry but it seems like I'm missing the straightforward way
to do it.
Also, is there a way have a index of terms automatically generated?
Thanks
Kent
Thank you to everyone who replied.
Thanks,
Chuck
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Chris Phoenix
Sent: Monday, October 04, 2004 6:13 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Delete user account
Perhaps the original intent was simply to disable, not delete the
account? In that case, would it be enough to put garbage in the
password field and delete the email so they can't ask for a new
password?
Chris
Brion Vibber wrote:
> On Oct 4, 2004, at 2:22 PM, Jamie Bliss wrote:
>
>> If there is a User number referenced w/o the aproptiate user record,
>> what happens?
>
>
> If a new user is created with the same name, it will no longer be
> possible to look up the prior user's contributions in
> Special:Contributions.
>
> -- brion vibber (brion @ pobox.com)
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Chris Phoenix cphoenix(a)CRNano.org
Director of Research
Center for Responsible Nanotechnology http://CRNano.org
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
I'm running the latest version of wikimedia (1.3.5) and download the
wikipedia DB frequently...
all looks good, but links to other language or other wiki project just
bring me to a edit page...
Is there a way to make theses link work correctly ?
Another question... Is it possible to disable the possibility to edit
page ?
Thanx !
Au Plaisir !
--
David Fredette
« Dire que Windows est l’égal du Macintosh c’est comme trouver une
patate qui ressemble à Jésus et croire que vous avez été témoin de sa
résurrection. »
If I wanted to tie MediaWiki into an external
authentication/registration system, where should I start looking in the
codebase for places to check cookies / populate the right variables? I
have a pretty firm grasp of PHP and MySQL (been using both for years)
but no idea of how the MediaWiki code is laid out.