jldupont / mediawiki

Automatically exported from code.google.com/p/mediawiki
0 stars 0 forks source link

Extension:Header Footer pass a parameter to its corresponding hf-header- page #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be good to pass a parameter to the corresponding hf-header/footer-
page.
Example: I use the User namespace and would like to include the username
(pagename without ns prefix) as parameter on the f-header/footer- page just
as I would do with templates.

Original issue reported on code.google.com by subfa...@gmail.com on 14 May 2008 at 5:05

GoogleCodeExporter commented 9 years ago
Have you considered using parser functions? You could use conditional statements
(e.g. #if) to express what you need IMO.

Original comment by JeanLou....@gmail.com on 14 May 2008 at 5:52

GoogleCodeExporter commented 9 years ago
I'm not experienced enough :( I know what I want, but cannot code it.

Original comment by subfa...@gmail.com on 14 May 2008 at 6:40

GoogleCodeExporter commented 9 years ago
I mean I can call the username by using {{BASEPAGENAME}} on the page. that way 
I can
create static links but no database call like number of user edits, lost login 
etc as
i described here
http://www.mediawiki.org/wiki/User:Subfader#Default_User_Page_header_.5B25.E2.82
.AC.5D

Original comment by subfa...@gmail.com on 14 May 2008 at 6:48

GoogleCodeExporter commented 9 years ago
I think you can close this issue. i just need to find out how to create new 
magic
words for my database queries

Original comment by subfa...@gmail.com on 14 May 2008 at 6:59

GoogleCodeExporter commented 9 years ago
This can be acccomplished through parser functions.

Original comment by JeanLou....@gmail.com on 14 May 2008 at 7:15