Help talk:Hash format

From semantic-mediawiki.org
Jump to: navigation, search

Bringing Hash and Array format documentation back together

I believe it would be easier to maintain this together with the Array format documentation, on one page like I did on mediawiki.org. Array and Hash formats are very similar, Hash format even inherits from the Array formats class and only overwrites a few functions.
Would it break anything if we had two Result format templates on one page? Another way would be to simply write basic info on Hash format and link to Array format or even include the page. --Danwe 14:47, 12 November 2011 (CET)

Hi Danwe, actually I thought about keeping it together. I believe it will be too confusing for the people to have it in one place. Additionally the page will probably get to large after more examples have been added. Another thing is the parser function #smwdoc which may replace the existing parameter table. Hmm … I am not sure after all. Cheers --[[kgh]] 15:19, 12 November 2011 (CET)
#smwdoc ? Alright, perhaps Just a short description on the Hash format page with link to the Array format, so user actually using Hash format know that its practically pretty much the same? I believe people using HashTables extension or even the Hash tables format can handle it. Maintaining the documentation twice probably won't contribute to clarification since the hash format might end up with less attention or I will simply forget to update both and in the end the confusion is perfect. --Danwe 18:41, 15 November 2011 (CET)
#smwdoc is a parser function introduced to SMW/SRF 1.6.0 to automatically generate the table of parameters. Have a look at the parameter section of e.g. Help:List format. After the next upgrade the current tables should somehow be generated automatically. Perhaps we wait for what happens exactly and do the merge afterwards. Cheers --[[kgh]] 18:48, 19 November 2011 (CET)
Just came back to this. How about making one page for both documentations, but using some conditional template logic to insert Array/Hash specific sentences? --Danwe (talk) 22:37, 19 October 2012 (CEST)
There are no threads on this page yet.