Re: [Mediawiki-l] Pagination in mediawiki

2009-12-15 Thread Tim Starling
George Alexandru Dudău wrote: Hi everybody, How can i make pagination from database query in mediawiki? I want to show just 25 items on a page. I make an extension who query database and show in a page the result, but are too many (2000 items). My code is: $dbr = wfGetDB( DB_SLAVE );

Re: [Mediawiki-l] Creating some Template

2009-12-15 Thread William van Zwanenberg
Please help ... Having recently installed MediaWiki, I'm trying desperately to make some site wide changes my Wiki's theme of skin so as to change its overall look and feel. To be more precise about this, what I'm trying to do is to install a third part theme called Nullbook developed by

[Mediawiki-l] changing site wide theme

2009-12-15 Thread William van Zwanenberg
Please help ... Having recently installed MediaWiki, I'm trying desperately to make some site wide changes my Wiki's theme of skin so as to change its overall look and feel. To be more precise about this, what I'm trying to do is to install a third part theme called Nullbook developed by

Re: [Mediawiki-l] Creating some Template

2009-12-15 Thread St. Laurent, Steven
#1: $wgDefaultSkin is the line you need to look for in the LocalSettings.php , by default it's monobook. #2: uncomment $wgArticlePath in LocalSettings.php, change it to be eurowiki/$i and I think it will do what your wanting. It should eliminate the apache error also. -Original

[Mediawiki-l] Bug 4421 - Image file extension should not be part of the name

2009-12-15 Thread Rob Lanphier
Hi folks, Exec summary: I'm looking for help on a possible change needed to FileRepo::publish() API, since it currently makes some assumptions that seem to be incompatible with fixing bug 4421 (Image file extension should not be part of the name):

Re: [Mediawiki-l] Bug 4421 - Image file extension should not be part of the name

2009-12-15 Thread St. Laurent, Steven
Heh I've got this bug, I suggested users not do stupid stuff like upload the same file name or they screw up things. Paying attention before you edit is a good thing IMO. I like the idea of obfuscating the file names with a md5sum/timestamp/random_stuff replacing the file name. Then the whole

[Mediawiki-l] How to Copy Namespace

2009-12-15 Thread Ross Xu
Greetings,   I have created a new namespace called Project. Now, I'd like to copy all contents including Talk pages from the Main namespace to the new namespace Project. Is it possible, and how if yes? Thanks in advance, Ross

Re: [Mediawiki-l] Bug 4421 - Image file extension should not be part of the name

2009-12-15 Thread Rob Lanphier
On Tue, Dec 15, 2009 at 11:11 AM, St. Laurent, Steven steven.stlaur...@arrisi.com wrote: Contrary to comments in the bug stating otherwise it doesn't matter what the image file extension is, the browser gets the mime type sent to it and it processes it appropriately. If you go into your db

[Mediawiki-l] installation problems

2009-12-15 Thread Robert Ingalls
I am trying to install mediawiki in Windows XP using the quick installation guide. I have installed wamp with PHP version 5.3.0 Apache version 2.2.11 and MySQL version 5.1.36 It will not let me set a database user name and password. Here is the script. PHP 5.3.0 installed Found database drivers

Re: [Mediawiki-l] changing site wide theme

2009-12-15 Thread Daniel Bishop
1. I'm trying to set the MediaWiki Myskin theme as the default theme for the entire wiki but have no idea how to do this. Do I need to edit localSettings.php and if so, what actual line in the file needs to be edited and what code do I need to include? Edit the line $wgDefaultSkin = 'skinname';

Re: [Mediawiki-l] installation problems

2009-12-15 Thread Platonides
Robert Ingalls wrote: I am trying to install mediawiki in Windows XP using the quick installation guide. I have installed wamp with PHP version 5.3.0 Apache version 2.2.11 and MySQL version 5.1.36 It will not let me set a database user name and password. Here is the script. PHP 5.3.0

[Mediawiki-l] Integrating Mediawiki with S3 hosting

2009-12-15 Thread Ryan
I posted this a few days ago but it never made it through somehow, I am trying again. I have seen a few posts in the last while from people asking how to alter mediawiki to take advantage of Amazon S3 as a file hosting and serving service. This is a solution to integrate mediawiki with S3 so that

[Mediawiki-l] changing wiki theme to nullbook

2009-12-15 Thread William van Zwanenberg
Please help ... Despite my best efforts, I'm still finding that it's impossible to get my MediaWiki installation to use any other theme other than the default monobook one. To explain further, please read the following snippet from an earlier posting of mine Having recently installed

Re: [Mediawiki-l] changing wiki theme to nullbook

2009-12-15 Thread William van Zwanenberg
Have you tested whether you can change to a new skin via my preferences? Say, choose Modern or Classic instead of MonoBook? That would at least test that it is possible to choose another skin in your installation. That's a very good question which didn't occur to me to ask. At the moment, I've

Re: [Mediawiki-l] changing wiki theme to nullbook

2009-12-15 Thread Evelyn Yoder
Might be permissions: http://www.mediawiki.org/wiki/Help:Skins -Original Message- From: mediawiki-l-boun...@lists.wikimedia.org [mailto:mediawiki-l-boun...@lists.wikimedia.org] On Behalf Of William van Zwanenberg Sent: Tuesday, December 15, 2009 6:50 PM To: MediaWiki announcements and

Re: [Mediawiki-l] changing wiki theme to nullbook

2009-12-15 Thread Evelyn Yoder
This like might be more appropriate: http://www.mediawiki.org/wiki/Manual:Skin_configuration -Original Message- From: Evelyn Yoder [mailto:eyo...@gmail.com] Sent: Tuesday, December 15, 2009 9:26 PM To: 'MediaWiki announcements and site admin list' Cc: 'Samat K Jain' Subject: RE:

[Mediawiki-l] dumpBackup.php with postgres DB

2009-12-15 Thread Mike
I'm new to MediaWiki and tried the dumpBackup.php on a WAPP stack install. I've set AdminSettings.php user and password to match those in LocalSettings.php as described in the manual. I receive the following error when executing the script: DB connection error: Postgres functions missing, have

Re: [Mediawiki-l] dumpBackup.php with postgres DB

2009-12-15 Thread Q
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mike wrote: I'm new to MediaWiki and tried the dumpBackup.php on a WAPP stack install. I've set AdminSettings.php user and password to match those in LocalSettings.php as described in the manual. I receive the following error when executing the

Re: [Mediawiki-l] dumpBackup.php with postgres DB

2009-12-15 Thread Mike
I did not make any PHP configuration changes from the Bitnami WAPP stack. I looked at the PHP configuration which loads php_pgsql.dll, but didn't see separate configurations for CLI and CGI you ask about. I'm not certain how I tell if the pgsql mod is being loaded for a CLI usage, except to say

Re: [Mediawiki-l] dumpBackup.php with postgres DB

2009-12-15 Thread Mike
So it looks like the user needed to be the postgres DB user, not the wiki user. That got me to problem #2 running dumpBackup.php... From the backtrace... C:\Program Files\BitNami WAPPStack\apache2\htdocs\mediawiki \maintenance..\..\..\..\php\php.exe dumpBackup.php --logs PHP Warning: