User talk:SBEyes

[ Please start new messages at the bottom of the page or click this link to add a new section.]

Extensions
Hi, I wonder if we can add some extra functionality to the wiki, like create tabs within a page without having to reload the page and a tooltip similar to a hovercard (image and text). Thanks.
 * I've queued up Tabber and TippingOver for installation. I expect they'll be available sometime this morning. OOeyes (talk) 12:12, 6 November 2019 (UTC)

hi, I was trying to change the css from Tabber but seems like only admins can do it, same happen when I tried to create a cargo table for location. the current admin has been out of site for almost a week and no clue if he would return. In such case, is possible to grant me some limited administrative power to be able to do these two tasks. thanks (Xx momonga xx (talk) 08:30, 8 November 2019 (UTC)).
 * Alright, I've decided to temporarily promote you to administrator. Note that this will automatically expire in one week. If there are still issues, we can revisit it then. OOeyes (talk) 15:27, 8 November 2019 (UTC)

TippingOver
Hey, I struggle to get this tooltip working (brain fart), please can you helpme with some practical example? I still missing something but not sure what :(. Already created a template 'Tooltip hover box' with a cargo query template and subpage for Tooltip 'Godly Staff, Apocalypse/Tooltip' and that it I can go forward from there -.- .... Any tip more than welcome :). (Xx momonga xx (talk) 05:04, 10 November 2019 (UTC))
 * The problem isn't with TippingOver exactly. This is a bug when using  with Cargo; it sometimes escapes some of the HTML for reasons I do not comprehend. And even strangely, this bug triggers every time when trying to use   queries through TippingOver tooltips. The solution is use a Lua module to handle your queries and formatting instead. See gphelp:Module:CargoQuery for a module, with documentation, that you can copy over here and use instead of relying on Cargo's buggy template format.
 * If you're feeling braver than that, see https://sto.gamepedia.com/Module:Cargo instead for a module designed to workaround a larger number of Cargo quirks. This requires you put your field names and types in the module and call it to do your declares instead, though. OOeyes (talk) 13:40, 10 November 2019 (UTC)
 * mmm I see, well this is way beyond my knowledge maybe can do this or a more simple /basic solution for tooltip in general. Thanks for everything you have done :) and please if you see any mistakes on my part let me know so I learn from my errors. :) --Xx momonga xx (talk) 15:09, 10 November 2019 (UTC)

Starting the Unit Page
Hi, sorry I was semi-recruited through Reddit. I'm still learning how to create/edit these wiki pages, but I have experience in HTML/CSS and I've got a good start on the Units section. Please let me know if I'm stepping on anyone's toes, or if i'm doing something incorrectly. I'll keep working on what I can in my spare time. Thank you!
 * Welcome to the wiki, and hey, everyone has to start somewhere. I'm sure the other editors will help you out or talk to you if anything is amiss. It's hard for me to watch too closely since I'm wiki manager for dozens of wikis, but if I do catch something, I'll let you know. I wouldn't worry too much about it, though. It's good for editors to be a little bold, though. If nothing else, it encourages needed feedback more quickly than just leaving messages. OOeyes (talk) 23:54, 14 November 2019 (UTC)

