https://bugzilla.wikimedia.org/show_bug.cgi?id=56547

       Web browser: ---
            Bug ID: 56547
           Summary: #time: should not "guess" incomplete dates
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ParserFunctions
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: krab...@kdz.or.at
    Classification: Unclassified
   Mobile Platform: ---

Dealing with incomplete dates, the function "guesses" the rest of the date,
which it should not do:

{{#time:j|April 2013}} returns the same result as {{#time:j|1 April}}. Both are
1 but in case of April 2013 it is an assumption. Depending what users are doing
with the result things could take a wrong turn on there wiki's. The desired
result should be something that can not be a day, like 0 so users can "catch"
it.

As the behaviour might be dealt with in several wikis, I suggest to include a
settings parameter, where users can swith the guessing on or off. So users who
need the guessing can still activate it (or on the other hand users who need a
correct handling of incomplete dates can deactivate it).

-- 
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

Reply via email to