User talk:Outriggr/metadata.js
From Wikipedia, the free encyclopedia
Please see the replacement script at User talk:Outriggr/metadatatest.js. It has more functionality, and can be partially "turned off" to duplicate what this script does.
This script and page will not be updated.
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 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>');