Not sure what magic words work with each versions, but this external hyperlink works in 1.7.1:
[mailto:?subject=Check%20this%20page%20out&body=You%20might%20be%20interested%20in%20this%20web%20page:%20{{fullurl:{{FULLPAGENAME}}}} Tell a friend]
Of course its still a bit sloppy not to have the email sent by the wiki's server, but still, it works right NOW! :)
Taylor
----- Original Message ---- From: Sam Odio sam@bluwiki.org To: MediaWiki announcements and site admin list mediawiki-l@Wikimedia.org Sent: Wednesday, October 18, 2006 4:04:47 AM Subject: Re: [Mediawiki-l] Feature: "Email this page"
Erik,
I would agree with Robert - ideally you make a special page and add an "email user" button in your skin.
If you want to go the "hackish" route use a mailto link and define the subject/body. Of the top of my head, something like this might work: <A HREF="mailto:?subject=Foobar.com web page recommendation.&body=Hi, You might be interested in this web page; <?php $this->text ('pageurl') ?>">Tell a friend</A>
Let me know if you implement a SpecialPage - as I would be interested in also doing that on http://BluWiki.org
-s
On Oct 18, 2006, at 1:44 AM, Robert Leverington wrote:
That would require editing the skin files as all of the links that appear in the toolbox are found in the SkinName.php files, it might also need a new special page depending on how it was implemented.
If it were like the Emailuser item then it could just be a special page with options on it (you would need to be logged in though) otherwise it could be a mailto: link however they are not very friendly if you are using a public computer or use online web mail.
On 18/10/06, Eric K ek79501@yahoo.com wrote:
"Email this page" is a very useful feature that can boost the traffic of a website. Any suggestions on how to enable this in the Toolbox on the left for every page?
thanks Eric
Stay in the know. Pulse on the new Yahoo.com. Check it out. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- Robert (aka Lcarsdata),
Protect your digital freedom and privacy, eliminate DRM (Digital Restrictions Management) -- learn about the dangers at http://www.defectivebydesign.org/what_is_drm _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thank you all, but mail to link is a backup atleast. I was more looking for a way to use email in a form right from the wiki. That doesnt require Email setup on the local PC.
What I want to ask then is: Is there a way to pass the pageURL variable to a hidden field of an HTML form? That will help. Then it'll be like the Clickability links of CNN.com, where pages can be emailed with the Link of the page already embedded in the email form.
Brian is right though, this kind of thing could be used to spam, so a visual confirmation mod would help, but atleast I'll be on my way if I can get the HTML form thing going - along with passing the pageURL to the form ofcourse.
Eric .
JTAutry jtautry@yahoo.com wrote: Not sure what magic words work with each versions, but this external hyperlink works in 1.7.1:
[mailto:?subject=Check%20this%20page%20out&body=You%20might%20be%20interested%20in%20this%20web%20page:%20{{fullurl:{{FULLPAGENAME}}}} Tell a friend]
Of course its still a bit sloppy not to have the email sent by the wiki's server, but still, it works right NOW! :)
Taylor
----- Original Message ---- From: Sam Odio To: MediaWiki announcements and site admin list Sent: Wednesday, October 18, 2006 4:04:47 AM Subject: Re: [Mediawiki-l] Feature: "Email this page"
Erik,
I would agree with Robert - ideally you make a special page and add an "email user" button in your skin.
If you want to go the "hackish" route use a mailto link and define the subject/body. Of the top of my head, something like this might work: You might be interested in this web page; text ('pageurl') ?>">Tell a friend
Let me know if you implement a SpecialPage - as I would be interested in also doing that on http://BluWiki.org
-s
On Oct 18, 2006, at 1:44 AM, Robert Leverington wrote:
That would require editing the skin files as all of the links that appear in the toolbox are found in the SkinName.php files, it might also need a new special page depending on how it was implemented.
If it were like the Emailuser item then it could just be a special page with options on it (you would need to be logged in though) otherwise it could be a mailto: link however they are not very friendly if you are using a public computer or use online web mail.
On 18/10/06, Eric K wrote:
"Email this page" is a very useful feature that can boost the traffic of a website. Any suggestions on how to enable this in the Toolbox on the left for every page?
thanks Eric
Stay in the know. Pulse on the new Yahoo.com. Check it out. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
-- Robert (aka Lcarsdata),
Protect your digital freedom and privacy, eliminate DRM (Digital Restrictions Management) -- learn about the dangers at http://www.defectivebydesign.org/what_is_drm _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.
On 10/18/06, Eric K ek79501@yahoo.com wrote:
What I want to ask then is: Is there a way to pass the pageURL variable to a hidden field of an HTML form? That will help. Then it'll be like the Clickability links of CNN.com, where pages can be emailed with the Link of the page already embedded in the email form.
Eric,
What I've done is edit MonoBook.php to add an include to page with my links as such
Under: <div id="bodyContent"> <h3 id="siteSub"> right after: <?php if($this->data['newtalk'] ) { ?><div class="usermessage"><?php $this->html('newtalk') ?></div><?php } ?> I added: <?php include("mylinks.php"); ?>
In the mylinks.php page, I include; <p align="right"><a href="/sendarticle.php">Send this article to a friend</a></p>
sendarticle.php grabs the URL via referer, runs the function get_title_tag (found on the Internet somewhere) to get the page title and presents a form for the user to fill out which includes a visual confirmation field. It is also important to code this page to ensure that there is a refering page, otherwise bots will try to abuse it by accessing it directly.
See it in action here: http://www.skyinsight.net/wiki/
Hope this helps Al Degutis
Hi Al This is exactly what I was looking for. I'm sure other people will find this useful as well. If spammers start using it, someone will improve the script e.g. to make the Visual Confirmation more "auto" proof. Currently I see it has plain text in it. Some criss cross lines would help to obfuscate the auto image recognition used by advanced spammers but this is excellent to disable the common auto spammer. Is there some way you could send me: - sendarticle.php - mylinks.php How can we make sure the SendArticle.php has a valid referer? Also I wonder if there's a way to wrap SendArticle.php so it looks like a part of the Wiki site.
thank you for all your help, Eric
Al Degutis al.degutis@gmail.com wrote: On 10/18/06, Eric K wrote:
What I want to ask then is: Is there a way to pass the pageURL variable to a hidden field of an HTML form? That will help. Then it'll be like the Clickability links of CNN.com, where pages can be emailed with the Link of the page already embedded in the email form.
Eric,
What I've done is edit MonoBook.php to add an include to page with my links as such
Under:
right after: data['newtalk'] ) { ?> $this->html('newtalk') ?>
I added:
In the mylinks.php page, I include; Send this article to a friend
sendarticle.php grabs the URL via referer, runs the function get_title_tag (found on the Internet somewhere) to get the page title and presents a form for the user to fill out which includes a visual confirmation field. It is also important to code this page to ensure that there is a refering page, otherwise bots will try to abuse it by accessing it directly.
See it in action here: http://www.skyinsight.net/wiki/
Hope this helps Al Degutis _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
--------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.
Hello,
I have tried to link to [[Special:Userlogin&type=signup]] but this never works. MediaWiki returns with a "No such special page" error. Ironically when I enter this link directly in the address bar there is no problem. Is there anything that I need to do in order to link to the account creation page from within articles?
Also, I was curious about donations and have tried finding information about this on the Wikimedia pages but came up with nothing. Specifically I'd like to know if it is possible to donate directly to MediaWiki development, instead of say having my money spread out to Wikipedia, servers, bandwidth, etc.
Thanks.
Sven
--------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.
On 10/20/06, Metaspheres metaspheres@yahoo.com wrote:
I have tried to link to [[Special:Userlogin&type=signup]] but this never works. MediaWiki returns with a "No such special page" error. Ironically when I enter this link directly in the address bar there is no problem. Is there anything that I need to do in order to link to the account creation page from within articles?
Try this:
[{{fullurl:Special:Userlogin|type=signup}} Create an account]
Dan
On 10/20/06, Dan Davis hokie99cpe+wiki@gmail.com wrote:
On 10/20/06, Metaspheres metaspheres@yahoo.com wrote:
I have tried to link to [[Special:Userlogin&type=signup]] but this never works. MediaWiki returns with a "No such special page" error. Ironically when I enter this link directly in the address bar there is no problem. Is there anything that I need to do in order to link to the account creation page from within articles?
Try this:
[{{fullurl:Special:Userlogin|type=signup}} Create an account]
Dan
Also meant to include this link: http://en.wikipedia.org/wiki/Help:Variable
Dan
mediawiki-l@lists.wikimedia.org