Thanks for your post....I too cannibalize solar yard lights for their panel. I try to buy the yard lights on sale or the damaged sets that are marked way down.
I like the yard lights with rectangular panels as they seem easier to get at, your experience may be different.
After removing the yard lights guts, I epoxy individual AA, or AAA cell holders directly to the back of the panel. Individual battery cell holders are required because you want to charge them in parallel, not series. Connect all the red (positive) battery holder leads together and solder them to the panels positive terminal, next do the same for the negative (black) leads. Presto you have a compact back-packable charger for emergency use. By the way, 4 AA cell holders will fit the back of the panels perfectly (the ones i have), yours may be different. I usually epoxy on 2 (AA) and 2 (AAA) holders on each panel to cover both battery sizes.
For example, my last yard light solar panel produced over 200 milli-amp hours at about 2.3 volts. A typical AA size NiMh battery will be rated at 2500-2600 milli-amp hours, so the charger will take some time to do recharge the batteries, say 3-4 days of good sun to recharge if completely dead. I make these little cheap chargers to add to my smaller kits just to have another charging means.
For those of you that do not want to do anything,and still have an emergency battery charger, just remember this. if the "lights go out", just utilize your yard lights as they are, no modification. Just add batteries in the morning, allow them to charge through the day, and remove them at night, as easy as that, no modification required, and your wife will appreciate that you are not messing with the yard lights.
happy yard light hunting