Changes

Pywikibot 6.4.0
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{High-use}}
{{Lua|WP:libraryUtil|Module:Arguments|Module:Country adjective|Module:String|noprotcat=yes}}

'''Module:Television infoboxes disambiguation check''' handles the validation of disambiguation of pages using a television-related infobox. Currently [[Module:Infobox television disambiguation check]] and [[Module:Infobox television season disambiguation check]] are setup to work with it.

== Usage ==
<syntaxhighlight lang="lua">
local validateDisambiguation = require('Module:Television infoboxes disambiguation check')
local trackingCategory, debugString = validateDisambiguation.main(title, validDisambiguationTypeList, validDisambiguationPatternList, exceptionList, otherInfoboxList)</syntaxhighlight>

== Parameter list ==

{| class="wikitable"
|-
! scope="col" | Parameter
! scope="col" | Explanation
! scope="col" | Status
|-
! scope="row" | <code>title</code>
| The page's title.
| required
|-
! scope="row" | <code>validDisambiguationTypeList</code>
| An array of valid disambiguation types.
| required
|-
! scope="row" | <code>validDisambiguationPatternList</code>
| An array of DisambiguationPattern.
| required
|-
! scope="row" | <code>exceptionList</code>
| An array of page names that should not be validated; If there are none, pass an empty array.
| required
|-
! scope="row" | <code>otherInfoboxList</code>
| An array of key/value pairs of the type the disambiguation to check for (key) and the tracking category to add it to (value).
| required
|}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Television-related modules]]
[[Category:Modules that add a tracking category]]
}}</includeonly>