Voting is pretty key by my reading - consensus ratings are the property 
values of the Canyon page.
Sounds most like a partial form, for adding/maintaining a user's vote 
stored as a subobject.
Needs to read some ACL stored such as in HaloACL for user list.
Should not worry about 300 template calls -- convert the template into 
PHP parser funciton if poor performance
These votes are surely metadata, so maybe use dublin core properties if 
possible within subobjects
sounds like a fun project - good luck!/john

On 5/15/2014 10:32 PM, Peter Brooks wrote:
> I'd certainly find such a thing very valuable - I'd use it to allow
> people to approve pages, the pages need three levels of approval, so
> this would make it much easier for it to be done.
>
> I wouldn't make it as specific as just a voting system - it'd be good
> if there was room to make a short comment or to link a file, without
> needing to edit the page itself.
>
> Your last option sounds the best. I think, though, that you can do
> this with a form at the moment - it's just not as clean and easy is it
> could be - for example, my question here:
>
> http://www.mediawiki.org/wiki/Extension_talk:Semantic_Forms#Alternative_icons_for_radiobuttons_-_for_a_checklist._Any_suggestions_of_how_to_achieve_this.3F
>
> It's the same requirement, really, a way of enabling interaction
> directly on the page, without a need for users to understand wiki
> syntax or to move to another page, or to have a pop-up
>
> On 16 May 2014 04:47, Benjamin Pelletier <bjpcalt...@gmail.com> wrote:
>> I have a Semantic MediaWiki installation that has a large number of Canyon
>> pages, where each of those pages describes a different hiking trip.  These
>> pages have a number of properties on them, one of them being Quality (how
>> "good" of a trip it is).  Currently, editors can edit the wikitext to change
>> this property.  I would like make a feature that allows people to vote on
>> what Quality they think a particular Canyon is, and then the overall Quality
>> (based on the votes received) would be displayed on the page.  I can think
>> of a few different ways this might be done, but I was hoping to get some
>> advice from people who are really familiar with Semantic MediaWiki for which
>> method is likely to produce the best results with the least effort.
>>
>> == Single "Voting data" wiki page ==
>> I could make an extension that automatically edits a particular wiki page
>> (perhaps "Voting data") in response to a click.  It would read the existing
>> content, add the new vote, recalculate ratings, generate semantic properties
>> with those ratings, and save the new page version.  I'm not sure if this is
>> possible, but it seems like the best solution if it is.  Although, there
>> might be a problem eventually if, say, 300 people each vote on 10 canyons,
>> then my page size is going to be like 60k (which may cause performance
>> issues?)
>>
>> == Stand-alone widget ==
>> I could make an extension that injects custom PHP that talks to an entirely
>> separate (non-MediaWiki) database to store and report the voting data.  This
>> same approach would work on any website, even if it wasn't a MediaWiki
>> install.  The down side of this approach is that I have no idea how I would
>> (could?) integrate the voting results into a semantic search.  Can semantic
>> data be stored stably in the SMW database without being defined in any
>> wikitext?
>>
>> == Per-page voting data ==
>> I could maybe make an extension that automatically edits the current page
>> and injects an additional vote line so all the quality votes for a given
>> page are stored on that page.  But, this seems like the most difficult
>> option, and there would be a bunch of voting data junk in the wikitext
>> content.
>>
>> Any suggestions?
>>
>> Thanks!
>> --Ben
>>
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing platform
>> available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Semediawiki-devel mailing list
>> Semediawiki-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to