Hey!
I have just put up version 2.0, which will be the final version ;)It uses the tag "barcode" and the tag-parameter "code" to define the code. So now its <barcode code="upc">...</barcode> and <barcode code="ean8">...</barcode> EAN-13 is the standard code, so it is enough to write <barcode>...</barcode> for EAN-13New is, that now the subdirectory is no longer needed. It adds the pictures to the other normal pictures of your MediaWiki and you can find no longer needed pictures with the "Unused images" special page of your MediaWiki ;) Also, you can use a new parameter called "options" to add image thumbs or other image options. Just use it like the image options. For example, for a nice thumb with text: <barcode code="ean" size=1 options="thumb|400px|left|This is some text">123456781234</barcode> greetings, Markus ;)
Date: Sat, 2 Aug 2008 18:21:20 +0200> From: rolf.lampa@rilnet.com> To: mediawiki-l@lists.wikimedia.org> Subject: Re: [Mediawiki-l] EAN-code generator for Mediawiki> > > > M Sz wrote:> > Hi! No problem, you're welcome.> > > > It already should have been possible to use only 12 digits too, since the 13th digit is calculated anyway.> > But however, I have done what you suggested and now the number will be filled up with zeros as far as needed ;)> > Yes, now it works fine! And now also the parsing of variables and SMW > ParserFunctions is taking place before the <ean>...</ean> tags. It all > works like a charm!> > > Additionally I have added the support for EAN-8 and UPC-A barcodes. <...>> > > > Much fun ;) Hope it's usefull!> > Very fun. It will probably become very useful !> > Any chance that the size of the bar-code image could be determined using > a parameter?> > Regards,> > // Rolf Lampa> > _______________________________________________> MediaWiki-l mailing list> MediaWiki-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_________________________________________________________________ Windows Live Spaces - Ihr Leben, Ihr Space. Hier klicken und informieren. http://get.live.com/spaces/overview