https://bugzilla.wikimedia.org/show_bug.cgi?id=24135
Summary: Add a $wg variable to disable signature editing on new
post/reply/etc.
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: LiquidThreads
AssignedTo: [email protected]
ReportedBy: [email protected]
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l