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

           Summary: New property type - function
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Semantic MediaWiki
        AssignedTo: mar...@semantic-mediawiki.org
        ReportedBy: z.pe...@gmail.com


Defining properties by functions, for example Triangle's square (something like
that):

[[Height::1..3]]
[[Length::4..6]]
[[Square::0.5*Height*Length; 3]] where 3 is amount of values(/points) that
should be generated from the intervals provided by arguments (in this case for
Height - 1,2,3 and for Length - 4,5,6). If there were 5 instead of 3, the
arguments were: Height - 1, 1.5, 2, 2.5, 3; and for Length - 4, 4.5, 5, 5.5, 6.

This should mean smth. like this:

[[Height::1;2;3]]
[[Length::4;5;6]]
[[Square::2;5;9]]

Now following queries should find this page (among others):

[[Square::2]]
-------------
[[Square::5]]
[[Height::2]]
-------------
[[Square::9]]
[[Height::3]]
[[Length::6]]


While these queries shouldn't:

[[Square::17]]
-------------
[[Square::5]]
[[Height::3]]
-------------
[[Square::9]]
[[Height::3]]
[[Length::5]]

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

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

Reply via email to