https://bugzilla.wikimedia.org/show_bug.cgi?id=65507
--- Comment #2 from Daniel Kinzler <[email protected]> --- It's clear that we should have an getEntityIdForTitle function somewhere, but it's not clear to me where it should reside, and what the exact signature should be (in the future, we may have more than one entity on a page). For now though, I suggest to put that method into the EntityTitleLookup interface, and implemented it in EntityContentFactory (which implements EntityTitleLookup) like this: $id = $idParser->parser( $title->getText() ) This isn't 100% future proof, but will work for now. This should make it easy enough to change the logic later. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
