A simple script changing capitalized words of the small-case formatted text. #923
ineuw
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
I have no idea what "small-capitals" is. If your script was lost from our wiki, I'm sure it was an accident. We moved a lot of things around to organize it better and may have missed yours. Your code looks like a perfect use case for a Python dictionary with a loop through all its entries. Why did you add delays after each replacement? I'm pretty sure those statements are synchronous (don't return until they're done). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Someone in this community was working with small-capitals type format and had the same issue as I.
This script converts /incorrect/unwanted capitalization, when small-capitals format is applied to text. Since my previous contribution to the scripts was lost, I don't wish to post there and pasted it here.
My scripts use 'single quotes' to enclose for literal interpretation. Some symbols like
< >
in the text cause a script failure on Wikipedia pages.Beta Was this translation helpful? Give feedback.
All reactions