Hello andy,
This is not the right mailgroup if you write in german.
So anyways I try my best in german ;):
Wenn du dein Wiki auf mehereren Sprachen machen willst würde ich nicht für jede Sprache ein Wikipedia installieren sondern für jede Sprache ein namespace definieren. Diesbezüglich wirst du eine Menge Informationen auf meta Wiki finden.
Die Images sind soweit ich das sehe nicht in der Datenbank sondern unter <wikiroot>/images zu finden. Auf der Datenbank wirst du nur die links finden Bild -> Artikel
Aber mehrere Namespace sind meiner Meinung nach sicher die sauberste Lösung für sowas. Falls du dennoch nicht diesen Weg gehen willst, solltest du auf einer Datenbank sämtliche Daten speichern und prefix bei den tables verwenden bsp:
En_page It_page De_page
Etc. und den Code anpassen damit die image table überall gleich verlinkt ist. Dies ist jedoch nicht unriskant und mit viel mehrarbeit verbunden da dir niemand versichern kann das das Datenbank design so bleibt wie es jetzt ist.
Habe auch viel mit PHP für Wiki gecoded und beim Wechsel von 1.4 auf 1.5 wo sich sehr viel am Datenbankdesign geändert hatte grossen Aufwand hatte.
Gruss,
Flo
-----Ursprüngliche Nachricht----- Von: wikitech-l-bounces@wikimedia.org [mailto:wikitech-l-bounces@wikimedia.org] Im Auftrag von wikitech-l-request@wikimedia.org Gesendet: Samstag, 10. Dezember 2005 13:15 An: wikitech-l@wikimedia.org Betreff: Wikitech-l Digest, Vol 29, Issue 16
Send Wikitech-l mailing list submissions to wikitech-l@wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.wikipedia.org/mailman/listinfo/wikitech-l or, via email, send a message with subject or body 'help' to wikitech-l-request@wikimedia.org
You can reach the person managing the list at wikitech-l-owner@wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Wikitech-l digest..."
Today's Topics:
- Hooking (Aron Rubin)
- Re: Hooking (Peter Danenberg)
- Inactive wikis (Amgine)
- Re: Inactive wikis (Mark Williamson)
- Re: Re: Preformatted blank articles? (was Experiment on new pages and GFDL) (Tels)
- Stupid Mediawiki Tricks: logical templates (David Gerard)
- Re: Re: Preformatted blank articles? (was Experiment
on new pages and GFDL) (Erik Moeller) 8. Re: Account creation spike on enwiki after anonymous page creation got disabled (Dori) 9. upgrade error messages (FxParlant) 10. Re: Re: Preformatted blank articles? (was Experiment on new pages and GFDL) (Tels) 11. Wie gleichzeitig mehrere Wikis betreiben (Arena Andrea)
Message: 1 Date: Fri, 09 Dec 2005 16:52:39 -0500 From: Aron Rubin arubin@atl.lmco.com Subject: [Wikitech-l] Hooking To: wikitech-l@wikimedia.org Message-ID: 4399FCA7.2070809@atl.lmco.com Content-Type: text/plain; charset=ISO-8859-1
Why are there so few hooks in MediaWiki? Is this part of an effort to be lean or have you not gotten around to it?
Aron
--
ssh aron@rubinium.org cat /dev/brain | grep ^work:
Aron Rubin Member, Engineering Staff Lockheed Martin E-Mail: arubin@atl.lmco.com Advanced Technology Laboratories Phone: 856.792.9865 3 Executive Campus Fax: 856.792.9930 Cherry Hill, NJ USA 08002 Web: http://www.atl.lmco.com
Message: 2 Date: Fri, 9 Dec 2005 15:37:44 -0600 From: Peter Danenberg pcd@wikitex.org Subject: Re: [Wikitech-l] Hooking To: Wikimedia developers wikitech-l@wikimedia.org Message-ID: 20051209213744.GA23886@wikitex.org Content-Type: text/plain; charset=us-ascii
Why are there so few hooks in MediaWiki?
Imbalanced forward pack, I'm afraid; locks and flankersare in order, but the front row needs some work.
In good sadness, though, did you have something likeApache's bucket brigades in mind?
-- Peter Danenberg . wikisophia.org ..:
Message: 3 Date: Fri, 09 Dec 2005 22:42:59 +0000 From: Amgine amgine@saewyc.net Subject: [Wikitech-l] Inactive wikis To: wikitech-l@wikimedia.org Message-ID: 439A0873.2060302@saewyc.net Content-Type: text/plain; charset=us-ascii
There is a list of inactive wikis which should be locked at http://meta.wikimedia.org/wiki/Inactive_wikis which are currently spam traps, with many more to be added. I was wondering if this was still a Steward privilege, or if we need to ask developers to lock these?
Amgine
Message: 4 Date: Fri, 9 Dec 2005 15:47:07 -0700 From: Mark Williamson node.ue@gmail.com Subject: Re: [Wikitech-l] Inactive wikis To: Wikimedia developers wikitech-l@wikimedia.org Message-ID: 849f98ed0512091447g590d99e8x@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
These wikis are regularly monitored for vandalism.
Mark
On 09/12/05, Amgine amgine@saewyc.net wrote:
There is a list of inactive wikis which should be locked at http://meta.wikimedia.org/wiki/Inactive_wikis which are
currently spam
traps, with many more to be added. I was wondering if this
was still a
Steward privilege, or if we need to ask developers to lock these?
Amgine
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
-- "Take away their language, destroy their souls." -- Joseph Stalin
Message: 5 Date: Fri, 9 Dec 2005 23:53:13 +0100 From: Tels nospam-abuse@bloodgate.com Subject: Re: [Wikitech-l] Re: Preformatted blank articles? (was Experiment on new pages and GFDL) To: wikitech-l@wikimedia.org Cc: English Wikipedia wikien-l@Wikipedia.org Message-ID: 200512092353.37230@bloodgate.com Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Moin David,
On Friday 09 December 2005 21:58, David Gerard wrote:
Tels wrote:
[snipabit]
Yep!
The most FAQ was "How do I start a new article?" followed
by "And why
is this so complicated?", closely followed by "How do I add a headline again?"
That's specifically why I put how to make a section in that in the example ;-)
I did a radio interview on Wikipedia yesterday. I actually tried to lure casual editors to feel free to edit.
It'd be nice if anon contributors could start articles again. If regulars don't like getting a template, perhaps it could be
on just for
anon editors.
I think anon users rights have nothing to do with this issue of whether the edit box should be pre-filled or not, and whether it should be easier to create new articles :)
(IMHO anon edits should be disallowed entirely, but this is just my private opinion which doesn't carry much weight and/or might be wrong/impractical/impolite etc :)
Especially in-frequent contributors tend to forget these
things very
quick and since the computer should help the humans and not vice versa, I finally patched my local Mediawiki installation
to fix this
issue. Everyone's been happy since :)
Please submit the patch! (Is there a bug for this yet?)
Actually, I just added one new link to the toolbox on the left, which goes to a HTML page with a form entry on a webserver, which bounces the user back to the wiki. I am sure it is possible to create a specialpage (Specialpages:NewArticle?) that does the same, but the external form was easier for me.
The disadvantage of my solution is that you need to be already logged in for the form to work, otherwise you get the "please login first" message, and since clicking "log me in" on that page loses the "where you came from" (which is a bug), the user will then be on the main page.
Best wishes,
Tels
Signed on Fri Dec 9 23:46:06 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email.
'Wie Ludger Lügenboldt, Sprecher der Interessengemeinschaft Förderer der Prostitution International (I.F.P.I.) jetzt bekannt gab, entstehen der Zuhälterbrache jährlich Milliardenverluste durch kostenfreien Sex. "Bestimmt hätten unsere Mädels im Jahr 2003 alleine in Deutschland 2000 Millionen Quickies mehr verkaufen können, wenn die Leute nicht immer mehr privat rumvögeln würden. Der uns entstandene Schaden beläuft sich auf mindestens 100000000000 Euro." Schuld sei nach Angaben Lügenboldts das Internet: "Flirtportale und Singlewebsites mit Kontaktbörsen machen unser Geschäft kaputt. Amateure rauben uns unserer Geschäftsgrundlagen." Zehntausende von Arbeitsplätzen in Deutschland seien gefährdet, die überdies gerade geringer qualifizieren jungen Frauen ein Einkommen sicherten. Die I.F.P.I. fordert den Gesetzgeber auf, diesem Treiben umgehend Schranken zu setzen.' MI-Boykotteur at 2004-05-07 at http://tinyurl.com/35qjo
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iQEVAwUBQ5oK4XcLPEOTuEwVAQG9EAf/Sra72bA66lpQ5j+45tyagutoZKFe+kOM J8I6hSlNvee/Zf/N6u0hqizrDD6ZCMPIGQKclDD+AnFVZcrTWV5KOMlNPNuJmMpc SPc2k3H0gB3ulLS1gYneOyTEeY/IQUl4peqBNY+QC6MVvClKxTn67N1vYiiW+C+A ucVEUnaCLbf/159KaN/XfSLTLmliE5/rn9PPth1x29mhkbLYOXPm1s1UfINFEIam +W5sT7WqptlbgmIW3PbuX9KTPejqgU/bgb8SUY1x17GUiSgWhoIjyjZb/hgAJWVt kQUswgKp6Abv2PmzTVp7rRZDCLnh16dZM2rMFndqvxgvAthsLvQ6MA== =Au5O -----END PGP SIGNATURE-----
Message: 6 Date: Fri, 09 Dec 2005 23:33:04 +0000 From: David Gerard fun@thingy.apana.org.au Subject: [Wikitech-l] Stupid Mediawiki Tricks: logical templates To: wikitech-l@wikipedia.org Message-ID: 439A1430.5050100@thingy.apana.org.au Content-Type: text/plain; charset=ISO-8859-1
[[:en:Category:If Templates]] [[:en:Category:Boolean Templates]]
Check out some of the code in them, too, but make sure you haven't eaten first.
The perpetrators of this l33tn3ss are trying to gut [[:en:WP:AUM]] by consensus, because everyone knows database performance and computer science in general can be determined by voting. Or maybe it can't.
What would the Stupid Mediawiki Tricks in these things do to the database and the cache structure? If it's as bad as I suspect it would, could some of you please stop by [[:en:WT:AFD]] and describe reality to them?
- d.
Message: 7 Date: Sat, 10 Dec 2005 02:01:36 +0100 From: Erik Moeller erik_moeller@gmx.de Subject: Re: [Wikitech-l] Re: Preformatted blank articles? (was Experiment on new pages and GFDL) To: Wikimedia developers wikitech-l@wikimedia.org Message-ID: 439A28F0.5010807@gmx.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Tels:
Actually, I just added one new link to the toolbox on the
left, which goes
to a HTML page with a form entry on a webserver, which
bounces the user
back to the wiki. I am sure it is possible to create a specialpage (Specialpages:NewArticle?) that does the same, but the
external form was
easier for me.
http://meta.wikimedia.org/wiki/Help:Inputbox
This has been active on the Wikimedia wikis for quite a while. I originally created it for Wikinews, but it's used in many different places now. It supports preloading text.
Erik
Message: 8 Date: Fri, 9 Dec 2005 21:30:58 -0600 From: Dori slowpoke@gmail.com Subject: Re: [Wikitech-l] Account creation spike on enwiki after anonymous page creation got disabled To: Wikimedia developers wikitech-l@wikimedia.org Message-ID: d2f92e8b0512091930s76586019j7c51fa0c48700205@mail.gmail.com Content-Type: text/plain; charset=UTF-8
On 12/9/05, Ævar Arnfjörð Bjarmason avarab@gmail.com wrote:
I made a plot[1] of account creations on the English Wikipedia based on Newuserlog data, there has been quite a spike since
anonymous page
creation got disabled, although the numbers are a bit
inaccurate since
it has also been in the press lately.
[1]:
http://upload.wikimedia.org/wikipedia/commons/5/5c/Account_cre ations_on_the_English_Wikipedia.png
Time to start selling low UID accounts on eBay. Just in time for the fundraising too.
Dori
Message: 9 Date: Sat, 10 Dec 2005 11:09:41 +0100 From: FxParlant f-x.p@laposte.net Subject: [Wikitech-l] upgrade error messages To: wikitech-l@wikimedia.org Message-ID: dne9ms$g95$1@sea.gmane.org Content-Type: text/plain; charset=ISO-8859-1
Hello,
just for information. Upgrading might fail for duplicate content on some fields who become a primary key.
Unfortunately, the 1.5 install isn't as verbose as 1.4 install:
***1.5 error message*** Making img_name the primary key... Query "ALTER TABLE image ADD PRIMARY KEY img_name (img_name)" failed with error code "".
***1.4 error message*** Making img_name the primary key... Query "ALTER TABLE image ADD PRIMARY KEY img_name (img_name)" failed with error code "Duplicate entry 'README' for key 1".
I suggest for users who have a duplicate content making a crash of 1.5 install, to revert their database and try the install with a 1.4. Then, correct the database by suppressing one of the duplicate content, and redo the 1.5 install.
I hope this is already in bugzilla (if not, maybe someone used to expressing the bug could make it) and the install process in 1.6 are as verbose as in 1.4.
François
Message: 10 Date: Sat, 10 Dec 2005 12:11:03 +0100 From: Tels nospam-abuse@bloodgate.com Subject: Re: [Wikitech-l] Re: Preformatted blank articles? (was Experiment on new pages and GFDL) To: wikitech-l@wikimedia.org Cc: Erik Moeller erik_moeller@gmx.de Message-ID: 200512101211.14134@bloodgate.com Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Moin,
On Saturday 10 December 2005 02:01, Erik Moeller wrote:
Tels:
Actually, I just added one new link to the toolbox on the
left, which
goes to a HTML page with a form entry on a webserver,
which bounces
the user back to the wiki. I am sure it is possible to create a specialpage (Specialpages:NewArticle?) that does the same, but the external form was easier for me.
http://meta.wikimedia.org/wiki/Help:Inputbox
This has been active on the Wikimedia wikis for quite a while. I originally created it for Wikinews, but it's used in many different places now. It supports preloading text.
Wow, saves me the work of creating it :) Thanx a lot,
Tels
Signed on Sat Dec 10 12:10:43 2005 with key 0x93B84C15. Visit my photo gallery at http://bloodgate.com/photos/ PGP key on http://bloodgate.com/tels.asc or per email.
"Man, I'm hot." - "Thirsty?" - "No, I mean good looking."
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux)
iQEVAwUBQ5q30HcLPEOTuEwVAQHUzwf/SRq0Y0hkSmuu84TOyLyeet1xhy1LKGpD bURLDgIZrjz8uNwi3UsUwSVr7oLGbx6Kd7gLR3zZV2Cids/WdhAgTcD6MetANDzl BfC/fmqTbjONf2Zt90FztaBZhrCz5DwHH3vNPoaLKq0knNaViUA4ooSy7iHlAyr2 7gd+ADMOK6Z0RYEGwLriZe8cWhS4jNu00ccXXB43sCm3Vpxa7c4lxqipB65wEeyb MGbe1swk2PAINiCFaxBktqplhINE4SSetcEwj6lel9bTyraY9oVzcCPrs2FCMtXC aoR87FkAhSxATevR8lv5XQodilPChdeMsufl8Wd7MFr2jBV7KJKxKA== =kY70 -----END PGP SIGNATURE-----
Message: 11 Date: Sun, 4 Dec 2005 18:49:32 +0100 From: Arena Andrea andrea@arena.cd Subject: [Wikitech-l] Wie gleichzeitig mehrere Wikis betreiben To: mediawiki-l@Wikimedia.org Message-ID: 43197370-FE31-412E-9EA4-67BB9853F876@arena.cd Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
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
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
End of Wikitech-l Digest, Vol 29, Issue 16
wikitech-l@lists.wikimedia.org