Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!
Template talk:AutoServerStatus
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Why does this happen? | 16 | 15:45, 12 October 2011 |
Problems... | 2 | 14:41, 12 October 2011 |
Change this to a widget | 27 | 17:06, 11 October 2011 |
The server status displays inconsistent icons sometimes. I just checked again and now they're all on Update. Last time the server icons sere all on Online/Event even though the overall status was Update. Nobody has been changing the wiki status.
As Nexon works on maintenance, they put up/down the servers constantly to check stuffs. I guess it was a coincidence that the server status was refresh at the time of then putting up the servers again.
Yeah, the script is not broken. It reflects the actual state of the game servers. People keep overriding it because they think it's broken. Look at current game status and Login server. Those are always accurate during maint.
I don't think that is a very good user experience. Nobody was overriding the manual status. Why not just set all servers to update during an update?
Because, the script isn't smart enough to know there's an update. And what if the login server goes down, but the game servers are still up?
If "Current Game Status" is set to "Update", set everything else to the same. What situation would occur where the first is true and the latter is not?
Its actually the inverse....
If Login = online GameStatus = best of the servers else GameStatus = login status
What do you mean by "setting update"?
The script looks at offline override, and uses that if the server is offline. Hence, if the login server is offline, and OfflineOverride is 'Update', the login status will be 'update'. Same with everything else.
I like the actual statuses though. Cause it helps map down boss timers...
Aubog looks at the actual statuses. By knowing (more or less) exactly when a server comes online (before the login does!), he can time the boss spawns.
If we set all statuses to update when the logon is update, then he can't time them properly.
The widget no longer scrolls, it just gets cut off. No bar either.
And this page isn't semi protected either. Don't do full because I'll need to update the url when we move the script.
It scrolls for me on both Chrome and Firefox when I expand a server. Screenshot? The URL is not in this page anymore because it's embedded directly in the new widget. IJ will have to be around to move the script anyway, so he can edit the widget when the time comes.
Screenshot It only does it on my phone. Not a major issue as few people use their phones to browse the wiki, but we should probably keep an eye on it.
We could create a page at Widget:AutoServerStatus and put this inside:
<div class="center" style="width: 358px;"><object data="http://shywreaths.org/MabiServerStat/index.php" type="text/html" style="width: 358px; height: 210px; border-width: 0;" standby="Loading Server Statuses"></object></div>
And then on the homepage we would have {{#widget:AutoServerStatus}}
. This removes the XSS risk of allowing anyone to use iframes but also makes the code valid XHTML 1.0 Strict because it uses the object tag instead. It also works on all modern browsers, including IE ~小太郎 TALKCONTRIBS 2011:10:11:05:30 (Tuesday)
i don't think it's needed, the reason we use the Widget extension instead of the Iframe extension is because it's made to be secure against that... http://www.mediawikiwidgets.org/Talk:Iframe#Security_risk.3F
What stops other users from making their own iframe widgets? If nothing, then doing this and removing the iframe widget would be safer. Just because the widget isn't as crazy insecure as the other one mentioned doesn't mean it's not a security hole. Though I'm not sure about the whole object tag thing. MediaWiki is HTML, not XHTML so that part is irrelevant.
OK, thanks. Just a quick question: How does the AutoServerStatus widget work? I had to include the "target" element in my script's links due to the iframe. Is that still needed?
It looks like object tags don't respect width/height CSS. See the main page.