User talk:Sarang

From Wikimedia Commons, the free media repository
(Redirected from User:Sarang)
Jump to navigation Jump to search

Sarang (talk:sarang) is also a user of the German Wikipedia. At the Commons, I mainly try to improve the categorization and to simplify SVG drawings.
My editsmy tempMy fontsMy galleryRéfo galerieCorbelle galerieSVG-check 0 §äöü€ bots mod ref ren szr HFK 📤

Diamond-caution.svg
Every SVG file uploaded to Wikimedia Commons should show
set the appropriate parameter of the template, e.g. {{Image generation}} (short: Igen) 0 or   {{Fgd}} 0
You should check the appearance and the validity before you upload a new file: use the tool Commons SVG Checker.
Further detailled information can be found at Commons talk:SVG marker templates and Commons:SVG marker templates.

Statistics[edit]

Move/Replace
RC Renaming criterion
1 uploader’s request
2 descriptive name
3 obvious errors, typos
4 harmonising names
5 Commons' guidelines
6 maintenance and fixes
Statistics
  • Files:
75,272,456
  • Page total:
100,450,505
  • User total:
10,312,079
  • Active users:
36,479
  • My rights
my edits
my sock
(link)

(link)
(link)

SpBot archives all sections tagged with {{Section resolved|1=~~~~}} after 1 day. For the archive overview, see Archive/. The latest archive is located at Archive/2021.

