User talk:OOeyes

From Hearthstone Wiki
Jump to: navigation, search

Database error[edit source]

A problem has occured on Triggered effect page. Whenever I try to open this page it says: "A database query error has occured. This may indicate a bug in the software." Beneath it writes the error code: "[7be62ebdc0295c37ca3bbd2e] 2018-08-27 11:19:46: Fatal exception of type "Wikimedia\Rdbms\DBQueryError". River235 (talk) 11:25, 27 August 2018 (UTC)

Should be working now. oOeyes User-OOeyes-Sig.png 02:59, 28 August 2018 (UTC)

Table conversions[edit source]

Just noting here that the converted table templates are {{Custom spell card table}}, {{Custom weapon card table}}, and {{Custom minion card table}}. Some uses of {{List cards}} may be affected as well. oOeyes User-OOeyes-Sig.png 04:24, 22 May 2018 (UTC)

{{Custom card table}} is now converted to use Cargo. This is the most widely used table template, I believe, so any problems are most likely to show up now. oOeyes User-OOeyes-Sig.png 08:04, 31 May 2018 (UTC)

Art page problems[edit source]

Everything on this page is broken. Yeti art Whatisacore (talk) 01:12, 16 June 2018 (UTC)

So are these pages: Virmen art, Uncategorized art, Tuskarr, Trogg, Pandaren art, Quilboar art, Saurok art, Tol'vir art, Tortollan, Naga art, Ogre, Old God, Jinyu art, Kobold art, Kvaldir, Mogu art, Dwarf, Ethereal art, Gnome, Goblin, Harpy art, Hozen art, Arakkoa art, Draenei. Many other pages don't show query errors but instead are missing the tables altogether and are pretty much empty where there should be content. Whatisacore (talk) 01:20, 16 June 2018 (UTC)
{{List card art}} needed a workaround set up. I had known one of these templates was going to need it, but I had forgotten which one. Should be good when the pages catch up to the changes. oOeyes User-OOeyes-Sig.png 19:45, 16 June 2018 (UTC)

Card pages[edit source]

Issue with the possible cards toki, time tinker can target. The card tables of the Naxxramas card list are incorrect. Adventure bosses, boss cards, and boss hero powers all appear in the list of collectible cards. I do not know if other card list pages are affected as well. -- BigHugger (talk) 08:36, 17 June 2018 (UTC)

There were two different mistakes to correct. The first was that I neglected to make Category:Card data default in the queries like it was before, which is now done. The second is that I didn't make a corresponding column to Property:Is of regular card type. Fixing that would require me to regenerate the Cards table and break everything for a while, so I instead changed the logic for setting the collectible flag in a way I think will return the same results as before, but I'm not 100% sure it will in every case. oOeyes User-OOeyes-Sig.png 20:39, 17 June 2018 (UTC)

Tables on Matthew Mercer's page are broken[edit source]

On the page "Matthew Mercer" (I can't link it because I'm a new user) the table "Template:List cards/Voice" under the header "Matthew Mercer" is broken, and so is "Template:Wp" under External Links.

173.75.32.189 06:33, 2 July 2018 (UTC)

Card Infobox[edit source]

Appears to be majorly broken at the moment, not sure who else to notify really, but I'd consider this an emergency situation, as multiple card pages aren't readable, and every one is displaying the unspecified datapage error. --Bannanawaffles (talk) 17:12, 14 July 2018 (UTC)

I think I've fixed the problem, but a bot run is needed to force everything to update. Probably won't know for sure until it's done. oOeyes User-OOeyes-Sig.png 23:52, 14 July 2018 (UTC)
Looks like things are good now. oOeyes User-OOeyes-Sig.png 07:27, 16 July 2018 (UTC)
Some cards still need null refreshes, but yes it seems all fixed now. Aegonostic (talk) 17:01, 16 July 2018 (UTC)

Card counts not working[edit source]

{{Custom card count}} seems to be malfunctioning.

The card counts from {{Custom card count}} are different from the real card counts. The real card counts can be found in Card set#List.

I tried seeing why the Hall of Fame cards were showing up as "10" instead of "13", but it seems all the cards appear to be correctly classified as being in the "Hall of Fame" set. I think that the template showed Hall of Fame having the correct number of cards back some months ago.

Only Blackrock Mountain gives the correct card count, surprisingly.

Standard
Wild

Aegonostic (talk) 16:58, 16 July 2018 (UTC)

