On Thu, Dec 9, 2010 at 6:48 PM, <jida...@jidanni.org> wrote: > I there any list of halfway implemented CSS? > E.g., > (rgrep "allpagesredirect" "* .*" "~/mediawiki/" nil); emacs > ./includes/specials/SpecialAllpages.php:337: $link = ( $s->page_is_redirect ? > '<div class="allpagesredirect">' : '' ) . > ./includes/specials/SpecialPrefixindex.php:161: $link = ($s->page_is_redirect > ? '<div class="allpagesredirect">' : '' ) . > is halfway implemented because it only appears in the .php files, but > not in the standard CSS files. > So allpagesredirect is #1, redirect-in-category is #2, where is the > complete list of them, and how one best should use them?
It's not CSS and it's not halfway-implemented. It's an HTML class, which is unused by the default software. It's something you can style if you want, but it's not styled by default. There is no complete list, because there are infinitely many such classes. For instance, every article has a class depending on the page name. (Which actually doesn't make it infinite, since there are fewer than 255^255 possible page names . . . but you get the point.) > Can't there be a > > /** Use the full set of CSS bindings, like Wikipedia does, without > having to put them into Mediawiki:Common.css and maintain them on > every single site of our WikiFamily. */ > $wgUseFullCss = true; Do you mean we should import some of Wikipedia's styles to the default software? Maybe, but which ones? It doesn't make sense to import all of them. Sometimes Wikipedia deliberately wants to be different than we want the default to look. _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l