Typos & Minor Edits Mega-thread [Closed]

https://developer.roblox.com/en-us/api-reference/enum/KeyCode

Hash here leads to a website instead of a key symbol.

2 Likes

https://developer.roblox.com/en-us/api-reference/function/Plugin/CreatePluginAction

Near the bottom of the page, missing link:

When the created action is bound and PluginAction/Triggerd|triggered , it prints “Hello world!” in the output window

Issue in code on this site as well (not sure if it belongs here):

"bxasset://textures/sparkle.png"

Should be “rbxasset”.

1 Like

In the ReverbSoundEffect post, the second paragraph mentions “ChorusSoundEffect” rather than “ReverbSoundEffect”

In the 534 Release Notes page, the second to last item under the Improvements section (which is about new table features) has links to the Roblox Education homepage which are probably not supposed to be there.

It appears as if it was supposed to say #v there and “#v” appears to be the address of the Roblox Education homepage.

Update 7/11/2022: this has been resolved. Mentions of #v in that section no longer show a link to the Roblox Education homepage.

image

2 Likes

IntValue example code still assumes IntValues are 32 bit, in conflict with testing and other documentation on the page.

(I posted this before, but about the old wiki, before I knew this thread is only about the new, now that the new has documentation on table.move, it’s also incorrect, so I’m posting now with correct context):

Problem:
table.move is poorly described in the api. It makes it sound as it it’s moving data from one table to another. Instead, it is creating a copy of the data onto the second table (as far as I can tell). This caused some memory leak issues from me poorly understanding that it’s not cleaning up its tracks.

Example code:

local T1,T2 = {5,7,3,6},{9,9}
table.move(T2,1,#T2,#T1+1,T1)
print(T1,T2) -- T2 still contains all the data

Proposed edit to API:
Instead of "Moves elements from table a1 to table a2"
It could be worded as: "Copies elements from table a1 to table a2", to make it more obvious that the data is still retained in a1 as well.

1 Like

The remote event link is broken in Player:RequestStreamAroundAsync(), under the Streaming Requests title.

image

1 Like

In Class Modifiers

local match1 = string.match("The Cloud Kingdom has 25 power gems", "%d")
print(match1) -- 2
local match2 = string.match("The Cloud Kingdom has 25 power gems", "%d+")
print(match2) -- 2

print(match2) -- 25
1 Like

In the section for PlayerGui:GetGuiObjectsAtPosition() it says that it returns a list of GuiObjects, but it would be helpful if it gave more detail. It actually returns a sorted list, based on which GUI objects are rendered on top - Something that makes this function significantly more practically useful to people considering using it.

1 Like

‘Bathroom’ item in the list says:

Sound reverb is changed to sound like the player is a bathroom.

This should be changed to:

Sound reverb is changed to sound like the player is in a bathroom.

3 Likes

Wouldn’t be surprised if this partly a joke.

1 Like

Syntax mistake in the VRService code example.
https://developer.roblox.com/en-us/api-reference/class/VRService

The line in question:

print(typ.Name + " changed. Updated Frame: " + value)

Using ‘+’ to concatenate strings is not valid Lua. It works in other languages such as C++ though. The line should instead use Lua’s concatenation, like so:

print(typ.Name.." changed. Updated Frame: "..value)

1 Like

Formatting error for getfenv()

On AnimationClipProvider | Roblox Creator Documentation,
the word “Povides” in the description is misspelled.

Article 17 has an issue, link also contains these parantheses so it doesn’t open up if I don’t remove it from the url.

https://create.roblox.com/docs/reference/engine/classes/ContextActionService

Under “why bind actions contextually” it says “in the context of the action begin performed” instead of “being performed”

On roblox docs, the article about metatables on both __lt and __le the symbols of the greater than and greater than / equal have the greater than sign replaced with less than sign.

The operators seem to have been taken by HTML tags
<