https://bugzilla.wikimedia.org/show_bug.cgi?id=38974

       Web browser: ---
             Bug #: 38974
           Summary: $wgMaxSigChars can be circumvented by using templates
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: https://pt.wikipedia.org/w/index.php?title=Wikip%C3%A9
                    dia:P%C3%A1gina_de_testes/1&diff=31658120&oldid=316578
                    72
        OS/Version: All
            Status: NEW
          Keywords: parser
          Severity: normal
          Priority: Unprioritized
         Component: User preferences
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


As reported at
[https://www.mediawiki.org/wiki/Manual:$wgMaxSigChars?diff=568295] the setting
introduced on r22960 (to fix bug 8458) 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.

The validation should be fixed to consider the length of the expanded
(subst'ed) signature.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to