WPAFC / afch

Yet another Articles for creation helper script -- ACTIVE DEVELOPMENT NO LONGER HAPPENS IN THIS REPOSITORY AND HAS MOVED TO
https://github.com/WPAFC/afch-rewrite
9 stars 3 forks source link

WP:AFC/R isn't loading #186

Open Technical-13 opened 11 years ago

Technical-13 commented 11 years ago

Okay, best I can tell the reason there is no "review" link on AFC/R is because there is no links in #p-cactions for it to add itself there...

<div id="p-cactions" role="navigation" class="vectorMenu emptyPortlet" aria-labelledby="p-cactions-label">
    <h3 id="p-cactions-label"><span>Actions</span><a href="#"></a></h3>
    <div class="menu">
        <ul>
                    </ul>
    </div>
</div>

is the source of that section of the page.

wikipedia-mabdul commented 11 years ago

Problem is the script doesn't load... syntax error..

doing

        extra.html(extra.html() + '<label for="afcHelper_redirect_comment_' + id + '">Comment:</label>' + '<input type="text" id="afcHelper_redirect_comment_' + id + '" name="afcHelper_redirect_comment_' + id + '"/>');
    } 
Syntax error at line 250 while loading: expected expression, got keyword 'else'
    } else {
    --^
    } else {
        extra.html(extra.html() + '<label for="afcHelper_redirect_comment_' + id + '">Comment:</label>' + '<input type="text" id="afcHelper_redirect_comment_' + id + '" name="afcHelper_redirect_comment_' + id + '"/>');
    }
}

function afcHelper_redirect_performActions() {
    // Load all of the data.
    for (var i = 0; i < afcHelper_Submissions.l
wikipedia-mabdul commented 11 years ago

fixed in 062916c8fd512e6da64faceabfaf0a8142e7711a

theopolisme commented 11 years ago

coughs jquery conversion once again..

wikipedia-mabdul commented 11 years ago

@theopolisme FFU is broken in develop. the review panel isn't opening (although the script loads and displaying the inline reviewing links). So something in that commits ( https://en.wikipedia.org/w/index.php?title=User%3ATheo%27s_Little_Bot%2Fafch%2Fafchelper.js%2Fffu.js&diff=574658136&oldid=574603620 ) is broken, but I don't know what exactly...