About TippingOver and two more extensions.
Hi, I would like to use two extensions not available in the wiki right now, a Countdown for running events and a Image map for hidden treasures and locations. And two questions about TippingOver under current settings, first: it's possible to show a tooltip when I hover over an image?? , second: can you show a tooltip after hover a text (no linked)?? ...thanks :) .(Xx momonga xx (talk) 23:44, 25 November 2019 (UTC))
 * Apologies for the delay. Came down ill. Countdown and ImageMap should be installed by tomorrow morning at the latest. TippingOver is enabled on image links by default; the page you link to in  just has to have a tooltip the same way you do for regular links.
 * To make regular, non-linked text have a tooltip, you can use the  function. It's not unlike writing a link. Let's say you had   with the tooltip at Example/Tooltip. To change that to not be a link, you can instead write , and Foo will use Example/Tooltip without being a link.
 * Further, if you end up using the  shorthand but need to make that not be a link, you can do a similar thing with  :  . (Note the two pipes instead of one. OOeyes (talk) 02:02, 27 November 2019 (UTC)

About administration
Could you please rome me as an administrator of this wiki?

Last update broke the game for me, I can't open it at all. The game already ran poorly on my phone so I was already feeling a bit down about the game, and with this update I don't see a point of continuing this :(

I might come back from time to time since I enjoyed my time working on this wiki, but for now I'm going to use this time to focus on other things. Kansoku9 (talk) 15:06, 30 November 2019 (UTC)
 * Sorry to hear that. I've marked your wiki claim as inactive for the time being. I can reactivate it if your situation changes and you'd like to return. OOeyes (talk) 21:54, 30 November 2019 (UTC)

Need some help :)
hi, well I followed your recommendation to start using the cargo query from Startrek Online, after creating the module:cargo here and updating the local def, I still can't figured out to create a successful query, please can you tell me where I made the mistake.. here is query using the 'normal' cargo query and the query error using the SO module Important .. thanks and sorry, I am always asking for help :( . (Xx momonga xx (talk) 20:51, 9 December 2019 (UTC))
 * You can only use  on fields that are lists. On ordinary fields like , you need to just use   in the where clause. Also, the module, unfortunately, needs to work with names. It can't use positional parameters, and for some reason, trying to trick it with   doesn't work either. I'm not sure why, but if you do use an alias for a field name, it apparently can't be a number. So I changed ItemsTooltip so it can use   too. OOeyes (talk) 13:33, 10 December 2019 (UTC)

hey, thanks for the help with my last post. And here I am asking for some mighty power one more time :) since I added some field to the skill table for query but some privilegie its needed, regular user can't re-created a tables. Thanks you. As a side, note looks like everybody jump off boat, no admins, no guardian for this wikis, really sad, well I will keep doing all I can. okay next, you know why the Tooltip doesn't work with the ImageMap extension?? you can text this on Zekus page, when you hover over Blizzard Rain should show the tooltip and one more thing, it's possible to disable the transparency from tooltip by default? thanks again.(Xx momonga xx (talk) 18:59, 14 December 2019 (UTC))
 * Could you please link to the template that needs the table recreated? With the search indexes still being rebuilt after the recent upgrade, it's hard to find things.
 * ImageMap does not appear to create its links through the linker in MediaWiki core, which is where TippingOver inspects links to figure out if they need tooltips attached. So, in essence, ImageMap is bypassing the TippingOver extension entirely. It doesn't look very likely that I can figure out a suitable fix, and my schedule is looking rather full for a while anyway. So for the foreseeable future, TippingOver tooltips aren't going to work through ImageMap links.
 * No. TippingOver leaves the styling of tooltips completely to the users. You can do it on the tooltip page itself, or you could create a template and use it on the tooltip pages. If you decided to put in a wiki claim, it would also be possible to add CSS to style them via MediaWiki:Common.css and MediaWiki:Hydradark.css, though you'd need to be careful with the latter since that all the game-specific styling of the wiki. OOeyes (talk) 06:23, 15 December 2019 (UTC)
 * ooohhh man, the main reason to what I asked for an ImageMap was to be able to use it together with the tooltip, well it is what it is :(, need to find something similar I would have to check others wikis. I'm working in a few templates so when I finished I send you the links to do this just one time, thanks. Also a newbie question, I want to uses the value of a named parameter for querying purposes but I don't want that parameter to be transclude, exam: full template:   I need to query the 'Mood' parameter but not to show this one on page, I want this output on page:.
 * A quick edit, I am having a problem with the store of a Boolean field, please take a look at the declare and tell the reason why its not working, the declare: https://lastcloudia.gamepedia.com/Template:SkillTreeNodeDefinition ; the template : https://lastcloudia.gamepedia.com/Template:UnitSkillTable . the unlockedByDeafoult field should have a  which is the same as a   in the table, but all the field say   instead, table:https://lastcloudia.gamepedia.com/Special:CargoTables/SkillTreeNode.

(Xx momonga xx (talk) 00:48, 17 December 2019 (UTC))
 * You don't need to include a field in  to use it in  . Only the list the fields in   that you need the query to provide you, so basically   and.
 * As for booleans, I've found them to be a little strange in Cargo. I've had the best luck storing and querying them as either 1 or 0 even though the documentation says other values will work. I usually store them in templates something like this:, and you can use the same #ifeq when querying booleans. OOeyes (talk) 06:59, 17 December 2019 (UTC)

Tables
Greetings :) .. I have some templates ready to re/create tables:  This is all for now thanks. Btw some pages have errors like this one: https://lastcloudia.gamepedia.com/Aldanian_Warriors, no idea if was something that I did.  Question, after created the Template:ResistanceDefinition table, how I can storage the data from two different templates; say templates from EquipmentResistance and UnitResistance to Resistance CargoTable? Also it's possible to query (one call) in two different tables but these tables doesn't have any field in common, ex: search for "Mark" in a table called "Family" and if not match search on a table called "Friends". Last question, I can get the result I want with this query (below), I am looking for this output:, so I query for the item name and the output should be the type of item, but now i have   as result... Sorry I'm learning on the go. Thanks again and Merry Christmas! ^.^ .(Xx momonga xx (talk) 00:10, 23 December 2019 (UTC))
 * I believe the errors you're seeing are a upgrade-related bug. Unfortunately, I don't know if the platform team will look into fixing it before the new year. But I'm pretty sure it's not anything you're doing.
 * EquipmentTypeInline needs to be modified so it can accept Type as a parameter. You could use  instead of just   so it can use both.
 * I think I got all the tables created, ArkAttributeDefinition was trying to create Quests again, so I took the liberty of renaming the table it created to ArkAttributes. OOeyes (talk) 15:44, 23 December 2019 (UTC)

