I've installed the extension. I'm using Firefox 2.0.0.8 so I took the precaution of installing the locallinks add on too. The <file>//FileStore/documents</file> syntax renders the link correctly. It is green and if you right click and copy link and paste it to chrome, Firefox opens file://///FileStore/documents. If I copy and paste this part of the source into a test HTM page:-
<ul><li> To Add domains:- <ul><li> See the public policy statement to send to end users at <a style="color: green;" href="file://///FileStore/documents">\FileStore\documents</a>
Firefox opens the link fine. However on the Wiki page itself, nothing happens, the cursor changes but clicking produces no result at all. Anyone any ideas?
Charlie
On Behalf Of Gary Kirk Sent: 31 October 2007 09:33 To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Links to files
See http://www.mediawiki.org/wiki/Extension:FileProtocolLinks It works for me.
-- Gary Kirk
Charlie Markwick wrote:
Firefox opens the link fine. However on the Wiki page itself, nothing happens, the cursor changes but clicking produces no result at all. Anyone any ideas?
It's explained on the extension page: http://www.mediawiki.org/wiki/Extension:FileProtocolLinks#Limitations
It's a security feature of Firefox. Web pages have nothing to do eith your local files: http://kb.mozillazine.org/Links_to_local_pages_do_not_work
For a Windows server, how does one configure MediaWiki's PHP to use its own PHP.INI file instead of the server's? The sources of the question is how to allow MediaWiki to send emails from an address other than than the server administrator's address configured in its own PHP.INI file?
Here is the message the server administrator sent me:
"As for the email issue - I've not worked that out just yet. So far PHP scripts can compose and send emails but they are mailed with the administrator's address as this is hardcoded in the INI - there is however a way to set the "email from" smtp header on a per email basis using the mail command within PHP - it all depends on how the script is written. If the script does not take advantage of this, emails will come from postmaster@email-host.XXXXXXXXX.com mailto:postmaster@email-host.compcoind.com. I've not worked out how to let individual sites set their own PHP.INI file just yet. It may not be possible with the setup we have and may prove to be a security risk in the long run."
why not use SMTP to send the emails from another host such as gmail??
mark
On Nov 12, 2007 11:16 PM, Steve VanSlyck s.vanslyck@spamcop.net wrote:
For a Windows server, how does one configure MediaWiki's PHP to use its own PHP.INI file instead of the server's? The sources of the question is how to allow MediaWiki to send emails from an address other than than the server administrator's address configured in its own PHP.INI file?
Here is the message the server administrator sent me:
"As for the email issue - I've not worked that out just yet. So far PHP scripts can compose and send emails but they are mailed with the administrator's address as this is hardcoded in the INI - there is however a way to set the "email from" smtp header on a per email basis using the mail command within PHP - it all depends on how the script is written. If the script does not take advantage of this, emails will come from postmaster@email-host.XXXXXXXXX.com mailto:postmaster@email-host.compcoind.com. I've not worked out how to let individual sites set their own PHP.INI file just yet. It may not be possible with the setup we have and may prove to be a security risk in the long run." _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
The problem is that, as I understand it, the email address is contained in the PHP.INI file
Wikinews Markie wrote:
why not use SMTP to send the emails from another host such as gmail??
mark
On Nov 12, 2007 11:16 PM, Steve VanSlyck s.vanslyck@spamcop.net wrote:
For a Windows server, how does one configure MediaWiki's PHP to use its own PHP.INI file instead of the server's? The sources of the question is how to allow MediaWiki to send emails from an address other than than the server administrator's address configured in its own PHP.INI file?
Here is the message the server administrator sent me:
"As for the email issue - I've not worked that out just yet. So far PHP scripts can compose and send emails but they are mailed with the administrator's address as this is hardcoded in the INI - there is however a way to set the "email from" smtp header on a per email basis using the mail command within PHP - it all depends on how the script is written. If the script does not take advantage of this, emails will come from postmaster@email-host.XXXXXXXXX.com. I've not worked out how to let individual sites set their own PHP.INI file just yet. It may not be possible with the setup we have and may prove to be a security risk in the long run." _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Steve VanSlyck wrote:
For a Windows server, how does one configure MediaWiki's PHP to use its own PHP.INI file instead of the server's? The sources of the question is how to allow MediaWiki to send emails from an address other than than the server administrator's address configured in its own PHP.INI file?
I'm pretty sure you can set it on mediawiki, have you tried changing $wgEmergencyContact, $wgPasswordSender, $wgNoReplyAddress ? Also the way you send the mails can be relevant. It's not the same calling the mail() function, where php could ignore the sender you define (can it?) than sending with PEAR ($wgSMTP) where it doesn't even notice it's smtp.
mediawiki-l@lists.wikimedia.org