You've got a point there. For a user these many entries seem to come from some common equipment.Cholmondely wrote: ↑Tue Jul 20, 2021 11:49 amNotes on the above!hiran wrote: ↑Tue Jul 20, 2021 11:04 amThis is visible here (and may need an update, despite the fact that the rough numbers are still correct):
We have 688 expansions, 2313 equipment (way more than your guess of 500), 7255 ships.
The strange thing from my POV is that if some equipment is a missile we would put it under 'offensive', but if the same OXP comes with a HUD also we would put that into 'Astrogatory'.
If categories can only be applied to OXPs we would simply list both. But going back to the single equipment to find the correct category would no longer be possible.
If instead we place categories on the OXP content, like ships and equipment then it would be easy to calculate the OXP's category from it's content.
This scenario is already reality with the Vimana HUD and the Vimana Beam both coming from the same OXP.
1) 2313 equipment is not true. It is 2313 mentions of "equipment" (presumably for listing on the F3 screen):
eg:
Secondary Gravity Scanner
Repair 2nd Gravity Scanner
Refund 2nd Gravity Scanner
Repair 2nd Gravity Scanner with second-hand parts
Gravity Scanner
Repair Gravity Scanner
Refund Gravity Scanner
Repair Gravity Scanner with second-hand parts
are 8 of the database equipment entries: but to me they are only 2 pieces of equipment.
[...]
Hence the perceived need to do this manually...
Yet interestingly each of these items has it's own unique ID in Oolite (it is mentioned on the detail page for the respective entry). As these entries do have their unique IDs they can potentially be treated differently. And the way they are used looks a bit strange to me either.
There is no way to identify this automatically so I agree this is a humanoid task.
This makes sense absolutely.Cholmondely wrote: ↑Tue Jul 20, 2021 11:49 am2) Dual listings
So the OXP pages are categorised according to the type of OXP. I hope to categorise the equipment redirect pages according to the type of equipment.
I did not check this very example, however it seems to be possible per design that OXPs overwrite ships or equipment from the vanilla game. They can even overwrite each other's content, that is why the load sequence is very important. Whenever my indexing automation spots such a replacement it logs a global warning, which can be seen here: http://wiki.alioth.net/index.php/Index_ ... cts#GlobalCholmondely wrote: ↑Tue Jul 20, 2021 11:49 amSo far I've come across two difficulties with dual listings.
i) Some pieces of Equipment (especially those from the vanilla game) have their own content-filled page: so these will also be tagged with the Equipment category.
ii) Some OXP pages include a piece of equipment with the same name as the page: eg Sniper Gun, which is both the name of the OXP and of one of the 6 pieces of equipment described on that page: so that page gets tagged both for the OXP category and for the Laser category - while the other 5 redirect pages get tagged accordingly ( laser / equipment (defensive) / equipment (offensive) ) depending on their content.
I intend to put up a link for the Category:Laser page on the Category:Equipment (Offensive) page.
O August and Illustrious Compiler of Databases - does this make any sense, or am I being a twit?
So far I have no idea how to resolve that dilemma. After all in the Wiki we have one page only, and we'd have to define whether this page would be for the vanilla game or for the OXP variant. In case of yet more OXPs overwriting the same stuff we'd be back to square one.
Would it make sense to identify pages uniquely by putting the OXP's identifier as a prefix?
So if ShipX exists in the vanilla game, it could own the page ShipX. If ShipX is also presented by OXP35 then that one could refer to OXP35_ShipX.
Now if OXP36 also were to overwrite ShipX, it would refer to a page called OXP36_ShipX.