[Bug 2522] {{CURRENTMONTH}} uses a leading zero (date('m')) but {{CURRENTDAY}} does not (date('j'))

2014-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=2522

--- Comment #11 from Helder mybugs.m...@gmail.com ---
See also Change-Id: Ia1272e564c9cc53632b630ac534c439e81f001e1

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 2522] {{CURRENTMONTH}} uses a leading zero (date('m')) but {{CURRENTDAY}} does not (date('j'))

2013-04-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=2522

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|High|Normal

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 2522] {{CURRENTMONTH}} uses a leading zero (date('m')) but {{CURRENTDAY}} does not (date('j'))

2011-07-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=2522

Jarry1250 jarry1...@gmail.com changed:

   What|Removed |Added

 CC||jarry1...@gmail.com

--- Comment #10 from Jarry1250 jarry1...@gmail.com 2011-07-05 18:00:43 UTC ---
To summarise, then, this bug concerns the disparity between month and day:

{{CURRENTMONTH}} is padded;
{{CURRENTMONTH1}} is unpadded;
{{CURRENTDAY}} is unpadded;
{{CURRENTDAY2}} is padded.

Each have existing usages across the wikis.

The easiest start would be to add {{CURRENTMONTH2}} as padded. Then
{{CURRENTMONTH}} could be made unpadded (a breaking change). Then
{{CURRENTMONTH1}} deprecated and eventually removed.

This would obviously require discussion.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 2522] {{CURRENTMONTH}} uses a leading zero (date('m')) but {{CURRENTDAY}} does not (date('j'))

2011-07-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=2522

mybugs.m...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||mybugs.m...@gmail.com
 Resolution|FIXED   |

--- Comment #9 from mybugs.m...@gmail.com 2011-07-02 01:56:13 UTC ---
I'm reopening this bug because the inconsistency reported in the first comment
is still present: I just created a page with
  {{CURRENTDAY}}/{{CURRENTMONTH}}
and got
  2/07
instead of any of these:
  02/07
  2/7

For a real example of how this is problematic see:
https://secure.wikimedia.org/wikipedia/en/w/index.php?diff=437297075oldid=436773789
The version of the code which uses MW variables was tested (on 29 June 2011),
before saving the edit. Then, some days after that the code suddenly stops
working because, on 1 July 2011, the value returned by {{CURRENTDAY}} is 1
instead of 01.

I think MW users can't be supposed to guess that MediaWiki outputs are
inconsistent.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l