Closed AttemptToCallNil closed 3 years ago
Uh oh XD
I think instead of object based keys... it should be array based. That way overwriting won't happen.
IIRC, I had an array based system last time 🤔 .
I already fixed this issue in my coming PR.
Try saving a "wiki farm" with these wikis:
The current "get-wikiname-from-url" algorithm assumes that wiki farms either use separate subdomains, or Fandom-like paths that start with
/[two letters]/wiki
. In other cases (same domain, other kind of paths), the login form will only save the last entry and overwrite the rest with it.I don't think there can be a universal conflict resolution algorithm for this problem, so I guess adding indices like
cat.cat [2]
,cat.cat [3]
is the way to go, at least for now.