Tourette Syndrome A
featured article from Wikipedia, the free encyclopedia
United States An
A-class article from Wikipedia, the free encyclopedia. Also a
good article.
Wikipedia A
good article from Wikipedia, the free encyclopedia. A
former featured article.
Jammu and Kashmir A
B-class article from Wikipedia, the free encyclopedia
U.S. Route 191 A
C-class article from Wikipedia, the free encyclopedia
Real analysis A
start-class article from Wikipedia, the free encyclopedia
Binary function A
stub-class from Wikipedia, the free encyclopedia
List of medical abbreviations: Overview A
list-class article from Wikipedia, the free encyclopedia
Wiki (disambiguation) A
disambiguation page from Wikipedia, the free encyclopedia
Tornadoes of 2009 A
current-class article from Wikipedia, the free encyclopedia
Days of Wrath A
future-class article from Wikipedia, the free encyclopedia
Mehlingen An
unassessed article from Wikipedia, the free encyclopedia
|
The metadata script is a gadget that displays the quality assessment of every article page you visit. This allows you to get a general idea of an article's quality without going to the talk page or reading the entire article yourself.
The information is displayed in the tagline directly below the article header. It also colours the article header based on that information, using a colour scheme based on the {{ grading scheme}} colours.
This script finds the assessment information entirely from the intro section of the article's talk page. In addition to displaying the article's rating, it also notes current and past featured/good article status, nominations, and reviews, along with any current peer reviews.
You can enable this script through Special:Preferences on the Gadgets tab, in the Appearance section. Turn on the checkbox labelled "Display an assessment of an article's quality as part of the page header for each article".
In the past, you could install the script by adding the text importScript('User:Pyrospirit/metadata.js');
to your personal script page. However, this practice can make the script load unreliably, and versions of the script in the user namespace are likely to be out of date! If you must load the script manually, do so by wrapping code dependent on the gadget in a mw.loader.using()
call, as so:
mw.loader.using("ext.gadget.metadata", function () {
//Dependent code goes here.
});
If you find a bug, please report it at
MediaWiki talk:Gadget-metadata.js, making sure to include some information about what went wrong, what browser you're using, what page it occurred on, and so forth. It's helpful to ping the current maintainer (e.g., {{
ping|Nihiltres}}
) as part of the report.
Requests for a feature to be added to the script should also be made at the same talk page. Improvements can be made to its current function of displaying an article's assessment in the page header, but there are no plans to add whole new features—these can be created as user-scripts or separate gadgets.
class=
parameter value in the
WikiProject template for WikiProject Military history might not match the output; the script reflects the class=
value and not the template-rendered result. Please fix that value to match the output if you notice a discrepancy.This script uses custom CSS classes from MediaWiki:Gadget-metadata.css to assign colours to page headers. To change the colours used by this script, you must override these classes in your custom user stylesheet page. For help with custom CSS, see Help:Cascading Style Sheets.
Any style aspect of the article header can be customized for a specific assessment. Here are some examples of what you can add to your user stylesheet page to do this:
/* Remove colours entirely */
.firstHeading {color: black !important;}
/* Make the title of good articles bright red */
.assess-ga-text {color: #ff0000 !important;}
/* Display the title of disambiguation pages and set index articles in italics */
.assess-dab-text, .assess-setindex-text {font-style: italic;}
The tagline where assessment info is displayed can be customized as well. There are three CSS classes used on that line:
assess-article-rating
contains the main assessment of the article, located at the beginning of the line. By default, anything in it is italicized.assess-info-all
contains all information on that line after the free encyclopedia. By default, it italicizes text.assess-info-review
contains any information on a peer review of the article. It does nothing by default, and it is empty if the article is not being peer reviewed.You can customize these using your user stylesheet page (
monobook.css). You do not need to use !important
unless you are overriding the italics declared by the first two classes. Here are some examples:
/* Makes assessment info non-italicized, and hides information on peer reviews. */
.assess-article-rating {font-style: normal !important;}
.assess-info-all {font-style: normal !important;}
.assess-info-review {display: none;}
WikiProject | Assessment | Importance |
---|---|---|
WikiProject Space | FA | Top |
WikiProject Geology | FA | Top |
WP1.0 | FA | Top |
Vital | FA | High |
There are some optional add-on scripts that can be installed to change or add to the functionality of the main script in some way.
Here are a couple of the most useful optional components:
{{
subst:js|User:Nihiltres/assesslinks.js}}
to
your scripts page.This script adds a single object, assessment
, to the global scope. This object contains all the script's functions and data. The script is available on all pages, but only runs automatically in the main namespace. The script's behaviour can be customized by redefining methods of the assessment
object and re-running the script with assessment.init()
.
Tourette Syndrome A
featured article from Wikipedia, the free encyclopedia
United States An
A-class article from Wikipedia, the free encyclopedia. Also a
good article.
Wikipedia A
good article from Wikipedia, the free encyclopedia. A
former featured article.
Jammu and Kashmir A
B-class article from Wikipedia, the free encyclopedia
U.S. Route 191 A
C-class article from Wikipedia, the free encyclopedia
Real analysis A
start-class article from Wikipedia, the free encyclopedia
Binary function A
stub-class from Wikipedia, the free encyclopedia
List of medical abbreviations: Overview A
list-class article from Wikipedia, the free encyclopedia
Wiki (disambiguation) A
disambiguation page from Wikipedia, the free encyclopedia
Tornadoes of 2009 A
current-class article from Wikipedia, the free encyclopedia
Days of Wrath A
future-class article from Wikipedia, the free encyclopedia
Mehlingen An
unassessed article from Wikipedia, the free encyclopedia
|
The metadata script is a gadget that displays the quality assessment of every article page you visit. This allows you to get a general idea of an article's quality without going to the talk page or reading the entire article yourself.
The information is displayed in the tagline directly below the article header. It also colours the article header based on that information, using a colour scheme based on the {{ grading scheme}} colours.
This script finds the assessment information entirely from the intro section of the article's talk page. In addition to displaying the article's rating, it also notes current and past featured/good article status, nominations, and reviews, along with any current peer reviews.
You can enable this script through Special:Preferences on the Gadgets tab, in the Appearance section. Turn on the checkbox labelled "Display an assessment of an article's quality as part of the page header for each article".
In the past, you could install the script by adding the text importScript('User:Pyrospirit/metadata.js');
to your personal script page. However, this practice can make the script load unreliably, and versions of the script in the user namespace are likely to be out of date! If you must load the script manually, do so by wrapping code dependent on the gadget in a mw.loader.using()
call, as so:
mw.loader.using("ext.gadget.metadata", function () {
//Dependent code goes here.
});
If you find a bug, please report it at
MediaWiki talk:Gadget-metadata.js, making sure to include some information about what went wrong, what browser you're using, what page it occurred on, and so forth. It's helpful to ping the current maintainer (e.g., {{
ping|Nihiltres}}
) as part of the report.
Requests for a feature to be added to the script should also be made at the same talk page. Improvements can be made to its current function of displaying an article's assessment in the page header, but there are no plans to add whole new features—these can be created as user-scripts or separate gadgets.
class=
parameter value in the
WikiProject template for WikiProject Military history might not match the output; the script reflects the class=
value and not the template-rendered result. Please fix that value to match the output if you notice a discrepancy.This script uses custom CSS classes from MediaWiki:Gadget-metadata.css to assign colours to page headers. To change the colours used by this script, you must override these classes in your custom user stylesheet page. For help with custom CSS, see Help:Cascading Style Sheets.
Any style aspect of the article header can be customized for a specific assessment. Here are some examples of what you can add to your user stylesheet page to do this:
/* Remove colours entirely */
.firstHeading {color: black !important;}
/* Make the title of good articles bright red */
.assess-ga-text {color: #ff0000 !important;}
/* Display the title of disambiguation pages and set index articles in italics */
.assess-dab-text, .assess-setindex-text {font-style: italic;}
The tagline where assessment info is displayed can be customized as well. There are three CSS classes used on that line:
assess-article-rating
contains the main assessment of the article, located at the beginning of the line. By default, anything in it is italicized.assess-info-all
contains all information on that line after the free encyclopedia. By default, it italicizes text.assess-info-review
contains any information on a peer review of the article. It does nothing by default, and it is empty if the article is not being peer reviewed.You can customize these using your user stylesheet page (
monobook.css). You do not need to use !important
unless you are overriding the italics declared by the first two classes. Here are some examples:
/* Makes assessment info non-italicized, and hides information on peer reviews. */
.assess-article-rating {font-style: normal !important;}
.assess-info-all {font-style: normal !important;}
.assess-info-review {display: none;}
WikiProject | Assessment | Importance |
---|---|---|
WikiProject Space | FA | Top |
WikiProject Geology | FA | Top |
WP1.0 | FA | Top |
Vital | FA | High |
There are some optional add-on scripts that can be installed to change or add to the functionality of the main script in some way.
Here are a couple of the most useful optional components:
{{
subst:js|User:Nihiltres/assesslinks.js}}
to
your scripts page.This script adds a single object, assessment
, to the global scope. This object contains all the script's functions and data. The script is available on all pages, but only runs automatically in the main namespace. The script's behaviour can be customized by redefining methods of the assessment
object and re-running the script with assessment.init()
.