Project:General Discussions: Difference between revisions

m
Refined RegExp
mNo edit summary
m (Refined RegExp)
Line 29: Line 29:
::::::::::I was thinking infobox initially to put MD5 checksums but how to make it look presentable? I mean SSBB has two MD5 good dump checksums due to a small change made. It would make more sense to create a table further down the page. I already have an idea how to construct the table. Stay tuned.
::::::::::I was thinking infobox initially to put MD5 checksums but how to make it look presentable? I mean SSBB has two MD5 good dump checksums due to a small change made. It would make more sense to create a table further down the page. I already have an idea how to construct the table. Stay tuned.
::::::::::I have a general idea about RegExp. I think it is very possible to get all pages with populated problem sections. It's going to take a few steps on what to filter out.
::::::::::I have a general idea about RegExp. I think it is very possible to get all pages with populated problem sections. It's going to take a few steps on what to filter out.
::::::::::#Find <tt><nowiki>/==\s?Problems?\s?==/i</nowiki></tt>
::::::::::#Find <tt><nowiki>/==\s*Problems?\s*==/i</nowiki></tt>
::::::::::#From that string, find <tt><nowiki>/===\s?.*\s?===/i</nowiki></tt>
::::::::::#From that string, find <tt><nowiki>/===\s*.*\s*===/gi</nowiki></tt>
::::::::::#If matched that string, insert after that string match <tt><nowiki>\n{{RatingProblemsFix|0}}</nowiki></tt>
::::::::::#If matched that string, insert after that string match <tt><nowiki>\n{{RatingProblemsFix|0}}</nowiki></tt>
::::::::::--[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 05:16, 7 November 2015 (CET)
::::::::::--[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 05:16, 7 November 2015 (CET)
1,301

edits