It was still using the Semantic MediaWiki data, and that seemed to be at least partially hosed after Friday's conversion work. I've converted it to Cargo... and there are still small errors. I doubt that's Custom card count; it's probably cache-related or actual errors in the data somehow. I have the bot running again in case it's caching. That takes a while these days, so I'll check back tonight to see if the bot run resolves them. oOeyes User-OOeyes-Sig.png 10:19, 17 July 2018 (UTC)
Okay, I went through Knights of the Frozen Throne card by card. The missing one appeared to be only the result of an ambiguous card infobox usage. Found some rarity errors too, though that doesn't affect the count. I don't have the time to do this with every card set showing an incorrect count, but I think it's a safe bet the remaining problems are in the actual data. oOeyes User-OOeyes-Sig.png 05:54, 18 July 2018 (UTC)
Oh, also, Boomsday needs |category=Upcoming added on to show any count: 5 oOeyes User-OOeyes-Sig.png 05:56, 18 July 2018 (UTC)

Broken templates in page "Triggered effect"[edit source]

The page "Triggered effect" has a ton of {{cards|query= ... }} templates that are broken. Most of them are querying for hidden tags. Some of them are querying for normal tags. Aegonostic (talk) 10:46, 19 July 2018 (UTC)

Yeah, query is obsolete now. That sent its value to Semantic MediaWiki directly, but Cargo is doing the heavy lifting now, and Cargo doesn't grok SMW syntax. There's a new where parameter to send a custom where clause to Cargo, but the syntax is very different and certain queries need an ugly workaround. The good news is that it's possible to use "or" logic now in tag, hiddentag, ability, set and other list parameters I may be forgetting, so hopefully the need for where will be much rarer. The ugly {{!}}{{!}} functions as "or" in these cases. oOeyes User-OOeyes-Sig.png 16:21, 21 July 2018 (UTC)
(Oh, and yeah, hiddentag needed a minor fix.) oOeyes User-OOeyes-Sig.png 16:32, 21 July 2018 (UTC)

More broken templates (don't know how to fix)[edit source]

More broken templates here: Target#Cards_with_targeted_effects. Aegonostic (talk) 19:50, 20 July 2018 (UTC)

This page is leaking HTML code: Passive. Aegonostic (talk) 15:57, 21 July 2018 (UTC)
Never mind, a null refresh solved it. Aegonostic (talk) 15:59, 21 July 2018 (UTC)
Yeah, that's an intermittent Cargo bug that I'm really hoping the dev will get around to fixing. A refresh/purge should fix it every time. (Oddly enough, null edits don't always fix it.) oOeyes User-OOeyes-Sig.png 16:14, 21 July 2018 (UTC)

Fast way to query all hiddentags?[edit source]

Question: is there a fast way to query all of the hiddentags used by cards on this wiki? I want to build a list of hidden tags and add them to the page Tag. Thanks! Aegonostic (talk) 15:55, 21 July 2018 (UTC)

{{#cargo_query:
   tables=Cards
  |fields=Cards.hiddentags
  |where=Cards.hiddentags__full IS NOT NULL
  |group by=Cards.hiddentags
  |limit=5000
  |format=ul
}}

At least this is one thing Cargo makes relatively easy. If you want it displayed differently, you can change the format: Here's the documentation on that.. oOeyes User-OOeyes-Sig.png 16:30, 21 July 2018 (UTC)

Also, is it safe to assume that Semantic search will be deprecated and no longer function? Aka: Special:Ask. Is there going to be a similar interface for Cargo? Also, is Special:PageProperty still going to work? Aegonostic (talk) 16:37, 21 July 2018 (UTC)
Yeah, I'm not even sure the data in SMW is good right now, and those features will likely be removed soon. Special:ViewData is roughly the equivalent of Special:Ask, though it's a bit more complicated is some cases since querying by category requires using the join clause to hook the Cards and _pageData tables together. (In most other cases, you should be able to work with just Cards.) For more details, this is the documentation on querying. Also, Cargo queries are really just SQL SELECT statements with some syntax tweaks to make it a wiki parser function, so this documentation can also be useful. oOeyes User-OOeyes-Sig.png 16:57, 21 July 2018 (UTC)
I want to delete a tag from all its pages, but when I query for cards that have the tag "Card-related", this is giving back no results, even though "Card-related" is listed in the Cargo query for normal tags:
{{Cards|tag=Card-related}}
{{#cargo_query:
   tables=Cards
  |fields=Cards.tags
  |where=Cards.tags__full IS NOT NULL
  |group by=Cards.tags
  |limit=5000
  |format=ul
}}
Why does a tag exist if no pages use the tag? Aegonostic (talk) 17:43, 21 July 2018 (UTC)
Also, why does this query result in an error?
{{Cards|tag=Class-related}}
Aegonostic (talk) 17:48, 21 July 2018 (UTC)
{{Cards|category=All|tag=Card-related}}
The offender here is outside the default Card data category. Not sure on the Class-related... I'll investigate and see what's going on. oOeyes User-OOeyes-Sig.png 17:54, 21 July 2018 (UTC)
sighs. Cargo bug. That may be my ugliest workaround ever, but it works. oOeyes User-OOeyes-Sig.png 18:44, 21 July 2018 (UTC)

More card querying questions[edit source]

Why does querying for this hiddentag not work anymore? It was working an hour ago.

{{Cards|hiddentag=Refresh Hero Power}}
{{Cards|category=All|hiddentag=Refresh Hero Power}}


Aegonostic (talk) 19:05, 21 July 2018 (UTC)

Guess the workaround wasn't hideous enough to cope with spaces. -_- oOeyes User-OOeyes-Sig.png 19:37, 21 July 2018 (UTC)
Magnifico! *Applause* Aegonostic (talk) 19:40, 21 July 2018 (UTC)

Err, why doesn't this work? Ex: Amara, Warden of Hope is tagged as Quest-generated. Never mind, I messed up on the query, using "hiddentag" instead of "tag".

{{Cards|tag=Quest-generated}}
{{Cards|category=All|tag=Quest-generated}}


Aegonostic (talk) 19:49, 21 July 2018 (UTC)

"Template:List cards/Wild" different from "Template:List cards|format=Wild"[edit source]

Can you help fix these two templates to be equal?

Things to look out for:

Aegonostic (talk) 07:21, 25 July 2018 (UTC)

Cards with Stealth 1[edit source]

Cards with Stealth 2[edit source]

Wild format[edit source]

{{wild-section}}

The reply[edit source]

Looking over things again, format is designed to take standard or wild-only. wild just actually includes everything. I forgot that little detail updating things last week. List cards/Wild seems to differ only by using wild-only.
{{List cards|format=wild-only|ability=Stealth}}
I'm not sure if it should be kept that way or not. oOeyes User-OOeyes-Sig.png 10:50, 25 July 2018 (UTC)
Ok that makes sense now, I will just use {{List cards|format=wild-only|ability=Stealth}} to list Wild-only cards, which is what I was aiming for. Can you delete and recreate Fadeleaf Toxin perchance, I think I messed the page up, it is stuck being non-Wild format, like last time that happened with other cards. Aegonostic (talk) 18:51, 25 July 2018 (UTC)
Done. oOeyes User-OOeyes-Sig.png 00:02, 26 July 2018 (UTC)

Emergency: "Template:Card" died[edit source]

{{Card}} died. Example: The Boomsday Project Aegonostic (talk) 05:38, 26 July 2018 (UTC)

...yeah, I had a bad feeling I was forgetting something. It should be working now. oOeyes User-OOeyes-Sig.png 11:01, 26 July 2018 (UTC)
Still an emergency, the cards are not clickable and they don't show their enlarged popup form when hovered over. Examples: GVG, The Boomsday Project Aegonostic (talk) 06:44, 27 July 2018 (UTC)
Presumably related to this, the Eureka! card displays two copies of itself whenever it is displayed using {{Card}}. --DeludedTroll (talk) 12:58, 27 July 2018 (UTC)
Both issues should be fixed now. oOeyes User-OOeyes-Sig.png 15:04, 27 July 2018 (UTC)
Thanks! --DeludedTroll (talk) 15:07, 27 July 2018 (UTC)

A Brawl of Fire and Ice has broken tables and card images[edit source]

Not sure if related to the "Semantic MediaWiki emptying out", but this seems like the best place to report.

It doesn't look like pages for these cards were ever created, so it wouldn't be related. Looks like they were never in any of the data sets to begin with. oOeyes User-OOeyes-Sig.png 19:44, 28 July 2018 (UTC)

Cargo queries on this page needs fixing[edit source]

Just a couple templates, needs fixing: Minion/Wild_format#Battlefield-related. Aegonostic (talk) 08:36, 29 July 2018 (UTC)

Also this page: Secret. Aegonostic (talk) 17:18, 2 August 2018 (UTC)

HTML raw source code leaks[edit source]

Also, I want to push for a resolution to the HTML source code leaks, just wanting to make sure that it's on a TODO list somewhere. Thanks. Aegonostic (talk) 18:06, 2 August 2018 (UTC)

It's been reported to the developer. I believe there's a ticket in our system for it as well. oOeyes User-OOeyes-Sig.png 01:45, 3 August 2018 (UTC)

Admin site notice for "Purge Cache" option?[edit source]

The "Purge Cache" option seems to work everytime to fix the HTML leaks for a page that has HTML source code leaking from it. Maybe a site-wide notice should be put up to let users know about purging the cache for pages to fix their problems? Just a suggestion. Aegonostic (talk) 23:23, 7 August 2018 (UTC)

Seems a good enough idea for now. It also sounds like there's a workaround for this by performing the queries through Extension:Scribunto. I've been swamped the last couple weeks, but I'm hoping I can squeeze in setting this up and testing it sometime next week. oOeyes User-OOeyes-Sig.png 05:24, 9 August 2018 (UTC)