Manual:Pywikibot/user-fixes.py

User-fixes.py adds some custom fixes to the Pywikibot text replacement utility, replace.py. It is created by running  if it doesn't already exist. To call your fixes you use replace.py.

User-fixes.py is very similar to fixes.py. For detailed explanation and comparison, see fixes.py.

Example
To call your fixes:

Which looks for 'example' in user-fixes.py, and applies the fixes to the main page.

When first created, user-fixes.py looks like this:

Modified file:

Advanced use of fixes
To learn how to use your own functions in fixes.py and user-fixes.py and what this is good for, see hu:Szerkesztő:Bináris/Fixes and functions HOWTO.