Hello everybody.
I've recently installed Mediawiki in my Department's intranet web server and
things are working fine.
Alas, some text strings are in English (even very visible ones, such as
discussion, edit and history) instead of in our local language (Spanish). So I
decided to translate them, for the beneift of my less international mates.
After reading through the online help pages and documentation, I'm a bit
confused about the current procedure to translate a wiki to another
language. On one hand, there is the LanguageXX.php files. On the other
hand, there is the recommended procedure ("as of August 2005") to edit the
texts directly through the very wiki editing mechanism and the Special
Pages.
The last method works fine and is very direct and easy to use. But I find it
very time consuming: instead of translating a batch of strings, I find myself
translating string by string and updating page by page on my (very slow)
server. At this pace, I won't have my wiki ready for Xmas.
Is there any batch procedure for doing the same "in just a couple of
commits"? I mean, some php script, sql script or the like that takes all the
string from a text file or table and updates the whole thing. (I'm quite new on
php, sql, apache and life in general, so I don't know if I am asking for absurd
things).
Please forgive my naïveness.
Many thanks.
--
Ignacio Gonzalez
igtorque(AT)eliop(DOT)es(ANDTHISISTHEEND)
Laurie Lewis wrote:
> Have you set the default language in LocalSettings.php to Spanish
>
> $wgLanguageCode = "es" ;
>
> This should make the default language show up all system pages of the
> wiki. Also have you set your language preference to Spanish??
>
> Laurie
Yes, everything is as you said. Note that most of the text appears correctly
translated. There are only a few (but very visible) strings that appears in
English. Curiously enough, the tab "article" is translated (artículo) but the
next tabs, "discussion", "edit", etc. are not.
>
>
> -----Original Message-----
> From: mediawiki-l-bounces-
T31ubCBy5U6GglJvpFV4uA(a)public.gmane.org
> [mailto:mediawiki-l-bounces-
T31ubCBy5U6GglJvpFV4uA(a)public.gmane.org] On Behalf Of Ignacio
Gonzalez
> T.
> Sent: Thursday, 22 December 2005 9:00 PM
> To: mediawiki-l-T31ubCBy5U6GglJvpFV4uA(a)public.gmane.org
> Subject: [Mediawiki-l] Translations
>
> Hello everybody.
>
> I've recently installed Mediawiki in my Department's intranet web server
> and things are working fine.
>
> Alas, some text strings are in English (even very visible ones, such
> as discussion, edit and history) instead of in our local language
> (Spanish). So I decided to translate them, for the beneift of my less
> international mates.
>
> After reading through the online help pages and documentation, I'm a
> bit confused about the current procedure to translate a wiki to
> another language. On one hand, there is the LanguageXX.php files. On
> the other hand, there is the recommended procedure ("as of August
> 2005") to edit the texts directly through the very wiki editing
> mechanism and the Special Pages.
>
> The last method works fine and is very direct and easy to use. But I
> find it very time consuming: instead of translating a batch of
> strings, I find myself translating string by string and updating page
> by page on my (very slow) server. At this pace, I won't have my wiki
> ready for Xmas.
>
> Is there any batch procedure for doing the same "in just a couple of
> commits"? I mean, some php script, sql script or the like that takes
> all the string from a text file or table and updates the whole thing.
> (I'm quite new on php, sql, apache and life in general, so I don't know
> if I am asking for absurd things).
>
> Please forgive my naïveness.
>
> Many thanks.
> --
> Ignacio Gonzalez
> igtorque(AT)eliop(DOT)es(ANDTHISISTHEEND)
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l-T31ubCBy5U6GglJvpFV4uA(a)public.gmane.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--
Saludos,
Ignacio González Torquemada
ELIOP, S.A. Departamento de Productos
http://www.eliop.es mailto:igtorque@eliop.es
Tel. +34 91 383 57 47 Fax. +34 91 302 92 49
I'm trying to force myself into using the wiki markup for tables
instead of <table> tags. I've looked at the help files and I think I
understand it but I can't get two tables to come up side-by-side. I'm
trying to use an outer table with two cells in the same row, with each
cell containing another table. The second table is being put beneath
the first one, not next to it. What I'm I doing wrong or is there an
better way? Also, how do I get the contents of the second cell
(Percent) to center?
{|
|-
{| border="1" cellpadding="2"
|+Imaging Brands Used
|-
!Brand!!Percent
|-
|Meade || 17.1%
|-
|Canon || 12.9%
|-
|SBIG || 9.0%
|-
|Philips || 8.3 %
|-
|Nikon || 6.3%
|-
|Starlight Xpress || 4.9%
|-
|SAC Imaging || 3.1%
|-
|AstroVid || 1.7%
|}
||
{| border="1" cellpadding="2"
|+Imager Purchased New or Used
|-
!New/Used!!Percent
|-
|New|| 49.3%
|-
|Used || 12.3%
|}
|}
--
Al Degutis
http://www.skyinsight.com - astronomy
http://www.degutis.com/blog - ramblings
Some of you may remember (way back in "Subject: [Mediawiki-l] Re:
1.5.2 problems with MySQL 5.0.16?", six sad days ago) that my 1.5.3
wiki went away when I installed MySQL 5.0.16.
<sob>It appears that none of the innodb tables are recoverable, even
on my backup.</sob>
The good news is, it was a young site. I'm now preparing a more
rigorous backup regime for my more mature MediaWikis.
(I know, I know: mechanic's torque wrench syndrome: "turn until it
strips, then back off a quarter-turn..." :-)
Luckily, for whatever reason, the changes database was MyISAM, so
it's still good. (There's something to be said for separate database
file sets.) But [[Special:Recentchanges]] wouldn't show any of it.
HOWEVER, I stopped sobbing when I was showing a colleague how to get
an RSS feed in her browser (Safari 2.0.2 rocks!) and I discovered
that the changes were visible in the RSS feed!
So I've copied what I could from the RSS feed, but am hungry to
restore the entire site.
So, my questions are:
1) is there a way to get more RSS out of it, like back to the Epoch?
I searched in my prefs in the Browser, on MediaWiki, and also through
includes/DefaultSettings.php to no avail. I recall seeing some
"number of items" setting, but can't find it.
2) or better yet, is there some easier way to recover things from the
changes? I looked at the database directory, and can't imagine where
this history is coming from.
:::: Our present economic system is... little more than a well-
organized method for converting natural resources into garbage. --
Jay Hanson
:::: Jan Steinman <http://www.Bytesmiths.com/Van>
> From: "Mauro do Carmo" <mauro(a)carmo.ws>
> My Projet tends to use open editing philosophy to every one.
> However, I want
> to do that gradually.
>
> For now, I have restricted the editing option to only registered
> members by
> adding this $wgGroupPermissions['*']['edit']=false;
>
> I am looking for restricting the access to create a new account...
This is what I use for that purpose:
$wgGroupPermissions['user']['createaccount'] = true;
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['*' ]['edit'] = false;
:::: People should be free to speak their mind, but not to invent
their own history.
:::: Jan Steinman <http://www.Bytesmiths.com/Van>
Hi ALL,
My Projet tends to use open editing philosophy to every one. However, I want
to do that gradually.
For now, I have restricted the editing option to only registered members by
adding this $wgGroupPermissions['*']['edit']=false;
I am looking for restricting the access to create a new account, as
instance, as we can see in this address :
http://baoc.org/wiki?title=Special:Userlogin&returnto=Welcome .
I've tried to make some changes in Special:Userlogin.php, but always with no
success. I always get a blank page.
So, here goes my question: How can I change Special:Userloing in order to
get a page with just two box: name & password?
It seems very simple, but not for me. If you could even let me know which
block of code I have to take off, I would really appreciate.
Thanks, mauro.
Hello,
I have a rather bleak problem. I have backups of 4 sql tables from an
installation of mediawiki 1.4.x . These are:
archive
cur
recentchanges
user
How much of this data can I recover into a 1.5.3 install, and how can I do
so? For example, I do not see a "cur" table in a fresh install of 1.5.3.
Any and all help would be very much appreciated.
Thanks,
Taneem Talukdar
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
MediaWiki 1.5.4 is a security and bugfix maintenance release.
A hardcoded internal placeholder string has been replaced with a random
one. This closes a hole where security checks in inline style attributes
could be bypassed, injecting JavaScript code that could execute in
Microsoft Internet Explorer.
Other browsers would not be vulnerable.
Several minor fixes are included in this release, most notably a fix
to clear the "you have new messages" flag properly for usernames
containing spaces when e-mail notification is enabled.
See the changelog at the end of the release notes for a full list of
fixes.
Release notes:
http://sourceforge.net/project/shownotes.php?release_id=379951
Download:
http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.5.4.tar.gz?download
MD5 checksum:
c5cff706c4d2fc8dd5aabd10f1714be0 mediawiki-1.5.4.tar.gz
SHA-1 checksum:
12ccdbdd295152937595d4a00c41ae156bf19015 mediawiki-1.5.4.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
iD8DBQFDqfJ+wRnhpk1wk44RAodbAKCP6RPb2vysJTeUMMMq5eT9EXUkUgCfXzKL
mL8OeBGrSnXpPWteNI42ylI=
=oCrk
-----END PGP SIGNATURE-----
E-Democracy.Org is using MediaWiki for various local citizen guides and
non-partisan election information directories:
http://e-democracy.org/wiki
As you can tell we are suffering from spammers.
http://www.e-democracy.org/wiki/Special:Recentchanges
As an all volunteer-based group, we are looking for help to defend our
ability to use MediaWiki.
What are the main things we need in place to still allow open edits, but
to reduce wiki spam?
Is there any kind of add-on that would require someone to enter a code
from a graphic to save or a way to ban HTML or the hide the crap "div"
code?
Help!
Steven Clift
E-Democracy.Org
Steven Clift - http://publicus.net - Reply to: clift(a)publicus.net
Join DoWire: http://dowire.org
E-Democracy: http://e-democracy.org
Hi
Iam having problems with the search function.
It looks like any words i type into the search box is just ignored.
When i enter for example 'Special:Version' it shows me a search-result
without results (not even "0 results found" or something like that)
just blank... :-/
In the url it works fine http://www.dystopie.de/wiki/Spezial:Version
Same with any other article or special site.
You can try search for Searchtest - nothing
and here it is... http://www.dystopie.de/wiki/Searchtest
* MediaWiki: 1.5.3
* PHP: 4.3.10 (apache2handler) (SafeMode is Off)
* MySQL: 4.1.10a
I have no excessive customisation, its nearly the default settings after
the install.
DebugLogging gives me the following when searching
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Start request
GET /wiki/Spezial:Search?search=Searchtest&go=Los
Host: www.dystopie.de
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8)
Gecko/20051111 Firefox/1.5
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.dystopie.de/wiki/Hauptseite
Cookie: wiki_dbUserName=WikiAdmin;
wiki_db_mw_session=864e9b5ce8b526639f443d112c8d111c;
wiki_dbLoggedOut=20051221211351; wiki_dbUserID=1
Main cache: fakememcachedclient
Message cache: mediawikibagostuff
Parser cache: mediawikibagostuff
User::loadFromSession() unable to load from memcached
Using reader #0: localhost...
User::loadFromSession() successfully saved user
** private caching; **
Request ended normally
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
The table Searchindex exists btw.
Thx in advance for any help :)
-robert
(The Wiki is in german, but i think nearly everything is
synonymic.Shouldn't be a problem)