SQL and more...
Hii!, I'm looking to have more control over how cargo performs the query and noticed that some functions are not allowed by default, please if you are so kind to add these:  and. Also I did some changes to fields type in some tables and needed to be recreated: https://lastcloudia.gamepedia.com/Template:ShopDefinition, https://lastcloudia.gamepedia.com/Template:EquipmentDefinition, https://lastcloudia.gamepedia.com/Template:UnitDefinition, https://lastcloudia.gamepedia.com/Template:ItemDefinition, https://lastcloudia.gamepedia.com/Template:ArkAttributeDefinition, https://lastcloudia.gamepedia.com/Template:QuestDefinition. I have a question about Cargo and a table, imagine this table: ! Name !! Icon !! Effect Now I want to query by name1 but with the four effects and icons in the same row, like this: ! Name !! Icon !! Effect How I can achieve this ? Note that field Name and Effect are String type. Thanks! (Xx momonga xx (talk) 08:43, 6 January 2020 (UTC)).
 * name1 || icon1 || effect1
 * name1 || icon2 || effect2
 * name1 || icon3 || effect3
 * name1 || icon4 || effect4
 * name1 || icon1,icon2,icon3,icon4 || effect1, effect2, effect3, effect4
 * I've recreated the tables. As for adding allowed functions, I am required to file a ticket with the platform team to have this done, and they will likely want an explanation for why you wish to use these functions. I can't guarantee they will add these.
 * As for your last question, that's accomplished with a  (grouping by the name field) query using the GROUP_CONCAT function on icon and effect in  . See https://www.geeksforgeeks.org/mysql-group_concat-function/ for more information. OOeyes (talk) 11:07, 7 January 2020 (UTC)
 * Okay, the thing is that when I CONCAT and one of the field its empty (nil) return and 'empty' value and I need a return of any value if there is any, here: https://lastcloudia.gamepedia.com/Template:UnitSkillTableRow#Skills you can see what I mean under the 'Skill' tab the 'Description' column has CONCAT(Description and Notes), first skill shows both but the second skill has no Notes but it has a Description. So, I know I can achieve with IF and LENGTH, and with others functions. But if there is a workaround to this without using SQL functions I'am all ears :)
 * It seems you could get around it using a simple wiki template taking description and note parameters to do your formatting instead of trying to CONCAT them in the cargo_query. I mean, IF and LENGTH do seem like benign functions, but I'm simply not allowed to add any functions myself. OOeyes (talk) 13:51, 8 January 2020 (UTC)
 * Okay thanks for the tip, I got the same effect using this call before cargo stores the values:  and then   to get rid of html code thanks again :).(Xx momonga xx (talk) 18:09, 8 January 2020 (UTC))

The GROUP_CONCAT works great but I'm trying it on this module but I can't find a way to show the Icons using a template, can you take a look and point me in the right direction: the module https://lastcloudia.gamepedia.com/Module:ArkList ..thanks
 * I think the trouble is that you're chaining :wikitext twice on one element. I'm pretty sure one will overwrite the wikitext from the other. Try using concatenation instead: https://www.lua.org/pil/3.4.html and using :wikitext only once. OOeyes (talk) 13:51, 8 January 2020 (UTC)
 * Sorry learning on the go... but I can't understand what you mean with chaining :wikitext? ... I deleted the GROUP_CONCAT part and the GROUPBY so you can see that everything works fine up to that point, but for my understanding (Almost 0 btw). I think, I should do GROUPBY and the CONCAT after the query fetched Skill Icon using the template:  mmm Am I right?? If that so, this is as far I can go now. Please, if this is something that bothers you, do not hesitate to refer me to other subs or wiki for help :) thanks for everything my friend. (Xx momonga xx (talk) 18:09, 8 January 2020 (UTC))
 * "Chaining" just refers to the multiple calls you are doing on an element at once. It chains because each call returns the modified element, which you then use another function to modify again, and so on.
 * But I read the code wrong, and I see the second wikitext is happening on another tag. I didn't notice at first because the function calls on the  tags aren't being indented again like all the   tags are, and it was very early in the morning.
 * Is what I did what you were looking for? I split the string up with, passed each skill name to the template individually and added the result to a new table, and then used   to combine them into a single string. OOeyes (talk) 23:15, 8 January 2020 (UTC)
 * Yesss! you did it, thank you very much :) ... I was playing with the  in the morning but I was not sure of how to split the names after the   and it was to much for my brain jaja, but now I know about   and I can't remember seen this on the page you linked previously, I believe it's a function unique from wiki and not from Lua programming, hence the , but I'm just guessing here. Thanks again for your time and effort, and honestly, this wiki does not deserve it .(Xx momonga xx (talk) 01:43, 9 January 2020 (UTC))
 * Yes, it's provided by Scribunto itself. You can find it in the Scribunto Lua reference with the other mw.text functions, and it's nice, because Lua (oddly) lacks a built-in string split function. OOeyes (talk) 01:48, 9 January 2020 (UTC)

