User:Mathglot/sandbox

Source: Wikipedia, the free encyclopedia.

This is an old revision of this page, as edited by Mathglot (talk | contribs) at 01:25, 9 September 2019 (→‎Conditionals and builtins: Row four absent, as 'FOO'.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Nuclear submarine

The original article, Sous-marin nucléaire, is in French. mumble.

Nuclear submarine

The original French article is fr:Sous-marin nucléaire. yadda

A link to an old version of a page, like ver 767673521 of

WP:PNT
.

Signatures: 3: ~~~ = Mathglot (talk); 2: ~~ = ~~; 4: ~~~~ = Mathglot (talk
) 00:56, 28 February 2017 (UTC).

COMPARE: (hard-coded)
Templates for article pages
with H3 style: (===Templates...===

COMPARE: (hard-coded)
Test H Four as 120%/bold
Real H4:

Test H Four

Templates for article pages

Drafts

Editintro

This is the result of: {{subst:Editintro}}:

This text: edithistory
Box contents: edithistory

End editintro.

Do not archive

There might be some hidden HTML code just below this.

And above this.

Usertalkback

See {{Usertalkback}} which generates this box:

And the following <div> should produce identical content (bg-color is pale-orange on a user talk page):

  • If I left you a message: please answer on your talk page, linking to me ({{Ping|Mathglot}}), so I will be notified.
  • If you leave me a message: I will answer on my talk page, linking to your username, so you will be notified.
  • Please click here to leave me a new message.

French

  • tlx is lmp so that needs to be translated
  • Talkback is Réponse
  • reply-to is Notif
  • veuillez m'en faire part
  • Si je vous ai laissé un message : Veuillez repondre sur votre PdD, tout en me faisant lien par {{Notif|Mathglot}}, afin que je sois notifié.
  • Si vous me laissez un message : Je repondrai sur ma PdD, en faisant lien à votre nom d'utilisateur, afin que vous soyez notifié.
  • Cliquez ici pour me laisser un nouveau message.

Google searches

Search google for site:XX "mental illness" vs "mental disorder", where 'XX' equals: ( au ca com edu eu gov ie in nz org uk us za )

Conditionals and builtins

See Category:Magic word templates

{{#ifexist:{{SUBJECTPAGENAME}}<br> {{BASEPAGENAME}} - deprecated; use PAGENAME<br> {{#ifeq:{{lc:<br> {{fullurl:{{TALKPAGENAME}}<br>

  1. {{fullurl:{{TALKPAGENAME}} abc}} is //en.wikipedia.org/wiki/User_talk:Mathglot/sandbox_abc (eof).
  2. {{fullurl:{{TALKPAGENAME:User:Jimbo}} abc}} is //en.wikipedia.org/wiki/User_talk:Jimbo_abc (eof).
  3. {{PAGENAME}} is Mathglot/sandbox
  4. {{PAGENAME:Wikipedia talk:Pages needing translation into English/Completed pages example}} is Pages needing translation into English/Completed pages example

Cond ifeq

Beginning of cond:

  1. does 1=0? A:else false end of it.
  2. Is this page User:Mathglot/sandbox? A: Yes end.

Cond table row generation

This table contains a row about 'website' conditionally present, depending on name of this page. See

Note:

  • {{FULLPAGENAME}} = User:Mathglot/sandbox
  • {{FULLPAGENAME: User:Mathglot/sandbox}} = User:Mathglot/sandbox
  • {{FULLPAGENAME: User:Mathglot/FOO}} = User:Mathglot/FOO
  • {{#ifeq: {{FULLPAGENAME: User:Mathglot/sandbox}} | {{FULLPAGENAME}}|YES|NO}} = YES.
  • {{#ifeq: {{FULLPAGENAME: User:Mathglot/FOO}} | {{FULLPAGENAME}}|YES|NO}} = NO.
What's new or changed recently
Parameter New or changed param
|deadurl= dropped, in favor of |url-status=. Param dead-url is deprecated and will generate a red CS1 error.
|dead-url=
|url-status= New. Replaces dead-url; list of values has changed. Interacts with archive-url. See url-status.

Can you help verify translations of articles from Klingon

Hello Mathglot,

Would you be able to help evaluate the accuracy of translations of Wikipedia articles from Klingon to English Wikipedia?


This would involve evaluating a translated article on the English Wikipedia by comparing it to the original Klingon article, and marking it "Pass" or "Fail" based on whether the translation faithfully represents the original. Here's the reason for this request:

There are a number of articles on English Wikipedia that were created as machine translations from different languages including Klingon , using the Content Translation tool, sometimes by users with no knowledge of the source language. The config problem that allowed this to happen has since been fixed, but this has left us with a backlog of articles whose accuracy of translation is suspect or unknown, including some articles translated from Klingon. In many cases, other editors have come forward later to copyedit and fix any English grammar or style issues, but that doesn't necessarily mean that the translation is accurate, as factual errors from the original translation may remain. To put it another way: Good English is not the same as good translation.

If you can help out, that would be great. Here's a sample of the articles that need checking:

  1. Worf
  2. Chancellor Gorkon
  3. Lurok
  4. Korek
  5. General Chang

All you have to do, is compare the English article to the Klingon article, and assess them "Pass" or "Fail" (the {{Pass}} and {{Fail}} templates may be useful here). (Naturally, if you feel like fixing an inaccurate translation and then assessing it, that's even better, but it isn't required.) Also please note that we are assessing accuracy not completeness, so if the English article is much shorter that is okay, as long as whatever has been translated so far is factually accurate.

If you can help, please {{

ping}} me here to let me know. You can add your pass/fails above, right next to each link, or you may indicate your results below. Thanks! Mathglot (talk
) 18:22, 6 June 2017 (UTC)

Hide/show

Some hide/show stuff From Expan language :

Foo.

COI boilerplate

Taken from User:Jytdog/Sandbox, and some of his past examples for the intro part. This version of 20171105194953 adapted from User talk:Aditi_Madurai11#November_2017, in turn adapted from User_talk:Dcbennett2 via Jytdog sandbox.

== Conflict of interest in Wikipedia ==

FAQ for organizations
for more information. In particular, we ask that you please:

  • avoid editing or creating articles related to you and your family, friends, school, company, club, or organization, as well as any competing companies' projects or products;
  • instead, you are encouraged to propose changes on the Talk pages of affected article(s) (see the {{request edit}} template);
  • when discussing affected articles, disclose your COI (see WP:DISCLOSE);
  • avoid linking to the Wikipedia article or to the website of your organization in other articles (see WP:SPAM);
  • exercise great caution so that you do not violate Wikipedia's content policies.

In addition, you must disclose your employer, client, and affiliation with respect to any contribution which forms all or part of work for which you receive, or expect to receive, compensation (see WP:PAID).

Please take a few moments to read and review Wikipedia's policies regarding conflicts of interest, especially those pertaining to neutral point of view, sourcing and autobiographies.

Also please note that editing for the purpose of advertising, publicising, or promoting anyone or anything is not permitted. Thank you.

Comments and requests

Wikipedia is a widely-used reference work and managing

disclosure
, and a form of peer review.

Please note that there is no bar to being part of the Wikipedia community if you want to be involved in articles where you have a conflict of interest; there are just some things we ask you to do (and if you are

paid
, some things you must do).

  • outing policy
    ) would you please disclose if you have some connection with XXXXX XXXXXXX, either directly, or indirectly through a third party (e.g. a PR agency or the like)? You can answer however you wish (giving personally identifying information or not), but if there is a connection, please disclose it.
  • Peer review – After you respond, we can discuss the peer review process, if appropriate. Please reply below, to keep the discussion in one place.

Thanks! ~~~~

Blue interwiki links

They're only red when they're on the same wikipedia:

  • [[:cy:Dewi Emrys|Dewi Emrys]] is Dewi Emrys
  • [[:cy:No such article|No such article]] is No such article
  • [https://cy.wikipedia.org/wiki/Dewi_Emrys Dewi_Emrys] is Dewi_Emrys
  • [https://cy.wikipedia.org/wiki/No_such_article No such article] is No such article
  • [https://cy.wikiNOPE.org/wiki/Nope_no_such_article Nope no such article] is Nope no such article

Magic words and parser functions

{{CURRENTMONTH}} = 05, and {{CURRENTMONTHNAME}} = May.

default Outputs r1 if string is c1, r2 if string is c2, etc., otherwise outputs default (if provided).

Season of most of the current month = Spring.


{{subst:CURRENTMONTH}} = 11. Mathglot (talk) 12:05, 21 November 2018 (UTC)

Refn

This generates ref stripmarker in |agency= at position 6 (help):

Lorem ipsum blah blah blah. Now, a refn named foo.[2]

References

  1. ^ An internal ref explaining the agency. This is inside the 'agency' param of a 'cite web' belonging to the refn.
  2. ^ "Languages". Apache HTTP Server. Black Duck Software. Ohloh[1]. Retrieved 3 November 2018. {{cite web}}: ref stripmarker in |agency= at position 6 (help)

Modified trypophobia image

With reference to Talk:Trypophobia#How_about_this_idea?, below is PawelMM's proposal #2, about 1.25 inches wide (or whatever your default <gallery> format is) as a stand-alone image:

V

V

V

V

V

V

V

V

V

V

V

V

V

V

V

V

V

V

Mathglot (talk) 21:51, 4 November 2018 (UTC)

Annotated image

Dalai Lama arriving at Zurich airport in 1973.
Lodi Gyari
image-width=3554 left:-950 top:-520 ht:280 wi:350

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Adipiscing tristique risus nec feugiat in. Et tortor consequat id porta nibh venenatis cras. Lectus mauris ultrices eros in cursus. Consequat semper viverra nam libero justo laoreet sit amet cursus. Libero justo laoreet sit amet cursus sit. Eleifend donec pretium vulputate sapien nec. Libero justo laoreet sit amet cursus sit amet dictum. Ac tortor dignissim convallis aenean et tortor at risus. Malesuada bibendum arcu vitae elementum curabitur vitae nunc sed velit. Eget nunc lobortis mattis aliquam. A condimentum vitae sapien pellentesque habitant morbi tristique senectus. Suspendisse sed nisi lacus sed viverra tellus in hac habitasse.

Cropped Mona Lisa from a 2000 pixel image

But how do you zoom out, as in the Mona Lisa nose? I want to have the same size image, but include Lodi Gyari's image in the center, with a bit more context, a couple more people in the image.

Consectetur purus ut faucibus pulvinar elementum integer enim. Quis imperdiet massa tincidunt nunc pulvinar sapien. Ut pharetra sit amet aliquam id diam maecenas ultricies mi. Ac turpis egestas maecenas pharetra convallis posuere morbi.

Eros donec ac odio tempor. Amet mauris commodo quis imperdiet massa. Tincidunt tortor aliquam nulla facilisi. Habitasse platea dictumst quisque sagittis. Et sollicitudin ac orci phasellus. Faucibus in ornare quam viverra orci sagittis. Elementum nibh tellus molestie nunc. Turpis nunc eget lorem dolor. Adipiscing tristique risus nec feugiat in fermentum posuere. Metus vulputate eu scelerisque felis imperdiet proin. Nisl purus in mollis nunc sed id. Quam adipiscing vitae proin sagittis nisl rhoncus mattis rhoncus. Arcu cursus euismod quis viverra nibh cras pulvinar mattis nunc. Bibendum enim facilisis gravida neque convallis a cras semper auctor.

Lodi Gyari
image-width=3554 left:-950 top:-500 ht:480 wi:650

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Adipiscing tristique risus nec feugiat in. Et tortor consequat id porta nibh venenatis cras. Lectus mauris ultrices eros in cursus. Consequat semper viverra nam libero justo laoreet sit amet cursus. Libero justo laoreet sit amet cursus sit. Eleifend donec pretium vulputate sapien nec. Libero justo laoreet sit amet cursus sit amet dictum. Ac tortor dignissim convallis aenean et tortor at risus. Malesuada bibendum arcu vitae elementum curabitur vitae nunc sed velit. Eget nunc lobortis mattis aliquam. A condimentum vitae sapien pellentesque habitant morbi tristique senectus. Suspendisse sed nisi lacus sed viverra tellus in hac habitasse.

Iaculis eu non diam phasellus vestibulum lorem sed risus ultricies. Mi quis hendrerit dolor magna. Auctor neque vitae tempus quam pellentesque. Condimentum lacinia quis vel eros donec ac. Amet justo donec enim diam vulputate ut. Sagittis aliquam malesuada bibendum arcu vitae elementum curabitur vitae nunc. Neque sodales ut etiam sit. Interdum velit laoreet id donec ultrices tincidunt. Iaculis urna id volutpat lacus laoreet non. Feugiat in ante metus dictum.

Border box

Border box with bgcolor: this is not working because the iPhone is entering slanted double quotes (italic quotes?) i to the style field instead of plain double quotes:

Iaculis eu non diam phasellus vestibulum lorem sed risus ultricies. Mi quis hendrerit dolor magna. Auctor neque vitae tempus quam pellentesque. Condimentum lacinia quis vel eros donec ac. Amet justo donec enim diam vulputate ut. Sagittis aliquam malesuada bibendum arcu vitae elementum curabitur vitae nunc. Neque sodales ut etiam sit. Interdum velit laoreet id donec ultrices tincidunt. Iaculis urna id volutpat lacus laoreet non. Feugiat in ante metus dictum.

That’s all, folks!

But these are standard double quotes coord from an html webpage:

This is a heading

This is a paragraph.

Side-by-side comparisons

Unsigned test

This is a comment added approximately 15:59 on 26 Nov 2018 (PST) (so, 23:59 UTC). — Preceding unsigned comment added by Mathglot (talkcontribs) 23:59, 26 November 2018 (UTC)

The above "unsigned" sig was the result of clicking the {{unsigned}} button added to my text editing window, as a result of my recent common.js edit. Mathglot (talk) 00:02, 27 November 2018 (UTC)

Deaf culture notifications temp section

Special:contributions/1980fast, Special:contributions/Anahdz0717, Special:contributions/Clr324, Special:contributions/Cresix, Special:contributions/Distinguisher, Special:contributions/JoeSmack, Special:contributions/Kira2525, Special:contributions/Librarystudent1983, Special:contributions/Photouploaded, Special:contributions/Qaz, Special:contributions/Ray Foster, Special:contributions/Wavesplashing

Links to wmflabs edits by user:
1980fast, Anahdz0717, Clr324, Cresix, Distinguisher, JoeSmack, Kira2525, Librarystudent1983, Photouploaded, Qaz, Ray Foster, Wavesplashing

Hidden text and {{
As written
}} template

The wikicode editor can see both

Visual editor can only see a Tooltip popup when you mouse over the *contained text* and cannot see hidden text at all, like the hidden Lincoln quote in the middle of this sentence. Mathglot (talk
) 08:04, 23 December 2018 (UTC)

Example of substed:afd-merged-from

Leslie pronouns

Leslie-nom

she

Leslie-acc

her

Leslie-poss

hers

Leslie-Nom

She

Leslie-Acc

Her

Leslie-Poss

Hers

Use: {{trim|{{#section-h:PAGENAME|SECTIONNAME}}}} in the article.