New BBCode

Why we're here. Our rules. How to contact us. Forum information.
User avatar
Zoloft
Trustee
Posts: 14107
kołdry
Joined: Wed Mar 14, 2012 11:54 pm
Wikipedia User: Stanistani
Wikipedia Review Member: Zoloft
Actual Name: William Burns
Nom de plume: William Burns
Location: San Diego

New BBCode

Unread post by Zoloft » Thu Feb 02, 2023 12:08 am

Trying new Youtube display BBCode.

Got tired of the old code not working anymore.

Let me know if you see any issues.

My avatar is sometimes indicative of my mood:
  • Actual mug ◄
  • Uncle Cornpone
  • Zoloft bouncy pill-thing


User avatar
Zoloft
Trustee
Posts: 14107
Joined: Wed Mar 14, 2012 11:54 pm
Wikipedia User: Stanistani
Wikipedia Review Member: Zoloft
Actual Name: William Burns
Nom de plume: William Burns
Location: San Diego

New BBCode

Unread post by Zoloft » Thu Feb 02, 2023 1:15 am



Also MP4 code because why the heck not?

My avatar is sometimes indicative of my mood:
  • Actual mug ◄
  • Uncle Cornpone
  • Zoloft bouncy pill-thing


User avatar
Vigilant
Sonny, I've got a whole theme park full of red delights for you.
Posts: 31852
Joined: Thu Mar 29, 2012 8:16 pm
Wikipedia User: Vigilant
Wikipedia Review Member: Vigilant

Re: New BBCode

Unread post by Vigilant » Thu Feb 02, 2023 3:21 am

Works for me!

I did wonder how you got video of WP:ANI though...
Hello, John. John, hello. You're the one soul I would come up here to collect myself.

User avatar
Zoloft
Trustee
Posts: 14107
Joined: Wed Mar 14, 2012 11:54 pm
Wikipedia User: Stanistani
Wikipedia Review Member: Zoloft
Actual Name: William Burns
Nom de plume: William Burns
Location: San Diego

Re: New BBCode

Unread post by Zoloft » Thu Feb 02, 2023 3:39 am

Fixed box BBCode, cleaned up 'Post Reply' box by taking off (but not deleting) seldom used codes.

If you're missing your favorite, let me know.

My avatar is sometimes indicative of my mood:
  • Actual mug ◄
  • Uncle Cornpone
  • Zoloft bouncy pill-thing


User avatar
Midsize Jake
Site Admin
Posts: 9969
Joined: Mon Mar 19, 2012 11:10 pm
Wikipedia Review Member: Somey

Re: New BBCode

Unread post by Midsize Jake » Thu Feb 02, 2023 6:48 am

Zoloft wrote:
Thu Feb 02, 2023 3:39 am
Fixed box BBCode, cleaned up 'Post Reply' box by taking off (but not deleting) seldom used codes. If you're missing your favorite, let me know.
Were you just bored, or has this been bothering you for a while? :dubious:

Admittedly, I haven't been following the phpBB forums much lately, so it's fair to say I've been a lazy sod who should have been doing things like this all along. Anyway, nice job! Thanks!

User avatar
Zoloft
Trustee
Posts: 14107
Joined: Wed Mar 14, 2012 11:54 pm
Wikipedia User: Stanistani
Wikipedia Review Member: Zoloft
Actual Name: William Burns
Nom de plume: William Burns
Location: San Diego

Re: New BBCode

Unread post by Zoloft » Thu Feb 02, 2023 7:23 am

Midsize Jake wrote:
Thu Feb 02, 2023 6:48 am
Zoloft wrote:
Thu Feb 02, 2023 3:39 am
Fixed box BBCode, cleaned up 'Post Reply' box by taking off (but not deleting) seldom used codes. If you're missing your favorite, let me know.
Were you just bored, or has this been bothering you for a while? :dubious:

Admittedly, I haven't been following the phpBB forums much lately, so it's fair to say I've been a lazy sod who should have been doing things like this all along. Anyway, nice job! Thanks!
Not having functional Youtube embedding has bothered me for months. The server we have now doesn't chug so much when tasked as the previous incarnation did, so I figured removing the 'hide' part of the Youtube embed was now feasible, and then found better code for the 'view' part.

Besides, one person can't do EVERYTHING.

My avatar is sometimes indicative of my mood:
  • Actual mug ◄
  • Uncle Cornpone
  • Zoloft bouncy pill-thing


User avatar
Bezdomni
Habitué
Posts: 2967
Joined: Wed Dec 28, 2016 9:07 pm
Wikipedia User: RosasHills
Location: Monster Vainglory ON (.. party HQ ..)

Re: New BBCode

Unread post by Bezdomni » Thu Apr 18, 2024 9:11 pm

