Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Just a few questions...

Jump to: navigation, search

Hey Dfoplayer. If you don't mind, I have a few questions about a few things.

1) When creating the page Aspect: Trine Set I noticed that the second headers for the Priest(F) and Priest(M) skills did not appear in the 3 part set effect. Am I doing something incorrectly?

2) Recently, I've been attempting to post the Youtube videos, the Chronicles of Luke: Chapters 1-5, into the Lore Episode page's collapsible tabs, but to no avail. How would I go about posting a Youtube video in a collapsible tab? Would it just be easier to post the Youtube link?

18:06, 15 January 2019

1) I'm not familiar with the Template:Set information so I don't know how it gets the skill data.

2) Use the extension embedVideo. {{#ev:youtube|xx7tna_xoHY|225}}

However, you cannot put this in the <pre> section of the collapsible tabs. I tested this and would need to place outside the <small> as well.

{{HiddenTextStart| |Title=Episode 1: The Way of Peace - Linus's Monologue |Width=600 |Show=none }} <!-- Source:http://df.nexon.com/df/guide/TO/634 --> <small><small><pre> Lore info here </pre></small></small> {{#ev:youtube|xx7tna_xoHY|225}} {{HiddenTextEnd}}

The first parameter is the youtube ID and second parameter is the width in pixels.

18:28, 15 January 2019

Ok. Thanks for the reply. :)

18:31, 15 January 2019

Hey Dfoplayer. Would you happen to have access to the wiki's LocalSettings.php? There seems to be an issue arising with the 1000 character string limit error. It seems to occur most prominently with the Equipment Infobox description parameter. I believe the culprit may have something to do with the Parser Function $wgPFStringLenghtLimit variable. From what I've researched, it is usually defaulted to 1000 and may be causing certain pages to return an error if the string limit is exceeded. Would it be possible to increase the string limit?

20:29, 21 February 2019

No I don't have access to that file.

The Last time something like this occurred, we had a "Pages with too many expensive parser function calls. " coming from Template:SkillNav calling Template:IconLink too many times. How it was fixed was beyond me.

Can you give me an example of an equipment page? I looked a recent ones and didn't see 1000 character error.

21:10, 21 February 2019

Luberum Stone Fall was one of the pages a few of the editors were discussing about. They decided to separate the information outside the page template to avoid the issue. To replicate this error, just copy the information under the Description heading and paste it within the description parameter.

21:25, 21 February 2019

I don't think it's a parser function problem. If you looked at the the bottom, the 1000 character limit also affects semantic properties.

I have disabled property "Has effect description" for the equipment template. I don't think we will be searching descriptions, just numbers(levels) or class requirements.

It could take awhile for the server to update semantics, as I still see the error while editing Luberum Stone Fall. Try again tomorrow.

21:47, 21 February 2019

Alright. It wasn't semantics.

It is probably Parser functions. The equipment template is trying to replace asterisks(*) with the HTML equivalent from code {{#replace:{{{description}}}|*|& #42;}} and we are sending over 1000 characters.

I would suggest you send a message to User:Gardios to ask why he/she used a replace function. Maybe description with asterisks fails in the template, so Gardios wanted HTML

07:01, 22 February 2019

I messaged him on Discord, but I don't expect a response anytime soon. I don't believe he plays DFO or goes to the wiki anymore.

12:40, 22 February 2019

Poo. While I can go contact the site admin, she probably will ask if we can workaround this. For security reasons, it should be set to low as possible.

If she does allow us to change $wgPFStringLenghtLimit, do you have a number we should set to? I'm thinking maybe 15,000 since this is a description.

We also should figure out why replace is being used, cause removing that in the template might solve our problem. reference edit

17:58, 22 February 2019

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.


You can view and copy the source of this page.

Return to Thread:User talk:Dfoplayer/Just a few questions.../reply (10).

Well, back when DFO wiki was being revamped, we did have an issue with Template:IconLink. But it shouldn't cause a problem with 1000 characters. Otherwise, Skill pages would fail too.

To test, I copied Luberum Stone Fall's description to skill page description and it renders perfectly. This leads me to something else has a problem on Template:EquipmentInfo.

Gardios did leave a comment that "write skill bonuses, legacy bonuses, description and flavor text into the var 'effects' ". So the variable 'effects' might be exceeding 1000 characters. Further testing needs to be done though...

09:49, 23 February 2019

Alright. It's working now.

Go ahead and edit any of the pages that are failing, I tested Luberum Stone Fall. Preview the template User:Dfoplayer/TestEquipmentInfo by changing {{Equipment infobox to {{User:Dfoplayer/TestEquipmentInfo

If it looks good, we can move the changes to the live template and let the other editors know that description can have the full text back.

15:39, 25 February 2019
Arrol (talk)18:33, 25 February 2019

Alright. I'll go ahead and push the changes to the actual template.

18:37, 25 February 2019