Electrical – What wires connect to what here

electricalwiring

I have an old outdoor lamp and the wires used to be all twisted up so a friend cut them for me before we put the lamp in storage. Now I finally have it out of storage but I don't know what wires connect to what (pic attached). I know the green one is the ground wire, but beyond that I've got nothing. The "light bulb" side has three black and three white wires, and the base side has one white, one black, and one green. How do I attach these two sides?

enter image description here

Edit: this isn't the exact same model but it's very similar: https://www.target.com/p/manhattan-3-outdoor-lantern-post-bronze/-/A-14931671 I don't recall any part of the wiring being connected to the "body" when we first opened it up so I'm unsure what the green wire would attach to

Edit2: I will give the suggestions a try and update this post when I can — thank you all

Best Answer

The short black wires are pigtails; their color can be disregarded.

Ground is always color-coded green, yellow-green stripe, or bare. It goes to the metal chassis of the junction box and lamp, or any ground wires coming from the lamp (e.g. There should be one running down any chains). It never goes to anything else.

The cluster of black wires goes to your black supply wire. These are all "hot" wires. You can simply attach the supply wire to the black pigtail after stripping off about 5/8" of wire so it'll go in the wire nut.

With those dealt with, all that can remain is neutral. Those go together. They are white except for the black pigtail, which we'll pretend is white.

Neutral is safe if everything is working, but certain malfunctions can cause neutral to become hot, so it is insulated like it's hot.