User talk:Sarang/cleanup.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

see also/link to P-check, P-cleanup, S-check; S-sandbox S-cleanup-sandbox

Law of 9/22

Automated removal of parameter names

[edit]

For positional parameters, as e.g. in Language templates, often a parameter name "1=" (or "2=" ...) is set.
Until now in the progress of a general cleanup the necessity of this parameter name had been checked to remove not-necessary position numbers;
but the community wishes that this is kept untouched; so the check is not further executed. -- sarang사랑 10:20, 22 September 2021 (UTC)[reply]

Allowed and forbidden cleanup

[edit]

Is differing between visible and invisible 100% the dfifference between allowed and unwanted?
Depending e.g. the insertion of Igen into Agriculture mix.svg an Sept. 16 the situation is

  1. minuscel description: メ unwanted
  2. typo "Composition", "Monuments", "T-shirt": ✓ allowed
    (thanks god it was without "1=")
  3. sequence date-source-author correction: メ unwanted
  4. minuscel date: メ unwanted
  5. date is date and not the timestamp: ✓ allowed ?
  6. crazy usage of asterisks remove: ✓ allowed
  7. "based" for source file: ✓ allowed
  8. minuscel author: メ unwanted
  9. author is author without his talk page: ✓ allowed ?
  10. "|Permission" and "|other_versions" remove: メ unwanted
  11. "other fields=Igen": ✓ allowed
  12. "Retouched" into Igen: ✓ allowed, but
  13. understroke replace: メ unwanted ?
  14. template for file history: ✓ allowed because visible
  15. template for User link: メ unwanted because invisible
  16. Category sort: メ unwanted
  17. Removal of superfluous empty lines: ✓ allowed when visible
  18. Removal of superfluous empty lines: メ unwanted when invisible


9 visible changes are ✓ allowed, but 9 invisible seem メ unwanted ?

Changing [[User:Mark Miller]], [[User:Herostratus]] and [[User:Masur]] to {{U|Mark Miller}}, {{U|Herostratus}} and {{U|Masur}} is clearly visible.

When the list {{U|Mark Miller}}, {{U|Herostratus}} and {{U|Masur}}=Mark Miller, Herostratus and Masur becomes changed to {{Ul|Mark Miller|Herostratus|Masur}}=Mark Miller, Herostratus and Masur it will not be immediately visible in English — but in all other languages!

I made the Template:{{Userlist}} not to make other users angry, and not just to simplify coding, but to internalionalize sucessfully such a list. -- sarang사랑 12:10, 24 September 2021 (UTC)[reply]

Errors in relation to citation template

[edit]

I don't know whether it was this script or simpleSVGcheck.js, but I wanted to report errors if Template:Cite journal is transcluded: Special:Diff/693325308, Special:Diff/695103838 etc. --Leyo 13:14, 1 November 2022 (UTC)[reply]

@Leyo: Thank you for informing about that error (ich hätte es eher gesehen wenn gepingt..), I will give it a look and tell when it is repaired. 05:46, 21 November 2022 (UTC)[reply]

@Leyo: I could find it, the error is from Perhelion, since ~2018, something with own_replace_1;
since the version maintained by me is active, I can react swiftly - shall I remove the function, it should not harm other options ? -- sarang사랑 09:41, 21 November 2022 (UTC)[reply]

Thank you for looking into it. I can't really tell what's the best solution as I don't use the script. But, surely, this error should be avoided. --Leyo 13:51, 21 November 2022 (UTC)[reply]

Why add template:U?

[edit]

@Sarang: hi! was there consensus to change [[User:Example|Example]] to {{U|Example}}? personally i would not want such changes to my uploads. RZuo (talk) 16:58, 20 November 2022 (UTC) @RZuo: tell me please where your userlink had been changed -- sarang사랑 05:38, 21 November 2022 (UTC)[reply]

i dont know if any of my username has been changed this way, but i do not think such changes to any files are good. RZuo (talk) 05:41, 21 November 2022 (UTC)[reply]
@RZuo: ok, you believe that; but with some treatments of files, as e.g. SVG validation, since many years also a general cleanup of the description is performed. This is nowadays standard on commons. A few users made precautions to avoid their user_links cleaned up, you may do so as well. Otherwise it may happen to you — but not as long as you don't tag SVG files. -- sarang사랑 09:50, 21 November 2022 (UTC)[reply]
i asked whether there was consensus to do so.
i'm also sceptical about replacing intrawiki links with a template. why call a template when it doesnt have benefits? RZuo (talk) 10:06, 21 November 2022 (UTC)[reply]
The Interwiki link templates have disadvantages but also heavy benefits. Writing the links to your pages looks RZuo or RZuo without the alarming red, as long as you do not establish userpages (at least as redirekts to the user talk pages). This is as well valid for the other links. -- sarang사랑 14:13, 21 November 2022 (UTC)[reply]
i said intrawiki links, links within this project.
you're replacing them with U not Ut. RZuo (talk) 15:11, 21 November 2022 (UTC)[reply]

New release

[edit]

(to Kalliauer/@Minorax and Mrmw: /Petrus3743/RicHard-59/Smokefoot) Before I start substantial changes at my testversion, this stable-looking version is put into use. It should work without any problem. In case of any error, pls let me know, fallback is easy. -- sarang사랑 13:52, 19 December 2022 (UTC) -[reply]