MediaWiki talk:Gadget-OBoD.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

The line near the bottom beginning with orangeBarDiv.innerHTML should be amended with

<span style="font-size:9px">See <a href="/wiki/User:Ignatzmice/Orange_Bar_documentation" title="User:Ignatzmice/Orange Bar documentation">the documentation</a> to turn this off.</span>

(before the final quote-mark-and-semicolon, but after the final period; there should be a space somewhere between the period and "See"). This provides a link to the documentation for the gadget, so people who don't want the orange bar can quickly turn it off. Ignatzmicetalk 18:59, 4 May 2013 (UTC)[reply]

Could someone add text to make it look like:
You have new messages (last change).

This orange bar notification system has been replaced with the Echo notification system. Please familiarize yourself with the little red box next to your name before the orange bar is disabled.

Thanks. MBisanz talk 19:12, 4 May 2013 (UTC)[reply]
I'll get working on the code. I'm not an admin, though, so hang around. Ignatzmicetalk 19:21, 4 May 2013 (UTC)[reply]
Thanks User:Ignatzmice, I undid it because it broke but also because I wasn't sure when I saw MBisanz's request what the best text to use would be. Thehelpfulone 19:25, 4 May 2013 (UTC)[reply]
  • New code:

    <span style="font-size:9px">Please <a href="/wiki/Wikipedia:Notifications/FAQ" title="Wikipedia:Notifications/FAQ">familiarize</a> yourself with the new <a href="/wiki/Wikipedia:Notifications" title="Wikipedia:Notifications">Notifications</a> system, as the orange-bar system will soon be gone. See <a href="/wiki/User:Ignatzmice/Orange_Bar_documentation" title="User:Ignatzmice/Orange Bar documentation">the documentation</a> to turn it off now.</span>

    Make sure it's still on the same line as the final quote-and-semicolon! Ignatzmicetalk 19:29, 4 May 2013 (UTC)[reply]

    • Also note this is to be added! Don't replace the text there now. But you knew that. Ignatzmicetalk 19:30, 4 May 2013 (UTC)[reply]
    • @MBisanz and Thehelpfulone: The new code is above. May as well add it, even if Edokter has undone default. Would undoing him be wheel warring? Ignatzmicetalk 19:43, 4 May 2013 (UTC)[reply]
      • I don't know why anyone would need the above instructions on their notification if they are deliberately installing this to bypass (or use in tandem with) Echo. Killiondude (talk) 20:12, 4 May 2013 (UTC)[reply]
        • My edit request was predicated on it being on by default. MBisanz talk 20:15, 4 May 2013 (UTC)[reply]
          • Well, yes, it doesn't make a lot of sense if it's not on by default. If it goes back to default, there's the code. Otherwise there's not much point to the entire thing, really. Ignatzmicetalk 20:20, 4 May 2013 (UTC)[reply]
            • It doesn't make sense to do it anyway. If the default ever gets turned back on, it will only be turned off again when RSOL is significantly changed. Familiarizing oneself with the little red box in the meantime may be entirely unhelpful to what we end up with. Besides which, we only have community consensus to put back OBOD more or less as it originally was. To use it to carry "ads" would need discussion a little wider than the back of this coding sheet. SpinningSpark 22:06, 4 May 2013 (UTC)[reply]
              • Well, the code there would produce something like this:
                You have new messages. Last edit by Ignatzmice. Please familiarize yourself with the new Notifications system, as the orange-bar system will be gone soon. See the documentation to turn it off now.
                Which is not quite as specific. Food for thought. Ignatzmicetalk 23:15, 4 May 2013 (UTC)[reply]
              • Finally figured out how to right-align; instead of <span style="font-size:9px"> use <span style="float:right; font-size:9px">. Although if people think that's a decent idea (demonstration at my sandbox) we could bump the font size up to 10px, as it's farther away from the real message. Ignatzmicetalk 02:53, 5 May 2013 (UTC)[reply]