Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

User:Henrik/live-edit-counter

    From Wikipedia, the free encyclopedia
    <User:Henrik

    So if you have always wanted to know exactly how many edits you have? Now comes the most useful userbox since... well.. the last one created.[1] This userbox, with someajax magic, will give you a live edit counter on your userpage. But please remember thateditcountitis can be fatal.

    Installation

    [edit]

    To install, add

    // [[User:Henrik/live-edit-counter]]importScript('User:Henrik/js/live-edit-counter.js');

    to your monobook.js (located atUser:YOURUSERNAME/monobook.js)

    Also add{{User:Henrik/ubx/User contrib|<edits>|<Username>}} to your userpage replacing<username> with your username and<edits> with an approximate edit count for those without the javascript installed.[2]

    Note that you should still use the modified userbox the same way asTemplate:User contrib, it accepts the same parameters and should be used in the same way. But if you have the javascript installed, it'll display a live counter! All users who haven't installed the javascript and non-logged in users will see the plain old counter.

    Example

    [edit]
    1,500+This user has made over1,500 contributions to Wikipedia.


    {{User:Henrik/ubx/User contrib|1500|Henrik}}

    Notes

    [edit]
    1. ^Actually, this is probably the least useful userbox ever. But there was nothing good on TV last night.
    2. ^It'll still look okay for you, even if you don't insert a number - but it will look strange for others.
    Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Henrik/live-edit-counter&oldid=1086823022"
    Category:

    [8]ページ先頭

    ©2009-2025 Movatter.jp