A barracks ship or barracks barge or berthing barge, or in civilian use accommodation vessel or accommodation ship, is a ship or a non-self-propelled barge containing a superstructure of a type suitable for use as a temporary barracks for sailors or other military personnel. A barracks ship, a military form of a dormitory ship, may also be used as a receiving unit for sailors who need temporary residence prior to being assigned to their ship. The United States Navy used to call them Yard Repair Berthing and Messing with designations YRBM and YRBM(L) and now classes them as either Auxiliary Personnel Barracks (APB) or Auxiliary Personnel Lighter (aka barge) (APL). Early use Barrack ships were common during the era of sailing ships when shore facilities were scarce or non-existent. Barrack ships were usually hulks. At times, barrack ships were also used as prison ships for convicts, prisoners of war or civilian internees. Use in World War II Barracks ships in the combat area provided necessary residence for sailors and merchantmen whose ship had been sunk, or whose ship had been so damaged that on-board berthing was no longer possible. They were also used at advanced bases, and as mobile barracks for units such as construction battalions. Occasionally, they would be used for other roles such as providing office space. APL were non-self-propelled barracks ships, which were used by the United States Navy in forward areas during World War II, especially in the Pacific Ocean, and were designated APL, such as APL-18 which was commissioned in 1944 and had the following specifications for APL-1 to APL-58: Displacement 1,300 t.(lt), 2,579 t.(fl) Length Beam Draft Complement unknown Accommodations 5 Officers, 358 Enlisted The APL-17-class barracks ship covered APL-17 to APL-40 with APL-35 to APL-40 converted to become Benewah-class barracks ships. Transport ships were also used as barracks by other war-time navies, such as the Kriegsmarine's . One of the two abortive Jade class auxiliary aircraft carriers (Elbe) was also converted into a barracks ship. Subsequent use The United Kingdom used barracks ships to help garrison the Falkland Islands after it ousted the Argentinian occupation force in the 1982 Falklands War. The former car ferries and were deployed to Port Stanley in 1982, and Rangatira stayed until September 1983. Rangatira is also an example of a civilian accommodation ship. She and another former ferry, MV Odysseus, housed workers who built an oil platform