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

           Summary: Dutch month names empty on SMW displays
           Product: MediaWiki extensions
           Version: any
          Platform: PC
               URL: login available on request
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


On displays of month names generated by SMW on my Dutch language wiki nothing
appears.  For example "31 2009 11:00:00" instead of "januari 31 2009 11:00:00".
 Dutch month names do show up on all non-semantic aspects of the wiki displays,
such as history pages.  Dutch month names also show up on Semantic Form input
interfaces.  Furthermore, in Semantic Forms, the correct (or last entered)
month names shows, which means the data is stored, but SMW generates no month
name for it.  Semantic Forms has its own translation, for which Dutch month
names work.

The error message I get is

Notice: Undefined offset: 0 in
D:\Inetpub\wwwroot\WikiSemanticweb\extensions\SemanticMediaWiki\languages\SMW_Language.php
on line 113

Where 0 is the monthnumber minus 1.

SMW_Language.php line 113 is the return in:

        /**
         * Return the name of the month with the given number.
         */
        function getMonthLabel($number) {
          return
(($number>=1)&&($number<=12))?$this->m_months[(int)($number-1)]:'';
        }

Is there something I should change on my system?  Or can this be fixed on an
upcoming release?  Or both?

Thanks!
Lloyd Rutledge


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

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to