[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-11-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

--- Comment #8 from Anja Jentzsch  2012-11-29 
12:38:20 UTC ---
Verified in Wikidata demo time for sprint 7

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-11-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

Anja Jentzsch  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

denny vrandecic  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

--- Comment #7 from Daniel Kinzler  2012-06-26 
09:03:20 UTC ---
committed to Wikidata branch as 7673587974bb4ef2354443e0de410a28192c0e05, push
pending.

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

--- Comment #6 from Daniel Kinzler  2012-06-21 
15:54:04 UTC ---
(In reply to comment #5)
> 2) Using some existing scheme like MIME? OIDs? What are the options here?

I definitely want something human readable. For the format, I'll go for MIME
types, because they can also be used in HTTP responses, etc.

For the content model, i'm not sure. Maybe I'll just use the class name that
handles that kind of data.

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

Daniel Kinzler  changed:

   What|Removed |Added

 Blocks||36450

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

Daniel Kinzler  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|wikidata-bugs@lists.wikimed |daniel.kinz...@wikimedia.de
   |ia.org  |

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

Marcin Cieślak  changed:

   What|Removed |Added

 CC||marcin.cies...@gmail.com

--- Comment #5 from Marcin Cieślak  2012-06-21 
10:19:01 UTC ---
ENUM also would need to be changed every time something is added.

Few choices to be made:

1) How large is the space (10ths, 100ths, 1000ths?) - I don't know. 

2) Using some existing scheme like MIME? OIDs? What are the options here?

3) Is there any kind of hierarchy there? What are the relationships between
types?

4) What registration model should be? 

For example, registering OIDs can be free (under 1.3.6.1.4.1) and is
hierarchical. IANA is registering simple integer values for some standards.
Using UUIDs gives opportunity for anybody to generate a value themselves and
still there is a pretty good chance it will be unique (I just generated
470b7557-bb8a-11e1-be32-001b77bca544 for fun).

MIME is used by email.
OIDs are used by protocols like LDAP, SNMP and everything using ASN.1 (like
many security protocols)
UUIDs are used to specify interfaces in some protocols

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

--- Comment #4 from Daniel Kinzler  2012-06-21 
09:45:05 UTC ---
(In reply to comment #2)
> Perhaps enum type could be used as a compromise? I know it's not popular, but
> this seems as the place for it.

since extensions can introduce their own content models and formats, this would
become very tricky. also, afaik enum types are not supported by all databases
and would have to be emulated. painful.

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

Daniel Kinzler  changed:

   What|Removed |Added

 CC||daniel.kinz...@wikimedia.de

--- Comment #3 from Daniel Kinzler  2012-06-21 
09:44:13 UTC ---
(In reply to comment #1)
> Is that a WikidataRepo or a Core bug?

it's a Wikidata branch bug. I didn't want to file it as a a core bug, and for
practical purposes, it only affects WikibaseRepo at the moment, so I put it
here.

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

Nikola Smolenski  changed:

   What|Removed |Added

 CC||smole...@eunet.rs

--- Comment #2 from Nikola Smolenski  2012-06-21 06:01:18 
UTC ---
Perhaps enum type could be used as a compromise? I know it's not popular, but
this seems as the place for it.

-- 
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


[Bug 37746] (ContentHandler) use symbolic names for content models and formats in the database

2012-06-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=37746

denny vrandecic  changed:

   What|Removed |Added

 CC||denny.vrandecic@wikimedia.d
   ||e

--- Comment #1 from denny vrandecic  2012-06-20 
16:30:17 UTC ---
Is that a WikidataRepo or a Core bug?

-- 
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