The process of reorganising something structured – commonly, that would be SourceCode, but it also applies to the organisation of pages in a wiki.

The term stems from algebra, where you can factor out common terms of an expression or distribute them.

The goal of Refactoring is to redistribute responsibilities (in SourceCode) or information (in a wiki) into more logical units that better enable reuse of common compoments as well as diversification of specialized ones.