I often will put "Has label" or "Has name" as well as a "Has subobject type" properties on my subobjects along with a "Has parent". Pretty common to then filter on "Has subobject type" and "Has parent" and sort by "Has name".

As far as the visual clutter in browse, I usually use something about the subobject to give it a name that is meaningful. I almost never let it just use the hashes since I can't find anything when debugging/testing.

On Jun 20, 2013, at 10:29 AM, Yaron Koren <yaron@wikiworks.com> wrote:

Hi Alexey,

Yes, that's a good point - I actually thought about an approach like that, but forgot to include it in the email. A property called "Sort" (a name like "Has index" might be a little clearer) would solve this problem - and it would be a more "semantic" solution. On the other hand, it would add to the proliferation of special properties (for what that's worth), and it would mean a little more work for administrators to get queries of subobjects ordered correctly.

I still think my original proposed solution would work fine, though I confess I don't quite understand how the subobject hashing works. Are people supposed to be able to directly link to or reference a subobject, using the hash? I don't see how that could work, given that everything about a subobject could change from one page save to the next - its order, its properties, etc. I don't see how the system could keep consistency of subobject naming.

-Yaron

On Thu, Jun 20, 2013 at 10:54 AM, Alexey Klimovich <god.vedmaka@gmail.com> wrote:
Hi, Yaron!

I think subobjects sorting is good task, but i suggest not to use subobjects
name for this because of big problem with that:

imagine we have 3 subobjects on page:

Page name#001_4bd1f1b74a76de5322dd74956a71f089
Page name#002_03163dfd1d2502668b00c1f521688984
Page name#003_02dwa3j349j8d3jds3843234jd8349490

now, we edit page, delete subobject 002. What should happen?
Should other subobjects be renamed to keep sorting? What if they already
linked from other pages/queries?

I think better way is to automaticaly attach some semantic property ("Sort"
for example)
to every subobject on page. This property should contain subobjects number
on page.



--
View this message in context: http://wikimedia.7.x6.nabble.com/Making-subobjects-correctly-ordered-tp5007553p5007558.html
Sent from the Semantic Mediawiki - Development mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



--
WikiWorks MediaWiki Consulting http://wikiworks.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel