Last modified: 2014-02-25 08:20:20 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 T26135, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24135 - Add a $wg variable to disable signature editing on new post/reply/etc.
Add a $wg variable to disable signature editing on new post/reply/etc.
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-27 11:56 UTC by Ævar Arnfjörð Bjarmason
Modified: 2014-02-25 08:20 UTC (History)
4 users (show)

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


Attachments

Description Ævar Arnfjörð Bjarmason 2010-06-27 11:56:19 UTC
I'm using the following hack for this:
    
    Index: lqt.js
    ===================================================================
    --- lqt.js      (revision 68624)
    +++ lqt.js      (working copy)
    @@ -141,13 +141,13 @@
     
                            // Update signature editor
                            $j(container).find('input[name=wpLqtSignature]').hide();
    -                       $j(container).find('.lqt-signature-preview').show();
    -                       var editLink = $j('<a class="lqt-signature-edit-button"/>' );
    -                       editLink.text( wgLqtMessages['lqt-edit-signature'] );
    -                       editLink.click( liquidThreads.handleEditSignature );
    -                       editLink.attr('href', '#');
    -                       $j(container).find('.lqt-signature-preview').after(editLink);
    -                       editLink.before(' ');
    +                       // $j(container).find('.lqt-signature-preview').show();
    +                       // var editLink = $j('<a class="lqt-signature-edit-button"/>' );
    +                       // editLink.text( wgLqtMessages['lqt-edit-signature'] );
    +                       // editLink.click( liquidThreads.handleEditSignature );
    +                       // editLink.attr('href', '#');
    +                       // $j(container).find('.lqt-signature-preview').after(editLink);
    +                       // editLink.before(' ');
                    }
     
                    var finishSetup = function() {

It'd be nice if there were a $wg variable I could set to disable
signature editing. The motivation is to make the forum idiot proof.
Comment 1 Nemo 2012-09-04 10:18:49 UTC
Raising importance, could be workaround for critical bug 36096.
Cc Niklas and csteipp because such a config should definitely be used on Wikimedia projects and TWN, probably.

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


Navigation
Links