[00:16:19] Hey, anyone have an idea how to send changes to Gerrit when the ports are blocked by the hotel Wi-Fi? [00:17:19] divadsn: you can do it over HTTPS too, if you change your remotes in the local git repo config [00:17:35] divadsn: (and set a HTTP password in your Gerrit's setting) [00:18:03] divadsn: there is also https://tools.wmflabs.org/gerrit-patch-uploader/ , but changes submitted using that won't be connected to your account (and won't appear on your dashboard) [00:18:05] divadsn|proxy: ^ [00:19:51] MatmaRex: Thanks, I will try that out! [00:21:28] Who is responsible for zero now a days? [00:22:25] Lol [00:23:07] Do I just cc Yurik? [00:23:21] Probably. What's up? [00:25:34] Unfortunately it seems like the hotel Wi-Fi blocks that too, so I need to wait untill I'm back home :/ [01:25:15] !dumps [01:25:15] For information on how to get dumps from Wikimedia Wikis, see http://meta.wikimedia.org/wiki/Data_dumps . For a how-to on importing dumps, see https://www.mediawiki.org/wiki/Manual:Importing_XML_dumps . [01:47:33] divadsn|proxy hi, you could do https://gerrit-review.googlesource.com/Documentation/user-inline-edit.html [02:37:28] !xy [02:37:28] The XY problem is asking about your attempted *solution* rather than your *actual problem*. http://meta.stackoverflow.com/a/66378 [03:33:59] Hiya folks. I've got a transclusion question; I want to see what the raw wikitext output is from a transcluded special page (prefixindex), but it doesn't appear these can be subst-ed the usual way. Is there another method? [03:56:49] Karunamon: no [03:56:59] they dont have wikitext equivs [03:57:11] they are directly generated as html [03:57:27] guessing that excludes lua modules via #invoke as well? [03:57:55] Umm modules should be substitutable [03:58:10] same with parser funcs/ext tags [03:58:24] oh no, i mean can modules mess with the generated output [03:58:25] but you may get strip markers for some of them [03:59:04] strip markers are a string starting with UNIQ that gets replaced with html later [12:00:08] Is there a working extensions for displaying Atom feeds on pages? [12:17:26] Ok, I guess the question should be where to I send a patch for Extension:RSS. :) [12:18:09] // ATOM elements and RSS elements are item link urls [14:16:39] Uhm, how do I send a patch for an extension? [14:18:40] Diffusion is only a mirror, while actual reviews are in gerrit? [14:49:50] dmbaturin: yes [15:06:42] Nemo_bis: I see. https://gerrit.wikimedia.org/r/#/c/332050/ [15:18:42] Hi. Need some help. When I gave tag as value for "Pages" field in an Index page, it gave me an error "Error: Numeric value expected". What to do? [15:20:14] Im not very familar with proofread page - could you link to an example of this? [15:21:35] https://en.wikisource.org/w/index.php?title=Index:FundamentalLaw1.pdf&action=edit [15:21:42] See "Pages" field in that form [15:21:50] I am trying that, in my local setup. [15:24:52] Sorry, i was hopeful that just seeing it i might know the answer, but turns out i dont know anything about that [15:25:11] i guess you will have to wait for tpt to come online [15:25:41] ok. thanks. [16:55:41] bsc: pagelist only goes in the actual text area, not in the form [16:56:14] Ah sorry that corresponds to the "page" field indeed there, ok [17:49:32] hi [17:49:59] after importing pages is there another scipt i should run besides rebuildrecentchanges.php ? [17:50:19] do i need to run rebuildall rebuildimages etc? [20:15:25] Hi zero2. [20:15:30] update.php might help. [20:15:45] Some of the refresh and rebuild scripts might also help. [20:16:16] refreshLinks.php and similar. [20:36:38] hi, does the mediawiki database incorporate anything like the hashing used in git to keep track of revision history on wiki articles? [20:38:15] stoopkid: Nope. [20:38:32] I mean, I guess in a very abstract sense, we store revision parent IDs, I think. [20:38:37] But otherwise, not really the same model, no. [20:39:32] https://www.mediawiki.org/wiki/Manual:Revision_table#rev_parent_id [20:56:24] yea doesn't seem it provides any means for users to verify that the revision history hasn't been altered by the server owner [20:56:27] would you agree with that? [20:57:49] stoopkid: Oh, if you're looking for that, we do store a revision hash now. [20:57:58] It's base36 sha-1. [20:58:24] If you have XML dumps or older SQL database dumps that contain the hashes, you can compare those hashes. [20:58:33] https://www.mediawiki.org/wiki/Manual:Revision_table#rev_sha1 [20:58:47] That hash is also exposed via MediaWiki's api.php I believe. [20:59:12] ah it's this rev_sha1 field? [20:59:57] Yes. [21:00:10] It's in newer versions of MediaWiki. [21:57:15] Hi, what's the best way via API to get details if there's a current block for a specific IP-address. I'm also looking for a way to see if a page currently is protected with details. [22:31:25] Hi fluff. [22:31:31] Depends what you're trying to do, I guess. [22:31:42] The simplest approach might be to make an edit to the page. [22:31:45] With the same page contents. [22:31:50] And see if you're blocked/disallowed. [22:32:00] All kinds of things could get in your way. [22:43:48] Yvette> thank you but you sure you understand my question [22:45:22] I would linke to know what maintenance scripts I should run after importdump.php & importimages.php [22:49:37] zero2: I mean, most of the maintenance scripts aren't gonna do anything harmful or crazy. [22:49:44] Assuming you have a small wiki [22:49:44] . [22:49:48] So you can just run them if you want. [22:50:00] Are you trying to solve an actual problem or just do preventative maintenance or what? [22:50:06] Yvette> I have a big wiki and many takes hours [22:50:14] take* [22:50:18] Okay. [22:50:27] Depending on how you import content, you may miss certain stats or links updates. [22:50:34] Or other things might be a little off. [22:50:45] refreshLinks.php is decent. [22:50:47] If you needed it. [22:50:51] The rebuild scripts are also decnt. [22:50:52] decent [22:50:58] I can't type. [22:51:42] refreshLinks.php does something that rebuildrecentchanges.php doesn't ? [22:52:06] Probably, yeah. [22:52:23] If you know the MediaWiki schema, it probably makes more sense. [22:52:25] !schema [22:52:25] http://www.mediawiki.org/wiki/Manual:Database_layout [22:52:34] The recentchanges table is distinct from the *links tables. [22:52:42] Again, it depends what you're trying to do/solve. [22:52:52] Do you have some problem after importing content/images? [22:53:41] i don't try to solve a problem in particular [22:54:02] i just want to make sure i won't run into problems [22:54:12] The only way to ensure that is to not use computers. :-) [22:54:47] But then you'll just have different problems, I suppose. [22:55:30] Yvette> your name rings a bell, you've been in this support channel for a while am I wrong? are you part of mediawiki staff? [22:55:45] MediaWiki doesn't really staff. I've been in this channel for many years. [22:55:55] God, my typing is so bad. [22:55:58] really have * [22:56:17] There's a Wikimedia Foundation that does most MediaWiki development. I don't work for the Wikimedia Foundation. [22:56:20] I'm just a volunteer. [22:56:32] I see [22:56:38] thank you for the support [22:56:45] No problem. [22:59:24] You can look up the form 990 for the foundation [23:00:49] MEDIAWIKI.ORG is registered to Wikimedia Foundation, Inc. [23:02:10] https://wikimediafoundation.org/wiki/Financial_reports [23:02:36] https://upload.wikimedia.org/wikipedia/foundation/2/27/Form_990_FY_2014-2015_-_Public.pdf [23:05:17] page 5 of this document shows what the foundation spends money on: https://upload.wikimedia.org/wikipedia/foundation/4/43/Wikimedia_Foundation_Audit_Report_-_FY15-16.pdf [23:06:11] Hi Robert-Sterbal. [23:06:16] Hi [23:49:23] Yvette: so for the first one, I'd like to check if an arbritary IP address is blocked, I already know how to find out if an user account is blocked or not [23:50:30] Yvette: and for the second one I'm implementing the protect action in a GUI and would like to display to the user if the page already is protected and if so, how long the protection will last and for which groups the protection restricts editing/moving [23:51:36] for the former, e.g. https://en.wikipedia.org/w/index.php?title=Special:BlockList&ip=106.76.0.1 [23:51:44] oh, via the API, sorry never mind [23:53:15] MC8: :)