Last modified: 2011-03-13 18:04:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17160, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15160 - An option to disable fancy signature for a user group
An option to disable fancy signature for a user group
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User preferences (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-14 06:14 UTC by Xudong Yang
Modified: 2011-03-13 18:04 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Xudong Yang 2008-08-14 06:14:22 UTC
Currently the fancy signature feature is enabled for everyone, and template transclusion etc. are allowed in it (NOT on wikimedia sites but other mediawiki setups, I mean). This can sometimes be annoying since users have the chance to make use of this feature to include a lot of code or external links in the signature.

So, is it a good idea to have an option (configuration setting) to disable the fancy signature feature? Or, if possible, an assignable user right (for example disallow fancysig for '*' but allow it for 'autoconfirmed').
Comment 1 Chad H. 2010-04-02 18:28:42 UTC
WONTFIX adding this a new core ability. This workaround in LocalSettings should work:

---
$wgGroupPermissions['user']['fancysig'] = false;
$wgGroupPermissions['sysop']['fancysig'] = true;
$wgExtensionFunctions[] = 'efDisableFancySig';

function efDisableFancySig() {
    global $wgUser;
    if( !$wgUser->isAllowed( 'fancysig' ) ) {
        global $wgHiddenPrefs;
        $wgHiddenPrefs[] = 'fancysig';
    }
}
---

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links