Markus Kroetzsch has submitted this change and it was merged.

Change subject: Add anonymous auto-numbering for subobjects that don't specify 
their identifier (bug 36634)
......................................................................


Add anonymous auto-numbering for subobjects
that don't specify their identifier (bug 36634)

## Note
This change will add an auto-numbering feature for all subobjects
that don't come with there own idenifier/name.

Right now it is for all cases of $subobjectName === '' but one could force
the user to $subobjectName === '#' to state explicitly to use
autonumbering in either case this takes away huge burden with larger
data sets where up til now each had to be assigned his own identifier.

## Patchsets
- 2 as per suggestion use a value dependant md4 hash instead of a static
number
- 3 ok, no fancy handling, works as with an identifier that when user
doesn't provide content a subobject nevertheless is created without
content
- 4 changed "#" to "-"

Change-Id: I076c323159c38d622dd15d1dc970a5bfea584906
---
M RELEASE-NOTES
M includes/parserhooks/SMW_Subobject.php
2 files changed, 8 insertions(+), 2 deletions(-)

Approvals:
  Markus Kroetzsch: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/16884
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I076c323159c38d622dd15d1dc970a5bfea584906
Gerrit-PatchSet: 4
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <jamesin.hongkon...@gmail.com>
Gerrit-Reviewer: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Markus Kroetzsch <mar...@semantic-mediawiki.org>
Gerrit-Reviewer: Mwjames <jamesin.hongkon...@gmail.com>
Gerrit-Reviewer: Yaron Koren <yaro...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to