On Tue, Jul 12, 2016 at 8:02 AM, Brad Jorsch (Anomie)
<[email protected]> wrote:
> One simple method: assign the numeric IDs by making the numeric ID column
> auto-increment, and insert the model strings into the table as needed.
> PageAssessments uses this model for tracking its project tags.[1]
>
> The disadvantage is that there wouldn't be any cross-wiki mapping between
> model names and ids, which can be mitigated somewhat by never exposing the
> ids externally.
Could you explain this idea in a way that doesn't require diving into
the codebase to figure out what you mean? Cloaking the mapping of
local ids (e.g. auto incremented in the DB) to global ids ("model
names") seems to suggest a new way of making our system behave in an
inscrutable way.
On Tue, Jul 12, 2016 at 9:00 AM, Brad Jorsch (Anomie)
<[email protected]> wrote:
> [Does this namespace registry idea work?]
>
> https://www.mediawiki.org/wiki/Extension_default_namespaces?
That doesn't seem like a good model to emulate. We're not iana.org,
and we don't have anywhere near the rigor defined in IETF RFC 5226. I
may put further thoughts on this topic in the Interwiki map RFC
(T113034) task
Rob
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l