[Mediawiki-l] Find out what page is displayed
Rowan Collins
rowan.collins at gmail.com
Wed Aug 17 20:00:46 UTC 2005
On 17/08/05, Robert Hartmann <rob.hartmann at gmx.de> wrote:
> Hi Folks!
>
> Is there a way to indentify, what page is currently displayed? So in
> this way i could make a if/else one to say, that a special thing should
> done, when "Mainpage" is displayed.
I think you're looking for the $wgTitle object; although, it kind of
depends where you want to identify this fact *from*, and what you want
to do with it, which isn't really clear from your request.
--
Rowan Collins BSc
[IMSoP]
More information about the MediaWiki-l
mailing list