Test

SMPTE color bars – Click for your own test pattern kit

This page is for posters to test comments prior to submitting them to WUWT. Your tests will be deleted in a while, though especially interesting tests, examples, hints, and cool stuff will remain for quite a while longer.

Some things that don’t seem to work any more, or perhaps never did, are kept in Ric Werme’s Guide to WUWT.

Formatting in comments

WordPress does not provide much documentation for the HTML formatting permitted in comments. There are only a few commands that are useful, and a few more that are pretty much useless.

A typical HTML formatting command has the general form of <name>text to be formatted</name>. A common mistake is to forget the end command. Until WordPress gets a preview function, we have to live with it.

N.B. WordPress handles some formatting very differently than web browsers do. A post of mine shows these and less useful commands in action at WUWT.

N.B. You may notice that the underline command, <u>, is missing. WordPress seems to suppress for almost all users, so I’m not including it here. Feel free to try it, don’t expect it to work.

Name Sample Result
b (bold) This is <b>bold</b> text This is bold text
Command strong also does bolding.
i (italics) This is <i>italicized</i> text This is italicized text
Command em (emphasize) also does italics.
a (anchor) See <a href=http://wermenh.com>My home page</a> See My home page
A URL by itself (with a space on either side) is often adequate in WordPress. It will make a link to that URL and display the URL, e.g. See http://wermenh.com.

Some source on the web is presenting anchor commands with other parameters beyond href, e.g. rel=nofollow. In general, use just href=url and don’t forget the text to display to the reader.

blockquote (indent text) My text
<blockquote>quoted text</blockquote>
More of my text
My text

quoted text

More of my text

Quoted text can be many paragraphs long.
WordPress italicizes quoted text (and the <i> command enters normal text).
strike This is <strike>text with strike</strike> This is text with strike
pre (“preformatted” – use for monospace display) <pre>These lines are bracketed<br>with &lt;pre> and &lt;/pre>
These lines are bracketed
with <pre> and </pre>
Preformatted text, generally done right. Use it when you have a table or something else that will look best in monospace. Each space is displayed, something that <code> (next) doesn’t do.
code (use for monospace display) <code>Wordpress handles this very differently</code> WordPress handles this very differently
See https://wattsupwiththat.com/resources/#comment-65319 to see what this really does.

Youtube videos

Using the URL for a YouTube video creates a link like any other URL. However, WordPress accepts the HTML for “embedded” videos. From the YouTube page after the video finishes, click on the “embed” button and it will suggest HTML like:

<iframe width="560" height="315"
        src="http://www.youtube.com/embed/yaBNjTtCxd4"
        frameborder="0" allowfullscreen>
</iframe>

WordPress will convert this into an internal square bracket command, changing the URL and ignoring the dimension. You can use this command yourself, and use its options for dimensions. WordPress converts the above into something like:

