v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "User:Emi/review.js"
< User:Emi
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
} | } | ||
− | + | jsMsg('<h3>Rating '+rater_PageName+'</h3><div id="rater_div"></div>'); | |
− | '<h3>Rating '+rater_PageName+'</h3> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } |
Revision as of 00:24, 22 May 2010
addOnloadHook(
function rater_addLink() {
addPortletLink("p-cactions", "javascript:rater_init()", "Rate", "ca-rater", "Rate");
}
);
function rater_init() {
var rater_PageName = wgPageName.replace(/_/g, ' ');
if (!wfSupportsAjax()) {
jsMsg('<span style="color:red; font-size:120%">Your browser does not seem to support AJAX, which is required for the rating script.</span>');
return;
}
jsMsg('<h3>Rating '+rater_PageName+'</h3><div id="rater_div"></div>');
}