From the looks of it you won't be able to do anything that's connected to Wifi in any way in gen IV and V.
>Nintendo has announced that, as of May 20th 2014, all online services across the DS and Wii games will terminate. All online features of these games will be inaccessible, regardless of the console you play them on.
This means that you will not be able to go online with any of the following Pokémon games:
- Pokémon D/P/Pt
- Pokémon Heart Gold/Soul Silver
- Pokémon Battle Revolution
- Pokémon Black/White
- Pokémon Black 2/White 2
- My Pokémon Ranch
- Pokemon Mystery Dungeon: Explorers of Time/Darkness/Sky
- Pokemon Ranger: Guardian Signs/Shadows of Almia
- Pokémon Conquest
Hope I helped.