[11:35:46] help plz. [11:36:04] ? [11:36:05] trying to run mediawiki on 00wh, no refs or tuts available online [11:36:41] MGC: http://kartha.000webhostapp.com/wiki/ [11:36:50] ^ this is how much I got to so far. [11:37:03] Not sure what exactly more to do. [11:39:31] Well, looks like you didn't setup MediaWiki yet. You can do so by providing a LocalSettings.php file to your server manually, but for beginners, running mw-config would be the way to go: [11:39:32] http://kartha.000webhostapp.com/wiki/mw-config/ [11:40:00] I am no expert, but I have setup wikis before [11:42:47] mgc: can u help me? [11:43:43] I can try ^^ [13:07:27] Hello. I seen to be having a caching problem. Pages for not logged in users aren't getting updated. http://wiki.ultimacodex.com/wiki/Category:User-made_patches and http://wiki.ultimacodex.com/wiki/File:Ultima-Complete-box.jpg are examples. [13:07:49] I've tried ?action=purge but it isn't working. [13:13:08] Fenyx4: How is http://wiki.ultimacodex.com/wiki/File:Ultima-Complete-box.jpg a cache issue? [13:13:20] Is the thumbnail displayed when you are logged in? [13:14:41] Yup. [13:14:55] And it even shows that a new version has been uploaded. [13:18:41] (Unrelated: 1.27.4 is an old version with unfixed security issues. 1.27.5 is latest.) [13:19:16] Fenyx4: When logged in that preview image on wiki.ultimacodex.com/wiki/File:Ultima-Complete-box.jpg is 528px. When not logged in that preview image is 526px. I don't see how that is a caching issue. nevertheless it is weird. [13:20:32] ah. yeah. Ignore me. Of course, old version. You're right. [13:21:48] (Re Version: Yeah, working on automating update steps so I can keep up to date on patches is an on going project for me. :) ) [13:23:20] Huh, going to the history when not logged in doesn't even show the new version. http://wiki.ultimacodex.com/index.php?title=File:Ultima-Complete-box.jpg&action=history [13:43:17] I gotta go AFK. I'll be back later. Thanks for looking at this andre__. [13:47:23] well, I wasn't helpful, but yw :) [14:51:42] hi there [14:54:11] is there a problem with the extensions on MW? [14:54:43] Download MediaWiki extension /// No such extension "_______". /// Unable to fetch extension list! [14:54:50] Our version control is down currently [14:55:05] all right [14:55:21] any way to access the extension, or just have to wait [14:55:35] If you're familiar with git, there's replicas on github [14:58:02] there? https://github.com/wikimedia/mediawiki-extensions? [15:04:08] No sorry, so I have to find the exact extension, like Flow, and go to the right REL, like if I seek for MW1.32 I'll take this one: https://github.com/wikimedia/mediawiki-extensions-Flow/tree/REL1_32 [15:04:12] is it correct? [15:12:04] Kinda [15:12:58] sorry, laggy bouncer [15:13:06] s3r3nd1: Yeah, that'd be exactly what you want :) [15:19:19] It dit, thanks Reedy [17:15:30] Hi all, I am trying to pull quotes from wikiquotes into my React application. I am learning how to code, and am finding your documentation very difficult to understand. Is this an appropriate place to ask for help? [17:30:10] two ways, Riz: fetch per api.php or fetch the site with ?action=raw [17:30:14] https://en.wikiquote.org/wiki/Richard_Stallman?action=raw [17:31:20] https://en.wikiquote.org/w/api.php?action=query&prop=revisions&rvprop=content&format=jsonfm&formatversion=2&titles=Richard_Stallman [17:32:01] ah I see, thanks [17:32:07] depends if you want the pure content or json [17:32:35] I am still learning React, so I am going to double check which format i need [17:32:49] i am creating an application that generates one quote at a time, randomly [17:32:59] so I imagine I need to crrate a function that parses the JSON [17:33:14] https://www.mediawiki.org/wiki/API:Query this is the api documentation [17:33:39] either way you will have to parse and transform the content for your needs [17:33:59] thanks bedah [17:34:05] yw [17:34:06] I find the api documentation quite difficult to understand [17:34:07] :) [17:35:28] you can do lots of stuff with the api, so there are many options [17:35:43] ?action=raw is the simplest way to get the content [17:37:03] ah ok [17:37:05] thanks Bedah [17:37:26] i am learning how to fetch data using APIs as well - this is the first application i have made (first project), and the first time ih ave fetched data [17:37:42] hence I find even easy things a bit difficult. I've thrown myself into the deep end and am learning as i build [17:39:36] respect that you learn react. that alone is a big framework [17:39:50] gl [17:42:54] thank you:) [17:43:02] I have throwm myself into making a project [17:43:21] i am learning Javascript fundamentals as I learn React, which tbh is a brutal learning curve, but there you go [17:43:32] then top off learning how to fetch data via API at the same time lol [17:49:52] already using git? like github/gitlab? next thing with steep learning curves [17:50:31] yeah can use those fine [17:53:26] I am getting CORS error [17:53:39] when I type pass this URL to my fetch function: https://en.wikiquote.org/wiki/Meaning_of_life?action=raw [17:53:57] its weird, because I can open that webpage in my browser fine [17:56:54] ah i know why - i should throw API links to fetch, not raw site links [17:56:55] anyway [18:02:36] Hi. Why is https://www.mediawiki.org/wiki/Special:ExtensionDistributor broken? [18:06:39] after compiling and executing latest twrp in my device i'm facing an issue. in the log can be read that any of the partitions can be read "unable to mount storage" "unable to mount system". i've been looking to the recovery.ftab and it seems adequate. I've even compared it with similar models fstab [18:06:55] but i cannot debug the issue. where do you think it might be the issue? [18:08:31] i need to generate a terms of service for my wiki. it allows public editing, similar to wikipedia... is it at all sensible to just copy this? https://foundation.wikimedia.org/wiki/Terms_of_Use/en [18:08:50] khalella_: no [18:09:05] oops wrong channel :P [18:09:13] khalella_: i can almost promise you 90% of that terms of service would not apply to you [18:09:14] Zppix: cool. im trying to figure out what to do [18:09:43] i tried making something with Termly and its like 19439243 pages long, and asks me to pay in order to copy it in HTML format :C [18:11:21] Hi [18:11:34] khalella_: i would advise if anything to consult someone with a legal background when it comes to this [18:11:37] Zer00Cool: hello [18:11:41] I search how i can purge : Spécial:Journal/usermerge [18:11:45] and, [18:11:53] Spécial:Journal/move [18:12:11] bedah are you still there? [18:12:26] Zer00Cool: okay? Whats your question [18:12:36] Zppix: the wiki doesn't really have much of a budget. it doens't generate any revenue. its paid for by users [18:12:47] if i have to ill do that [18:12:53] how purge the info : https://wiki.visionduweb.fr/index.php?title=Sp%C3%A9cial:Journal/move [18:13:13] and the same for https://wiki.visionduweb.fr/index.php?title=Sp%C3%A9cial:Journal/usermerge [18:13:22] https://wiki.visionduweb.fr/index.php?title=Sp%C3%A9cial:Journal/move&action=purge [18:13:35] https://wiki.visionduweb.fr/index.php?title=Sp%C3%A9cial:Journal/usermerge&action=purge [18:13:39] Zer00Cool: ^^ [18:14:13] humm [18:14:42] it's a joke ? :) [18:14:52] Zer00Cool: what is a joke? [18:15:21] no, it does not work [18:15:33] &action=purge [18:16:27] I want to erase the information displayed [18:17:54] I used UserMerge to merge and delete spam users but it conceals me the traces of the actions, it is surely a good thing, but, me, I want to purge its actions which are displayed in the logs Journal/move and Journal/user [18:19:34] hey guys [18:20:12] i have passed 'https://www.example.org/w/api.php' to my fetch function, and am now figuring out how to fetch a webpage via the api.php URL [18:20:33] is this documentation what I need to be looking at? https://www.mediawiki.org/wiki/API:Query [18:20:34] I'm not trying to flush the cache (purge) but remove the contents that display the actions in Journal / usermerge and Journal / move [18:20:51] Most of the guidance seems to advise on what to do when using the raw URL rather than the API one [18:20:57] some help would be awesome, thanks :) [18:25:35] Zppix I'm French, I thought you were joking with the variable in the url. But, it seems like it does not work, I really would like to erase the information, I do not think it's cache information, but, database instead. [18:29:30] Riz: Which exact API calls (=parameters) have you tried? What happened? What did you expect to happen instead? [18:30:38] Zer00Cool, Zppix: "action=purge" purges the cached version of a page. Not the content of a page. [18:31:05] Zppix andre_ ok i found for this page : Spécial:Journal/move [18:31:18] I recreate the old content, and, use DeletePageForGood [18:31:52] Then, Journal of renames is ok, 0 information. That's ok. [18:31:57] Zer00Cool, or https://www.mediawiki.org/wiki/Manual:$wgLogRestrictions [18:32:16] Now, i want clear this : https://wiki.visionduweb.fr/index.php?title=Sp%C3%A9cial:Journal/usermerge [18:32:43] I don't see any good reason to destroy logs. Instead of making logs inaccessible. [18:36:42] Yes you have right, you have the good practice. [18:36:43] I have no reason to have this diary, for me, or, to store it, I find here, its obsolete information, I have merge user and delete user myself, I want to be able to delete traces, and, in particular, the public traces of his actions. [18:38:23] Use $wgLogRestrictions it's a good idea, i add this to my mind, but, I prefer to delete everything here because I'm a stubborn donkey [18:39:45] Your idea to hide the deletion logs is good, but, that would hide only one line out of two, the line merge would surely still be displayed. From : https://wiki.visionduweb.fr/index.php?title=Sp%C3%A9cial:Journal/usermerge [18:43:21] andre__: Ok, I realize that Special: Journal / usermerge is not native mediawiki but the result of the UserMerge extension. So, I would have to directly ask for help on the extension page. I do not know if I can hide its information, the same way you proposed it with wgLogRestrictions [18:46:12] I have open a new discussion for that : https://www.mediawiki.org/wiki/Extension_talk:UserMerge [18:53:50] Zer00Cool, have you seen the tools mentioned here: https://www.mediawiki.org/wiki/Manual:Combating_vandalism ? [18:55:15] i have read, a part sur [18:56:35] the part "If vandalism has won the last battle on your wiki" lists some tools to purge/eradicate pages, users, their edits and the revisions [18:59:49] Yes i have read a lot, and, translate to french [18:59:58] https://wiki.visionduweb.fr/index.php?title=Maintenance_et_securite_de_Mediawiki [19:01:50] oh nice. je ne parle pa francais, je sui une kraut [19:04:26] I used UserMerge to remove users, so it shows me the deletion and the merge of users, in "Recent changes". [19:04:27] I might have used CleanMediawiki.sh [19:04:42] The problem remains open, how to remove the information displayed in "Recent Changes" that come from UserMerge. [19:05:07] I do not know if UserMerge uses its own table or, a particular field, to store its information in database, nor, if I can delete its data in a simple way. [19:05:07] At the moment, I have 2 lines displayed, for each user merged, then, deleted. [19:10:32] If i launch : /usr/bin/php /var/www/wiki.visionduweb.fr/maintenance/rebuildrecentchanges.php [19:12:07] Yes the latest changes are not displayed. I had just modified a page, I do not see it anymore. [19:12:08] The Merge and Delete User information is always displayed. [19:12:08] Do you think it's directly from the UserMerge extension? [19:12:08] It would then be necessary to correct the extension, to respond correctly to the commands of the maintenance scripts: / usr / bin / php /var/www/wiki.visionduweb.fr/maintenance/rebuildrecentchanges.php [19:12:45] I have use deleteOldRevisions.php --delete and after rebuildrecentchanges.php [19:20:35] Ok it's not the good script to make that. [19:21:55] I stop, i don't know. I have open this last discussion : https://www.mediawiki.org/wiki/Extension_talk:UserMerge [20:15:26] hi is anyone available to help me out with something>/ [20:15:27] ? [20:16:09] Riz, just ask [20:16:17] Someone will see it later and answer [20:16:32] ok thx [20:16:36] i posted it above [20:18:44] Riz, https://www.mediawiki.org/wiki/API:Web_APIs_hub [20:19:41] thx n3ni5 [20:19:45] ill take al ook at this link [21:24:52] Riz: See my question above to you: Which exact API calls (=parameters) have you tried? What happened? What did you expect to happen instead? [22:09:54] andre i am still figuring out what perameters are [22:09:59] especially when it comes to api calls [22:10:15] hence i am so confused, the wikimedia api documentation presumes this isnt your first ever api call [22:10:21] there is so much jargon etc [22:10:48] i know perameters are passed to functions, but i dont know if the API call is a function? [22:10:59] or rather, arguments are passed to functions [22:52:56] Riz: So what do you want to achieve? And what exactly have you tried? [22:53:02] Can you please be specific? [22:53:46] What exact page (link) are you on? Which part is unclear on that page? [22:54:14] It's imposible to help without knowing what you want to do exactly. And which API queries you've tried so far. [23:00:13] its ok andrew [23:00:15] andre* [23:01:03] i have switched to a different quote API, I think honestly the wikimedia api is too above my skill level at the moment, I will come back and code it into my project/use it again when i am more capable [23:01:03] I was still trying to figure out what an API query is, and where to code it in my script [23:01:12] i dont know how it works - where to type it after the fetch function, or if a fetch function is even used [23:01:25] i wanted to use this page: https://en.wikiquote.org/wiki/Meaning_of_life [23:03:47] Riz: And what stops you from using it? [23:03:51] And what does "using" mean? [23:04:02] what stops me from using it, is that i do not understand the documentation [23:04:03] any of it [23:04:05] its ok [23:04:15] Riz: Ok. What does "using" mean? [23:04:36] https://www.mediawiki.org/wiki/API:Main_page lists "Parse content of a page" [23:04:41] for instance, on this page: https://en.wikiquote.org/w/api.php , I do not know where I am meant to type these action commands, in my script [23:05:11] Riz: Have you tried the "Examples" section on https://www.mediawiki.org/wiki/API:Parsing_wikitext ? [23:05:45] this webage (https://www.mediawiki.org/wiki/API:Parsing_wikitext) contains raw html links, not links I can use with the api.php link I use in my fetch command [23:06:13] in the 'Examples' section, I do not know what tp type before and after that object, inmy script [23:06:21] How does your fetch command look like? [23:06:22] the jump from what i know to what is required to use this API is too big# [23:06:41] In which language is your script written? [23:57:08] it is a React component [23:57:10] so Javascript