I've tried Google but couldn't find any EAN-generator extension for
Mediawiki. Does anyone know of any such extension, or any hint about how
to achieve the functionality of generating the EAN code from a number.
// Rolf Lampa
I'll try to ask this in as simple a way as I can.
I have a template which I call, in which I set the title of a page. The page
name built up from elements in the template call.
For each call to this template I have an individual page that has one and
only one call to the template on it. It is this page that is named according
to the rules of the template.
Those template call pages are then transcluded on other pages.
I would like (within the template) to test if it is the first call or a
subsequent transclusion. All forms of <includeonly> <noinclude> etc don't
seem to work.
I should be able to test because I know the elements that I'm passing that
originally gave me the name of the page, but various character translations
(":" apostrophes and various other bits of punctuation) cause havoc.
There must be a simpler way: if you saw my #if statements you'd cry.
Is there any way with page-id's or some other off the wall method??? I'm
sure this is a solved problem!!!!
Page -> call to template -> template
I can't seem to set the sitename for a mediawiki installation.
I've given a value for $wgSitename in localsettings.php, however, it
doesn't add this value to the <title></title> for wiki pages. Instead
something else comes up.
I grepped through the directories of the installation, but couldn't find
the erroneous title. And I couldn't find it on a search of the mysql.
I'm clearly missing something obvious!
Any help appreciated.