Hi people, new kid on the block...
I just got 1.2.26 off the sf.net download section, I am in the process of setting up a Hebrew wiki site and MediaWiki seemed to be the best solution currently available.
Installation went fine without a hitch. I had a few fixes to do on the rewriting rules to get it to run right (the example on the site had a few syntax errors), and then I went looking for skins, since the default is... well, dull.
The best that comes with the tarball seems to be Blue Cologne, I read the users' guide and I see that many others are listed - Mono, MonoBook, DaVinci and others, but for the life of me I can't see where to download them from, and how to install them once they were here (in Language.php I got to cologneBlue by selecting a number, but I could not find where that was enumerated... the only place I haven't looked is inside the DB itself, should I?). I am guessing MonoBook and the rest are on the CVS only, but I was aiming at getting a stable version rather than the latest CVS flux version. How do I get my paws on the skin currently used by (he|en).Wikipedia.org for instance?
as a side note - my server is running Debian Stable, so MySQL and php are supposedly almost too old for mediawiki, but I'm glad to say it seems to be working fine.
Thanks in advance for your patiance and help, I greatly appreciate your work on this wonderful useful project! Once I get the last few things ironed out I may even migrate some of the stuff I have today on twiki, this is really great!
Ira.
Ira Abramov wrote:
Installation went fine without a hitch. I had a few fixes to do on the rewriting rules to get it to run right (the example on the site had a few syntax errors),
It'd be a great help if you could make corrections to any erroneous documentation on meta.wikipedia.org. It's all work in progress... :)
I am guessing MonoBook and the rest are on the CVS only, but I was aiming at getting a stable version rather than the latest CVS flux version. How do I get my paws on the skin currently used by (he|en).Wikipedia.org for instance?
MonoBook is not available in 1.2, it's in 1.3. Get the 1.3.0beta2 package from the download page on http://sf.net/projects/wikipedia or brave the daily ups and downs of CVS...
The tabs in Monobook will not appear properly if the localization is incomplete because of weird RTL interference, so make sure those are fixed up.
-- brion vibber (brion @ pobox.com)
Quoting Brion Vibber, from the post of Wed, 16 Jun:
Brion Vibber wrote:
MonoBook is not available in 1.2, it's in 1.3. Get the 1.3.0beta2
Or rather, beta3.
ok, got it, now I have a nice error message that happend because obviously the scheme has changed and there's a field missing in the DB, however digging the sf.net site, the INSTALL file, the docs on Meta and even the bug tracker produced nothing so far. I did cd maintainence, and looked for a php script to upgrade my schemes and define whatever new tables are needed but when I ran the script I thought is appropriate I get this:
# php4 importPhase2.php X-Powered-By: PHP/4.1.2 Content-type: text/html
Can't use command-line utils with in-place install yet, sorry.
# cd ../ # php4 update.php X-Powered-By: PHP/4.1.2 Content-type: text/html
obsolete; remove this file befor 1.3.0 release
the only pointer I found, seems severely out-of-date... http://meta.wikipedia.org/wiki/Documentation:Administration#Updating_the_sof...
So, sorry to bother again, and pledging a promiss to update the Metawiki's pages once I come through, can anyone point me to the solution or do I dive into the code to figure it out? :-)
Quoting Ira Abramov, from the post of Thu, 17 Jun:
ok, got it, now I have a nice error message that happend because obviously the scheme has changed and there's a field missing in the DB,
ok, this was solved on IRC, thanks Brion, Tim and Domas!
for everyone else: I eventually went for the latest phase3 from CVS, added http://packages.dotdeb.org to my apt.sources and got the latest mysql, this solved a few things, still the "interesting" skins refused to work so I upgraded my php4 from 4.1 to 4.3 as well and finally "monobook" works as well!
And joy! I didn't screw up IMP3 in the process!
to sum up - phase3 with a little help from dotdeb.org, can run on Debian Woody (stable at this time)
Thanks everyone for the patiance :)
Quoting Ira Abramov, from the post of Thu, 17 Jun:
Quoting Ira Abramov, from the post of Thu, 17 Jun:
ok, got it, now I have a nice error message that happend because obviously the scheme has changed and there's a field missing in the DB,
ok, this was solved on IRC, thanks Brion, Tim and Domas!
still had to add the rc_ip field to table recentchanges, but thanks to the nicely detailed error messages it took only a few seconds. I wish other web applications were this verbose yet to the point.
now came the stage of testing this for my non-GNU friends. apperently Monobook is heavy into CSS2 or whatever that prevents it from rendering correctly on MSIE. this was not the case in the older version installed on the wikipedia site. compare (if you have explorer available) the two: http://cliki.site.co.il/ http://he.wikipedia.org/
the other item is that I have yet not figured out why the TOC does not appear on the main page (but seems to work fine on a regular article) any hints will be most welcome...
the other item is that I have yet not figured out why the TOC does not appear on the main page (but seems to work fine on a regular article) any hints will be most welcome...
Funnily enough, I just came upon the code responsible for that yesterday. There's actually a specific check that stops the parser adding a toc on what it knows to be the main page.
includes/Parser.php:lines 1846-1850:
# never add the TOC to the Main Page. This is an entry page that should not # be more than 1-2 screens large anyway if( $this->mTitle->getPrefixedText() == wfMsg('mainpage') ) { $doShowToc = 0; }
If you really want a ToC there, perhaps you could just comment out those lines of code.
Quoting Rowan Collins [IMSoP], from the post of Thu, 17 Jun:
Funnily enough, I just came upon the code responsible for that yesterday. There's actually a specific check that stops the parser adding a toc on what it knows to be the main page.
viva undocumentation :-)
yeah, I guess I should redesign my front page anyway, and go see about translating the tabs. I'm guessing I should be looking at Allmessages and not the theme files...
Thanks again!
Ira.
Ira Abramov wrote:
now came the stage of testing this for my non-GNU friends. apperently Monobook is heavy into CSS2 or whatever that prevents it from rendering correctly on MSIE. this was not the case in the older version installed on the wikipedia site. compare (if you have explorer available) the two: http://cliki.site.co.il/ http://he.wikipedia.org/
You need to complete the Hebrew translation. Intermixing English and Hebrew text in monobook's tabs screws them up in IE.
the other item is that I have yet not figured out why the TOC does not appear on the main page (but seems to work fine on a regular article) any hints will be most welcome...
It's special-cased not to appear on the main page.
-- brion vibber (brion @ pobox.com)
Ira Abramov wrote:
# php4 importPhase2.php X-Powered-By: PHP/4.1.2 Content-type: text/html
Can't use command-line utils with in-place install yet, sorry.
Phase 2 refers to the software we used on Wikipedia from January 2002 to June 2002, and which Enciclopedia Libre continued to use until a few months ago (when I updated importPhase2.php for the then-current schema; it's not up to date for 1.3.)
Chances are very good you don't need it.
# cd ../ # php4 update.php X-Powered-By: PHP/4.1.2 Content-type: text/html
obsolete; remove this file befor 1.3.0 release
Yep, it's obsolete. Use config/index.php, as always.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org