[00:54:18] Can I put a relative link? [00:54:35] I would like to put a .rar for download. [02:10:10] do you guys know how wikiocity gets your location automatically on pages? [02:12:12] Hi, any can help me? [02:12:28] Hi all, for some reason we can?t see the links placed on MediaWiki:Sidebar (we only see the ones by default) and the links of MediaWiki:Grouppage-x are all in red [02:12:29] we can't* [02:12:29] * tfinc se ha marchado (Remote host closed the connection) [02:12:29] The wiki is: wikimedia.org.ve [02:12:29] * andre__afk se ha marchado (Quit: That's it. It's over.) [02:12:30] * K4-713 (~khorn@wikimedia/katiehorn) se ha unido [02:12:32] White_Master: something wrong with localisation cache I'd guess [02:12:34] * zz_sucheta ahora se conoce como sucheta [02:12:36] you could try running rebuildLocalisationCache.php --force [02:12:38] bawolff, maintenance folder? [02:12:40] yes [02:12:42] oka [02:12:44] * multichill se ha marchado (Ping timeout: 256 seconds) [02:12:46] bawolff, nope, not work. [02:12:54] White_Master: let's NOT paste thanks [02:13:01] meh [02:13:11] if you'd like i can remove you from the remove [02:13:17] room* [02:13:32] !sidebar White_Master [02:13:32] To edit the navigation menu on the left, edit page [[MediaWiki:Sidebar]] on your wiki using its special syntax (see https://www.mediawiki.org/wiki/Manual:Interface/Sidebar for details). If you need more control, you can use the SkinBuildSidebar hook (https://www.mediawiki.org/wiki/Manual:Hooks/SkinBuildSidebar). [02:14:37] c, i do not need threats thanks [02:15:05] White_Master: Then you will comply when I say not to paste as indicated in the topic of this room [02:16:04] c it could be assumed good faith and say it was a forgetting on my part [02:16:33] White_Master: the subject is closed :) [02:17:06] c far better :) [02:18:10] Betacommand, yes, i edited Mediawiki:Sidebar and Mediawiki:Grouppage-x but no links appear [02:18:33] White_Master: is your wiki public? [02:19:25] Betacommand, yes [02:19:29] wikimedia.org.ve [02:25:06] White_Master: my first step would be to strip out all but 1 or two lines and see if that works [02:26:17] Betacommand, i modified MediaWiki:Grouppage-tech and not working [02:26:59] White_Master: what are you using the group page for? Im referring to the sidebar page [02:29:01] Betacommand, i modified the sidebar page but not appear [02:29:36] White_Master: I know, thats why I suggested stripping it down to 1-2 lines as a test [02:30:00] Betacommand, yes, i modified now the sidebar page [02:30:09] http://wikimedia.org.ve/w/index.php?title=MediaWiki:Sidebar&action=history [02:31:30] White_Master: I mean delete everything but 1-2 lines, stripping it down might provide clues to what is going on [02:31:59] Ok [02:33:28] Betacommand, now, i modified the sidebar: http://wikimedia.org.ve/w/index.php?title=MediaWiki:Sidebar&action=history [02:37:43] White_Master: In your localsettings.php is $wgUseDatabaseMessages set to True? [02:38:01] Betacommand, a moment, look. [02:39:00] Betacommand, not set. [02:39:11] OK, thats good [02:40:48] White_Master: Im not sure off hand, I would suggest emailing the mailing list [02:41:34] you should try https://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Changes_not_showing_up first though [02:44:04] Betacommand, purging the cache? Yes, i do. [02:46:11] Betacommand, using $wgUseDatabaseMessages for testing? [02:46:52] its default is true, its purging and clearing the server cache [02:48:43] Betacommand, well, dont appear [06:09:23] Hi. Anyone knows how can i randomize an article on a category? [06:11:52] Can we do that in the API? [06:24:06] ElGatoSaez: You mean fetch a random article from a category? [06:24:27] fetch the name of it [06:25:14] there's not really an api module for that [06:25:35] you could look at the location header on the redirect returned by Special:RandomInCategory/cat_name_here [06:25:36] mmm [06:25:45] ok [06:26:34] Or you could re-implement the crappy algorithm that uses on client side (It finds the max and min timestamp of the articles in that category, and then picks a random number between the two and fetches the article nearest that timestamp, which could be done in 3 api requests) [06:27:31] Special:RandomInCategory really puts the pseudo in "pseudorandom" [06:28:07] THANKS, i will try [06:50:32] hello. anybody here who might answer me a question regarding "remote loading" of wikipedia articles? [06:51:00] ChristianS_: What's the question? [06:58:43] hey bawolff. good morning. :-) [07:03:01] thing is: let's say I make an app for mobile devices introducing students to history - e.g. world war 2. amongst other things i'd like to display certain historical information in the form of wikipedia articles in the app. do i have to load those articles from a database dump which i host on my own server or can I use wikipedias API to directly load the pages at runtime? [07:04:56] Wikipedia api is probably fine, unless you're expecting an exceptionally high number of users of your app [07:06:05] ChristianS_: But read through https://www.mediawiki.org/wiki/API:Etiquette [07:07:34] ChristianS_: and consider using the new REST API - http://rest.wikimedia.org/ [07:07:34] do you know what happens once my app gets more users? is there an authority at wikipedia where i could sign up to continue using wikipedia directly? [07:08:36] in general i'd like to display content from wikipedia and encourage people to contribute to it. i guess this is in-line with the principles of wikipedia [07:08:44] yes, it's fine [07:08:47] you're not likely to overload it [07:09:04] set a descriptive user-agent and include your e-mail address so we can contact you if the rate is excessive [07:10:04] okay [07:10:09] thanks for the feedback [07:11:01] ChristianS_: Are you planning to allow editing directly from your app? [07:11:42] i thought this would be handy, yes [07:11:49] If so, you might want to append something to the edit summary like "edit made from ", so that people in wikipedia community know where it's coming from (or even better use oAuth) [07:12:23] okay, noted that one down [07:20:53] hi all, I want to insert custom html code to a page output before it is rendered, will 'BeforePageDisplay' hook do the job, or is there a better suggestion? [07:31:16] codezee: btw, congratulations on getting accepted into gsoc [07:31:28] bawolff: thanks :) [07:33:23] codezee: What the best hook for that sort of thing probably depends on the specifics of what you're doing [07:33:33] There's also things like SiteNoticeAfter [07:33:55] if you're making a sitenotice-esque thing [07:35:57] bawolff: To begin with, I want to simply add a div element with some css into the wikipage, preferrably at the beginning [07:42:50] bawolff: I'll explore sitenotice to see if I can make use of it, thanks! [07:43:09] I feel like their should be a better hook, but I didn't see anything [07:45:46] sitenotice seems like the thing I could use, except for that fact that this says it works only with js enabled, http://meta.wikimedia.org/wiki/Fundraising/2006/Sitenotice_Q4 [07:47:30] That's just the dismissable sitenotice [07:48:26] The biggest problem would be then it would be inside the sitenotice div, which you probably don't want [07:49:28] There's the setIndicators method of OutputPage, but I don't really know how that works [07:50:32] hmm, the indicators are really only for icons [07:51:11] yes, ofcourse, I'll try inserting the code manually, using 'BeforePageDisplay', and "see" if it works, otherwise I'll look around for an alternative :) [07:51:50] Someone who's more a frontend person could probably give you the proper answer :) [07:53:02] yes, I'll see, thanks anyway [07:53:19] e.g. Matmarex would know the answer [07:54:24] I think ArticleViewHeader would maybe work better than BeforePageDisplay, but I also remember there being some sort of problem with ArticleViewHeader. [08:14:10] ArticleViewHeader does seem to be a better option since I need to add my code in the header [11:11:36] morning all! [11:18:59] Hi all! I'm having some doubts about MediaWiki and Mobile FrontEnd extension. I'm using cache on my website, and I can't remove it, because we have 1 thousand people connected at the same time (says google analytics) on a spefic period. The thing is that Mobile FE extension needs the cache to me disabled. How should I work on this? [11:59:57] hi [12:00:49] using the API, how do I get the image in the factbox here: http://en.wikipedia.org/wiki/Candida_albicans [12:31:01] dbolser: one of two ways [12:34:07] dbolser: http://en.wikipedia.org//w/api.php?action=query&prop=images&format=json&imlimit=max&titles=Candida%20albicans [12:36:37] dbolser: or http://en.wikipedia.org/w/api.php?action=query&prop=pageimages&format=json&piprop=name&titles=Candida%20albicans [12:36:57] but the second one is more prone to errors [13:30:18] Betacommand: many thanks [16:45:50] My ConfirmAccounts extension appears to be posessed. All of a sudden when I go to approve an account I get a face full of Could not create directory "mwstore://accountcreds-backend/ [16:46:01] The fix that's mentioned on the extension's talk page didn't fix it [16:46:03] Halp. [16:47:44] Permissions are all squared away in terms of the directory, www-data has read/write access, it just won't go :( [16:51:19] <^d> Make the directory yourself? [16:51:29] * ^d just guessing [16:55:13] ^d: Naw, tried that, even chown'd it. It's something about a function the extension uses being removed in 1_24, I'll find the name [16:55:38] ^d: http://www.mediawiki.org/wiki/Extension_talk:ConfirmAccount#Could_not_create_directory_.22mwstore:.2F.2Faccountcreds-backend.2Faccountcreds-public.2Fw.2Fwi.2Fwik.22.__55823 [16:56:46] <^d> $wgFileStore was still being used by ConfirmAccount? Using an old version? [16:58:09] I think he's talking about assigning the upload directory. [17:01:07] What's messed up is I haven't the foggiest WHY any of this is involving a directory [17:01:14] there's no uploads associated with the request [17:01:32] (honestly I'd rather they were ignored. One dude attached his W-2 complete w/ Social Security Number once) [20:18:26] Looking for some direction on exporting data from our mediawiki 1.5.5 installation so we can import into another system. [20:20:36] 1.5.5? [20:20:44] What time machine did you use to join this channel [20:21:23] I guess... [20:21:24] !backup [20:21:25] See http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki for information about backing up your wiki. For restoring your wiki, see http://www.mediawiki.org/wiki/Manual:Moving_a_wiki#Import_the_database_backup for more. If you don't have database access, try !grabber. [20:21:31] There you go concordsteve [20:21:44] If that doesn't work, I can't help you, I've not been around that long [20:22:34] Thanks! I'll give that a try. [20:25:54] should be doing automated backups of the database anyway :P [20:26:18] (if you are able to of course) [20:26:35] RobotsOnDrugs: They left, though. [20:27:34] i should make the color for parts/quits lighter so i can read them more easily [21:18:56] * SamB_laptop wonders why wikidata is complaining about importScript/importStylesheet when Krinkle said to keep using them ... [21:21:06] https://github.com/wikimedia/mediawiki/commits/wmf/1.26wmf3/resources/src/mediawiki.legacy [21:21:08] https://github.com/wikimedia/mediawiki/commits/wmf/1.26wmf4/resources/src/mediawiki.legacy [21:21:17] SamB_laptop: it'll stop complaining after wikidata goes to wmf4 [21:22:48] hmm, needs more comments to keep people from deprecating again prematurely ... [21:23:51] hmm, well, maybe that little one "not quite deprecated yet" will be a clue [22:06:07] For some reason the API doesn't show if a patrol was an autopatrol anymore on the version of MW deployed on dawiki. See: https://da.wikipedia.org/wiki/Speciel:ApiSandbox#action=query&list=logevents&format=json&leprop=details&letype=patrol&ledir=newer [22:06:26] Many of those patrols are autopatrols, but it doesn't show the auto field under 'params' [22:09:28] see https://da.wikipedia.org/wiki/Speciel:Loglister/patrol?uselang=en [22:48:46] cgt: did you check how these are in DB? [22:50:08] Nemo_bis: I don't know how to do that [22:55:09] cgt: I put the query at https://web.archive.org/web/20140929221218/https://wiki.toolserver.org/view/MySQL_queries but it's not accessible now [22:55:25] ( Nemo_bis: YGPM, in case you missed it ) [22:55:39] cgt: ah, see https://www.mediawiki.org/wiki/Manual:Logging_table#log_params