WOL Problems
A number of Who's online problems.
- On the Who's Online page (online.php), if a user is on a wiki page, all users appearing after the user in the list claim to be viewing the same wiki page.
- Viewing a Special page appears as an unknown location.
- Multi-domain URLs are unreliable and inefficient for all WOL locations, including non-wiki.
In order to fix all these issues, I had to make a database modification. Instead of attempting to reconstruct the full URL from the location, inthread, and inforum fields, I added a new field called inwiki. This field will be populated when viewing an article and it contains the precise namespace-article info to construct a correct domain-specific URL. It also completely eliminates any processing on the WOL side, because all the info we need is already there.