[Mediawiki-l] accessing title of page
Alistair Johnson
JohnsonA at rembrandt.co.nz
Tue Apr 19 23:55:59 UTC 2005
A (probably quite simple) question, how can I get the value of a page title
into a variable? We've quite a few very long page titles in our wiki & i
want to decrease the font size displayed on screen once the title is (say)
greater than 30 characters.
I can't appear to go $value = $this->text('title'); as that just outputs the
page title to the screen. How then can I determine the title? Once I have
the title in a var I'll strlen it & adjust the formatting accordingly.
Thanks,
al.
More information about the MediaWiki-l
mailing list