Bythmusters (talk | contribs)
Documented methodology to find pages without templates
Bythmusters (talk | contribs)
m fixed code block
Line 44: Line 44:
I am not an advanced programmer but here is my script:
I am not an advanced programmer but here is my script:


<code># these files all generated 1/30/26 21 UTC
<nowiki># these files all generated 1/30/26 21 UTC
# generate list of filepaths to be read
# generate list of filepaths to be read
filenames = ["allpages.txt", "company.txt", "incident.txt", "productline.txt", "product.txt"]
filenames = ["allpages.txt", "company.txt", "incident.txt", "productline.txt", "product.txt"]
Line 82: Line 82:
print("#####Only in AllPages#####")
print("#####Only in AllPages#####")
for x in sortedtable[1]:
for x in sortedtable[1]:
     print(x)</code>
     print(x)</nowiki>


Then a list can be displayed or saved with Bash: <code>python3 table.py | less</code>
Then a list can be displayed or saved with Bash: <code>python3 table.py | less</code>