>> Steve VanSlyck wrote:
>>> User:PleaseStand/highlight-comments.js is a script on Wikipedia. One 
> has to 
>>> click a link on the page to activate it. Is there some way to make it 
>>> activate on page load?
>>
>> Replace the call to addPortletLink with HighlightCommentsJsHighlight()

Steve VanSlyck wrote:
> Where would I find that call?


Replace
>         // Create and add the menu item or tab
>         HighlightCommentsJsSwitch = addPortletLink("p-cactions",
>             "javascript:HighlightCommentsJsHighlight()", "Highlight",
>             "ca-highlightcomments",
>             "Toggle highlighting of your own comments on this page");

with
>       HighlightCommentsJsHighlight();


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to