<span class="mw-page-title-main">Pushcode</span>
Fabrice P. Lauss𝕪's Web

Pushcode

Pushchode is a Claude-assisted code to synchronize my local and online mediawiki source files (including home-made code, hacking, tuning, config files, styling, skins, extensions, resources, etc.), developped in the course of a day (not so trivial as it looks)

It keeps separate PrivateSettings.php, favicon.ico, images/, cache/, backups and drafts, so as to maintain the imbalance between the two versions (which have different themes so that I always know where I am: with myself, or in the real world). And it never touches wiki pages, templates, Lua modules, etc, which live in the database and are synchronized by llw2lw.

Usage:

pushcode LocalSettings.php              # shared config (private half auto-excluded)
pushcode extensions/SomeExtension       # an extension
pushcode resources/assets               # logo, licence icons
pushcode skins/Laussywiki               # skin
pushcode skins/Laussywiki templates/    # several at once

This first perform a dry-run that lists what would happen. Then you commit with --doit, e.g.,:

pushcode LocalSettings.php --doit
pushcode skins/Laussywiki --doit