Page MenuHomePhabricator

Allow <span> html tags inside page names in Special:SpecialPages
Open, LowestPublicFeature

Description

The page http://ksh.wikipedia.org/wiki/Spezial:Spezialseiten currently shows the link to the boardvote extension like this:

Waahle för_t „<span lang="en">Wikimedia Board of Trustees</span>“ (De forantwochtlijje Füürshtändt bëij Wikkimedija)

which is not what was intended. Since the "Wikimedia Board of Trustees" is given verbatim, untranslated, it needs to be properly tagged as English text. That would not be a problem, if the <span> and </span> tags were passed through the message handler unmolested.


Version: 1.13.x
Severity: enhancement
URL: http://ksh.wikipedia.org/wiki/Spezial:Spezialseiten

Details

Reference
bz15336

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:17 PM
bzimport set Reference to bz15336.
bzimport added a subscriber: Unknown Object (MLST).

Some notes:

  1. We do not generally allow html nor wiki mark-up in link titles.
  2. There is not much point marking the languages with such granularity when we don't even get the big things right (like interface language different from the content language)
  1. We do not generally allow html nor wiki mark-up in link titles.
  • which is generally a bug. Thats why I reported it. I know that there are lots of problems with &nsbp;s at various places, etc. Imho, we should generally drop this limitation, and maybe make exceptions where they are really warranted.
  1. There is not much point marking the languages with such granularity when we don't even get the big things right (like interface language different from the content language)
  • What a ridiculos argument! We can NOW fix one small problem easily, so let us do it now. There is no point in letting the mess grow.

To reporter: it appears you will have to fix it yourself, as no other i18n developers have shown interest.

(In reply to comment #3)

lots of problems with &nsbp;s at various places, etc.

&nbsp; and &#32; are allowed and silently decoded now.

  • What a ridiculos argument! We can NOW fix one small problem easily, so let

us do it now. There is no point in letting the mess grow.

Except that the fix isn't easy in this case.

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:02 AM

Special:SpecialPages is using the same messages as each special page is using as page title/h1. The page title on each page is wikitext and allow html, but get clean up from malicous html by Sanitizer::removeSomeTags in OutputPage::setPageTitle. Should be an option here as well to have both looking the same