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!

Difference between revisions of "Thread:User talk:Dfoplayer/Just a few questions.../reply (10)"

From DFO World Wiki
Jump to: navigation, search
m
m
 
Line 46: Line 46:
  
 
1) We can remove the IconLink calls from the descriptions
 
1) We can remove the IconLink calls from the descriptions
 +
 
2) We can increase the string limit to somewhere in-between 1500-2000.
 
2) We can increase the string limit to somewhere in-between 1500-2000.

Latest revision as of 08:30, 23 February 2019

I figured out why #replace is being used in description. I believe that it is to prevent asterisks from creating bulleted lists in the descriptions. Look at Light Sword Masamune for reference. Most equipment pages don't use asterisks in their description so this probably isn't the problem.


Anyway, I think I figured out what's going wrong. I did some tests with the Luberum Stone Fall page.

My first test involved removing all the Template:IconLink calls in the description. The page didn't return an error.

For my second test, I gradually changed some of the links to use IconLink; it worked up to three calls. At the fourth call, the String Error occurred.

My third test involved attempting to exceed the string limit without IconLink. I used the following as a test:

[[War Goddess]] additional Bloodsport/Magic Skill Atk. +6%


[[Neutral Chaser]] Atk. +15%<br>
[[Light Chaser]] Atk. +15%<br>
[[Water Chaser]] Atk. +15%<br>
[[Fire Chaser]] Atk. +15%<br>
[[Shadow Chaser]] Atk. +15%<br>


[[Fusion Chaser]] Atk. change value +35%<br>
Generated Chasers increase Attack/Movement/Casting Speeds +4% for 20 seconds. (Canceled when the item is unequipped. Max Stack: 3 Cooldown: 1 sec.)<br>
[[Twinkle Smash]] Atk. +10%


[[Relentless Biting Wind]] Atk. and Hold duration +15%<br>
[[Sweeping Wind]] wind attack count +2<br>
[[Eye of the Storm]] Atk. +15%<br>
[[Northern Wind]] wind attack count +2

[[Relentless Biting Wind]], [[Sweeping Wind]] and [[Headwind]] increases STR +150 for 60 seconds. (Max Stacks: 1. Canceled when the item is unequipped. Max Stack: 3 Cooldown: 1 sec.)

ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ss

The current string has 999 characters. Adding one more 's' character will cause the string to reach 1000 characters and return an error. Apparently, the description parameter has a limit of 1000 characters.

For this page in particular, I believe what's causing the issue is the Template: IconLink. IconLink replaces the page link to include the image link of it as well, which results in a longer string depending on the image name.

That being said, we have two options:

1) We can remove the IconLink calls from the descriptions

2) We can increase the string limit to somewhere in-between 1500-2000.