ZRH-EDI is WK. LX number is just codeshare.
Rule of thumb for LX/WK: if flight has a WK number, then it's a WK flight with a LX codeshare.
General rule of thumb for LX: if flight number is above 3000, it's not a "proper LX flight"
General rule of thumbs: the airline with the lowest flight number is the operating airline (there might be exceptions, but I don't know any)
For ZRH-EDI: e.g. WK292 vs LX8292
Flight has WK flight number, LX flight number is above 3000, WK flight number is lower than LX --> all three rule of thumbs allude that it's not a "proper" LX flight, but a codeshare --> it's a WK and not a LX flight --> it's not a *G flight --> *G benefits don't apply (still some of them like priority boarding are still offered)