Open umbralOptimatum opened 1 year ago
I believe it's the same type of issue as described in #14. Workaround with using branch's name seems promising, I will see if something can be done with it.
Whoops, yes, same issue. One thought for future-proofing: if there isn't an exact match for the title, would it make sense to try filtering on title inclusion before last-resort opening every page with matching ID? I'm thinking of storylet designs like Arbor; if the wiki didn't have a disambiguation page named "Far Arbor", it would make sense to filter the results to titles including "Far Arbor" (Far Arbor (Temple), Far Arbor (North), etc) to not open every Near Arbor page as well.
As far as I can see, my current change set is actually already doing that - clicking on the Wiki button opens several pages, but they are all related to Far Arbor.
Ah whoops, I thought Near and Far Arbor had the same ID. Works for now then, and hopefully the wiki will never need to implement a storylet with such complexity.
The zee dreams are implemented as text variants of the same card, while the wiki records them as seven different pages all using the same ID. Using the one-click wiki button for a zee-dreams card opens all seven pages with matching IDs, not just the one for the current dream level.
For situations like this, I would expect the extension should primarily search for pages by ID but, if multiple pages exist for that ID, only open one(s) that match the current branch name.