I don't know Russian, but from the post in the link, it looks like you just
1. Create a plugin (the name doesn't matter)
2. Paste the code below in it
$modx->loadClass('sources.modMediaSource');
3. On the System Events tab of the plugin, check OnHandleRequest
4. Save the plugin.