Difference between revisions of "User:Schaumbe"
Jump to navigation
Jump to search
(hello world!) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Currently a software dev at DOE JGI, part of [http://www.jgi.doe.gov/whoweare/prokaryote.html prokaryotic superprogram]. | Currently a software dev at DOE JGI, part of [http://www.jgi.doe.gov/whoweare/prokaryote.html prokaryotic superprogram]. | ||
+ | |||
+ | = Testing noscript warnings = | ||
+ | |||
+ | How to warn users that javascript is required on this wiki? | ||
+ | |||
+ | * Approach 1: use noscript tags (problem: <noscript> tags are rendered as plaintext): | ||
+ | <noscript>WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.</noscript> | ||
+ | |||
+ | * Approach 2: use #tag:noscript (problem: requires a [https://www.mediawiki.org/wiki/Manual:Parser_functions parser function] for the noscript tag, I guess): | ||
+ | {{#tag:noscript|WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.}} | ||
+ | |||
+ | * Approach 3: just warn, no tag wrappers (problem: everyone sees the warning, even w/ JS): | ||
+ | WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript. |
Latest revision as of 22:00, 5 March 2014
Andrew Schaumberg. schaumberg.andrew@gmail.com
Currently a software dev at DOE JGI, part of prokaryotic superprogram.
Testing noscript warnings
How to warn users that javascript is required on this wiki?
- Approach 1: use noscript tags (problem: <noscript> tags are rendered as plaintext):
<noscript>WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.</noscript>
- Approach 2: use #tag:noscript (problem: requires a parser function for the noscript tag, I guess):
<noscript>WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.</noscript>
- Approach 3: just warn, no tag wrappers (problem: everyone sees the warning, even w/ JS):
WARNING: this wiki requires JavaScript to render math formulas. Please enable JavaScript.