On Fri, May 23, 2008 at 3:07 PM, The Gadget Doctor
<mediawiki(a)thegadgetdoctor.com> wrote:
This one should be easy but it has me going slightly
mad on a Friday
afternoon...
What little snippet of PHP will return a properly formated URL so that
I can have an <a href="<?php what goes here ?> "> tag that links
back
to the current page?
I'm skinning MW to fit with a site that has a breadcrumb trail on
other pages and I want to keep that consistent when users are in the
wiki part.
You could do:
<?php global $wgTitle; echo $wgTitle->getFullURL(); ?>
Joshua