User:Danapit/Sandbox

Current status

 * Custom banners are added to wikivoyage articles using template , with a parameter containing a file name.
 * Custom banners are other than Default banners.


 * Default banners are as follows:
 * File:Pagebanner default.jpg for anything not covered by another default banner
 * File:Mena-asia_default_banner.jpg for Middle East, North Africa and much of Asia
 * File:S-amer africa default banner.jpg for South America and much of Africa
 * File:Caribbean default banner.jpg
 * File:Australia-oceania default banner.jpg
 * File:NZ default banner.jpg New Zealand
 * File:TT Banner.jpg for all travel topics not covered by another default travel topic banner
 * File:Generic flying banner.jpg Travel topics related to flying
 * File:Default Scuba diving banner.JPG
 * File:Itinerary banner.jpg
 * The standard disambiguation banner File:Disambiguation banner.png should be used for all disambiguation pages.


 * Custom banners are all other than Default banners.

Current use of banners from Wikidata

 * If at a local WV pagebanner contains a parameter with a custom banner, the custom banner is used
 * else
 * if an associated wikidata item contains a property Wikivoyage banner (Property:P948), the file listed in the Wikidata Wikivoyage banner property is used
 * If at a local WV pagebanner contains a parameter with one of the default banners banner, this default banenr is used
 * else File:Pagebanner default.jpg is used

Bot solution (request for a bot)

 * When editors add page banners locally to WV projects and they are not uploaded to Wikidata manually, they can't be used for another language WV.
 * A bot will run periodically to add newly added custom banners to wikidata as a new item, if it doesn't exist. For that category can be used.