IntegratedProfiles is now open source!
IntegratedProfiles, a new MediaWiki extension that adds modern, customizable, and extensible user profiles, is now open source on GitHub!
![]()
I previously announced this new extension as User Profiles Support on the Obby Wiki as an exclusive extension. Now, today, it is open source and free to use yourself. You can install the latest version (v0.3.0) right now on MediaWiki 1.46, with support for later versions (such as MediaWiki 1.45) coming shortly.
Star it now on GitHub!
What I really like about this extension (and what's kind of half its name) is its focus on being integrable, allowing other extensions to build on top of it easily, instead of fighting for compatibility. Via hooks and APIs, other extensions have access to do the following:
- Fetch user avatars (single or batch)
- Register their own tabs (next to About, Contributions, etc.)
- Modify extension HTML
This allows for a lot of different opportunities! The first extension to build on this is UserFlairs, an extension that adds Discourse-styled flairs to users' profiles.
You can check that out separately as well, as it's also on GitHub.
I'll go over a few configuration options, but you should read the up-to-date documentation either on the README or at Extension:IntegratedProfiles:, especially if you're reading this post after it's published.
$wgIntegratedProfilesEnabledSocialLinks
Use $wgIntegratedProfilesEnabledSocialLinks to customize the social links available to users for an individual wiki. The platforms that are currently supported are listed below. All of them are included as defaults, but that may change, so specify them yourself (if you want them) to be safe.
NOTEOn farms, all options are available globally and in the background. When one wiki enables a social link, every user that has that social link set already has it displayed on their local profile. Unfortunately, this does not allow wikis to introduce their own social links, as that would likely introduce conflicts.
- Website (a custom http/https URL)
- Twitter/X (username)
- GitHub (username)
- Discord (username)
- Roblox (username)
- YouTube (URL)
$wgIntegratedProfilesEnabledSocialLinks = [ 'website', 'twitter', 'github', 'discord', 'roblox', 'youtube' ];Alternatively, set none to disable the feature:
$wgIntegratedProfilesEnabledSocialLinks = [];You can request a platform by making an issue on GitHub so long as the platform you want meets these requirements:
- It is uncontroversial
- It is accessible to all users 16+ (preferably 13+)
- Any language, does not have to be global or mainstream
- It has a universal and usable logo that can be used in both black and white color icons
$wgIntegratedProfilesLanguageInterwikis
Use $wgIntegratedProfilesLanguageInterwikis to have IntegratedProfiles automatically inject language links into the page. This is useful for language interwikis, as users can quickly hop between a user's profiles on different language sites. Please ensure each language code set here is also registered in the interwiki table of each wiki (shown on Special:Interwiki:).
$wgIntegratedProfilesLanguageInterwikis = [ 'en', 'ko', 'ja', 'zh' ];By default, this feature is disabled. Users can still manually add languages to their user page regardless.
And that's it! Unlike the documentation pages, this post won't be updated, so check them out for more information.
Related
User Profiles SupportProfiles pictures, banners, social links, and more are live now.
WikiWire v0.5.0 releasedThis release contains multiple new features, such as supporting file deletions, grouping sites for syncing, performance improvements, and more.Emerald TowerA small single tower obby with 5-6 floors with an emerald color scheme.
The Obby Wiki reaches 500 articlesThe OW reaches 500 content articles with 389 obbies currently documented.
MediaWiki