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

           Summary: format=graph Graphviz attributes from Pages and
                    Categories
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SemanticResultFormats
        AssignedTo: denny.vrande...@kit.edu
        ReportedBy: uncool...@gmail.com
                CC: wikibugs-l@lists.wikimedia.org


I submitted a half-baked patch here to allow styling of graphviz nodes from
Page and Category properties ([[has graphviz node attribute::fillcolor=red]])

http://www.mediawiki.org/wiki/Extension_talk:Semantic_Result_Formats#Feature_request:_node_background_color_from_category

However, I did not do a proper job in at least 2 ways:

1. I did not create a special SMW property (I just look through all properties
until I find one with a suitable name)

2. I don't handle the Category hierarchy properly (at all, to be honest).  The
talk page has a suggestion of how best to handle Categories.

It was my first attempt at MW programming and I am not a native PHP speaker, as
you can probably tell.  It would be great if you could provide this
functionality robustly for the community.  It's low priority though, because I
have my patch working fine for our needs.

Thanks for the excellent extension.

cheers,
Bob.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to