Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Tales from Chyria
Search
Editing
Module talk:InfoboxImage
(section)
From Tales from Chyria
Namespaces
Module
Discussion
More
More
Page actions
Read
Edit source
New topic
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Tracking category for URLs in image field == Discussion: [[Template_talk:Infobox#URLs_in_image_field]] There are probably thousands of URLs in the {{para|image}} field. Would it be possible to add a tracking category? They should be removed on a regular basis and tracking them would be a big help. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 20:49, 19 July 2024 (UTC) :Just need to update lines 146, 149, 152, 155, 158 & 161 to return a category. What do you want to call the category? -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 21:33, 19 July 2024 (UTC) ::Does infobox emit tracking categories anywhere else? Following CS1|2 naming, [[:Category:CS1_errors:_archive-url]], it might be [[:Category:Infobox_errors:_image]] a holding cell for all errors related to this module. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 23:31, 19 July 2024 (UTC) :::It only emits [[:Category:Pages using infoboxes with thumbnail images]] at the moment. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 06:19, 20 July 2024 (UTC) ::::That's a standard error category format. I would suggest [[:Category:Pages using infoboxes with URL in image field]]. β [[User:Hike395|hike395]] ([[User talk:Hike395|talk]]) 12:03, 20 July 2024 (UTC) :::::Let's use the word "parameter" instead of "field", since that is the term here on Wikipedia, or just leave off the last word entirely: "Pages using infoboxes with URL in image". β [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 13:52, 20 July 2024 (UTC) :Done: [[Special:Diff/1186186161/1236046032]] for [[:Category:Pages using infoboxes with URL in image parameter]] - I included "parameter" or it could be ambiguous, such as a URL displayed ''in'' the image, which might be a concern due to spam. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 16:02, 22 July 2024 (UTC) ::There are currently around 1.1k pages in the category. A bot can easily remove the usages. I wonder if a bot could also upload the image from the file and set it (if we want to use those images). Checking each page individually, seems tedious for something that no one cared to fix until now. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 13:34, 7 August 2024 (UTC) :::Uploading images (automatically) is impossible due to copyright and descriptive issues. Simply deleting any URL found in the field is the correct action. The deletion is easy, the harder aspect is what the parameter names are to target. There are so many variations. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 14:17, 7 August 2024 (UTC) ::::If it's a good-faith, but malformed, attempt to bring in an existing image hosted on Commons or English Wikipedia, such as <syntaxhighlight lang=wikitext>|image=https://en.wikipedia.org/wiki/File:Example.jpg</syntaxhighlight> or <syntaxhighlight lang=wikitext>|image=https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg</syntaxhighlight> I think we should not delete the link outright, but fix it up as in <syntaxhighlight lang=wikitext>|image=Example.jpg</syntaxhighlight> with preview before save to ensure that it's a suitable image for the context. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 20:52, 7 August 2024 (UTC) :::::Yeah good point could check. Do you know a way to determine what template parameter names the module is used in? We know of {{para|image}}, there are probably dozens of others. Need to know for parsing. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 21:49, 7 August 2024 (UTC) ::::::There are about 1,000 pages in the category right now. I expect that if you scanned for {{para|image}} and {{para|logo}}, you would get 90% of them, and then we could see what other parameters are being used. β [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 22:23, 7 August 2024 (UTC) :We should remove a couple namespaces from the tracking category: User:, User talk:, and Talk: .. these can have legitimate use cases, as a temporary scratch/working space. I would do so as in here [[Special:Diff/1236998268/1237154439]] but I don't know the correct text string for these namespaces. Anyone know? {{ping|Hike395|Gonnym|WOSlinker}} -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 15:56, 8 August 2024 (UTC) ::Probably the names used [[Wikipedia:Namespace|here]]. I'm not sure about the impact changing this would have for other tracking if they want it or not. As an aside, it seems its still better to comment out usages in those namespaces as the URL link won't ever work anyways. Commenting it out makes it clear that such a thing isn't working. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 16:36, 8 August 2024 (UTC) :::Given the minimal population of non-mainspace pages in the category, I would just wrap the categorization in {{tl|main other}} and not worry about User and Talk and other pages. I don't know how to do that in a module though. β [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 17:17, 8 August 2024 (UTC) :I don't see any edits made to the module, but pages with the issue are disappearing from the category. See [[Renato Valente]]. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 18:05, 8 August 2024 (UTC) ::The category is empty: {{cl|Pages using infoboxes with URL in image parameter}}. I certainly fixed a lot/most, but some should still be there eg. [[Renato Valente]] or [[User talk:Sundaycomedian/sandbox]]. Something weird. -- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 18:36, 8 August 2024 (UTC) :::The issue was a bug with the boolean check. WOSlinker fixed it before I got to it. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 19:22, 8 August 2024 (UTC) ::::Ah ok cool. I processed what was remaining in the tracking category, <s>it should be cleared out</s>. Ahh, it's filling up with new pages.-- [[User:GreenC|<span style="color: #006A4E;">'''Green'''</span>]][[User talk:GreenC|<span style="color: #093;">'''C'''</span>]] 19:26, 8 August 2024 (UTC)
Summary:
Please note that all contributions to Tales from Chyria may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Chyria Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs