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

--- Comment #1 from Krinkle <krinklem...@gmail.com> ---
It depends on what we get back from the server.

If we get back something that is compatible with what api.php?action=parse
gives (prop.categorieshtml, from Skin::getCategories), which is what live
preview in core uses as well, then we can just update it by replacing the old
with the new html.

If we can't get that, we'll have to re-implement Skin::getCategories in
javascript. However I'd like to avoid that since it is skin-specific (skins can
do all kinds of weird stuff to it, hard to predict. Ideally this would fall
under the parts of the page output (like mw-content-text, htmlhead and script
loader) that has a fixed html layout that skins can't alter the html itself of
(it has enough css hooks to style anyway they like, they shouldn't need to
modify the html). But that's not the reality.

--

Oh wait, this isn't from the server (not MediaWiki, not Parsoid). I mean, it
shouldn't. This is reflected live when editing the document. We'll have to do
it in javascript somehow I'm afraid.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to