[Pkg-mediawiki-devel] Skins

Thorsten Glaser t.glaser at tarent.de
Tue Jul 3 07:32:23 UTC 2012


On Mon, 2 Jul 2012, Daniel Friesen wrote:

> Tell me what you're trying to add to the <head>. Inevitably anything
> you're trying to do should be doable without dropping headelement.

Right now, that’s a few things, some of them might be doable,
for some I didn’t find a way. This is from reading the diff
against the 1.15 MonoBook, so it may not be accurate (have
been working on this again yesterday, but still not “deep in”).

• put some stuff before </title> after what’s normally written there

• call a FusionForge function that displays the needed CSS for that
  (which in turn echo’s stuff that can be gotten by an API call, but
  also calls a plugin hook; the FF plugin API is totally misdesigned
  as the hooks are expected to echo stuff when written, instead of
  adding content to some variable that can be echo’d when needed)

• then, there's a patch that prevents MW from echoing <ul></ul> as
  that’s invalid XHTML, no idea if it’s still needed

• change $footerlinks

The rest, I’ve got already. Then, there are several occurrences
of invalid XHTML in the pages output; things like
– Element style does not carry attribute type
– Value "auto" for attribute dir of span is not among the enumerated set
– No declaration for attribute placeholder of element input
– Syntax of value for attribute selected of option is not valid
– No declaration for attribute primary of element a
– No declaration for attribute context of element a
– Value "search" for attribute type of input is not among the enumerated set

I’ll have to spot and fix them all.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke



More information about the Pkg-mediawiki-devel mailing list