Errors
Any idea what this error may be: [c757567cee46a1b42a306351] /index.php?title=Sylmiria_Torch&oldid=2753 MWException from line 311 of /home/hydra/public_html/extensions/Cargo/includes/CargoUtils.php: Error: unmatched quote in SQL string constant.

Backtrace:


 * 1) 0 /home/hydra/public_html/extensions/Cargo/includes/parserfunctions/CargoCompoundQuery.php(56): CargoUtils::smartSplit(string, string)
 * 2) 1 /home/hydra/public_html/includes/parser/Parser.php(3528): CargoCompoundQuery::run(Parser, string, string, string, string, string)
 * 3) 2 /home/hydra/public_html/includes/parser/Parser.php(3235): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
 * 4) 3 /home/hydra/public_html/includes/parser/Preprocessor_DOM.php(1285): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
 * 5) 4 /home/hydra/public_html/includes/parser/Parser.php(3409): PPFrame_DOM->expand(DOMElement)
 * 6) 5 /home/hydra/public_html/includes/parser/Preprocessor_DOM.php(1285): Parser->braceSubstitution(array, PPFrame_DOM)
 * 7) 6 /home/hydra/public_html/includes/parser/Parser.php(3049): PPFrame_DOM->expand(DOMElement, integer)
 * 8) 7 /home/hydra/public_html/includes/parser/Parser.php(1359): Parser->replaceVariables(string)
 * 9) 8 /home/hydra/public_html/includes/parser/Parser.php(491): Parser->internalParse(string)
 * 10) 9 /home/hydra/public_html/includes/content/WikitextContent.php(369): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
 * 11) 10 /home/hydra/public_html/includes/content/AbstractContent.php(555): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
 * 12) 11 /home/hydra/public_html/includes/Revision/RenderedRevision.php(262): AbstractContent->getParserOutput(Title, integer, ParserOptions, boolean)
 * 13) 12 /home/hydra/public_html/includes/Revision/RenderedRevision.php(234): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean)
 * 14) 13 /home/hydra/public_html/includes/Revision/RevisionRenderer.php(193): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string)
 * 15) 14 /home/hydra/public_html/includes/Revision/RevisionRenderer.php(142): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array)
 * 16) 15 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array)
 * 17) 16 /home/hydra/public_html/includes/Revision/RenderedRevision.php(197): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array)
 * 18) 17 /home/hydra/public_html/includes/poolcounter/PoolWorkArticleView.php(194): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput
 * 19) 18 /home/hydra/public_html/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork
 * 20) 19 /home/hydra/public_html/includes/page/Article.php(773): PoolCounterWork->execute
 * 21) 20 /home/hydra/public_html/includes/actions/ViewAction.php(68): Article->view
 * 22) 21 /home/hydra/public_html/includes/MediaWiki.php(499): ViewAction->show
 * 23) 22 /home/hydra/public_html/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
 * 24) 23 /home/hydra/public_html/includes/MediaWiki.php(865): MediaWiki->performRequest
 * 25) 24 /home/hydra/public_html/includes/MediaWiki.php(515): MediaWiki->main
 * 26) 25 /home/hydra/public_html/index.php(42): MediaWiki->run
 * 27) 26 {main}
 * in ArkInfobox. The apostrophe in  is being interpreted as a closing quote since it's using single quotes for the value. You can solve it by using double quotes around   instead or use   to escape any apostrophes. If there's any values with double quotes to worry about, you'll likely have to use the second approach. OOeyes (talk) 00:39, 10 January 2020 (UTC)
 * Okay, done. :) ...Please create these tables: https://lastcloudia.gamepedia.com/Template:ArkLibraryDefinition, https://lastcloudia.gamepedia.com/Template:ArkHiddenItemsDefinition, https://lastcloudia.gamepedia.com/Template:ItemDropDefinition . Thanks.(Xx momonga xx (talk) 04:48, 10 January 2020 (UTC))
 * It's done. OOeyes (talk) 13:30, 10 January 2020 (UTC)