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

           Summary: SelectCategory removes Category assignments within
                    <pre>- and <nowiki> -tags
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: SelectCategory
        AssignedTo: [email protected]
        ReportedBy: [email protected]


When an article (that has <pre> / <nowiki> -tags which include category
assignments) is opened for editing, SelectCategory takes those category
assignments out. Those categories are also not included in the categories the
page is in. Thus, when the page is subsequently saved, the category assingments
have disappeared.

Clearly, the category assignments within <pre>- and <nowiki>-tags should be
left as they are, since the point of <pre> and <nowiki> tags includes the idea
of excluding wiki markup altogether. 

...For our internal mediawiki installation, I have actually made an (quite
ugly) hack that makes it so that lines that include those tags (or are between
the start/end tags of those elements) are not cleaned from category
assignments. It seems to work so far, however no real testing has happened with
this hack. My hack seems to be (so far) adequate for the needs of my
organization, but having this issue fixed in main version would be much
preferred, for obvious reasons.

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

Reply via email to