D.C. Mayor Marion Barry signed legislation yesterday to strengthen requirements for hackers' licenses, increase penalties for selling or possessing PCP, make it illegal to sell human body parts and authorize the sale of bonds to finance building projects of three nonprofit groups.

The taxi driver law requires a 12-hour training course and a written test in the English language, as well as increased fines for violations of rules governing hackers.

The revenue bond bills would finance facilities for the mentally retarded, including a developmental center and therapeutic gymnasium; a 160-bed National Rehabilitation Hospital facility and renovation and expansion of the Phillips Collection art museum.

The body parts bill would prevent anyone from selling such organs as kidneys used in transplants, but would allow sale of blood or hair.

Barry did not sign -- but did not veto -- a bill creating the public access corporation for the District's cable television system. Following congressional review, it would become law without his signature. Barry said the Supreme Court has ruled that the executive rather than the legislative arm should appoint members of commissions to carry out laws. The cable legislation provides that three of the seven corporation members be appointed by the chairman of the Public Services and Cable Television Commmittee of the City Council.

After the mayor signs it, all legislation except that passed on an emergency basis must go through a congressional review period of 30 legislative days. Thus, the bills acted on yesterday probably will go into effect in March.

The more than 30 bills the mayor signed would:

*Complete the District's comprehensive land use plan.

Set new air quality standards for the District.

Give the city authority to regulate water pollution.

Allow the D.C. General Hospital Commission to enter into capital construction contracts.

Coordinate the city's information and data processing systems.

Require health screening for asbestos-related diseases and create a task force on asbestos abatement in public buildings.

Make it possible to prosecute Medicaid fraud by providers as a local crime.

Increase District rates paid to day-care providers.

Require firms that get city funding to hire unemployed District workers first.

Extend on an emergency basis the Baseball Commission's authority to seek a professional team for the city.

Prohibit full-service gasoline stations from converting to self-service.

Other bills deal with residential parking permits, information on traffic law violators, motorized wheelchairs, sprinkler system studies, bicycle safety, prompt payment to the city's suppliers, and street and alley closings.