Discuss Scratch

CodeLearnerSai
Scratcher
100+ posts

Scratch Wiki Community Portal - in the forums!

I noticed that Bureaucrats can unblock themselves while blocked and cause vandalism with their rights. If users cannot be demoted from Bureaucrat, what will you do?

Makes music with MusescoreWikipedia and Wikimedia Meta-Wiki editor

Ninja Cube 4: project 559368592
All Ninja Cube Games: studio 31106316
dhuls
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

CodeLearnerSai wrote:

I noticed that Bureaucrats can unblock themselves while blocked and cause vandalism with their rights. If users cannot be demoted from Bureaucrat, what will you do?
Bureaucrats can
  • Block a user from sending email (blockemail)
  • Block other users from editing (block)
  • Check users' IP addresses and other information (checkuser)
  • Create new user accounts (createaccount)
  • Edit all user rights (userrights)
  • Edit interwiki data (interwiki)
  • Edit sitewide JavaScript (editsitejs)
  • Not be affected by rate limits (noratelimit)
  • Rename users (renameuser)
  • View private logs (suppressionlog)
  • View the checkuser log (checkuser-log)
  • View, hide and unhide specific revisions of pages from any user (suppressrevision)
So in the hypothetical and very unlikely scenario where one bureaucrat went on a rampage, the others can just take away their bureaucrat rank. And if they can't do that, there is backend access.
CodeLearnerSai
Scratcher
100+ posts

Scratch Wiki Community Portal - in the forums!

dhuls wrote:

CodeLearnerSai wrote:

I noticed that Bureaucrats can unblock themselves while blocked and cause vandalism with their rights. If users cannot be demoted from Bureaucrat, what will you do?
Bureaucrats can
  • Block a user from sending email (blockemail)
  • Block other users from editing (block)
  • Check users' IP addresses and other information (checkuser)
  • Create new user accounts (createaccount)
  • Edit all user rights (userrights)
  • Edit interwiki data (interwiki)
  • Edit sitewide JavaScript (editsitejs)
  • Not be affected by rate limits (noratelimit)
  • Rename users (renameuser)
  • View private logs (suppressionlog)
  • View the checkuser log (checkuser-log)
  • View, hide and unhide specific revisions of pages from any user (suppressrevision)
So in the hypothetical and very unlikely scenario where one bureaucrat went on a rampage, the others can just take away their bureaucrat rank. And if they can't do that, there is backend access.
If they can't remove the Bureaucrat group from the user, can we do it using JavaScript?

Makes music with MusescoreWikipedia and Wikimedia Meta-Wiki editor

Ninja Cube 4: project 559368592
All Ninja Cube Games: studio 31106316
jvvg
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

1Oaktree2 wrote:

Hi all!
I'm having a problem using the "Advanced Platformer Physics“ tutorial. I've followed it exactly but it isn't working. Basically, the problem is, coding allows the player to fly. When I added the next step to the ”check ground touch" block, which now ignores the ground itself. I'll link to the project I'm using to see if I've made any mistakes, although I think this might be a mistake in the wiki. This is kind of like a question if I haven't followed the instructions correctly, or a suggestion to fix it if it is bugged.
I brought this up on the talk page for review.

CodeLearnerSai wrote:

If they can't remove the Bureaucrat group from the user, can we do it using JavaScript?
No, JavaScript won't help you here. To answer your original concern as completely as possible…
  • We only grant bureaucrat rights to a very small number of highly trusted users, so vandalism or abuse is highly unlikely
  • If a bureaucrat were abusing their rights and were blocked, we would also revoke their bureaucrat rights to prevent them from unblocking themself
  • If as part of their abuse they also revoked the bureaucrat rights of all other bureaucrats, someone with backend access could restore them
  • If all else fails, we have frequent database backups which we could use to revert everything


Professional web developer and lead engineer on the Scratch Wiki
Check out my latest project, a JSON parser in Scratch
TheAnimalKingdom42
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

TheAnimalKingdom42 wrote:

