[00:05:05] FoxT: thank you - I'm just reading and rereading what you've said to make sure it sinks in - you're right about the SkinTemplate - when I echo'd out the $this, it was a gigantic object with the name of SinixTemplate - so that makes sense [00:06:24] FoxT: but what you're saying is that I should take the page's name, do some kind of "get categories" method, and use that instead of trying to appropriate the SkinTemplate context [00:07:31] sinix: Maybe I don't fully understand, what you want to do, but to me it seems, that the skin and the special page are two different, independent things. [00:08:01] You could have your special page anyway, with or without the skin [00:09:11] I've kinda inherited this wiki from someone with much more experience than I have, and he build his extensions to each spit out a specialpage, which he inserted into dataAfterContent - so I'm basically trying to get the page's categories in there, too [00:09:32] *built [00:16:39] sinix: Well, the correct way to keep it all consistent would probably be to copy his approach. So you could just take one of his extensions and change what needs changing. If you really only need that list of categories in your particular skin the faster and easier way might be to just put it where you need it without using a special page. [00:17:27] in your SkinTemplate it should work to do something like $this->getSkin()->getTitle()->getParentCategories() to get an array of Categories [00:18:52] sinix: You'll have to insetrt a few ifs along the way to catch special cases. E.g. that getTitle() might return null according to the docs [00:21:09] gotcha - ok, I'll play with that for a minute - i found a method called getCategories in Skin, but I'll try the getParentCategories you suggested first [00:22:24] sinix: Heh, or you could just ask the skin directly: somethign like $this->getSkin()->getCategoryLinks() [00:22:44] Yours is even better :) [00:25:51] hello? [00:25:54] anyoneh ere? [00:26:34] I wanted to colour a section header like === header === [00:27:33] but using === {{color|red|header}} === does not work, and it produces malformed output [00:28:44] === header === [00:30:31] hmm [00:30:36] ohokay [00:40:32] it could be interesting to check what the {{color}} template uses and why it doesn't work [00:40:39] which wiki is that on? [00:41:10] it's in paradise station (game) wiki [00:41:16] I've been adding some templates [00:41:49] see http://nanotrasen.se/wiki/index.php?title=Template:Color&action=edit Svetlana [00:42:24] for now there's been some admin problems and some modules cannot be installed [00:42:46] so the Documentation, Unsubst and Hatnote modules are yet to be found [00:42:52] I've been trying to complete it [00:43:11] a great tragedy happened at one point on the server, a database corruption [00:43:28] which caused the loss of a few weeks of community work [00:43:45] and the few editors that did make it spectacular were very demoraled :( [00:44:05] I'm going to make it awesome myself now [06:01:51] can there be templates for use in a single page only? as in local templates? [06:18:43] Nahiyan: sure, they're called writing your wikitext in action=edit and saving on the page in question [06:22:39] I mean [06:23:32] Nemo_bis, I was going to make a table with something like {{Yes}} but for {{Plasma}} (purple, centred cell) and copypasting the same thing over and over... [07:45:44] hy all [07:46:20] anyone knows why using categorytree extensions, i have "x" or "+" instead the icons ? did i miss something ? [08:49:46] hello . i have added LanguageTt.php and added tt in LanguageConverter.php . how to make converter links appear (in every page) ? i have checked uzbek language and it also do not make it appear as in wikipedia. [09:01:02] qdb: which scripts are you converting? [09:35:23] sap [09:35:36] saper: tatar language [09:36:03] sap [10:31:15] fixed . i did not change php config file [10:48:19] hey all, got a short question: if i change the permission that no guests can edit pages, and u now browse to the wiki and open a page which doesnt exists, i only get a blank page / totally blank / normally u see the edit functions. (either iam logged in or not...) [11:26:38] malte: i think mediawiki does not expose buttons which are useless (i suspect it should also give a beautiful and useful error message when you visited a page and can't create it either, though -- does it do that?) [13:49:21] is rev_parent_id null for page creations? [13:51:03] evil non-documenters ;) https://www.mediawiki.org/wiki/Manual_talk:Revision_table#Page_creation [13:56:25] Nemo_bis, hmm... I'd be careful about assuming that's a 100% guaranteed way to identify all page creations. [13:56:46] qgil: Hi, I wanted to apply for the GNOME OPW, are any Wikimedia projects still available? Thank you. [13:57:24] hi shruti ! [13:57:33] Krenair: doesn't need to, anyway feel free to edit https://www.mediawiki.org/wiki/Manual:Revision_table#rev_parent_id ;) [13:57:36] Nemo_bis: that is how you identify page creations, but history merges can mean that a page can have more than one revision like that [13:57:38] All projects listed at https://www.mediawiki.org/wiki/FOSS_Outreach_Program_for_Women/Round_9 are available [13:57:55] jackmcbarn: yes I know, and it's also covered in the next subsection [13:57:59] what about imports, page deletions (partial restores, etc.), etc.? [13:58:19] shruti, we have seen some candidates interested in some projects, but I'm not aware of any that has committed to one [13:59:06] Krenair: imports and history merge are mentioned in https://www.mediawiki.org/wiki/Manual:Revision_table#Transferred_revisions , deletion and restorations not [13:59:15] shruti, even in that case, projects are "available" during the submission period, and more than one candidate can apply for the same project (although we try to help avoiding good candidates chasing the same project) [13:59:19] moves? [13:59:33] why would moves matter? [14:01:57] hm, I guess they don't really [14:06:04] unless the redirect creations were rev_parent_id != 0, which they aren't (would be silly, though sometimes practical) [14:40:20] Is there a parameter you can feed into Special:PrefixIndex to not get subpages? [14:42:02] harej: no, but what are you trying to do exactly? [14:42:27] https://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=WikiProject&namespace=4&hideredirects=1&columns=1 << I want this list, but without any of the subpages, so just the root WikiProject pages [14:45:40] harej: i can run a tool labs query to get you that list [14:45:51] cool, how long should that take? [14:46:02] about 2 minutes [14:46:13] cool, feel free to send it to jamesmhare@gmail.com once it's done [14:46:16] thank you! [14:52:20] harej: https://tools.wmflabs.org/paste/view/1cfed75f [14:52:28] ^ _ ^ [14:52:48] This list is in a curious order. [14:52:59] Not that that matters. But thank you. [14:54:00] And this excludes redirects, right? [14:54:02] yes [14:54:29] *plays with his new list* [14:54:47] my best guess is that the list is in order of first revision descending, but i could be wrong. order from databases is totally undefined unless you specify one, which i didn't [14:55:11] Fair enough [15:19:30] harej: you posted to the project page instead of the talk page everywhere [15:19:36] you should probably fix that quickly [15:19:40] jackmcbarn: working on it [15:19:51] I thought the whole point of {{#target: }} was to make it select the talk page. [15:20:17] legoktm: ^ (i'm not sure exactly) [15:54:04] jackmcbarn: lua/scribunto broke on my wiki again :( [15:54:13] wmat: broke how? [15:54:21] Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted [15:54:38] wmat: what changed recently? [15:55:01] jackmcbarn: good question. I can't find anything that's changed. [15:55:14] wmat: can you pastebin your LocalSettings.php? [15:55:22] oddly, if I switch to luasandbox, the scripts work, but save does not [15:55:30] jackmcbarn: sure, gimme a sec [15:55:34] in what way doesn't save work? [15:56:20] jackmcbarn: saving pages that use lua modules timeout. I'll make the switch and get you that error as well. [15:58:31] jackmcbarn: do you just need the scribunto section from LocalSettings? [15:58:53] wmat: all of it (except passwords obviously) would be helpful, in case some seemingly-unrelated setting is messing something up [16:01:35] hy all, been wondering if it's possible to make table templates that can be easy used in other wiki pages ? [16:01:50] xinity: what do you mean by "table templates"? [16:02:01] you can put table markup in templates the exact same way as any other markup [16:02:41] jackmcbarn: like creating a page template, i just want to create a table template with header color predifined and other stuff like that [16:03:30] xinity: do you mean like http://en.wikipedia.org/wiki/Template:Infobox ? [16:05:10] jackmcbarn: something like that yes, that can be easily included in another wiki page [17:06:18] Cannot download extension ContributionScores 404 https://www.mediawiki.org/wiki/Special:ExtensionDistributor/ContributionScores [17:06:45] http://wmflabs.org/ is off [17:14:58] Subfader: There have been dns issues with it. [17:15:07] -labs is aware, it's getting fixed. [18:12:36] hi, is there a way for an API to determine the filepath of a page just using the PAGEID? So to get {{filepath:{{PAGENAME}}}} from {{PAGEID}} ? [18:14:48] chippy: Sounds feasible. One sec [18:15:11] yeah, I'm sure there's a way :) [18:15:39] chippy: https://en.wikipedia.org/w/api.php?action=query&prop=info&pageids=1092&format=json [18:16:21] marktraceur, awesome, lemme try on commons. It's for an image [18:16:29] Not sure about filepath though [18:16:33] hrm [18:16:54] I guess you could just ask for imageinfo on the file [18:17:01] https://commons.wikimedia.org/w/api.php?action=query&prop=info&pageids=27396733&inprop=url&format=json [18:17:09] that gets the url of the page, but not the filepath [18:18:11] https://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=url&iiurlwidth=300&pageids=1092&format=json [18:18:25] Or https://commons.wikimedia.org/w/api.php?action=query&prop=imageinfo&iiprop=url&pageids=1092&format=json without the width [18:19:17] filepath is new to me though, thanks for that :) [18:19:41] thank you very much, marktraceur :-) [18:19:46] Yup yup [18:20:04] On Special:Version I get "Warning: is_file(): open_basedir restriction in effect. File(/usr/bin/git) is not within the allowed path(s)". Do I need to enable git for something? [18:20:36] Subfader: I think you can turn off git revision checking [18:20:56] I hope so :) checking [18:21:33] Subfader: Maybe just set it to a path that's allowed but doesn't exist [18:21:37] Subfader: https://www.mediawiki.org/wiki/Manual:$wgGitBin [18:22:16] epic fail on Special:Version then [18:22:33] Well, I mean, usually open_basedir isn't set [18:22:40] That's a new one to me. [18:23:05] in includes/GitInfo.php on line 132 [18:23:40] Subfader: https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms [18:23:50] Sorry, https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#UNIX_utility_binaries_not_found [18:24:20] !openbasedir is You need to fix your basedir setting. See https://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#UNIX_utility_binaries_not_found for more information. [18:24:20] Key was added [18:24:45] "PHP must have access to /usr/bin". I DON'T WANT GIT TO DO SHIT ;) [18:25:06] Well, then like I said, set it to a path that's allowed but doesn't exist. [18:25:19] kk [19:09:46] Can someone please briefly explain what these rules do https://en.wikipedia.org/wiki/MediaWiki:Group-autoconfirmed.css [19:12:10] Mlpearc: Show hidden items that have class="autoconfirmed-show" [19:13:04] Thanx, I read that but still no idea [19:18:17] anomie: are you around? [19:18:39] Betacommand: yes [19:19:56] anomie: can you take a look at https://bugzilla.wikimedia.org/show_bug.cgi?id=23542 I think your patch that changed how file redirects now also include the target, might have fixed it [19:20:51] Betacommand: Well, I did mark it as "RESOLVED FIXED" back in January [19:21:38] Ah ok, brain fart, just got an email about it from bugzilla and I was thinking it was still open [19:53:28] hi [20:08:15] Hallo. [20:09:26] Enabling MathJax in Wikipedia preferences and right-clicking a formula and then About says "MathJax 2.3". [20:09:41] If I understand correctly, MathJax 2.4 is available. [20:09:55] Is there any plan to update it? [20:13:47] oh and now https://www.mediawiki.org/wiki/Extension:Math says "[9ab5313f] 2014-10-01 20:13:19: Fatal exception of type Scribunto_LuaInterpreterNotFoundError" [20:21:21] aharoni: fix in a minute [20:25:31] aharoni: fixed [20:26:33] thanks [22:04:30] anyone want to help a total noob? I'm trying to setup a short URL using http://shorturls.redwerks.org [22:04:44] but I'm lost about where I put the rewrite rules [22:05:24] I have apache2 on debian (actually, Raspbian, on a raspberry pi, because science) [22:05:55] it just says "Apache Config", so I'm guessing this means the apache2.conf file? [23:09:06] Was a release supposed to happen today? [23:11:07] GPHemsley: A release of what? [23:11:27] mediawiki [23:25:54] Maybe? I'm not familiar with the release schedule [23:26:08] But I don't think it's like a "first day of the month" thing if that's why you're asking [23:27:45] hi