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!

Any way to search for pages with blank parameter

Fragment of a discussion from User talk:Dfoplayer
Jump to: navigation, search

Yes, you can use semantic wiki and perform an array difference on the ones that have exorcism values.

The problem with using semantics is that the system is defaulted to get a list of maximum 500 results. If you were to update the following equipment list, chances are that the first array with 'allEquipment' will not go past the first 500 pages. Therefore, you will probably see this list getting shorter, and not updating with new pages.

<!-- [[:+]] is needed to select main, and not user,images, and other namespaces -->
{{#ask:[[:+]] [[Category:Equipment]] [[Has name::+]] |format=array |offset=0 |name=allEquipment}}
{{#ask:[[:+]] [[Category:Equipment]] [[Has name::+]] [[Has exorcism::+]] |format=array |offset=0 |name=exorcismEquipment}}
{{#arraydiff:missingExo|allEquipment|exorcismEquipment}}<!-- missingExo = allEquipment- exorcismEquipment -->
<ul style="columns:4">{{#arrayprint:missingExo||@@@@ |<li>[[@@@@]]</li> }}</ul>

To fix the 500 pages problem, you want to manually repeat the above four lines, and '500' every time |offset=0 in both ask queries to compare the new set of pages. Then you could find all the pages. AND PLEASE DO NOT SAVE THE PAGE Previewing the wiki code is sufficient enough to generate the list for you to copy and check.

This method should work with other missing semantic values, in theory.


Out of the first 500 pages in Equipment Category, there are 153 pages that are missing exorcism.

And if you somehow made it this far reading down the page, then again in theory, an 'automated solution' is to run a count of how many pages of equipment there are, which happens to be 8453. Taking this value, we could create a loop that will generate tabs of 8453/500. So there will be 16.906 tabs to display all possible pages that do not contain exorcism. But I'm not sure if I have time to write that wikicode because of life. I think running the 4 lines of code, 10 times is sufficient to find those pages.

Now if we want to add all missing values, then maybe yes. I'll find some time to create a page that generates missing parameters for all equipment.

16:40, 11 March 2019

Well, it seems that threads do not dynamically query semantics, so the list doesn't actually change.

Therefore the solution is to run the 4 lines manually and keep adding '500' to the offset parameter. Cheers!

20:37, 11 March 2019