Hi Mark, I found the answer to how to put Stumbleupon inside Monobook.php.
Actually the answer was right in front of the codes for the StumbleUpon!
Here goes:

<h1 class="firstHeading" style="line-height:30px;"><?php
$this->data['displaytitle']!=""?$this->html('title'):$this->text('title')
?><span style="padding:0px 0px 5px 12px;"><a href="
http://www.stumbleupon.com/submit?url=http://www.dummipedia.org/*<?php
$this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>
*"> <img border=0 src="
http://cdn.stumble-upon.com/images/120x20_thumb_blue.gif";
alt="">&nbsp;</a></span>
</h1>

PM Poon

On Thu, Jan 15, 2009 at 7:47 PM, Mark (Markie) <[email protected]>wrote:

> ahh no this wont occur inside monobook.php this would only occur if you
> were
> using it on a mediawiki page.  thought of doing this inside a template?
>  not
> too sure how to do it in monobook.php but theres probably an existing
> extension for your needs that you might like to look at.
>
> mark
>
> On Thu, Jan 15, 2009 at 11:40 AM, Ekompute .info <[email protected]>
> wrote:
>
> > Hi Mark, thank you for your response. The magic words doesn't seem to
> work
> > inside Monobook.php. Maybe there is something wrong with this:
> >
> > <a href="
> >
> >
> http://www.stumbleupon.com/submit?url=http://www.dummipedia.org/{{FULLPAGENAMEE}}<http://www.stumbleupon.com/submit?url=http://www.dummipedia.org/%7B%7BFULLPAGENAMEE%7D%7D>
> <
> http://www.stumbleupon.com/submit?url=http://www.dummipedia.org/%7B%7BFULLPAGENAMEE%7D%7D
> >
> > ">
> > ....
> >
> > PM Poon
> >
> >
> >
> >
> > On Thu, Jan 15, 2009 at 7:14 PM, Mark (Markie) <
> [email protected]
> > >wrote:
> >
> > > see http://www.mediawiki.org/wiki/Help:Magic_words#Page_names which
> > should
> > > help you.  also you will need to loose the a hrefs unless your making
> an
> > > extension
> > >
> > > regards
> > >
> > > mark
> > >
> > > On Thu, Jan 15, 2009 at 5:48 AM, Ekompute .info <[email protected]>
> > > wrote:
> > >
> > > > Hi, I am trying to modify the below code so that it submits a wiki
> page
> > > to
> > > > StumbleUpon. How does I make it such that the button automatically
> > picks
> > > > the
> > > > page url for submission? Now, the page is always a static "The
> Article
> > > > The".
> > > >
> > > > <a href="
> > > >
> > > >
> > >
> >
> http://www.stumbleupon.com/submit?url=http://www.dummipedia.org%26title%3DThe%2BArticle%2BTitle
> > > > ">
> > > > <img border=0 src="
> > > > http://cdn.stumble-upon.com/images/120x20_thumb_blue.gif";
> > > > alt=""> Stumble It!</a>
> > > >
> > > > PM Poon
> > > > _______________________________________________
> > > > MediaWiki-l mailing list
> > > > [email protected]
> > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > > >
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > [email protected]
> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >
> > _______________________________________________
> > MediaWiki-l mailing list
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to