Pergunta

The MediaWiki Extension:RSS (http://www.mediawiki.org/wiki/Extension:RSS) uses the plainlinks class to present the RSS feed link. I have tried all manner of searching, including trying to edit the MediaWiki:Rss-feed template to force the link to presented in non-bolded format.

Has anyone used this extension and can tell me how to change the fonts in the RSS link?

Thanks

Foi útil?

Solução

As far as I can understand your question, you should be able to remove the boldface formatting from the RSS item titles by editing the page MediaWiki:Rss-item (not MediaWiki:Rss-feed) on your wiki.

What you need to do is two things:

  1. remove the string ''' (MediaWiki markup for bold text) from either side of the title, and
  2. remove the ; (MediaWiki markup for a list definition, which is also bolded by the default style sheet) from the beginning of the line.

That is, change the default content of the page:

; '''<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>'''
: {{{description}}}
: {{{author}}} {{{date}}}<!-- don't use newline here -->

to this:

<span class='plainlinks'>[{{{link}}} {{{title}}}]</span>
: {{{description}}}
: {{{author}}} {{{date}}}<!-- don't use newline here -->
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top