User:Teamtoto: Difference between revisions

Jump to navigation Jump to search
m
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="fpbox"><!-- BEGIN Welcome box-->
{{FP heading|Users migrating from the old fandom wiki, [[User:Teamtoto/On_Merging|read this]]!|type=subheading}}
</div>
{{qud time}}
{{qud time}}
<div style="float:right;">
<div style="float:right;">
Line 8: Line 5:
{| style="padding:1em;"
{| style="padding:1em;"
|[[/Sandbox]]
|[[/Sandbox]]
|[[/Sandbox2]]
||[[Special:CargoTables]]
|-
|-
|[[Template:Sandbox/User:Teamtoto/newitem2]]
|[[Module:Sandbox/User:Teamtoto/LuaModule|lua sandlot]]
|[[Module:Sandbox/User:Teamtoto/LuaModule]]
|-
|-
|[[Module:GetCreatureStats]]
|[[/Bug Hall of Fame]]
|[[Form:Simulator_Sandbox]]
|[[Caves_of_Qud/Scrapped_UI]]
|-
|-
|[[Template:VSSim]]
| [[/Sandbox2]]
| [[/Bug Hall of Fame]]
|[[/Sandbox3]]
|-
|-
| [[Template:Simulator Sandbox]]
|[[MediaWiki:Common.css]]
|[[/Sandbox3]]
|}
|}
==Maintenence shortcuts==
==Maintenence shortcuts==
{| style="padding:1em;text-align:center;"
{| style="padding:1em;text-align:center;"
|[[Special:WantedPages]]
|[[Special:WantedPages]] - {{Special:WantedCategories}} - [[Special:RandomInCategory/Pages_with_no_description|Random page w no desc]]
|{{Special:WantedCategories}}
|}
|}
<categorytree mode="all" showcount="on">Wiki maintenance</categorytree>
<categorytree mode="all" showcount="on">Wiki maintenance</categorytree>


==TODO:==
==TODO:==
* optimize all queries that use favilink
DUPE IDS
* decrease query count by removing ID to name / ID to page as much as possible
{{#Cargo_query:table=GeneralData
* clean up kith and kin
|fields= ObjectID, COUNT(*)=num
|where=ObjectID <> '' and (_pageNamespace = '0' OR _pageNamespace='10002')
|having=num>1
|group by=ObjectID}}
 
{{#cargo_query:tables=GeneralData
|fields=_pageName
|where=ObjectID='Barathrumite Tinker'}}
* qbe grammar stuff
* qbe grammar stuff


Line 38: Line 39:
*add attribute for holy place?
*add attribute for holy place?
* fix parent faction so if a faction reputation for it already exists, toss it
* fix parent faction so if a faction reputation for it already exists, toss it
===QBE TODO===
*what does DynamicObjectsTable:Saltdunes_Creatures:Weight Value=3 do?
*also DynamicObjectsTable:Snapjaws:Builder
==List of Static Water Ritualable Characters==
{{#cargo_query:tables=GeneralData=GD, ExtraInfo=EI
|join on=GD.JoinKey=EI.JoinKey
|fields=GD._pageName
|where=EI.Info LIKE '%Ritualable,,,%'
}}


==Notes==
==Notes==
Line 68: Line 58:
====Case sensitivity====
====Case sensitivity====
Cargo is case insensitive. Use BINARY instead. Read more [https://www.mediawiki.org/wiki/Extension:Cargo/Common_problems here].
Cargo is case insensitive. Use BINARY instead. Read more [https://www.mediawiki.org/wiki/Extension:Cargo/Common_problems here].
== Replacing _pageData ==
https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Cargo/Storing_data#Storing_page_data
To recreate with replacement, add a --replacement flag:
<pre>php setCargoPageData.php --replacement</pre>
The replacement table can then be switched in normally using the Special:CargoTables interface.
If you want to get rid of this table, call the following instead:
<pre>php setCargoPageData.php --delete</pre>
You do not need to call the "--delete" option if you are planning to recreate the table; simply calling setCargoPageData.php will delete the previous version.

Navigation menu