User:Archie.m.vist

From Rigged Wiki
Revision as of 16:36, 17 March 2015 by Archie.m.vist (talk | contribs) (Test case for old teams)
Jump to navigation Jump to search

Going to use this to testbed solutions to the m/u logo issue. I mentioned in the /m/ thread that a MediaWiki regex could be used to sanitise the arguments but those don't seem installed.

BEHOLD, REGULAR EXPRESSIONS

The following (#rreplace:m/u|\/|_) should display m_u: {{#rreplace:m/u|\/|_}}

and this should be looking for M_u_icon.png, but still display /m/u/: /m/u/ [[File:{{#rreplace:m/u|\/|_}} icon.png|25px|link=/m/u/]]

Finally, this should just show the /mu/ icon as usual: /mu/ Mu icon.png

other slashes

Normal slash (current, not working): M/u icon.png /m/u/

Fraction slash: File:M⁄u icon.png /m⁄u/

Division slash: File:M∕u icon.png /m∕u/