Wikia

Community Central

WatchlistRandom pageRecent changes

Timeshifter

1,518 Edits since joining this wiki
June 1, 2007
  • I am just another guy with a PC.
38.107.179.230
  Loading editor
  • Here's some JS you can use if you like.

    $( hideComments( ["Ralok"], "(spam)" ) );
    
    function hideComments(usernameList, replacementText) {
        var comments = $('.article-comm-text');
        var numComments = comments.size();
        var numUsers = usernameList.length;
        for (var i = 0; i < numComments; i++) {
            for (var j = 0; j < numUsers; j++) {
                if ($(comments[i].parentNode.parentNode).attr('data-user') === usernameList[j]) {
                    comments[i].innerHTML = '<p>' + replacementText + '</p>';
                }
            }
        }
    }
    

    The first parameter is an array of usernames whose comments you'd like to hide. E.g. ["Ralok", "User2", "Somebody else"].

    The second parameter is the replacement text: "(spam)"

    Per your earlier request.

      Loading editor
    • 38.107.179.230
        Loading editor
  • New test.

      Loading editor
    • OK. It looks like it is threaded. Where is the editing toolbar? Do wikilinks work? User:Timeshifter

        Loading editor
    • It looks like wiki links work. I think regular talk pages are much better. Toolbar, complex multi-threaded indentation, image sizing and placement is easier, image floats, and much more. Can't illustrate and discuss problems well with this.

        Loading editor
    • 38.107.179.230
        Loading editor
  • Testing.

      Loading editor
See archived talk page

Around Wikia's network

Random Wiki