The method I used for text rendering was very similar to the way it was shown in the Text Rendering article, under the part ‘With Case Sensitivity’. However, I did have to change one thing. Sometimes, it didn't work correctly if I didn't add a ‘Switch costume to “null”’ at the beginning of the script. I believe the Wiki article should include this as the final script instead of the other one:
define rendertext (text) at x: (x pos) y: (y pos)
switch costume to [null]
go to x: (x pos) y: (y pos)
set [ letter] to [1]
repeat (length of (text))
switch costume to (letter (letter) of (text))
if <(costume #) = [1]> then
switch costume to (join (letter (letter) of (text)) [t])
end
if <(costume #) = [1]> then
else
stamp
end
change x by (10)
change [letter] by (1)
end
The Wiki article also had a mistake within the first ‘If <> then’ block. The code in the article was
switch costume to (join (character) [t])
even though the variable ‘character’ was never used or established. This is merely an error that can be fixed by using
(join (letter (letter) of (text)) [t])
instead. ^input from the custom block

jvvg
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

TheAnimalKingdom42 wrote:

TheAnimalKingdom42 wrote:

The method I used for text rendering was very similar to the way it was shown in the Text Rendering article, under the part ‘With Case Sensitivity’. However, I did have to change one thing. Sometimes, it didn't work correctly if I didn't add a ‘Switch costume to “null”’ at the beginning of the script. I believe the Wiki article should include this as the final script instead of the other one:
define rendertext (text) at x: (x pos) y: (y pos)
switch costume to [null]
go to x: (x pos) y: (y pos)
set [ letter] to [1]
repeat (length of (text))
switch costume to (letter (letter) of (text))
if <(costume #) = [1]> then
switch costume to (join (letter (letter) of (text)) [t])
end
if <(costume #) = [1]> then
else
stamp
end
change x by (10)
change [letter] by (1)
end
The Wiki article also had a mistake within the first ‘If <> then’ block. The code in the article was
switch costume to (join (character) [t])
even though the variable ‘character’ was never used or established. This is merely an error that can be fixed by using
(join (letter (letter) of (text)) [t])
instead. ^input from the custom block
I will take a look. A better and less janky solution may also be hiding/showing at the appropriate time to avoid showing the stamp sprite too early.

EDIT: looking closer I think it would be better to include the “switch costume to null” in the loop, as putting it at the beginning will only help if it misses on the first iteration.

Last edited by jvvg (Nov. 30, 2021 15:50:01)



Professional web developer and lead engineer on the Scratch Wiki
Check out my latest project, a JSON parser in Scratch
Marc92020
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

am i allowed to make a template for an april fools page?

highlight my siggy then press shift + down arrow to see more
Marc92020

note: before complaining at me because of my wrong statement in qas, just remember, im not always right, so instead of complaining at me that im ever so wrong, just kindly let me know what part of what i said is wrong, thanks

do you use the support convention? you dont need to! instead of saying “support” or “no support”, just give a constructive reason for your thoughts on the suggestion! saying “no support” can hurt new scratcher's or new forumer's feelings and make them upset. do you really want to make a scratcher sad? im pretty sure you dont. the support convention also does nothing to a suggestion. so please stop using the support convention!


Come to the Scratch Customs Shop!

when green flag clicked
add [Marc92020] to [List of Scratchers v]
repeat until <I leave Scratch :: operators>
show
think [Should I Scratch?]
set (answer) to [Yes]
broadcast [KEEP SCRATCHING!!! v]
end
stop [this signature v]
Scratch-Minion
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

https://en.scratch-wiki.info/wiki/How_to_Evaluate_an_Expression

The code in the Scratch Wiki for “How to Evaluate an Expression” has an error repeated 4 times near the bottom of the supplied script:

It should say:

if <(token) = [*]> then
insert ((item (2) of [stack v] :: list) + (item (1) of [stack v] :: list)) at (1) of [stack v]
end

This error is repeated for +,-,* and /

jvvg
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

Scratch-Minion wrote:

https://en.scratch-wiki.info/wiki/How_to_Evaluate_an_Expression

The code in the Scratch Wiki for “How to Evaluate an Expression” has an error repeated 4 times near the bottom of the supplied script:

It should say:

if <(token) = [*]> then
insert ((item (2) of [stack v] :: list) + (item (1) of [stack v] :: list)) at (1) of [stack v]
end

This error is repeated for +,-,* and /

Fixed. Thanks for reporting!


Professional web developer and lead engineer on the Scratch Wiki
Check out my latest project, a JSON parser in Scratch
Scratch-Minion
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

https://en.scratch-wiki.info/wiki/Sorting_Values

The Quick Sort example script does not always work when there are duplicates among the values being sorted.
(I found this problem a while ago while helping in the forums: https://scratch.mit.edu/discuss/topic/484059/ )


* I changed a couple of lines in the Scratch Wiki version as below and it then seemed to work ok with some example data.

Inside the ”repeat until not a < b" loop in the Quicksort custom block I made these 2 changes:

I changed the questions in the first 2 If statements comparing list items a and b to the end item in the list.
I changed < to <= in the first one and > to >= in the second one.
ie. ie added an OR operator to each and also checked for =.


*** I did not work through all the Quick Sort logic, so even with this improvement I don't know if there are other problems in the Quick Sort code.


Scratch-Minion
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

jvvg wrote:

Scratch-Minion wrote:

https://en.scratch-wiki.info/wiki/How_to_Evaluate_an_Expression

The code in the Scratch Wiki for “How to Evaluate an Expression” has an error repeated 4 times near the bottom of the supplied script:

It should say:

if <(token) = [*]> then
insert ((item (2) of [stack v] :: list) + (item (1) of [stack v] :: list)) at (1) of [stack v]
end

This error is repeated for +,-,* and /

Fixed. Thanks for reporting!

Thank-you - that was quick!

** Please note that the error is fixed in the “Explanation” area with the separated scripts, but also needs to be fixed in the scrollable “Full Block” script higher up on the page.
Marc92020
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

Marc92020 wrote:

am i allowed to make a template for an april fools page?
bumping my post

highlight my siggy then press shift + down arrow to see more
Marc92020

note: before complaining at me because of my wrong statement in qas, just remember, im not always right, so instead of complaining at me that im ever so wrong, just kindly let me know what part of what i said is wrong, thanks

do you use the support convention? you dont need to! instead of saying “support” or “no support”, just give a constructive reason for your thoughts on the suggestion! saying “no support” can hurt new scratcher's or new forumer's feelings and make them upset. do you really want to make a scratcher sad? im pretty sure you dont. the support convention also does nothing to a suggestion. so please stop using the support convention!


Come to the Scratch Customs Shop!

when green flag clicked
add [Marc92020] to [List of Scratchers v]
repeat until <I leave Scratch :: operators>
show
think [Should I Scratch?]
set (answer) to [Yes]
broadcast [KEEP SCRATCHING!!! v]
end
stop [this signature v]
jvvg
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

Marc92020 wrote:

Marc92020 wrote:

am i allowed to make a template for an april fools page?
bumping my post
You are allowed to make April Fools' versions of templates if that's what you're asking, but they should only be used on April Fools' pages. Due to issues in the past we don't replace the templates for all usages.

Last edited by jvvg (Dec. 1, 2021 15:14:06)



Professional web developer and lead engineer on the Scratch Wiki
Check out my latest project, a JSON parser in Scratch
Marc92020
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

jvvg wrote:

Marc92020 wrote:

Marc92020 wrote:

am i allowed to make a template for an april fools page?
bumping my post
You are allowed to make April Fools' versions of templates if that's what you're asking, but they should only be used on April Fools' pages. Due to issues in the past we don't replace the templates for all usages.
what if i just want to create a template just for an april fools day page and not an afd version of a template? would i be allowed to do that?

highlight my siggy then press shift + down arrow to see more
Marc92020

note: before complaining at me because of my wrong statement in qas, just remember, im not always right, so instead of complaining at me that im ever so wrong, just kindly let me know what part of what i said is wrong, thanks

do you use the support convention? you dont need to! instead of saying “support” or “no support”, just give a constructive reason for your thoughts on the suggestion! saying “no support” can hurt new scratcher's or new forumer's feelings and make them upset. do you really want to make a scratcher sad? im pretty sure you dont. the support convention also does nothing to a suggestion. so please stop using the support convention!


Come to the Scratch Customs Shop!

when green flag clicked
add [Marc92020] to [List of Scratchers v]
repeat until <I leave Scratch :: operators>
show
think [Should I Scratch?]
set (answer) to [Yes]
broadcast [KEEP SCRATCHING!!! v]
end
stop [this signature v]
jvvg
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

Marc92020 wrote:

what if i just want to create a template just for an april fools day page and not an afd version of a template? would i be allowed to do that?
You cannot create entirely new templates for April Fools' pages. All April Fools' pages (and by extension, templates) must have a corresponding real page.


Professional web developer and lead engineer on the Scratch Wiki
Check out my latest project, a JSON parser in Scratch
Marc92020
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

jvvg wrote:

Marc92020 wrote:

what if i just want to create a template just for an april fools day page and not an afd version of a template? would i be allowed to do that?
You cannot create entirely new templates for April Fools' pages. All April Fools' pages (and by extension, templates) must have a corresponding real page.
ok

highlight my siggy then press shift + down arrow to see more
Marc92020

note: before complaining at me because of my wrong statement in qas, just remember, im not always right, so instead of complaining at me that im ever so wrong, just kindly let me know what part of what i said is wrong, thanks

do you use the support convention? you dont need to! instead of saying “support” or “no support”, just give a constructive reason for your thoughts on the suggestion! saying “no support” can hurt new scratcher's or new forumer's feelings and make them upset. do you really want to make a scratcher sad? im pretty sure you dont. the support convention also does nothing to a suggestion. so please stop using the support convention!


Come to the Scratch Customs Shop!

when green flag clicked
add [Marc92020] to [List of Scratchers v]
repeat until <I leave Scratch :: operators>
show
think [Should I Scratch?]
set (answer) to [Yes]
broadcast [KEEP SCRATCHING!!! v]
end
stop [this signature v]
kindlovekind
Scratcher
8 posts

Scratch Wiki Community Portal - in the forums!

hi! my name is kindlovekind



when green flag clicked
say [hi i am kindlovekind] for (2) secs
supergamer10000
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

kindlovekind wrote:

hi! my name is kindlovekind



when green flag clicked
say [hi i am kindlovekind] for (2) secs
Please don't derail.

If you don't already know me my username is supergamer10000. In my spare time, I enjoy gaming and programming. I work on a wide range of projects, such as animations, games, and even operating systems!

Visit my test account supergamer-test.

Check out some of my projects!

Thank you!
supergamer10000
Scratcher
1000+ posts

Scratch Wiki Community Portal - in the forums!

Hello, I'm having a problem with the advanced platformer tutorial. The sprite can't feel lava or next level with
change y by (-1)
so I changed it to
change y by (-2)
then the main character sinks when it is at a corner because it is -2 not -1 but if its not -1 then it won't work.

If you don't already know me my username is supergamer10000. In my spare time, I enjoy gaming and programming. I work on a wide range of projects, such as animations, games, and even operating systems!

Visit my test account supergamer-test.

Check out some of my projects!

Thank you!
CabanTV2021
Scratcher
5 posts

Scratch Wiki Community Portal - in the forums!

Hi, CabanTv2021 here! I'm having trouble with adding a smooth jumping animation. It does not look smooth. So I decided to go with this:
when [space v] key pressed
change y by (5)
wait (1) secs
change y by (-5)
switch costume to [idle v]

Last edited by CabanTV2021 (Dec. 5, 2021 18:18:49)


Hey! I'm TV. My account is 1 year old now!

Powered by DjangoBB

Standard | Mobile