Talk:@strongbadnofoolin.bsky.social

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Validation?: as always, I'm late to the game.)
(template has been updated ; add detailed development documentation for future reference)
Line 1: Line 1:
-
== Validation? ==
+
== Template Update ==
I meant to ask this last night but I somehow fell asleep before I could:
I meant to ask this last night but I somehow fell asleep before I could:
Line 9: Line 9:
P.S. If it is valid I can then update the {{t|post}} template to support Bluesky. --[[User:Stux|Stux]] 14:12, 8 December 2024 (UTC)
P.S. If it is valid I can then update the {{t|post}} template to support Bluesky. --[[User:Stux|Stux]] 14:12, 8 December 2024 (UTC)
:Okay, I read [http://hrwiki.org/w/index.php?title=@StrongBadNoFoolin.bsky.social&diff=835744&oldid=835740&rcid=798805 this edit] and see where the evidence is coming from!  I will update the template shortly. --[[User:Stux|Stux]] 14:15, 8 December 2024 (UTC)
:Okay, I read [http://hrwiki.org/w/index.php?title=@StrongBadNoFoolin.bsky.social&diff=835744&oldid=835740&rcid=798805 this edit] and see where the evidence is coming from!  I will update the template shortly. --[[User:Stux|Stux]] 14:15, 8 December 2024 (UTC)
 +
 +
Template updates are complete.  For future reference (should the list ever increase) here is a list of all the changes I made and which ones are relevant for future updates:
 +
* The first changes I made were to the {{t|post-getType}} template which maps a variety of "friendly" inputs into a specific set of "standard" post type names.
 +
** {{pl|l=http://hrwiki.org/w/index.php?title=Template:post-getType&diff=835754&oldid=823643&rcid=798816 This edit}} added the new type along with some "friendly synomyms".
 +
** I also forgot to update the template's documentation which I did in {{pl|l=http://hrwiki.org/w/index.php?title=Template:post-getType&diff=835756&oldid=835754&rcid=798818 this edit}}.
 +
** Please note that these changes cannot be tested in the sandbox so I had to make doubly sure my changes were innocuous prior to saving.  Immediately after making the change I edited the [[User:Stux/post-sandbox]] page to make sure nothing broke.  This also applies to the {{t|post-getTypeName}} template.
 +
* Then I updated the {{t|post-getTypeName}} template which basically maps the "standard" post type names into the appropriate nomenclature for a post (e.g. A Twitter or @ronginald '''Tweet''' or an Intagram or Bluesky '''post'''.)
 +
** {{pl|l=http://hrwiki.org/w/index.php?title=Template:post-getTypeName&diff=835755&oldid=823284&rcid=798817 This edit}} updated both the functionality and documentation.  The documentation was {{pl|l=http://hrwiki.org/w/index.php?title=Template:post-getTypeName&diff=835759&oldid=835755&rcid=798821 tweaked here}}.
 +
* {{t|post-setTypeOverride}} {{--}}
 +
** At first I {{pl|l=http://hrwiki.org/w/index.php?title=Template:post-setTypeOverride&diff=835757&oldid=823286&rcid=798819 updated the documentation}} to include the new post type.
 +
** But then I {{pl|l=http://hrwiki.org/w/index.php?title=Template:post-setTypeOverride&diff=835758&oldid=835757&rcid=798820 changed it to reference}} the {{t|post-getType}} template documentation instead.
 +
** ''There is no longer any need to update this template in the future.''
 +
* Finally we can now update the {{t|post}} template:
 +
** But before we can do that, we should test the new changes in the sandbox.
 +
** My sandbox template page ([[User:Stux/post-devel]]) is open for anyone to edit when making potential changes to {{t|post}}.  This page is a copy of the {{t|post}} template that is transcluded in the demo sandbox.
 +
** That said, I keep that page synchronized with the contents of {{t|post}} and any changes that had to be backed out and kept in draft are commented out! 
 +
** Please also note that there is code in both pages that ensures categories are only added to {{t|post}}.  This means that the contents of [[User:Stux/post-devel]] can be copied to {{t|post}} without modification!
 +
** {{pl|l=http://hrwiki.org/w/index.php?title=User:Stux/post-devel&diff=835760&oldid=831606&rcid=798822 Here are the changes}} I made to the sandbox.
 +
** The main changes to keep in mind are the first two: the first adds "auto-header" functionality (a functionality which is now considered deprecated, but kept so page history remains in working order, so, in hindsight, there was no need to make that change.)  This is the main item that follows the "Twitter" model.
 +
** The next, and arguably most important change is formatting of the post link.  Since there is no iterwiki link available at the time of writing, the template uses the {{t|plainlinks}} template.
 +
** The extra documentation at the end serves as a reminder that the post link templates also need updating.
 +
** But before all that, the [[User:Stux/post-sandbox]] page was {{pl|l=http://hrwiki.org/w/index.php?title=User:Stux/post-sandbox&diff=835761&oldid=831604&rcid=798823 updated here}} with an actual post in order to verify that a. all other post functionality works as before and b. the updated post functionality works as expected.
 +
** Finally, once I confirmed that everything is working {{pl|l=http://hrwiki.org/w/index.php?title=Template:post&diff=835762&oldid=831608&rcid=798824 I updated}} the {{t|post}} template proper in order to make the changes live!
 +
* Once all that was ready I switched to the {{t|post}} template in the [[@StrongBadNoFoolin.bsky.social]] page {{pl|l=http://hrwiki.org/w/index.php?title=@StrongBadNoFoolin.bsky.social&diff=835763&oldid=835744&rcid=798825 here}}.
 +
** It is important to note that if Bluesky is meant to replace Twitter, we'll have to split posts by year and month going forward.  I left things as-is due to lack of information.
 +
* Now, in order to facilitate linking to Bluesky posts, we also need to update the {{t|prs}} and {{t|postref}} templates, in that order.
 +
** {{pl|l=http://hrwiki.org/w/index.php?title=Template:prs&diff=835764&oldid=823579&rcid=798826 Here is}} the {{t|prs}} update. 
 +
** This change updated both the template functionality and also added an example.  (The example is used to verify everything is working, although in this older verison of Mediawiki, the template changes aren't visible until after the template is updated.)  Please be sure to purge the template after saving in order to confirm that the changes worked as expected.  Be sure to verify that all post links are working as expected, not just the new link.
 +
** '''Important:''' since there is only a single post at the time of writing, this page links directly to the [[@StrongBadNoFoolin.bsky.social]] page when linking to posts.  In the future, if Bluesky replaces Twitter, we'll need to split posts by year and/or month.  This template will have to be updated to point to the correct page by following the Tweet model.
 +
** The {{t|postref}} page was also updated {{pl|l=http://hrwiki.org/w/index.php?title=Template:postref&diff=835765&oldid=835583&rcid=798827 here}}.
 +
** This updated both the functionality and documentation.
 +
** Since this template relies on {{t|prs}} for linking straight to individual posts, no special consideration needs to be taken here and the changes are fairly straightforward.
 +
** Please note that the page will also need to be purged after saving in order confirm that the changes worked as expected.  As with {{t|prs}}, please be sure to verify that all post links are working as expected and not just the new links.
 +
 +
That concludes my overview of the changes made to the {{t|post}} templates in order to support a new post type.  While I don't foresee new social networks popping up in the H*R landscape any time soon, it doesn't hurt to have this documentation ready.  It should also help serve as a maintenance guide of sorts for any future development of these templates. --[[User:Stux|Stux]] 16:13, 8 December 2024 (UTC)

Revision as of 16:13, 8 December 2024

Template Update

I meant to ask this last night but I somehow fell asleep before I could:

  • Is there any evidence validating that this is H*R's official Bluesky account?
  • The account itself doesn't seem to have any indicators linking it back to the H*R website.
  • At first glance I didn't see any evidence on the website pointing to that Bluesky account. But I didn't delve very deep nor turn on Javascript for Ruffle.

Is it found in the contact page and I'm just missing out? --Stux 14:12, 8 December 2024 (UTC)

P.S. If it is valid I can then update the {{post}} template to support Bluesky. --Stux 14:12, 8 December 2024 (UTC)

Okay, I read this edit and see where the evidence is coming from! I will update the template shortly. --Stux 14:15, 8 December 2024 (UTC)

Template updates are complete. For future reference (should the list ever increase) here is a list of all the changes I made and which ones are relevant for future updates:

  • The first changes I made were to the {{post-getType}} template which maps a variety of "friendly" inputs into a specific set of "standard" post type names.
    • This edit added the new type along with some "friendly synomyms".
    • I also forgot to update the template's documentation which I did in this edit.
    • Please note that these changes cannot be tested in the sandbox so I had to make doubly sure my changes were innocuous prior to saving. Immediately after making the change I edited the User:Stux/post-sandbox page to make sure nothing broke. This also applies to the {{post-getTypeName}} template.
  • Then I updated the {{post-getTypeName}} template which basically maps the "standard" post type names into the appropriate nomenclature for a post (e.g. A Twitter or @ronginald Tweet or an Intagram or Bluesky post.)
  • {{post-setTypeOverride}} —
  • Finally we can now update the {{post}} template:
    • But before we can do that, we should test the new changes in the sandbox.
    • My sandbox template page (User:Stux/post-devel) is open for anyone to edit when making potential changes to {{post}}. This page is a copy of the {{post}} template that is transcluded in the demo sandbox.
    • That said, I keep that page synchronized with the contents of {{post}} and any changes that had to be backed out and kept in draft are commented out!
    • Please also note that there is code in both pages that ensures categories are only added to {{post}}. This means that the contents of User:Stux/post-devel can be copied to {{post}} without modification!
    • Here are the changes I made to the sandbox.
    • The main changes to keep in mind are the first two: the first adds "auto-header" functionality (a functionality which is now considered deprecated, but kept so page history remains in working order, so, in hindsight, there was no need to make that change.) This is the main item that follows the "Twitter" model.
    • The next, and arguably most important change is formatting of the post link. Since there is no iterwiki link available at the time of writing, the template uses the {{plainlinks}} template.
    • The extra documentation at the end serves as a reminder that the post link templates also need updating.
    • But before all that, the User:Stux/post-sandbox page was updated here with an actual post in order to verify that a. all other post functionality works as before and b. the updated post functionality works as expected.
    • Finally, once I confirmed that everything is working I updated the {{post}} template proper in order to make the changes live!
  • Once all that was ready I switched to the {{post}} template in the @StrongBadNoFoolin.bsky.social page here.
    • It is important to note that if Bluesky is meant to replace Twitter, we'll have to split posts by year and month going forward. I left things as-is due to lack of information.
  • Now, in order to facilitate linking to Bluesky posts, we also need to update the {{prs}} and {{postref}} templates, in that order.
    • Here is the {{prs}} update.
    • This change updated both the template functionality and also added an example. (The example is used to verify everything is working, although in this older verison of Mediawiki, the template changes aren't visible until after the template is updated.) Please be sure to purge the template after saving in order to confirm that the changes worked as expected. Be sure to verify that all post links are working as expected, not just the new link.
    • Important: since there is only a single post at the time of writing, this page links directly to the @StrongBadNoFoolin.bsky.social page when linking to posts. In the future, if Bluesky replaces Twitter, we'll need to split posts by year and/or month. This template will have to be updated to point to the correct page by following the Tweet model.
    • The {{postref}} page was also updated here.
    • This updated both the functionality and documentation.
    • Since this template relies on {{prs}} for linking straight to individual posts, no special consideration needs to be taken here and the changes are fairly straightforward.
    • Please note that the page will also need to be purged after saving in order confirm that the changes worked as expected. As with {{prs}}, please be sure to verify that all post links are working as expected and not just the new links.

That concludes my overview of the changes made to the {{post}} templates in order to support a new post type. While I don't foresee new social networks popping up in the H*R landscape any time soon, it doesn't hurt to have this documentation ready. It should also help serve as a maintenance guide of sorts for any future development of these templates. --Stux 16:13, 8 December 2024 (UTC)

Personal tools