Hi,
I've asked this question a few times now, and got a few replies, but none have really answered my final question...
Is there an Extension that I can use so that Mac users can open links linked to files on a server? I have it working on the PC and have ben told that the same extension wont work cross platform, so is there an extension that will just work on Mac and not PC?
Mediawiki: 1.12.0
PHP: 5.2.5 (cgi-fcgi)
MySQL: 5.0.24-community-nt
Hope this helps.
Regards,
Dan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dan Sinclair wrote:
I've asked this question a few times now, and got a few replies, but none have really answered my final question...
Is there an Extension that I can use so that Mac users can open links linked to files on a server? I have it working on the PC and have ben told that the same extension wont work cross platform, so is there an extension that will just work on Mac and not PC?
File links do not work cross-platform. Save yourself a *lot* of trouble and use an HTTP server!
- -- brion vibber (brion @ wikimedia.org)
Can someone tell me how MediaWiki code works or where can I find some infos ?
I'm trying to create a code to automatically add an user from an external code (not an extension)
This is the code that I'm using:
------------------------ <?php require_once( 'includes/WebStart.php' ); require_once( "includes/Wiki.php" ); require_once( "includes/DefaultSettings.php" ); require_once( "includes/SpecialUserlogin.php" ); require_once( "includes/User.php");
. . do some stuff create a connection to the DB (without using the database class), compute some data with user class . . if (mysql_query($query)){ echo("all OK"); } else { echo("ERROR"); } . . close the DB connection ?>
the same query used out of this file works so It's not a syntax error...
the only thing that I can think is that mediawiki buffers somewhere the queries and not execute them... am I wrong ? how is called the function used to execute this buffered queries ?
I've no issue with select queries only with insert (and I suppose update) ones.
Can someone answer me... plese, I'm really puzzled !
thank you all, simone
On Wed, Apr 16, 2008 at 10:26 AM, Simone Biagini simone.biagini@dflsrl.it wrote:
Can someone tell me how MediaWiki code works or where can I find some infos ?
I'm trying to create a code to automatically add an user from an external code (not an extension)
This is the code that I'm using:
<?php require_once( 'includes/WebStart.php' ); require_once( "includes/Wiki.php" ); require_once( "includes/DefaultSettings.php" ); require_once( "includes/SpecialUserlogin.php" ); require_once( "includes/User.php"); . . do some stuff create a connection to the DB (without using the database class), compute some data with user class . . if (mysql_query($query)){ echo("all OK"); } else { echo("ERROR"); } . . close the DB connection ?>
the same query used out of this file works so It's not a syntax error...
the only thing that I can think is that mediawiki buffers somewhere the queries and not execute them... am I wrong ? how is called the function used to execute this buffered queries ?
I've no issue with select queries only with insert (and I suppose update) ones.
Can someone answer me... plese, I'm really puzzled !
thank you all, simone
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Do you get results passed back to you from your select queries? if you do, then the connection is OK, and the problem is somewhere else.
mediawiki-l@lists.wikimedia.org