I have a vague memory about being delighted when I learned that someone had created a code to link to non-English wikipedias with the WPARTICLE tag, but I can't find the post... Maybe I was dreaming that ChatGPT posted a hallucination?
los auberginos

User avatar
rnu
Habitué
Posts: 2528
Joined: Sat Jul 01, 2023 6:00 pm

Re: New BBCode

Unread post by rnu » Thu Apr 18, 2024 9:29 pm

Bezdomni wrote:
Thu Apr 18, 2024 9:11 pm
I have a vague memory about being delighted when I learned that someone had created a code to link to non-English wikipedias with the WPARTICLE tag, but I can't find the post... Maybe I was dreaming that ChatGPT posted a hallucination?
You can just use
":prefix:article name" inside of WPARTICLE.
E.g.
:de:Halluzination (T-H-L)
:simple:Hallucination (T-H-L)
:fr:Hallucination (T-H-L)
Or were you looking for something else?
"ἄνθρωπον ζητῶ" (Diogenes of Sinope)

User avatar
Bezdomni
Habitué
Posts: 2967
Joined: Wed Dec 28, 2016 9:07 pm
Wikipedia User: RosasHills
Location: Monster Vainglory ON (.. party HQ ..)

Re: New BBCode

Unread post by Bezdomni » Thu Apr 18, 2024 9:36 pm

Ah, that's easy to remember! Cheers.
los auberginos

User avatar
Midsize Jake
Site Admin
Posts: 9969
Joined: Mon Mar 19, 2012 11:10 pm
Wikipedia Review Member: Somey

Re: New BBCode

Unread post by Midsize Jake » Thu Apr 18, 2024 9:39 pm

Bezdomni wrote:
Thu Apr 18, 2024 9:11 pm
I have a vague memory about being delighted when I learned that someone had created a code to link to non-English wikipedias with the WPARTICLE tag, but I can't find the post... Maybe I was dreaming that ChatGPT posted a hallucination?
That was me, but it was for users, not articles — the tag is【neluser="lc"】 (where "lc" is the two-letter language code/subdomain) instead of "wpuser." So, for the German user/Benutzer Heidi-O:

Heidi-O (T-C-L)

I guess we could do one for articles too, but it's not like anyone has actually used this one, so... :unsure:

User avatar
Bezdomni
Habitué
Posts: 2967
Joined: Wed Dec 28, 2016 9:07 pm
Wikipedia User: RosasHills
Location: Monster Vainglory ON (.. party HQ ..)

Re: New BBCode

Unread post by Bezdomni » Thu Apr 18, 2024 10:06 pm

That's great, I appreciate you posting it here. I imagine user links are so much more complicated because of the language difference in the prefix User: / Benutzer: / Lankide: etc.: Is there a two-letter prefix for commons? (a link to the Bouncer could occasionally be useful.)

For WPARTICLE, Rnu's solution is perfect.
los auberginos

User avatar
rnu
Habitué
Posts: 2528
Joined: Sat Jul 01, 2023 6:00 pm

Re: New BBCode

Unread post by rnu » Thu Apr 18, 2024 10:11 pm

Bezdomni wrote:
Thu Apr 18, 2024 10:06 pm
That's great, I appreciate you posting it here. User links are so much more complicated because of the language difference in the prefix User: / Benutzer: / Lankide: etc.: Is there a two-letter prefix for commons? (a link to the Bouncer could occasionally be useful.)

For WPARTICLE, Rnu's solution is perfect.
Bouncer (T-C-L)
or for the global account information
:commons:Special:CentralAuth/Bouncer (T-H-L)
or for the same information on en.wiki
Special:CentralAuth/Bouncer (T-H-L)
"ἄνθρωπον ζητῶ" (Diogenes of Sinope)

User avatar
Bezdomni
Habitué
Posts: 2967
Joined: Wed Dec 28, 2016 9:07 pm
Wikipedia User: RosasHills
Location: Monster Vainglory ON (.. party HQ ..)

Re: New BBCode

Unread post by Bezdomni » Thu Apr 18, 2024 10:18 pm

Thanks yet again! This thread will be useful if I can just remember which keywords to search for to pull up global contributions and foreign language links.

Maybe "video of WP:ANI" ^_^
los auberginos

User avatar
Midsize Jake
Site Admin
Posts: 9969
Joined: Mon Mar 19, 2012 11:10 pm
Wikipedia Review Member: Somey

Re: New BBCode

Unread post by Midsize Jake » Fri Apr 19, 2024 4:33 am

Bezdomni wrote:
Thu Apr 18, 2024 10:06 pm
Is there a two-letter prefix for commons?
I didn't even think about this (it's been a while), but 【neluser="commons"】and【neluser="simple"】both work too, it doesn't have to be just two letters. (Mr. Rnu's method might be easier though, in many if not most cases.)

Here's Mr. Corbett on Commons:

Malleus Fatuarum (T-C-L)

:)