Thread:Project:Support desk/Can I set different colours for content contributed by different users?/reply

I see you want to have a special text color (an not a background color or something like git blame).

Honestly I don't know of a way or an extension, which would make that possible. Technically the problem is that the current page text of each page is not saved in several chunks (e.g. one chunk for each change). Instead the whole page text is saved as one piece inside the database table "text". A text, which has once been saved never changes; instead, when someone saves a new revision, a complete new entry in the DB table is created.

Maybe you could somehow use a MediaWiki hook to on page save manipulate the new page text. E.g. if you had HTML tags around the new parts of the text, you would have a base to work with. Anyway, that would need you to diff the old and new revision and to intelligently insert these tags, also making sure the do not get nested incorrectly. I do not know of an extension or so, which could do that.