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

       Web browser: ---
             Bug #: 31336
           Summary: "Ordered" properties does not work as described.
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Semantic MediaWiki
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Semantic MediaWiki manual describes a way to declare "ordered" properties:

http://semantic-mediawiki.org/wiki/Property:Allows_value#Ordered_properties

But this does not work. The property definition page seems good: 

Property has type [[Has type::Number]]. Allowed values:

* [[Allows value::1 - Small]]
* [[Allows value::2 - Medium]]
* [[Allows value::2 - Big]]

But setting property value:

[[Ordered::1 - Small]]

Gives result:

1 - Small(!)

Where (!) is an yellow icon with exclamation sign, clicking on the icon opens a
bubble with warning ""-Small" is not declared as a valid unit of measurement
for this property."

See live example at:

http://scratchpad.referata.com/wiki/Property:Ordered
http://scratchpad.referata.com/wiki/TestOrdered

Scratchpad runs Semantic MediaWiki (Version 1.6.3 alpha) (r98796).

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to