Locke Cole <locke.cole.wiki@...> writes:
On 4/9/06, Shinjiman <shinjiman@...> wrote:
is that have any suitable method to produce the
current month (in
number) without the leading zero? I've been found out in the MediaWiki
software currently only have the magic word CURRENTMONTH which would
generate the current month with leading zero. Is that have any other
ways to generate the current month without the leading zero? or maybe
I would like to submit a patch to BugZilla to resolve this issue?
There's CURRENTDAY (which does the day without a leading zero) and
CURRENTDAY2 (which does the day *with* a leading zero). I suppose they
could always add CURRENTMONTH2 (which would do the month without the
leading zero). It would be backwards from the CURRENTDAY magic words,
but at least you'd be able to get the month without the leading zero.
=)
-L
Since the CURRENTMONTH magic word is widely used in WikiCommons. If this word
is changed, it will affect majorly affecting the pages as like in Commons I've
stated. I think having a name called CURRENTMONTH1 is more suitable for this
case. Is that will be okay?