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

Niklas Laxström <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Niklas Laxström <[email protected]> ---
It is a custom to escape html tags when referring to the in wikitext with
<nowiki> or &lt; unless you actually want to use those tags in wikitext, which
doesn't seem to be the case.

I don't see any way how I could fix this in Translate extension itself.

As a workaround I you could try to use the content handler to force them to be
text:

$wgHooks['ContentHandlerDefaultModelFor'][] = function( $title, &$model ) {
    if ( $title->getNamespace() == NS_YOURNAMESPACE ) {
        $model = CONTENT_MODEL_TEXT;
    }
    return true;
};

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to