EveryCRT:Maintenance: Difference between revisions

Add additional maintenance queries: missing images, invalid inputs/outputs, missing specs, orphaned documents (via update-page on MediaWiki MCP Server)
Add diagnostic query and try alternative approach for orphaned documents (via update-page on MediaWiki MCP Server)
Line 6: Line 6:
__TOC__
__TOC__


== Documents missing URL or File ==
== Documents Requiring Attention ==


These documents have been created but don't link to any actual content — they need either a '''url''' (external link) or '''file''' (uploaded document) to be useful.
This table shows all documents with their key properties. Look for:
* '''Missing URL and File''' — both columns empty means the document leads to nothing
* '''Missing Related CRT/AV''' — both columns empty means the document won't appear on any product page


{{#ask:
{{#ask:
  [[Category:Documents]]
  [[Category:Documents]]
  [[Has document URL::!+]]
  |?Has document URL=URL
  [[Has document file::!+]]
  |?Has document file=File
|?Has related CRT model=Related CRT
|?Has related AV device=Related AV
  |?Has document type=Type
  |?Has document type=Type
|?Has document title=Title
|?Has related CRT model=Related CRT
|?Has related AV device=Related AV Device
  |format=table
  |format=table
  |class=wikitable sortable
  |class=wikitable sortable
  |mainlabel=Document
  |mainlabel=Document
  |limit=100
  |limit=500
  |default=✓ No documents are missing both URL and file.
  |sort=Has document type
}}
}}


To fix these:
=== Quick Filters ===
# Visit the document page
# Click "Edit this data" or use [[Special:FormEdit/Document/PAGENAME]]
# Add either a '''url''' (for external links like ManualsLib) or upload a '''file'''


== Orphaned Documents ==
'''Documents missing URL or File''' (should have content but don't):
 
{{#ask:
These documents aren't linked to any CRT model or AV device, so they won't appear in any product page's documentation section.
[[Category:Documents]]
[[Has document URL::!+]]
[[Has document file::!+]]
|format=list
|limit=100
|default=✓ None found via query (check table above manually if this seems wrong)
}}


'''Orphaned Documents''' (not linked to any CRT model or AV device):
{{#ask:
{{#ask:
  [[Category:Documents]]
  [[Category:Documents]]
  [[Has related CRT model::!+]]
  [[Has related CRT model::!+]]
  [[Has related AV device::!+]]
  [[Has related AV device::!+]]
|?Has document type=Type
  |format=list
|?Has document title=Title
  |format=table
|class=wikitable sortable
|mainlabel=Document
  |limit=100
  |limit=100
  |default=✓ All documents are linked to at least one CRT model or AV device.
  |default=✓ None found via query (check table above manually if this seems wrong)
}}
}}


To fix these:
To fix document issues:
# Edit the document page using [[Special:FormEdit/Document/PAGENAME]]
# Visit the document page
# Add the appropriate CRT model(s) or AV device(s) in the related fields
# Click "Edit this data" or use [[Special:FormEdit/Document/PAGENAME]]
# Add the missing '''url''', '''file''', or '''crt_models'''/'''av_devices''' fields


== CRT Models Missing Images ==
== CRT Models Missing Images ==
Line 230: Line 232:
* '''CRT stubs (missing screen size):''' {{#ask:[[Category:CRT stubs]]|format=count}}
* '''CRT stubs (missing screen size):''' {{#ask:[[Category:CRT stubs]]|format=count}}
* '''Total documents:''' {{#ask:[[Category:Documents]]|format=count}}
* '''Total documents:''' {{#ask:[[Category:Documents]]|format=count}}
* '''Documents missing URL/file:''' {{#ask:[[Category:Documents]][[Has document URL::!+]][[Has document file::!+]]|format=count}}
* '''Orphaned documents:''' {{#ask:[[Category:Documents]][[Has related CRT model::!+]][[Has related AV device::!+]]|format=count}}


[[Category:EveryCRT maintenance]]
[[Category:EveryCRT maintenance]]
MediaWiki Appliance - Powered by TurnKey Linux