User:Nicole Sharp/bugs

From mediawiki.org

List of MediaWiki bugs found by Nicole Sharp.

CODE[edit]

With a default stylesheet, wikilinks with code elements do not show link color. Nicole Sharp (talk) 20:19, 12 March 2021 (UTC)

  • Main Page
  • [[Main Page|<code>Main Page</code>]]

workaround[edit]

Place code elements outside of wikilinks. Nicole Sharp (talk) 20:19, 12 March 2021 (UTC)

TRANSLATE[edit]

The HTML translate attribute is stripped from wikimarkup. Nicole Sharp (talk) 20:19, 12 March 2021 (UTC)

  • Because ideas want to be free.
  • <q translate="no">Because ideas want to be free.</q>

workaround 1[edit]

MediaWiki does allow use of the data-translate attribute. However, this custom attribute is unlikely to be recognized by third-party machine translators. Nicole Sharp (talk) 20:19, 12 March 2021 (UTC)

  • Because ideas want to be free.
  • <q data-translate="no">Because ideas want to be free.</q>

workaround 2[edit]

Some machine translators are smart enough to know not to translate certain elements. Google Translate ignores text within code and kbd elements, and Microsoft Translator also ignores text within samp elements. Nicole Sharp (talk) 20:28, 12 March 2021 (UTC)

  • Q: Because ideas want to be free.
  • CODE: "Because ideas want to be free."
  • KBD: "Because ideas want to be free."
  • SAMP: "Because ideas want to be free."