There is no official or Action Replay code that makes "only wild Pokémon shiny" in the standard, unmodified version of Pokémon Diamond (Nintendo DS).
Shiny Pokémon are determined by a hidden PID (Personality Value) calculation with a base 1/8192 chance (Gen IV). Cheat devices (Action Replay, GameShark) can force all wild encounters to be shiny, but a "wild-only shiny" code that preserves normal shiny rates for other encounters (breeding, gifts, static) does not exist in public code databases.
Such a specific modification would require:
If you want increased shiny odds legitimately, use the Masuda Method (breeding different-language parents: ~1/1638 in Gen IV) or the Poké Radar chaining (up to 1/200 at 40-chain). For cheating, standard "all wild shiny" codes are widely available—but affect everything.