Menu

#29 Site.GetNsPrefix Method and nsIndex 0

closed-fixed
None
5
2015-01-30
2015-01-06
No

0 is a valid namespace index. I'ld prefer that Site.GetNsPrefix(0) would return String.Empty instead of throwing an ArgumentOutOfRangeException. I'ld call it a bug, but it works "as designed" using the dictionary namespaces. In MediaWiki reality 0 is an index and String.Empty the namespace prefix. Please, change. Juergen

Discussion

  • CodeDriller

    CodeDriller - 2015-01-19

    Ok. Accepted.

     
  • CodeDriller

    CodeDriller - 2015-01-28
    • status: open --> accepted
    • assigned_to: CodeDriller
     
  • CodeDriller

    CodeDriller - 2015-01-30
    • status: accepted --> closed-fixed
     
  • CodeDriller

    CodeDriller - 2015-01-30

    Fixed in version 3.12.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.