User talk:Outriggr/metadata.js

From Wikipedia, the free encyclopedia

This script displays an article's grade/rating/assessment on the article page, by parsing the grade stored on the talk page. Specifically,

  • the article title color changes to roughly match the color scheme of the grading system
  • the phrase "from Wikipedia, the free encyclopedia" becomes, for example, "A Good Article from Wikipedia, the free encyclopedia"
    • if the article is currently a Good Article Candidate or Featured Article Candidate, this is also mentioned on the above line

[edit] Usage

Cut and paste the following to your User:YOURUSERNAME/monobook.js page.

// Script from [[User:Outriggr/metadata.js]]
 document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Outriggr/metadata.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></s'+'cript>');

[edit] Known issues

  • Conflicts with Dr. pda's prose size tool?
  • One report of not working in Internet Explorer. Works for me.

[edit] Upgrade plans

  • Allow the user to evaluate the article from the article page, by sending an updated talk page value to the talk page in edit mode.