Template talk:Created with Inkscape - Edit request[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:COAInformation#Template talk:Created with Inkscape - Edit requestPing me please if you continue there!

Freigabe der Testversion[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:COAInformation#FreigabePing me please if you continue there!

Coa Illustration Tincture basic Purpure.svg[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:COAInformation#Madboy colorsPing me please if you continue there!

Wrong crossbar angle[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Anti-PPP logo.svgPing me please if you continue there!
0 Anti-PPP logo.svg

Gnuplot problems[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:Created with Gnuplot#Gnuplot problemsPing me please if you continue there!

A barnstar for you![edit]

Kindness Barnstar Hires.png The Random Acts of Kindness Barnstar
Thanks so much for your kindness and informative discussion regarding my recent creation and implementation of {{By color}}. I really do appreciate it. All the best! Michael Barera (talk) 23:37, 16 May 2015 (UTC)

{{Creator}} im Feld "Artist" der {{COAInformation}}[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:COAInformation#VectorizePing me please if you continue there!

Template:Image generation[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:Image generation#More tags — Template talk:Igen

Template:AutVec[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:AutVec#Template:AutVecPing me please if you continue there!

A kitten for you![edit]

Kitten-stare.jpg

Thanks for categorizing my pictures from New Zealand! Podzemnik (talk) 18:16, 31 October 2015 (UTC)

AusGovStat[edit]

SVG maps using data from the Australian Bureau of Statistics

SVG maps using data from the Australian Bureau of Statistics

Hi Sarang,

I've tried to put the AusGovStat files from Category:Valid SVG created with Gnuplot into Category:Valid SVG created with Gnuplot-AusGovStat, which was impossible. May you please help me? Should I copy them into the more specific category?--Gszegosz (talk) 10:19, 12 July 2017 (UTC)

Hi @Gszegosz:, thank you for category diffusion. The categorizing into Valid SVG created with Gnuplot occurs in the template {{AustralianBureauStatistics}} where it can be easily changed to another [sub]category. If you need more info, just ask me! -- sarang사랑 11:11, 12 July 2017 (UTC)
At the moment it categorizes now as you want; but the template {{AustralianBureauStatistics}} has not a very good solution. Its displays are somehow fine when used at the source= parameter, but looks bad when used at the description= parameter. It should be solved in another way - it can be done later. -- sarang사랑 11:45, 12 July 2017 (UTC)
A bettter solution is to remove the Gnuplot from the template and set it in the other fields as I did it for an example there. I will become a bot work to do this for the many thousand files affected. I will set up a request. -- sarang사랑 22:02, 15 July 2017 (UTC)

@Perhelion: ich habe das mal gecheckt, es betrifft wohl an die 57000 Dateien die der Überarbeitung bedürfen: Überall müsste einiges geändert, plus das Igen eingebaut werden. Ginge ja gut mit VFC aber bei dieser Menge nicht mehr machbar, da ist ein bot gefragt. Die Anzahl der Fehler erscheint bei jeder Kategorie dieselbe zu sein, dein script zählt nur bis 1000 und hört dann auf. Allzugrosse Dateien sind uncheckbar.
Die Instruktionen für so einen bot kann ich vorbereiten, |Other fields={{Igen|+|244|%|>|s=acm}} etc.
Nach meinen Erfahrungen ist es recht schwierig mit einem bot-Betreiber in Kontakt zu kommen. Ich versuch es mal, und wenn es garnicht geht frage ich dich ob du eine Idee hast. Gruss -- sarang사랑 14:16, 17 July 2017 (UTC)

Visio-TD-scenarionewgood.svg u. a.[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:Extracted with Inkscape#Visio-TD-scenarionewgood.svg u.a.Ping me please if you continue there!

Full stop for other language[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:Created with/bn#Full stop for other languagePing me please if you continue there!

Was machen wenn zwei Programme verwendet wurden (Igen)[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:Created with QGIS#Was machen wenn zwei Programme verwendet wurden (Igen)Ping me please if you continue there!

A barnstar for you![edit]

Cleanup Barnstar Hires.png
High-contrast-edit-clear.svg The Cleanup Barnstar High-contrast-help-about.svg
This Special Barnstar is awarded to Sarang by Johannes Kalliauer and Perhelion: Thanks for tagging, categorizing, cleaning and fixing up a huge amount of file descriptions, and thank you for being a very helpful user, thank you for your contribution to the drive! -- 21:35, 7 June 2018 (UTC)

Order of tinctures?[edit]

Arrow facing right - Green.svg This section has been moved to Template_talk:Tincture#Order_of_tinctures?Ping me please if you continue there!

The "cat" of ACClicense[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:ACClicense#The "cat" of ACClicensePing me please if you continue there!

Automatically inserting Igen[edit]

Arrow facing right - Green.svg This section has been moved to User talk:JoKalliauer/Optimization#Automatically inserting IgenPing me please if you continue there!

A kitten for you![edit]

Cute grey kitten.jpg

Hello Sarang, thank you for your brilliant work! I appreciate your support!

Frelsi (talk) 21:40, 11 January 2020 (UTC)


who (or what) is Frelsi ?

simple svg[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Erroneous flag of South Australia (1908).svg#simple svgPing me please if you continue there!

pfad[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Welterbe.svg#pfadPing me please if you continue there!

File:Roof pitch.svg[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Roof pitch.svg#TemplatesPing me please if you continue there!

multilang, klone und unterseite[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Comparison optical telescope primary mirrors.svgPing me please if you continue there!

File:Zenith-Nadir-Horizon.svg[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Zenith-Nadir-Horizon.svg#File:Zenith-Nadir-Horizon.svg

File:Teilchenmodell Gas.svg[edit]

Arrow facing right - Green.svg This section has been moved to File talk:Teilchenmodell Gas.svg#File:Teilchenmodell Gas.svg

Template:Image generation in Italian[edit]

Arrow facing right - Green.svg This section has been moved to Template talk:Created with/it#Image generation in ItalianPing me please if you continue there!

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
to the one and only template guru  MaxxL - talk 17:22, 28 November 2020 (UTC)

As far as I remember, the square and circle should surround a naked man ??


Template Barnstar[edit]

Blueprint Barnstar.svg The Template Barnstar
For your expertise in SVG-Templates  — Johannes Kalliauer - Talk | Contributions 13:54, 21 February 2021 (UTC)


Code issues in User:Sarang/simpleSVGcheck/sandbox.js[edit]

Hi Sarang, I am a bored bot (this is kind of a computer program) that is watching the recent changes and tapping buttons like I did now.

Curious about the reason? Possibly not but I will tell you anyway:

  1. You edited User:Sarang/simpleSVGcheck/sandbox.js. Glad to see you coding in javascript! Have you ever considered becoming a MediaWiki hacker?
  2. Though, that change appears to introduce 1 new jshint issue — the page's status is now having ERRORS. Note that invalid or ambiguous code often has unwanted side effects like breaking other tools for you. If you cannot find out how to fix it, I suggest blanking the page for now.
  3. To help you understanding where the issues are, I have aggregated a report here and now. If you have questions, don't hesitate to ask users experienced in javascript writing for help. But do not ask the bot's operators (chronically overwrought) unless you suspect an error of mine. If you prefer not getting spammed by me, you can opt-out reports by adding {{ValidationOptOut|type=all}} to your user page or cmb-opt-out anywhere on your your global user page on Meta. Good luck at Wikimedia Commons and happy hacking!
  1. ISSUE: line 756 character 31: Use '===' to compare with 'null'. - Evidence: if (existU==null)

Your CommonsMaintenanceBot (talk) at 04:46, 26 July 2021 (UTC).


Code issues in User:Sarang/simpleSVGcheck/sandbox.js[edit]

Hi Sarang, I am a bored bot (this is kind of a computer program) that is watching the recent changes and tapping buttons like I did now.

Curious about the reason? Possibly not but I will tell you anyway:

  1. You edited User:Sarang/simpleSVGcheck/sandbox.js. Glad to see you coding in javascript! Have you ever considered becoming a MediaWiki hacker?
  2. Though, that change appears to introduce 4 new jshint issues — the page's status is now having ERRORS. Note that invalid or ambiguous code often has unwanted side effects like breaking other tools for you. If you cannot find out how to fix it, I suggest blanking the page for now.
  3. To help you understanding where the issues are, I have aggregated a report here and now. If you have questions, don't hesitate to ask users experienced in javascript writing for help. But do not ask the bot's operators (chronically overwrought) unless you suspect an error of mine. If you prefer not getting spammed by me, you can opt-out reports by adding {{ValidationOptOut|type=all}} to your user page or cmb-opt-out anywhere on your your global user page on Meta. Good luck at Wikimedia Commons and happy hacking!
  1. ISSUE: line 548 character 49: 'function closure expressions' is only available in Mozilla JavaScript extensions (use moz option). - Evidence: function pageexist( pagename, namespace )
  2. ISSUE: line 552 character 29: Use '===' to compare with 'null'. - Evidence: if (boolres == null) // CommonsMaintenanceBot issue
  3. ISSUE: line 557 character 5: Expected ')' and instead saw 'function'. - Evidence: function pageexists(pagname) { // pageid = "namespace:pagename"
  4. ISSUE: line 557 character 33: Missing semicolon. - Evidence: function pageexists(pagname) { // pageid = "namespace:pagename"

Your CommonsMaintenanceBot (talk) at 14:37, 28 July 2021 (UTC).


Code issues in User:Sarang/simpleSVGcheck/sandbox.js[edit]

Hi Sarang, I am a bored bot (this is kind of a computer program) that is watching the recent changes and tapping buttons like I did now.

Curious about the reason? Possibly not but I will tell you anyway:

  1. You edited User:Sarang/simpleSVGcheck/sandbox.js. Glad to see you coding in javascript! Have you ever considered becoming a MediaWiki hacker?
  2. Though, that change appears to introduce 40 new jshint issues — the page's status is now having ERRORS. Note that invalid or ambiguous code often has unwanted side effects like breaking other tools for you. If you cannot find out how to fix it, I suggest blanking the page for now.
  3. To help you understanding where the issues are, I have aggregated a report here and now. If you have questions, don't hesitate to ask users experienced in javascript writing for help. But do not ask the bot's operators (chronically overwrought) unless you suspect an error of mine. If you prefer not getting spammed by me, you can opt-out reports by adding {{ValidationOptOut|type=all}} to your user page or cmb-opt-out anywhere on your your global user page on Meta. Good luck at Wikimedia Commons and happy hacking!
  1. ISSUE: line 541 character 14: Missing semicolon. - Evidence: async function userexist( username, namespace )
  2. ISSUE: line 542 character 19: Missing semicolon. - Evidence: { await mw.loader.using( 'mediawiki.api' );
  3. ISSUE: line 552 character 17: Expected '(' and instead saw '{'. - Evidence: { return 'Uf'; }
  4. ISSUE: line 552 character 26: Expected ')' and instead saw 'Uf'. - Evidence: { return 'Uf'; }
  5. ISSUE: line 552 character 30: Expected '{' and instead saw ';'. - Evidence: { return 'Uf'; }
  6. ISSUE: line 552 character 30: Unnecessary semicolon. - Evidence: { return 'Uf'; }
  7. ISSUE: line 564 character 9: Expected '}' to match '{' from line 43 and instead saw 'function'. - Evidence: function generalCleanup(text) {
  8. ISSUE: line 564 character 17: Missing semicolon. - Evidence: function generalCleanup(text) {
  9. ISSUE: line 564 character 38: Missing semicolon. - Evidence: function generalCleanup(text) {
  10. ISSUE: line 1499 character 18: Expected ')' to match '(' from line 24 and instead saw ':'. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  11. ISSUE: line 1499 character 19: Missing semicolon. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  12. ISSUE: line 1499 character 29: Missing name in function declaration. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  13. ISSUE: line 1536 character 6: Expected an identifier and instead saw ','. - Evidence: },
  14. ISSUE: line 1536 character 7: Missing semicolon. - Evidence: },
  15. ISSUE: line 1538 character 17: Label 'addIgenURL' on function statement. - Evidence: addIgenURL: function (err, size, toolName, para) {
  16. ISSUE: line 1538 character 26: Missing name in function declaration. - Evidence: addIgenURL: function (err, size, toolName, para) {
  17. ISSUE: line 1551 character 6: Expected an identifier and instead saw ','. - Evidence: },
  18. ISSUE: line 1551 character 7: Missing semicolon. - Evidence: },
  19. ISSUE: line 1559 character 19: Label 'getTempBlock' on function statement. - Evidence: getTempBlock: function (fullStr, start) {
  20. ISSUE: line 1559 character 28: Missing name in function declaration. - Evidence: getTempBlock: function (fullStr, start) {
  21. ISSUE: line 1574 character 6: Expected an identifier and instead saw ','. - Evidence: },
  22. ISSUE: line 1574 character 7: Missing semicolon. - Evidence: },
  23. ISSUE: line 1576 character 20: Label 'insertIgenSub' on function statement. - Evidence: insertIgenSub: function () {
  24. ISSUE: line 1576 character 29: Missing name in function declaration. - Evidence: insertIgenSub: function () {
  25. ISSUE: line 1623 character 6: Expected an identifier and instead saw ','. - Evidence: },
  26. ISSUE: line 1623 character 7: Missing semicolon. - Evidence: },
  27. ISSUE: line 1625 character 19: Label 'insertAutVec' on function statement. - Evidence: insertAutVec: function ($textarea) {
  28. ISSUE: line 1625 character 28: Missing name in function declaration. - Evidence: insertAutVec: function ($textarea) {
  29. ISSUE: line 1653 character 6: Expected an identifier and instead saw ','. - Evidence: },
  30. ISSUE: line 1653 character 7: Missing semicolon. - Evidence: },
  31. ISSUE: line 1655 character 17: Label 'addButtons' on function statement. - Evidence: addButtons: function ($textarea) {
  32. ISSUE: line 1655 character 26: Missing name in function declaration. - Evidence: addButtons: function ($textarea) {
  33. ISSUE: line 1737 character 6: Expected an identifier and instead saw ','. - Evidence: },
  34. ISSUE: line 1737 character 7: Missing semicolon. - Evidence: },
  35. ISSUE: line 1738 character 17: Label 'getIgenTop' on function statement. - Evidence: getIgenTop: function () {
  36. ISSUE: line 1738 character 26: Missing name in function declaration. - Evidence: getIgenTop: function () {
  37. ISSUE: line 1850 character 6: Expected an identifier and instead saw ','. - Evidence: },
  38. ISSUE: line 1850 character 7: Missing semicolon. - Evidence: },
  39. ISSUE: line 1852 character 17: Label 'addToolbar' on function statement. - Evidence: addToolbar: function () {
  40. ISSUE: line 1852 character 26: Missing name in function declaration. - Evidence: addToolbar: function () {
  41. ISSUE: line 1904 character 1: Expected '(end)' and instead saw '}'. - Evidence: };

Your CommonsMaintenanceBot (talk) at 17:57, 29 July 2021 (UTC).


Code issues in User:Sarang/simpleSVGcheck/sandbox.js[edit]

Hi Sarang, I am a bored bot (this is kind of a computer program) that is watching the recent changes and tapping buttons like I did now.

Curious about the reason? Possibly not but I will tell you anyway:

  1. You edited User:Sarang/simpleSVGcheck/sandbox.js. Glad to see you coding in javascript! Have you ever considered becoming a MediaWiki hacker?
  2. Though, that change appears to introduce 41 new jshint issues — the page's status is now having ERRORS. Note that invalid or ambiguous code often has unwanted side effects like breaking other tools for you. If you cannot find out how to fix it, I suggest blanking the page for now.
  3. To help you understanding where the issues are, I have aggregated a report here and now. If you have questions, don't hesitate to ask users experienced in javascript writing for help. But do not ask the bot's operators (chronically overwrought) unless you suspect an error of mine. If you prefer not getting spammed by me, you can opt-out reports by adding {{ValidationOptOut|type=all}} to your user page or cmb-opt-out anywhere on your your global user page on Meta. Good luck at Wikimedia Commons and happy hacking!
  1. ISSUE: line 533 character 14: Missing semicolon. - Evidence: async function userexist ( username, namespace )
  2. ISSUE: line 534 character 19: Missing semicolon. - Evidence: { await mw.loader.using( 'mediawiki.api' );
  3. ISSUE: line 544 character 17: Expected '(' and instead saw '{'. - Evidence: {return 'Uf';}
  4. ISSUE: line 544 character 25: Expected ')' and instead saw 'Uf'. - Evidence: {return 'Uf';}
  5. ISSUE: line 544 character 29: Expected '{' and instead saw ';'. - Evidence: {return 'Uf';}
  6. ISSUE: line 544 character 29: Unnecessary semicolon. - Evidence: {return 'Uf';}
  7. ISSUE: line 554 character 9: Expected '}' to match '{' from line 43 and instead saw 'function'. - Evidence: function _ucfirst(s) // Uppercase
  8. ISSUE: line 554 character 17: Missing semicolon. - Evidence: function _ucfirst(s) // Uppercase
  9. ISSUE: line 554 character 29: Missing semicolon. - Evidence: function _ucfirst(s) // Uppercase
  10. ISSUE: line 743 character 32: Missing semicolon. - Evidence: { ns = await userexist("User:" + link, 'U');
  11. ISSUE: line 747 character 31: Missing semicolon. - Evidence: ns = await userexist("User:" + link + '~commonswiki', 'Uw');
  12. ISSUE: line 1495 character 18: Expected ')' to match '(' from line 24 and instead saw ':'. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  13. ISSUE: line 1495 character 19: Missing semicolon. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  14. ISSUE: line 1495 character 29: Missing name in function declaration. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  15. ISSUE: line 1532 character 6: Expected an identifier and instead saw ','. - Evidence: },
  16. ISSUE: line 1532 character 7: Missing semicolon. - Evidence: },
  17. ISSUE: line 1534 character 17: Label 'addIgenURL' on function statement. - Evidence: addIgenURL: function (err, size, toolName, para) {
  18. ISSUE: line 1534 character 26: Missing name in function declaration. - Evidence: addIgenURL: function (err, size, toolName, para) {
  19. ISSUE: line 1547 character 6: Expected an identifier and instead saw ','. - Evidence: },
  20. ISSUE: line 1547 character 7: Missing semicolon. - Evidence: },
  21. ISSUE: line 1555 character 19: Label 'getTempBlock' on function statement. - Evidence: getTempBlock: function (fullStr, start) {
  22. ISSUE: line 1555 character 28: Missing name in function declaration. - Evidence: getTempBlock: function (fullStr, start) {
  23. ISSUE: line 1570 character 6: Expected an identifier and instead saw ','. - Evidence: },
  24. ISSUE: line 1570 character 7: Missing semicolon. - Evidence: },
  25. ISSUE: line 1572 character 20: Label 'insertIgenSub' on function statement. - Evidence: insertIgenSub: function () {
  26. ISSUE: line 1572 character 29: Missing name in function declaration. - Evidence: insertIgenSub: function () {
  27. ISSUE: line 1619 character 6: Expected an identifier and instead saw ','. - Evidence: },
  28. ISSUE: line 1619 character 7: Missing semicolon. - Evidence: },
  29. ISSUE: line 1621 character 19: Label 'insertAutVec' on function statement. - Evidence: insertAutVec: function ($textarea) {
  30. ISSUE: line 1621 character 28: Missing name in function declaration. - Evidence: insertAutVec: function ($textarea) {
  31. ISSUE: line 1649 character 6: Expected an identifier and instead saw ','. - Evidence: },
  32. ISSUE: line 1649 character 7: Missing semicolon. - Evidence: },
  33. ISSUE: line 1651 character 17: Label 'addButtons' on function statement. - Evidence: addButtons: function ($textarea) {
  34. ISSUE: line 1651 character 26: Missing name in function declaration. - Evidence: addButtons: function ($textarea) {
  35. ISSUE: line 1733 character 6: Expected an identifier and instead saw ','. - Evidence: },
  36. ISSUE: line 1733 character 7: Missing semicolon. - Evidence: },
  37. ISSUE: line 1734 character 17: Label 'getIgenTop' on function statement. - Evidence: getIgenTop: function () {
  38. ISSUE: line 1734 character 26: Missing name in function declaration. - Evidence: getIgenTop: function () {
  39. ISSUE: line 1846 character 6: Expected an identifier and instead saw ','. - Evidence: },
  40. ISSUE: line 1846 character 7: Missing semicolon. - Evidence: },
  41. ISSUE: line 1848 character 17: Label 'addToolbar' on function statement. - Evidence: addToolbar: function () {
  42. ISSUE: line 1848 character 26: Missing name in function declaration. - Evidence: addToolbar: function () {
  43. ISSUE: line 1900 character 1: Expected '(end)' and instead saw '}'. - Evidence: };

Your CommonsMaintenanceBot (talk) at 05:36, 30 July 2021 (UTC).


Code issues in User:Sarang/simpleSVGcheck/sandbox.js[edit]

Hi Sarang, I am a bored bot (this is kind of a computer program) that is watching the recent changes and tapping buttons like I did now.

Curious about the reason? Possibly not but I will tell you anyway:

  1. You edited User:Sarang/simpleSVGcheck/sandbox.js. Glad to see you coding in javascript! Have you ever considered becoming a MediaWiki hacker?
  2. Though, that change appears to introduce 41 new jshint issues — the page's status is now having ERRORS. Note that invalid or ambiguous code often has unwanted side effects like breaking other tools for you. If you cannot find out how to fix it, I suggest blanking the page for now.
  3. To help you understanding where the issues are, I have aggregated a report here and now. If you have questions, don't hesitate to ask users experienced in javascript writing for help. But do not ask the bot's operators (chronically overwrought) unless you suspect an error of mine. If you prefer not getting spammed by me, you can opt-out reports by adding {{ValidationOptOut|type=all}} to your user page or cmb-opt-out anywhere on your your global user page on Meta. Good luck at Wikimedia Commons and happy hacking!
  1. ISSUE: line 569 character 29: Use '===' to compare with 'null'. - Evidence: if (boolres == null) // CommonsMaintenanceBot issue
  2. ISSUE: line 1509 character 6: Expected an identifier and instead saw ','. - Evidence: },
  3. ISSUE: line 1509 character 7: Missing semicolon. - Evidence: },
  4. ISSUE: line 1511 character 20: Label 'addToFileDesc' on function statement. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  5. ISSUE: line 1511 character 29: Missing name in function declaration. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  6. ISSUE: line 1548 character 6: Expected an identifier and instead saw ','. - Evidence: },
  7. ISSUE: line 1548 character 7: Missing semicolon. - Evidence: },
  8. ISSUE: line 1550 character 17: Label 'addIgenURL' on function statement. - Evidence: addIgenURL: function (err, size, toolName, para) {
  9. ISSUE: line 1550 character 26: Missing name in function declaration. - Evidence: addIgenURL: function (err, size, toolName, para) {
  10. ISSUE: line 1550 character 26: '{a}' is already defined. - Evidence: addIgenURL: function (err, size, toolName, para) {
  11. ISSUE: line 1563 character 6: Expected an identifier and instead saw ','. - Evidence: },
  12. ISSUE: line 1563 character 7: Missing semicolon. - Evidence: },
  13. ISSUE: line 1571 character 19: Label 'getTempBlock' on function statement. - Evidence: getTempBlock: function (fullStr, start) {
  14. ISSUE: line 1571 character 28: Missing name in function declaration. - Evidence: getTempBlock: function (fullStr, start) {
  15. ISSUE: line 1571 character 28: '{a}' is already defined. - Evidence: getTempBlock: function (fullStr, start) {
  16. ISSUE: line 1586 character 6: Expected an identifier and instead saw ','. - Evidence: },
  17. ISSUE: line 1586 character 7: Missing semicolon. - Evidence: },
  18. ISSUE: line 1588 character 20: Label 'insertIgenSub' on function statement. - Evidence: insertIgenSub: function () {
  19. ISSUE: line 1588 character 29: Missing name in function declaration. - Evidence: insertIgenSub: function () {
  20. ISSUE: line 1588 character 29: '{a}' is already defined. - Evidence: insertIgenSub: function () {
  21. ISSUE: line 1635 character 6: Expected an identifier and instead saw ','. - Evidence: },
  22. ISSUE: line 1635 character 7: Missing semicolon. - Evidence: },
  23. ISSUE: line 1637 character 19: Label 'insertAutVec' on function statement. - Evidence: insertAutVec: function ($textarea) {
  24. ISSUE: line 1637 character 28: Missing name in function declaration. - Evidence: insertAutVec: function ($textarea) {
  25. ISSUE: line 1637 character 28: '{a}' is already defined. - Evidence: insertAutVec: function ($textarea) {
  26. ISSUE: line 1665 character 6: Expected an identifier and instead saw ','. - Evidence: },
  27. ISSUE: line 1665 character 7: Missing semicolon. - Evidence: },
  28. ISSUE: line 1667 character 17: Label 'addButtons' on function statement. - Evidence: addButtons: function ($textarea) {
  29. ISSUE: line 1667 character 26: Missing name in function declaration. - Evidence: addButtons: function ($textarea) {
  30. ISSUE: line 1667 character 26: '{a}' is already defined. - Evidence: addButtons: function ($textarea) {
  31. ISSUE: line 1749 character 6: Expected an identifier and instead saw ','. - Evidence: },
  32. ISSUE: line 1749 character 7: Missing semicolon. - Evidence: },
  33. ISSUE: line 1750 character 17: Label 'getIgenTop' on function statement. - Evidence: getIgenTop: function () {
  34. ISSUE: line 1750 character 26: Missing name in function declaration. - Evidence: getIgenTop: function () {
  35. ISSUE: line 1750 character 26: '{a}' is already defined. - Evidence: getIgenTop: function () {
  36. ISSUE: line 1862 character 6: Expected an identifier and instead saw ','. - Evidence: },
  37. ISSUE: line 1862 character 7: Missing semicolon. - Evidence: },
  38. ISSUE: line 1864 character 17: Label 'addToolbar' on function statement. - Evidence: addToolbar: function () {
  39. ISSUE: line 1864 character 26: Missing name in function declaration. - Evidence: addToolbar: function () {
  40. ISSUE: line 1864 character 26: '{a}' is already defined. - Evidence: addToolbar: function () {
  41. ISSUE: line 1916 character 2: Expected '}' to match '{' from line 44 and instead saw ';'. - Evidence: };
  42. ISSUE: line 1916 character 3: Missing semicolon. - Evidence: };

Your CommonsMaintenanceBot (talk) at 06:15, 30 July 2021 (UTC).


Code issues in User:Sarang/simpleSVGcheck/sandbox.js[edit]

Hi Sarang, I am a bored bot (this is kind of a computer program) that is watching the recent changes and tapping buttons like I did now.

Curious about the reason? Possibly not but I will tell you anyway:

  1. You edited User:Sarang/simpleSVGcheck/sandbox.js. Glad to see you coding in javascript! Have you ever considered becoming a MediaWiki hacker?
  2. Though, that change appears to introduce 10 new jshint issues — the page's status is now having ERRORS. Note that invalid or ambiguous code often has unwanted side effects like breaking other tools for you. If you cannot find out how to fix it, I suggest blanking the page for now.
  3. To help you understanding where the issues are, I have aggregated a report here and now. If you have questions, don't hesitate to ask users experienced in javascript writing for help. But do not ask the bot's operators (chronically overwrought) unless you suspect an error of mine. If you prefer not getting spammed by me, you can opt-out reports by adding {{ValidationOptOut|type=all}} to your user page or cmb-opt-out anywhere on your your global user page on Meta. Good luck at Wikimedia Commons and happy hacking!
  1. ISSUE: line 568 character 29: Use '===' to compare with 'null'. - Evidence: if (boolres == null) // CommonsMaintenanceBot issue
  2. ISSUE: line 1180 character 13: Possible strict violation. - Evidence: this.textTrans = 0; // Logos don't get translated
  3. ISSUE: line 1270 character 44: Possible strict violation. - Evidence: toolName = _ucfirst(toolName) || ((this.curSize && this.curSize > 50 && this.curSize < 2000) ? 'T' : 'U');
  4. ISSUE: line 1270 character 60: Possible strict violation. - Evidence: toolName = _ucfirst(toolName) || ((this.curSize && this.curSize > 50 && this.curSize < 2000) ? 'T' : 'U');
  5. ISSUE: line 1270 character 81: Possible strict violation. - Evidence: toolName = _ucfirst(toolName) || ((this.curSize && this.curSize > 50 && this.curSize < 2000) ? 'T' : 'U');
  6. ISSUE: line 1365 character 17: Possible strict violation. - Evidence: this.setIgen(IgenName += (toolName || '×?×') + (err ? '|' + err.toString() : '') + '|+|s=' + s, tempPre);
  7. ISSUE: line 1373 character 13: Possible strict violation. - Evidence: if (this.badSVG) {
  8. ISSUE: line 1376 character 17: Possible strict violation. - Evidence: if (this.badSVG > 1)
  9. ISSUE: line 1381 character 13: Possible strict violation. - Evidence: if (this.curSize > 3407872) // 3407872 = 3.4M; 4194304 = 4M
  10. ISSUE: line 1383 character 13: Possible strict violation. - Evidence: if (this.textPath)
  11. ISSUE: line 1385 character 13: Possible strict violation. - Evidence: if (this.PGF)
  12. ISSUE: line 1387 character 18: Possible strict violation. - Evidence: else if (this.switchTrans)
  13. ISSUE: line 1389 character 18: Possible strict violation. - Evidence: else if (this.textTrans && !/\|%/.test(p5) && toolName !== 'Wpdc') // ed_wdh
  14. ISSUE: line 1508 character 6: Expected an identifier and instead saw ','. - Evidence: },
  15. ISSUE: line 1508 character 7: Missing semicolon. - Evidence: },
  16. ISSUE: line 1510 character 20: Label 'addToFileDesc' on function statement. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  17. ISSUE: line 1510 character 29: Missing name in function declaration. - Evidence: addToFileDesc: function ($textarea, e, warn, toolName) {
  18. ISSUE: line 1547 character 6: Expected an identifier and instead saw ','. - Evidence: },
  19. ISSUE: line 1547 character 7: Missing semicolon. - Evidence: },
  20. ISSUE: line 1549 character 17: Label 'addIgenURL' on function statement. - Evidence: addIgenURL: function (err, size, toolName, para) {
  21. ISSUE: line 1549 character 26: Missing name in function declaration. - Evidence: addIgenURL: function (err, size, toolName, para) {
  22. ISSUE: line 1549 character 26: '{a}' is already defined. - Evidence: addIgenURL: function (err, size, toolName, para) {
  23. ISSUE: line 1562 character 6: Expected an identifier and instead saw ','. - Evidence: },
  24. ISSUE: line 1562 character 7: Missing semicolon. - Evidence: },
  25. ISSUE: line 1570 character 19: Label 'getTempBlock' on function statement. - Evidence: getTempBlock: function (fullStr, start) {
  26. ISSUE: line 1570 character 28: Missing name in function declaration. - Evidence: getTempBlock: function (fullStr, start) {
  27. ISSUE: line 1570 character 28: '{a}' is already defined. - Evidence: getTempBlock: function (fullStr, start) {
  28. ISSUE: line 1585 character 6: Expected an identifier and instead saw ','. - Evidence: },
  29. ISSUE: line 1585 character 7: Missing semicolon. - Evidence: },
  30. ISSUE: line 1587 character 20: Label 'insertIgenSub' on function statement. - Evidence: insertIgenSub: function () {
  31. ISSUE: line 1587 character 29: Missing name in function declaration. - Evidence: insertIgenSub: function () {
  32. ISSUE: line 1587 character 29: '{a}' is already defined. - Evidence: insertIgenSub: function () {
  33. ISSUE: line 1634 character 6: Expected an identifier and instead saw ','. - Evidence: },
  34. ISSUE: line 1634 character 7: Missing semicolon. - Evidence: },
  35. ISSUE: line 1636 character 19: Label 'insertAutVec' on function statement. - Evidence: insertAutVec: function ($textarea) {
  36. ISSUE: line 1636 character 28: Missing name in function declaration. - Evidence: insertAutVec: function ($textarea) {
  37. ISSUE: line 1636 character 28: '{a}' is already defined. - Evidence: insertAutVec: function ($textarea) {
  38. ISSUE: line 1664 character 6: Expected an identifier and instead saw ','. - Evidence: },
  39. ISSUE: line 1664 character 7: Missing semicolon. - Evidence: },
  40. ISSUE: line 1666 character 17: Label 'addButtons' on function statement. - Evidence: addButtons: function ($textarea) {
  41. ISSUE: line 1666 character 26: Missing name in function declaration. - Evidence: addButtons: function ($textarea) {
  42. ISSUE: line 1666 character 26: '{a}' is already defined. - Evidence: addButtons: function ($textarea) {
  43. ISSUE: line 1748 character 6: Expected an identifier and instead saw ','. - Evidence: },
  44. ISSUE: line 1748 character 7: Missing semicolon. - Evidence: },
  45. ISSUE: line 1749 character 17: Label 'getIgenTop' on function statement. - Evidence: getIgenTop: function () {
  46. ISSUE: line 1749 character 26: Missing name in function declaration. - Evidence: getIgenTop: function () {
  47. ISSUE: line 1749 character 26: '{a}' is already defined. - Evidence: getIgenTop: function () {
  48. ISSUE: line 1861 character 6: Expected an identifier and instead saw ','. - Evidence: },
  49. ISSUE: line 1861 character 7: Missing semicolon. - Evidence: },
  50. ISSUE: line 1863 character 17: Label 'addToolbar' on function statement. - Evidence: addToolbar: function () {
  51. ISSUE: line 1863 character 17: Too many errors. (93% scanned). - Evidence: undefined

Your CommonsMaintenanceBot (talk) at 06:20, 30 July 2021 (UTC).

Browser verändert Quelltext beim öffnen&speichern[edit]

Hallo!

Ich bilde mir ein, dass Firefox beim Öffnen und dann speichern (bei gewissen SVGs) einen veränderten SVG-Quelltext speichert, als die auf Commons liegt. Wenn man Ziel speichern unter klickt passiert das nicht. Ich bin mir nicht sicher ob es wirklich Firefox oder doch Google Chrome war bzw. bei welchen SVGs das auftritt. Ich bilde mir ein mit jemanden bereits darüber geredet zu haben und wollte dich fragen ob du weiß welche SVGs davon betroffen sind.

 — Johannes Kalliauer - Talk | Contributions 08:04, 30 July 2021 (UTC)

mir ist da nichts derartiges aufgefallen.
Ich lade oft was mit "Ziel speichern unter" runter, eher selten auch indem ich es mit Rillke öffne und von dort kopiere. Du hast da eine dritte Variante? So ganz genau habe ich nicht verstanden was du mit FF machst -- sarang사랑 08:15, 30 July 2021 (UTC)
@JoKalliauer:
Do you have an example SVG file that gets changed?
I would not expect the SVG source to change, but there are some possibilities
An SVG file using a less common character encoding may be converted to UTF-8. If the Commons file has encoding="Shift-JIS", then the browser may read the JIS text and convert it to a DOMSTRING (UTF-16). When asked to save the text, it may save it as UTF-8. (Commons now restricts the encodings that may be uploaded.)
I would not expect a browser to reserialize its parsed SVG. If a browser did that, then the entity references would be replaced with their definitions. For example, many Adobe files define entities such as ns_extend and ns_ai; those references would be replaced.
I expect most graphics editors to change the source code. Could that be what happened?
Glrx (talk) 17:37, 30 July 2021 (UTC)
@Sarang: I thought about open a file https://upload.wikimedia.org/wikipedia/commons/0/06/Ways_of_St-2._James_in_Europe.svg and then press Ctrl+s (or alternatively over the menu)
@Glrx: I thought a browser integrated on opening or on saving a entity into the document (displaying the souce-code was correct). This lead to confusion some time ago, cause the saved file did not agree with the source-code in the browser. Some time later I think two people saw different svg-code and discussed it, not knowing about this phenomena, later I explained the reason.
Maybe I have to check/try some svg-codes, to find a pattern causing such differences.
 — Johannes Kalliauer - Talk | Contributions 21:45, 30 July 2021 (UTC)
@Glrx: File found from @Cmglee:: https://upload.wikimedia.org/wikipedia/commons/6/67/USGS_magnitude_8_earthquakes_since_1900.svg
original file: https://upload.wikimedia.org/wikipedia/commons/6/67/USGS_magnitude_8_earthquakes_since_1900.svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<svg
if you open https://upload.wikimedia.org/wikipedia/commons/6/67/USGS_magnitude_8_earthquakes_since_1900.svg in Firefox and press Ctrl+s
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
In this case Firefox
  1. replace two line feed (LF) with one line feed, however if you compare line-numbers it can be very annoying/confusing.
  2. replace all /> with />, removement of spaces
  3. change the file-name from USGS_magnitude_8_earthquakes_since_1900.svg to the svg-title Magnitude 8.0 and greater earthquakes since 1900.svg
  4. leading to a file-reduction from 115.058 bytes to 114.591 bytes
I meant more server cases, however I think you can see the Problem
 — Johannes Kalliauer - Talk | Contributions 22:08, 30 July 2021 (UTC)
https://upload.wikimedia.org/wikipedia/commons/b/b3/Chr1_idiogram.svg change from <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'> to <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">


https://upload.wikimedia.org/wikipedia/commons/f/f9/Nauru-EEZ-fr.svg
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 11 Build 196, SVG Export Plug-In . SVG Version: 6.0.0 Build 78)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
	<!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
	<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
	<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
	<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
	<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
	<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
	<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
	<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
	<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
	<!ENTITY ns_svg "http://www.w3.org/2000/svg">
	<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg 
	 xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" i:viewOrigin="127 445" i:rulerOrigin="0 0" i:pageBounds="0 612 792 0"
	 xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" width="539" height="277"
	 viewBox="0 0 539 277" overflow="visible" enable-background="new 0 0 539 277" xml:space="preserve">

to

<?xml version="1.0" encoding="UTF-8"?>
<!-- Generator: Adobe Illustrator 11 Build 196, SVG Export Plug-In . SVG Version: 6.0.0 Build 78)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns:x="http://ns.adobe.com/Extensibility/1.0/" xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" xmlns:graph="http://ns.adobe.com/Graphs/1.0/" i:viewOrigin="127 445" i:rulerOrigin="0 0" i:pageBounds="0 612 792 0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" width="539" height="277" viewBox="0 0 539 277" overflow="visible" enable-background="new 0 0 539 277" xml:space="preserve">
 — Johannes Kalliauer - Talk | Contributions 22:17, 30 July 2021 (UTC)

Error in Perhelion after Admin moved code over[edit]

Hi Sarang. I hope you are doing well! Long time we don't chat!
I see that an ADMIN moved your javascript code to User:Perhelion/simpleSVGcheck.js That's awesome. There is a small error.. now the javascript code has an error when I run it and click on 'Show Preview" before I save the file. I run the javascript, I do Show Preview (before saving file changes), I see error "Unrecognized value for parameter "useskin": modern" BTW, I use the Chrome browser --The Eloquent Peasant (talk) 20:33, 31 July 2021 (UTC)

Thank you for telling me. There are so many possibilities, impossible to test each combination, that sure the script contain errors. I can do something only when somebody let me know.
I am using the skin "MonoBook", and the Perhelion-script myself with Firefox as well as Chrom. I have no idea where the mentioned error comes from, may be that you can give me more information? Where it occurs, whether it is reproduceable; how much it disturbs your work. -- sarang사랑 04:54, 1 August 2021 (UTC)