wikimedia/agora — pull request #4 by mattflaschen (2012-11-11 01:42:41+00:00)
Title: Make button class work on any element

As noted at [Help:HTML in wikitext](http://meta.wikimedia.org/wiki/Help:HTML_in_wikitext), neither button nor a can be used in wikitext.

However, one potential work-around is to use a span with the button class, containing an allowed link (a) (either a double-bracket wikilink, or a single-bracket external link). For this to work, the button class must be usable on spans. For flexibility, I think it would be best if it works on all elements, as with Twitter Bootstrap's [button LESS](https://github.com/twitter/bootstrap/blob/master/less/buttons.less#L10).

A separate issue with this use case is that the link styling overrides the button. The second commit addresses that.