After upgrading from 1.4.12 to MW 1.5.2, we found that some of our
images were no longer displaying, and their pages showed a warning
about possible malicious code.
I traced the problem to the images' major_mime_type field being blank
in the image table. Not unknown, but blank. We had to download, re-
save, and re-upload those 200 or so images. They were created the
same way as all our others as far as we know (usually from screen
captures), and they certainly weren't malicious in content.
Any ideas how this happened or how to avoid it? Will the mime
checking prevent such uploads in the future?
Thanks
Michelle
Hallo!
http://meta.wikimedia.org/wiki/Special:SiteMatrix is great now.
What about adding some links for browser tests.
a) for each language with a limited number of special UTF-8 characters we
should store in a common configuration file
a1) a list of characters required to see information in that language
a2) a list of the Unicode blocks that contain that characters
*note* [[zh:]], maybe also ja:]] have a lot of characters
b) We should be able to create a generic page which includes:
b1) a few MediaWiki messages
b2) a test screen area where UTF-8 characters and their images (available at
commons) should be displayed site by site; visitors can compare what they
should see and what they see in their browser
Why this requirement?
At the moment I can not see the language names for [[am:]], [[bug:]],
[[chr:]], [[got:]], [[ii:]], [[iu:]], [[km:]], [[or:]], [[si:]], [[ti:]].
Somehow we should offer the posibility to include also a browser test for
the "Unicode Characters in the IPA Extensions Block" as made at
http://www.fileformat.info/info/unicode/block/ipa_extensions/utf8test.htm .
Traying to create http://yi.wiktionary.org/wiki/MediaWiki:Edittools I
reaslised that I can not see
http://www.fileformat.info/info/unicode/char/02ae/index.htm and
http://www.fileformat.info/info/unicode/char/02af/index.htm in the "IPA
Extensions Block".
What is your opinion about this?
best regards reinhardt [[user:gangleri]]
Hallo,
Unser Projekt soll ein Wiki, dass in den Sprachen Deutsch,
Italienisch, Französich und English erhältlich werden. Dazu kommt ein
Wiki, dass nur für Administratoren da ist, sprich kein bearbeiten
für den user.
Bis jetzt habe ich nur die Mediawiki Software auf einer Deutschen und
dieser geschützes Wiki installieren können.
Ich habe zwei Ordner mit Mediawiki und zwei Datenbanken erstellt.
Der Skin sollte bei allen Sprachen gleich aussehen.
Wie ist es systematisch am besten, die weiteren wikis zu installieren?
Möchte nochmals mein Ziel erklären:
Der User sieht auf der Hauptseite links im Menu die verschiedenen
Sprachen, wenn er z.b. auf Italienisch klickt, erscheint der Artikel
auf Italienisch(inklusiv der Navigation). Und das mit allen Sprachen.
Wie ist das im Hintergrund am besten zu installlieren? Die Skins,
Extensions und ganz wichtig die Bilder sollten für alle verfügbar
sein (keine doppelten dateien). Wie mache ich dann dass mit der
Bilder Datenbank?
Vielen Dank im voraus
andy
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.5.3 is a security and bugfix maintenance release.
Validation of the user language option was broken by a code change in
May 2005, opening the possibility of remote code execution as this
parameter is used in forming a class name dynamically created with
eval().
The validation has been corrected in this version. All prior 1.5 release
and prerelease versions are affected; 1.4 and earlier and not affected.
Additionally several bugs have been fixed; see the changelog in the
release notes for a complete list.
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=375755
Download:
http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.5.3.tar.gz?download
MD5 checksum:
fc697787f04208d1842a2c646deca626 mediawiki-1.5.3.tar.gz
SHA-1 checksum:
070189e29ace2ef9ab0589db42ecf849f2b88ee5 mediawiki-1.5.3.tar.gz
Before asking for help, try the FAQ:
http://meta.wikimedia.org/wiki/MediaWiki_FAQ
Low-traffic release announcements mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-announce
Wiki admin help mailing list:
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Bug report system:
http://bugzilla.wikimedia.org/
Play "stump the developers" live on IRC:
#mediawiki on irc.freenode.net
- -- brion vibber (brion @ pobox.com / brion @ wikimedia.org)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFDktOvwRnhpk1wk44RAi/tAJ9NlfTJTqW+9xTC6xaeOple14hFLQCgpyBn
/hIyYleol9gFbHfMgzJCyy8=
=fdzu
-----END PGP SIGNATURE-----
I have a problem: i changed in LocalSettings.php the upload
directories... and now there are coming warnings, e.g.:
__________________________________________________________________________________
Warning:
imagecreatefromjpeg(http://upload.wikiplant.org/de/b/b2/Helianthus_annuus_(…:
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in
/www/htdocs/w005dd98/wiki/includes/Image.php on line 1071
Warning: imagecopyresampled(): supplied argument is not a valid Image
resource in /www/htdocs/w005dd98/wiki/includes/Image.php on line 1079
Warning: imagejpeg(): Unable to open
'http://upload.wikiplant.org/de/thumb/b/b2/Helianthus_annuus_(1).jpg/450px-H…'
for writing in /www/htdocs/w005dd98/wiki/includes/Image.php on line 1099
Warning: imagedestroy(): supplied argument is not a valid Image resource
in /www/htdocs/w005dd98/wiki/includes/Image.php on line 1082
___________________________________________________________________________________
please help me :(
second question: what have I exactly to change for making shared uploads
from several wikis possible? (i know, something with the
deafultsettings, but what?!)
thanks for your help and greez from germany - florian*
*
Hi there wikipeople! Thanks for your help on the installation issues I
was having earlier.
I'm up and running at http://www.singletrackwiki.com however, I'm now
having difficulty finding an article that explains in plain english,
without much mumbo-jumbo, how to create a template for an infobox.
I've looked through http://en.wikipedia.org/wiki/Infobox and also
http://en.wikipedia.org/wiki/Wikipedia:Infobox_templates and also
found http://meta.wikimedia.org/wiki/Help:Template
The problem however, is, as you may know, I am not a programmer and
have little experience with code other than HTML and CSS... can anyone
explain, or point me to an example that explains more simply how to
create a template for an infobox like the one attached? My brain shut
off when I read "...can be inserted into another page via a process
called transclusion. It is comparable to a subroutine." This is
supposed to be helpful?!? :)
Anyway, thank you in advance for any help you may be able to offer. I
appreciate it greatly.
Attached is what I want to create.
--Billy
I wanted to know how i can add content that obtain from the DB to every
article in the wiki at the end of the article if i am using the
ParserAfterstrip hook event to get the DB content.
Thanks
Hi !
I installed MediaWiki in my company and I would to customize it.
I would like to add "History navigation links" at the top of the page.
For exemple : MainPage > MyProject > ProjectDocumentation when I visit
MainPage, then MyProject page, then ProjectDocumentation page in order
to quickly return to the last page instead of return to MainPage each time.
How could I make this in MediaWiki ?
Thanks for your help.
Sandrine
Paris (France)
--
---------------------------------
Sandrine CAR
Administrateur Réseau
HORIZON SOFTWARE
3, rue Meyerbeer
75009 Paris
---------------------------------
I am getting a failure trying to upgrade from 1.4.12 to 1.5.2. I have problems running update.php :
from update.php:
...converting from cur/old to page/revision/text DB structure.
1133553182......checking for duplicate entries.
1133553182......Creating tables.
1133553182......Locking tables.
1133553182......maxold is 6155
1133553182......Moving text from cur.
1133553182......Setting up revision table.
1133553182......Setting up page table.
1133553182......Unlocking tables.
1133553182......Renaming old.
1133553182...done.
revision timestamp indexes already up to 2005-03-13
Adding rev_text_id field... Query "UPDATE revision SET rev_text_id=rev_id" failed with error code "".
Note that my page and revision tables exist at this point but both are empty:
mysql> show tables;
+--------------------------+
| Tables_in_saspediadb_dev |
+--------------------------+
| archive |
| blobs |
| brokenlinks |
| categorylinks |
| cur |
| hitcounter |
| image |
| imagelinks |
| interwiki |
| ipblocks |
| links |
| linkscc |
| logging |
| math |
| objectcache |
| oldimage |
| page |
| querycache |
| recentchanges |
| revision |
| searchindex |
| site_stats |
| text |
| trackbacks |
| transcache |
| user |
| user_newtalk |
| user_rights |
| validate |
| watchlist |
+--------------------------+
30 rows in set (0.00 sec)
mysql> select * from page;
Empty set (0.00 sec)
mysql> select * from revision;
Empty set (0.00 sec)
I have narrowed this down to execution of the following query from updaters.inc near line 390:
$wgDatabase->query( "INSERT INTO $revision (rev_id, rev_page, rev_comment, rev_user, rev_user_text, rev_timestamp,
rev_minor_edit)
SELECT old_id, cur_id, old_comment, old_user, old_user_text,
old_timestamp, old_minor_edit
FROM $old,$cur WHERE old_namespace=cur_namespace AND old_title=cur_title", $fname );
If I run this query directly via mysql
INSERT INTO revision (rev_id, rev_page, rev_comment, rev_user, rev_user_text, rev_timestamp,
rev_minor_edit)
SELECT old_id, cur_id, old_comment, old_user, old_user_text,
old_timestamp, old_minor_edit
FROM old,cur WHERE old_namespace=cur_namespace AND old_title=cur_title;
I get the following error:
ERROR 1062 (23000): Duplicate entry '5-1' for key 1
How do I correct this so I can convert from 1.4.12 to 1.5?
(Possibly relevant: MySQL bug http://bugs.mysql.com/bug.php?id=12695 but I don't know how it may apply)
We're running (Special:Version) :
MediaWiki (http://wikipedia.sf.net/): 1.4.12
PHP (http://www.php.net/): 4.4.1 (apache)
MySQL (http://www.mysql.com/): 4.1.7-standard-log
here is what update.php showed before trying to convert the tables:
# php update.php
X-Powered-By: PHP/4.1.2
Content-type: text/html
Going to run database updates for saspediadb_dev
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds... 5 4 3 2 1 0
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
Creating validate table...ok
...user_newtalk table already exists.
Creating transcache table...ok
Creating trackbacks table...ok
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
Adding user_email_token field to table user...ok
...have log_params field in logging table.
Adding ar_rev_id field to table archive...ok
Adding ar_text_id field to table archive...ok
...page table does not exist, skipping new field patch
...revision table does not exist, skipping new field patch
Adding img_width field to table image...ok
Adding img_metadata field to table image...ok
Adding img_media_type field to table image...ok
...have val_ip field in validate table.
...have ss_total_pages field in site_stats table.
Adding iw_trans field to table interwiki...ok
...already have interwiki table
...indexes seem up to 20031107 standards
Converting links table to ID-ID...
Schema already converted
...image primary key already set.
The watchlist table is already set up for email notification.
User table contains old email authentication field. Dropping... ok
Logging table has correct title encoding.
Thanks for any assistance.
--
David J. Biesack SAS Institute Inc.
(919) 531-7771 SAS Campus Drive
http://www.sas.com Cary, NC 27513
Thanks to all who suggested me a solution! (Brion, Jan, Fxparlant). I have tried it in a new install MediaWiki and there it worked, but not in my main one installation... :-(
Maybe is because I've changed some settings? (those indicated below)
Ciao, N.
---
In my include/DefaultSetting.php:
$wgSitename = 'LesWiki';
$wgUseDatabaseMessages = false; (otherwise I could not edit my language file)
In my LocalSetting.php:
$wgSitename = "LesWiki";
$wgDefaultSkin = 'cologneblue';
$wgLanguageCode = "it";
---