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

       Web browser: ---
             Bug #: 32450
           Summary: Scripts pages in MediaWiki: namespace parsed like wiki
                    pages
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


Since MediaWiki 1.18 script pages of the MediaWiki namespace (having .js and
.css extensions) are parsed like any other pages (link, category, ...).

This is a problem because it creates weird category names like for the
following example script:
https://fr.wikibooks.org/w/index.php?title=MediaWiki:Gadget-HotCats.js&oldid=347262
which was added in the following category:
https://fr.wikibooks.org/wiki/Cat%C3%A9gorie:%22_+_hrc_+_%22

The problem is more critical when the script include some string like
"{{subst:" because when the script is modified the template is substituted in
the source code.

Script pages should not be parsed as other Wiki pages.

-- 
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