[youtube https://www.youtube.com/watch?v=yaBNjTtCxd4&w=640&h=480]

Use this form and change the w and h options to suit your interests.

Images in comments

If WordPress thinks a URL refers to an image, it will display the image
instead of creating a link to it. The following rules may be a bit excessive,
but they should work:

  1. The URL must end with .jpg, .gif, or .png. (Maybe others.)
  2. The URL must be the only thing on the line.
  3. This means you don’t use <img>, which WordPress ignores and displays nothing.
  4. This means WordPress controls the image size.
  5. <iframe> doesn’t work either, it just displays a link to the image.

If you have an image whose URL doesn’t end with the right kind of prefix, there may be two options if the url includes attributes, i.e. if it has a question mark followed by attribute=value pairs separated by ampersands.

Often the attributes just provide information to the server about the source of the URL. In that case, you may be able to just delete everything from the question mark to the end.

For some URLs, e.g. many from FaceBook, the attributes provide lookup information to the server and it can’t be deleted. Most servers don’t bother to check for unfamiliar attributes, so try appending “&xxx=foo.jpg”. This will give you a URL with one of the extensions WordPress will accept.

WordPress will usually scale images to fit the horizontal space available for text. One place it doesn’t is in blockquoted text, there it seems to display fullsize and large images overwrite the rightside nav bar text.

Special characters in comments

Those of us who remember acceptance of ASCII-68 (a specification released in 1968) are often not clever enough to figure out all the nuances of today’s international character sets. Besides, most keyboards lack the keys for those characters, and that’s the real problem. Even if you use a non-ASCII but useful character like ° (as in 23°C) some optical character recognition software or cut and paste operation is likely to change it to 23oC or worse, 230C.

Nevertheless, there are very useful characters that are most reliably entered as HTML character entities:

Type this To get Notes
&amp; & Ampersand
&lt; < Less than sign
Left angle bracket
&bull; Bullet
&deg; ° Degree (Use with C and F, but not K (kelvins))
&#8304;
&#185;
&#178;
&#179;
&#8308;

¹
²
³
Superscripts (use 8304, 185, 178-179, 8308-8313 for superscript digits 0-9)
&#8320;
&#8321;
&#8322;
&#8323;



Subscripts (use 8320-8329 for subscript digits 0-9)
&pound; £ British pound
&ntilde; ñ For La Niña & El Niño
&micro; µ Mu, micro
&plusmn; ± Plus or minus
&times; × Times
&divide; ÷ Divide
&ne; Not equals
&nbsp; Like a space, with no special processing (i.e. word wrapping or multiple space discarding)
&gt; > Greater than sign
Right angle bracket
Generally not needed

Various operating systems and applications have mechanisms to let you directly enter character codes. For example, on Microsoft Windows, holding down ALT and typing 248 on the numeric keypad may generate the degree symbol. I may extend the table above to include these some day, but the character entity names are easier to remember, so I recommend them.

Latex markup

WordPress supports Latex. To use it, do something like:

$latex P = e\sigma AT^{4}$     (Stefan-Boltzmann's law)

$latex \mathscr{L}\{f(t)\}=F(s)$

to produce

P = e\sigma AT^{4}     (Stefan-Boltzmann’s law)

\mathscr{L}\{f(t)\}=F(s)

Linking to past comments

Each comment has a URL that links to the start of that comment. This is usually the best way to refer to comment a different post. The URL is “hidden” under the timestamp for that comment. While details vary with operating system and browser, the best way to copy it is to right click on the time stamp near the start of the comment, choose “Copy link location” from the pop-up menu, and paste it into the comment you’re writing. You should see something like https://wattsupwiththat.com/2013/07/15/central-park-in-ushcnv2-5-october-2012-magically-becomes-cooler-in-july-in-the-dust-bowl-years/#comment-1364445.

The “#<label>” at the end of the URL tells a browser where to start the page view. It reads the page from the Web, searches for the label and starts the page view there. As noted above, WordPress will create a link for you, you don’t need to add an <a> command around it.

One way to avoid the moderation queue.

Several keywords doom your comment to the moderation queue. One word, “Anthony,” is caught so that people trying to send a note to Anthony will be intercepted and Anthony should see the message pretty quickly.

If you enter Anthony as An<u>th</u>ony, it appears to not be caught,
so apparently the comparison uses the name with the HTML within it and
sees a mismatch.

Advertisements

58 thoughts on “Test

  1. I just had another thought about underlines.

    I think I discovered that if I could get around the automatic spam trap by writing Anthony with an empty HTML command inside, e.g. Ant<b></b>hony .

    What happens when I try that with underline?

    Apologies in advance to the long-suffering mods, at least one of these comments may get caught by the spam trap.

  2. WordPress only displays images for URLs on their own line and ending with a image file extension. If I delete the attribute string above, i.e. ?token=I7JQbQli1swRgik%2BKnIKAmCk52Y%3D then what’s left should work:

    • Now one that would permit image display:

      Update: Right clicking to get the image’s url gave me a URL that goes through WP’s cache via (slashes replaced by spaces, periods by dashes) i2-wp-com wermenh-com images winter0708 P3020227_snowbank7-jpg

    • Now just the image without a suffix:

      Update: This image uses the same URL as the previous cached image. That means we can’t use a changing suffix to force a trip around the cache any more for HTTP images. I’ll play with HTTPS later.

      • Reply to Ric W ==> Thanks — I was fielding comments on an essay using an unfamiliar tablet, and wasn’t sure which and/or both were part of HTML5. I usually use the old ClimateAudit comment Greasemonkey tool, even though its formatting is funky these days, for the tags. Don’t suppose you could update that add-in?

      • IIRC, Greasemonkey was written for CA, which uses a different theme that does WUWT.

        I don’t have the time to figure out the JavaScript code or whatever it’s written in, and I don’t have the ability to make changes that deep in WUWT.

        Instead of Greasemonkey, I often use https://addons.mozilla.org/en-US/firefox/addon/its-all-text/ . It can open up an external editor, so it has saved my butt a few times when WP loses a post I was making.

  3. Hey, what happened to the old smiley face?? When I tried to post it, this appeared:

    I wonder if WordPress changed any others?

     ☹ ☻

    The old smiley was more subtle; less in-your-face. The new one is way too garish.

    If WP keeps that up, I’ll just have to use this lame replacement:

    :-)

    Or even worse:

    ;-)

  4. One <a> parameter that you say is unsupported, but I hope you’re wrong, is target=”_blank” , which I see used frequently in at least one other WordPress blog. Including this parameter in an <a> command, if it works, means that the link it creates will cause the linked URL to open in a new browser window, or at least in a new tab, thus not forcing you to leave the page you’re on.

    I’ll give it a try here.

  5. Hey folks,

    Here’s a Friday Funny. ;-)

    The Skeptic has an article on a recent hoax paper submitted to & published by a social science journal, purporting, among other things that “Climate Change is conceptually” caused by penises”. ;-)

    http://www.skeptic.com/reading_room/conceptual-penis-social-contruct-sokal-style-hoax-on-gender-studies/

    The paper, The conceptual penis as a social construct, is here:

    https://www.cogentoa.com/article/10.1080/23311886.2017.1330439.pdf

    [Regardless of the Test posting, be aware this will NOT pass into the regular forum without specific approval. .mod]

  6. Bart,

    You are completely wrong in your idea of how the sinks work. That is the main point in our discussion.

    The sinks are not proportional to CO2 inputs of one year, neither of the size of the inputs or outputs, they are proportional to the extra CO2 pressure in the atmosphere above steady state. No matter what the origin is of the extra pressure in the atmosphere. No matter the size of the inputs or outputs.

    1. Ocean sources and sinks react mainly on temperature differences, independent of each other.
    2. Ocean CO2 pressure, pCO2(aq) is a matter of temperature at the ocean surface and concentration. For a fixed temperature and concentration, pCO2(aq) is fixed. At the sources, temperature is high, thus pCO2(aqH) is a lot higher than in the atmosphere. At the sinks, pCO2(aqL) is a lot lower than in the atmosphere.
    3. Ocean CO2 influx is directly proportional to the difference between pCO2(aq) and pCO2(atm):
    CO2influx = k1*[pCO2(aqH)-pCO2(atm)]
    4. Atmospheric CO2 outflux is directly proportional to the difference between pCO2(atm) and pCO2(aq):
    CO2outflux = k1*[pCO2(atm)-pCO2(aqL)]
    (There is a difference between the k1’s in [3] and [4], which is caused by the difference in transfer speed -by wind and waves- and surface area involved. That is not important here).
    5. At steady state CO2influx = CO2outflux = ~40 GtC/year:
    k1*[pCO2(aqH)-pCO2(atm)] = k1*[pCO2(atm)-pCO2(aqL)]
    pCO2(atm) = [pCO2(aqH) + pCO2(aqL)]/2

    Statement A:
    At steady state, the CO2 level/pressure in the atmosphere is equal to the average CO2 level/pressure in the ocean surface, as Henry’s law dictates.

    Statement B:
    The steady state level in the atmosphere is completely independent of the size of the natural inputs and outputs. The level only depends of the average temperature / pCO2 pressure in the ocean surface

    6. For the current average ocean surface temperature of ~15°C, the steady state CO2 level in the atmosphere is ~290 ppmv.
    7. As the CO2 pressure in the ocean surface depends of temperature, at about 16 μatm/°C, any change in average temperature of the ocean surface will give a change of steady state in the atmosphere of ~16 ppmv/°C.
    8. If for any external reason pCO2 in the atmosphere increases above the steady state level, then:
    – The CO2influx = k1*[pCO2(aqH)-pCO2(atm)] decreases as pCO2(atm) increases.
    – The CO2outflux = k1*[pCO2(atm)-pCO2(aqL)] increase as pCO2(atm) increases.
    9. The disequilibrium of CO2outflux – CO2influx is proportional to the extra pressure in the atmosphere above steady state.

    Statement C:
    The net sink rate for any extra CO2 in the atmosphere depends of the pressure difference with the steady state, completely independent of the size of the natural inputs and outputs

    10. That gives for the current increase in the atmosphere:
    dCO2/dt = -[CO2plus]/tau2 + H
    Where [CO2plus] is the extra CO2 pressure in the atmosphere above steady state.
    H is yearly human emissions and
    tau2 about 51 years.
    In no way there is any direct influence of the size of inputs or outputs on the decay rate of any extra CO2 pressure above steady state, whatever the origin of that extra pressure.

    In conclusion: Bart’s math is right for a process where outputs are directly depending of the (sum of) inputs. In the case of CO2 in the atmosphere, the removal of any extra CO2 input is independent of the size of the inputs and only depends of the extra pressure above steady state.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s