[07:06:15] names [12:54:13] hello all [16:20:53] guillom: is it still okay to add entries to https://meta.wikimedia.org/wiki/Tech/News/2013/49 ? or should i got for the next release? [16:21:13] i want to add https://gerrit.wikimedia.org/r/#/c/96584/ (bug 52005) Special pages RecentChanges, RecentChangesLinked and Watchlist now include a legend describing the symbols used in lists of changes. [17:39:48] Tpt: users report that {{NUMBEROFARTICLES}} in plwikisource decreases while we mainly create new pages and change proofread status of others [17:40:23] no are almost no pages are deleted while {{NUMBEROFARTICLES}} change is significant [17:41:30] Tpt: is this an effect of any intentional change? [17:42:19] eg. not counting pages in Page namespace which are changed [18:27:13] MatmaRex: sorry, I was afk; please add to n°50 [18:28:50] guillom: ok, thanks [18:29:00] MatmaRex: thank you :) [18:29:45] (done) [18:30:11] awesome [19:35:10] Is there a way to use the button stylings from the login page on a wiki page? [19:35:55] ragesoss: yes [19:36:09] well, sort of / almost [19:36:28] i'm not sure if the 'mediawiki.ui' module which defines the styles is included on all pages [19:36:46] if it is, then you'd just have to add appropriate classes to your elements :) [19:36:56] then probably it's not. [19:37:21] I tried
matching the button stylings, but it did nothing. [19:37:28] it's not, but there's a patch pending that aims to make it be: https://gerrit.wikimedia.org/r/#/c/87296/ [19:37:40] oh, good! [19:38:17] you could probably watch it [19:38:20] then we'll be able to fix the {{clickable button}} and {{clickable button 2}} templates that got broken when the classes they use got removed from loading by default. [19:38:34] or ask somebody wtf is going on with the patch, since it seems to be stuck [19:38:56] superm401: around? what's up with the patch to add mediawiki.ui to all pages? https://gerrit.wikimedia.org/r/#/c/87296/ [19:39:19] ragesoss: you can load any module for all pages from mediawiki:common.js [19:39:54] (yeah, js required, it might be possible to @import it from common.css somehow, but i never tried) [19:41:26] I think the old button stylings got removed in the first place to reduce the amount of stuff js loads. [19:41:44] no idea about that [19:42:16] ragesoss: i *think* you could do this in CSS: [19:42:28] @import "https://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&lang=en&modules=mediawiki.ui&only=styles&skin=vector&*" [19:42:42] note the "skin=vector" part, this has to be done for each skin separately with appropriate name [19:42:49] and don't shout at me if it ever breaks with no warning :) [19:42:54] :) [19:43:18] and probably just "//" instead of "https://" [19:43:19] I'll just wait. looks like the more recent patch from the last comment would also make button templates work. [19:43:35] https://gerrit.wikimedia.org/r/#/c/98869 [19:44:19] i dunno [19:44:33] there's some internal mess happening around these :) [19:45:36] yeah. but finding that last bug is really helpful, as clearly there are people aware of the broken buttons and trying to find a solution. [20:28:39] MatmaRex: wiadomo czemu licznik stron na plwikisource zlicza w dół? [20:32:49] ankry: a zlicza? ja nie wiem [20:33:47] MatmaRex: podczas, gdy nic nie kasujemy, liczba {{NUMBEROFARTICLES}} maleje [20:34:23] heh [20:34:25] coś się zmieniło w sposobie traktowania przestrzeni nazw Strona? [20:34:25] to nie wiem :P [20:34:35] nie mam pojecia, sorry [20:35:45] MatmaRex: a jak sprawdzić aktualną wartość $wgContentNamespaces dla projektu? [20:36:31] ankry: chyba niedawno ktos zrobil, zeby ta zmienna byla dostepna tez w JS [20:36:54] a moze i nie. wyglada na to, ze nie jest [20:37:02] moze jeszcze tego kodu nie ma na wikimediach [20:37:14] uh, to w takim razie by trzeba pogrzebac w konfiguracji [20:37:18] ankry: to jest w noc.wikimedia.org [20:37:27] albo poprosic Reedy'ego, zeby sprawdzil ;) [20:37:52] '+plwikisource' => array( 100, 102, 104 ), [20:38:03] i 'default' => array( NS_MAIN ), [20:54:52] ankry: "dobre" artykuły nie jest takie samo jak wszystkich stron, jest jakiś wzór za nim, która decyduje o liczbę stron, co w art. także spróbować patrząc na surowe numery z API. jaki jest Twój wiki URL? [20:55:04] (yes, it's just Google translate :P) [20:55:20] mutante: speak English [20:55:27] mutante: plwikisource [20:55:54] ankry: so the statistics mw provides, there is "good" and "total" [20:55:54] mutante: wow, that was so amazing [20:56:03] twkozlowski: thaks [20:56:05] twkozlowski: thanks [20:56:09] and good means "articles" [20:56:24] and there is some formula behind it that decides what page is an article [20:56:37] like it needs to have at least one link and a certain length.. and X [20:56:38] twkozlowski: on #wikimedia-dev [20:56:40] [21:54] quick question, the icons are on commons.wikimedia.org for sure? Talking about this icon for this task in specific: http://www.google-melange.com/gci/task/view/google/gci2013/5843157379973120 [20:56:41] [21:55] I can't seem to find it :/ [20:56:41] [21:55] Went through the whole directory [20:56:46] you happen to know? [20:57:00] oh, I hate that channel with all them bots [20:57:11] ankry: http://wikistats.wmflabs.org/display.php?t=ws [20:57:28] twkozlowski: just one [20:57:30] MatmaRex: I do. [20:57:58] ankry: look at this and compare https://pl.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=statistics&maxlag=5 [20:58:15] if the numbers there are changing in a weird way [20:58:19] then it's mw itself [20:58:34] if not, then it's something with the template getting those numbers [20:59:24] need to run.bbl [21:08:56] mutante: I think I understand what has happened: wikilinks from Page namespace went out of page content. [22:01:16] MatmaRex, the new one is https://gerrit.wikimedia.org/r/#/c/98869 [22:01:33] The difference is that's just mediawiki.ui.button (i.e. only the button stylings). [22:01:57] Krinkle|detached is still a little reluctant to add it by default. [22:02:22] He points out that the button stylings are in flux, which is true (the design team want to update both the class names and the visual appearance). [22:05:59] superm401: have you considered only loading the module when we detect that the page requires it? [22:06:05] (the way it's done with e.g. tablesorter) [22:06:17] Yeah, Krinkle mentioned that. [22:06:23] !master resources/mediawiki.page/mediawiki.page.ready.js [22:06:23] https://git.wikimedia.org/blob/mediawiki%2Fcore.git/master/resources%2fmediawiki.page%2fmediawiki.page.ready.js [22:06:44] it'd be a little funky to require JS for this, though [22:07:26] Yeah, that part is not ideal. [22:07:40] In theory, it should be possible to do it conditionally on the server side. [22:08:53] hmm [22:09:07] we could stick that into OutputPage, i guess, but it sounds unpleasant [22:09:30] especially since we have the choice of parsing the DOM (which i think sucks in PHP) or combing it with regexes (which sucks in general) [22:10:00] at this point i'd rather we just add it unconditionally [22:16:47] MatmaRex, well, presumably it would be the parser's job to check for the class name(s). [22:17:22] now *that* sounds scary [22:17:29] i don't think our parser knows anything about class names [22:17:35] our Parser*