Jump to content

User talk:Kyliotic: Difference between revisions

From Consumer_Action_Taskforce
Latest comment: 3 March by Kostas in topic Json metadata for the extension
m add space
Kyliotic (talk | contribs)
mNo edit summary
Line 19: Line 19:
:There is some conversation on a thred on the on-topic chanell on the discord server as well.   
:There is some conversation on a thred on the on-topic chanell on the discord server as well.   
: [[Consumer_Action_Taskforce:Talk_page_guidelines| The talk page guidelines might help with the captcha issues in the meantime]] [[User:Kostas|Kostas]] ([[User talk:Kostas|talk]]) 21:16, 3 March 2025 (UTC)
: [[Consumer_Action_Taskforce:Talk_page_guidelines| The talk page guidelines might help with the captcha issues in the meantime]] [[User:Kostas|Kostas]] ([[User talk:Kostas|talk]]) 21:16, 3 March 2025 (UTC)
@[[User:Kostas|Kostas]],
Interesting info. I have to manually edit the discussion source in order to reply. Perhaps that also breaks notifications/pings. Cargo might be helpful with metadata read/write, but I have never used it.
:*So far, with simple embedded JSON, my extension can already look up if a website URL has been added to a wiki lookup table/database, and if is, it pulls embedded JSON from the wiki's product/organization articles. I just need to make GUI and then the basic concept is functional.
:*I only glanced at the ClintonCAT GitHub and it seems to actually read/search through all the wiki articles. To me, that seems like overkill. Having machine-readable metadata is so much more efficient and conveniant and sure, maybe Cargo may help with that.
:*But also, in my opinion, the nice thing about having the metadata embedded in the article source is that anyone may edit and fix metadata (once a proper format is established of course). So when someone creates a new article, someone can easily copy/paste a metadata template, edit it, and have the changes update live to the extension.
:*Maybe even some automation to automatically generate extension metadata (likely only possible with a MediaWiki extension)
:*Does Cargo achieve those points? I genuinely  don't  know, but just some things to consider.
[[User:Kyliotic|Kyliotic]] ([[User talk:Kyliotic|talk]]) 01:04, 4 March 2025 (EST)

Revision as of 06:09, 4 March 2025

Json metadata for the extension

Hey, @Kyliotic I noticed you were experimenting with adding metadata to pages for use with the extension. I just wanted to make sure you are aware that the plan is to add either the Semantic mediawiki or Cargo extension to achieve this easily in the future. Kostas (talk) 23:03, 2 March 2025 (UTC)Reply

Btw, a better way to test would probably be to use your own user page in order to not pollute the history of the page. Kostas (talk) 23:28, 2 March 2025 (UTC)Reply

@Kostas, Hopefully, this works. Captcha is so broken. Oh is that so? I was going to keep it simple and just hide JSON data within the article. And then a browser extension can just getElementsByClassName() and retrieve any needed data. Also, your phrasing implies that there already is a browser extension, is that true? Kyliotic (talk) 23:28, 2 March 2025 (UTC)Reply

@Kyliotic For some reason it did not but I saw your comments on the bug report page. That page should probably be moved as the Consumer Action Taskforce namespace is protected as a whole... Though that is the right place for such page.Anyway:
  • Captcha is broken with discussion tools. That is a known bug with the extensions and I am not sure when it will be fixed, hopefully we tune the confirmed/autoconfirmed user process to allow people to skip them as soon as possible.
  • The <br> tags are restricted purspose this has to do with what bots like to use to spam on the wiki. This will likely not change.
On the extension conversation:
  • Hidden fields like you describe is what the cargo extension would basically provide but it would allow querring by field and using SQL syntax.
  • Yes work on the extension has started here https://github.com/WayneKeenan/ClintonCAT coordinating with the devs there would probably be for the best. I am sure they would be open to discussing this.
There is some conversation on a thred on the on-topic chanell on the discord server as well.
The talk page guidelines might help with the captcha issues in the meantime Kostas (talk) 21:16, 3 March 2025 (UTC)Reply

@Kostas, Interesting info. I have to manually edit the discussion source in order to reply. Perhaps that also breaks notifications/pings. Cargo might be helpful with metadata read/write, but I have never used it.

  • So far, with simple embedded JSON, my extension can already look up if a website URL has been added to a wiki lookup table/database, and if is, it pulls embedded JSON from the wiki's product/organization articles. I just need to make GUI and then the basic concept is functional.
  • I only glanced at the ClintonCAT GitHub and it seems to actually read/search through all the wiki articles. To me, that seems like overkill. Having machine-readable metadata is so much more efficient and conveniant and sure, maybe Cargo may help with that.
  • But also, in my opinion, the nice thing about having the metadata embedded in the article source is that anyone may edit and fix metadata (once a proper format is established of course). So when someone creates a new article, someone can easily copy/paste a metadata template, edit it, and have the changes update live to the extension.
  • Maybe even some automation to automatically generate extension metadata (likely only possible with a MediaWiki extension)
  • Does Cargo achieve those points? I genuinely don't know, but just some things to consider.

Kyliotic (talk) 01:04, 4 March 2025 (EST)