User:Davidgothberg/Krångel
Templates I made
Templates I created or done major reworks of. Some have of course been teamworks. Every now and then people ask "Why so many red links here?" Well, they were not deleted because they were bad, but over time these functions have been implemented in other ways. For instance, many of these functions have now been implemented in the MediaWiki software itself.
2005:
- {{User WikiProject Cryptography}} – The userbox for members of the WikiProject Cryptography.
2006:
- {{Cryptography portal}} – Box that advertises the Cryptography portal.
- {{Crypto navbox}} – The main crypto navbox.
- {{Crypto block}}, {{Crypto stream}}, {{Crypto public-key}}, {{Crypto hash}}, {{Crypto machines}} and {{Crypto classical}} – The specialised crypto navboxes.
{{Participants}} – A rework of {{Participant}}.- {{•}}, {{bull}} and {{bullet}} - For dotted lists. (Used on 146,000 pages, December 2009.)
2007:
- {{nowraplinks}} and {{nowraplinks end}} – Prevents line wrapping in links only. We also added the CSS class "nowraplinks" to common.css. That class is now used in most navigation boxes.
- {{nowrap begin}}, {{nowrap end}}, {{wrap}}, {{·wrap}}, {{·w}}, {{•wrap}}, {{•w}}, {{–wrap}}, {{–w}}, {{!wrap}} and {{!w}} – Prevents wraps in both text and links. For the really tricky wrapping cases when you need full control, for instance in very complex long link lists. (Used on 251,000 pages, December 2009.)
- {{ambox}}, {{ambox/core}}, {{tmbox}}, {{tmbox/core}}, {{imbox}}, {{cmbox}}, {{ombox}}, {{ombox/core}}, {{mbox}}, {{fmbox}} and {{dmbox}} – The meta templates used to create article/talk/image/category/other pages message boxes such as {{wikify}} etc. (Ambox: 723,000 pages, tmbox: 732,000 pages, imbox: 877,000 pages, December 2009.)
{{Template doc page}} – Simplifies template documentation.- {{pp-meta}} – The meta template for the protection message boxes.
2008:
- {{main talk other}}, {{main talk other flex}}, {{main talk category other}}, {{main other}}, {{talk other}}, {{user other}}, {{wikipedia other}}, {{file other}}/{{image other}}, {{template other}}, {{help other}}, {{category other}}, {{portal other}}, {{book other}}, {{namespace detect}}, {{namespace detect showall}} and {{namespace detect see also}} – Helps other templates detect what type of page they are on. (Main other: 909,000 pages, file other/image other: 872,000 pages, namespace detect: 976,000 pages, December 2009.)
- {{notice}} and {{caution}} – Rework and clean-up. Now use the mbox styles.
- {{tlc}}, {{tld}} and {{tlf}} – For template documentation.
- {{px}} – Helps other templates to process image size parameters.
- {{ifempty}} – Helps detect empty parameters and fall back to default values.
- {{protected generic image name}} – Image page description etc for the placeholder images.
- {{high-use}}, {{high-risk}}, {{used in system}} – Can be put at the top of the documentation for any high-use or high-risk template.
- {{example files}} – Explains when to use which example image.
- {{editnotice pagename}}, {{editnotice talkpagename}} – Return the pagename for the editnotice for the current page, and the talkpage name of that editnotice.
2009:
- {{str ≥ len}}, {{str ≤ len}}, {{str ≠ len}}, {{str ≤ ≥ len}}, {{str len}}, {{str len/core}}, {{string templates see also}} – Easy to use string length templates. And most of them are very efficient.
- {{filmography table head}} – For tables made by the Wikipedia:WikiProject Actors and Filmmakers.
- {{number of archives}}, {{number of archives/core}} – Returns how many archive pages a page has.
- {{pgn}}, {{pgn/core}}, {{basepage subpage}}, {{if pagename}}, {{if pagename multi}}, {{pagename detect see also}} – Pagename-detection and manipulation, works in all namespaces. (If pagename: 826,000 pages, December 2009.)
- {{search link}} – Creates a link to the Wikipedia search. I just did some of the work.
- {{cat handler}}, {{cat handler/numbered}}, {{cat handler/blacklist}} – To handle category suppression in other templates. (Used on 826,000 pages, December 2009.)
- {{ifparadef}}, {{ifparadef full}} – To help detect undefined, empty and non-empty parameters. I just did some of the work.
- {{sec link}}, {{sec link auto}}, {{sec link image}}, {{sec link/secure url}}, {{sec link/normal url}}, {{sec link/normal link}}, {{sec link/text}}, {{sec link see also}} – To handle links to the secure server.
- {{script doc auto}}, {{script doc auto/core}}, {{script doc auto/core2}} – The small green doc box on top of .js and .css pages that automatically links to their documentation.
2010:
- {{editnotice load}}, {{editnotice load/core}} – Loads and displays the editnotices. Based on my old {{editnotice loader}}.
- {{test-mode}} – For advanced testing of templates.
- {{skin-file disambig}} – Fall-back system message for the Special:MyPage/skin.css links.
- {{IP-user other}}, {{IP-user other/core}} – Helps other templates detect if they are on an IP-user page.
- {{print version}} – For modifying template appearance when exporting a page to PDF or books.
- MediaWiki:Titleblacklist-custom-print – The system message seen when trying to create or edit /Print subpages.
2011:
- {{check file on delete}}, {{check page on delete}} – Called from the image and page delete system messages. Checks if a page is protected and displays a warning message when an admin tries to delete that page.
User scripts I made
- User:Davidgothberg/clock – Puts an UTC clock in the upper right corner of all pages. And has links to purge the page and to edit section 0.
- User:Davidgothberg/newmessageshistory – Added a "history" link to the old "You have new messages" box. Doesn't work anymore, since now we instead have the excellent alerts and notices buttons on top of page with that function and much more.
My other Wikipedia accounts
I use unified login thus any account on any other Wikipedia or MediaWiki project with the same name usually is me too.
- commons:User:Davidgothberg
- meta:User:Davidgothberg – Recent changes for meta:Wikimedia Sverige.
- mw:User:Davidgothberg
- testwiki:User:Davidgothberg
Below are my alternate accounts here at the English Wikipedia. So far I have only used them for some testing. I can also use them if I need to log in and edit from an insecure public computer or similar. (My main account has its own password, and I only log in to my main account from my computer at home, for security reasons.)
- David Göthberg (talk · contribs) – Proper spelling of my name.
- David gothberg (talk · contribs) – Created by mistake by another user who then gave it to me.
- Bretinnen908 (talk · contribs) – I needed to see what happens when creating a new account so I could update some of the system stuff.
Images I created and uploaded
Some of these pictures have of course been teamworks, some are just minor edits, and some have been reused in printed books.
-
A hash list with a top hash
-
A binary hash tree
-
A typical hash function at work
-
A typical hash function at work
-
A hash table
-
A hash table with a hash collision resolved by chaining
-
A hash table with a hash collision resolved by open addressing (linear probing)
-
The Davies-Meyer hash construct
-
The Matyas-Meyer-Oseas hash construct
-
The Miyaguchi-Preneel hash construct
-
The Merkle-Damgard hash construction
-
The Merkle-Damgard hash construction
-
A big random number is used to make a public-key pair.
-
Anyone can encrypt by using the public key, but only the owner of the private key can decrypt the message.
-
The owner of the private key can sign a message, and anyone can verify the signature by using the public key.
-
By combining your own private key with the other users public key you can calculate a shared secret that only you two know.
-
The SHA1 hash function exhibits good avalanche effect. When a single bit is changed the hash sum becomes totally different.
-
Made as a suggestion for the discussion on Template talk:Navigation bar.
-
A one-way compression function.
-
A typical modern block cipher.
-
Merge/split/transwiki image for the article message boxes. Derived from a Tango project icon, I just made this version with purple colour.
-
Merge/split/transwiki image for the article message boxes. Derived from a Tango project icon, I just made this version with purple colour.
-
Merge/split/transwiki image for the article message boxes.
-
Light blue info icon for the article message boxes. I didn't make this image, I just made this version with new colours.
-
I built this clock by reusing parts from images others had made. And I made it red.
-
A new free "current event" image. A team work, and a combination of some existing images. So I just did a little part.
-
A new free "current event in sports/soccer" image
-
Wikipedia didn't have any decent couple dancing icon, so I brushed up an old image from my dance web master days. (Some non-Wikipedian friends helped me with this one.)
-
A SVG version of the placeholder image File:Image.gif.
-
Delete icon suggestion for the article message boxes.
-
License icon suggestion for the image message boxes. Just a modification of another image, but with proper padding for the {{imbox}} and transparent background.
-
Soft chequered background for transparent images on image pages and galleries like this.
-
Image for the {{documentation subpage}} message box. Derived from a Tango project icon, I just made this version with green colour.
-
Screenshot showing the <tt>, <code>, <pre> and <source> tag bug.