Difference between revisions of "Manual:$wgMaxSigChars"

From MediaWiki.org
Jump to navigation Jump to search
m (r22960)
([BUG?] This only considers the **wikicode length** of the signature, so if a user set it to {{subst:Main page}} the result will circumvent exceed this limit (https://pt.wikipedia.org/w/index.php?diff=31658120&oldid=31657872))
Line 6: Line 6:
 
|range=(integer)
 
|range=(integer)
 
|default=255
 
|default=255
|summary=Maximum customized signature length.
+
|summary=Maximum wiki code length for customized signatures.
 
}}
 
}}
   
 
== Details ==
 
== Details ==
  +
Maximum wiki code length for customized signatures. Take into account this do not consider the length of the substituted templates used in the signature, so although <code><nowiki>{{subst:<Very long template name>}}</nowiki></code> will be rejected if the template name has more than {{blue|$wgMaxSigChars}} (-10) characters, <code><nowiki>{{subst:Main page}}</nowiki></code> will work even if the main page is a lot longer than {{blue|$wgMaxSigChars}}.
Maximum customized signature length.
 
   
 
{{languages|Manual:$wgMaxSigChars}}
 
{{languages|Manual:$wgMaxSigChars}}

Revision as of 12:32, 2 August 2012

Users: $wgMaxSigChars
Maximum wiki code length for customized signatures.
Introduced in version:1.11.0 (r22960)
Removed in version:still in use
Allowed values:(integer)
Default value:255

Details

Maximum wiki code length for customized signatures. Take into account this do not consider the length of the substituted templates used in the signature, so although {{subst:<Very long template name>}} will be rejected if the template name has more than $wgMaxSigChars (-10) characters, {{subst:Main page}} will work even if the main page is a lot longer than $wgMaxSigChars.

Other languages: English  • español • magyar • 日本語 • polski • русский • 中文