2007/12/7, Felipe Ortega <glimmer_phoenix(a)yahoo.es>es>:
I've noticed that in enwiki, featured articles
have a {{featured-article}} tag on the top of the page. However, I haven't found any
tag marking good articles (though, there is a list of good articles).
In other language editions, neither featured nor good articles have a wiki tag on top of
the page, but the nice star is displayed on the top right corner of the page for featured
articles, once it is processed.
Anyone knows how these special pages are identified in the database? Are there common
tags to identify them in other language editions? Is that info available in the complete
pages-meta-history dumps?
These are not identified in the database. The code for displaying
these stars is in the {{featured article}} tag or whatever tag is used
in the language under consideration instead (if you don't find it at
the top, it's probably at the bottom). For en: the code is:
<div style="right:10px; display:none;" class="metadata topicon"
id="featured-star">
<imagemap>
Image:LinkFA-star.png|14px
rect 0 0 14 14 [[Wikipedia:Featured articles|This is a featured
article. Click here for more information.]]
desc none
</imagemap>
</div>
It's the 'class="metadata topicon" ' that causes it to show where
it
shows. I don't know whether metadata topicon is generally defined in
MediaWiki software or it is in the local monobook.css file.
--
Andre Engels, andreengels(a)gmail.com
ICQ: 6260644 -- Skype: a_engels