[04:13:38] [telegram] Hello [16:10:50] [telegram] Yes, but haven't details of transfer data between classes mediawiki (re @Thecladis: One of the pages linked from that page, in bold in fact, is https://www.mediawiki.org/wiki/Manual:MediaWiki_architecture : have ...) [16:12:36] [telegram] Classes? [16:17:10] [telegram] fwiw I wouldn't say that Symfony describes under the hood things very well in its documentation. Mostly you have to open the code if you want to see how the framework does stuff. (re @M: What or Where is structure files mediawiki for develop ? [16:17:10] [telegram] For example have not structure of files for data flow [16:17:12] [telegram] And also which...) [16:44:42] [telegram] Files or classes (re @tehreedy: Classes?) [16:45:40] [telegram] I'm not sure we have specific documentation down to the level you're looking for [16:45:46] [telegram] Not without you reading the code [16:49:37] [telegram] Like wordpress that you have to connect to database and get posts in themes [16:49:37] [telegram] In Mediawiki also have to write code in theme? (re @tehreedy: I'm not sure we have specific documentation down to the level you're looking for) [16:51:15] [telegram] It's not very clear what you're trying to achieve [16:51:37] [telegram] I don't know how else you would get data stored in a database, without connecting to that database [16:53:05] [telegram] No i means is : [16:53:06] [telegram] How to get posts from database in mediawiki ? (re @tehreedy: I don't know how else you would get data stored in a database, without connecting to that database) [16:53:29] [telegram] MediaWiki doesn't have a concept of "posts". Are you meaning pages? The content of a page? A list of pages? [16:53:52] [telegram] And get it from where? Some PHP code? Javascript? Somewhere else? [16:54:03] [telegram] Yes , i mean is pages (re @tehreedy: MediaWiki doesn't have a concept of "posts". Are you meaning pages? The content of a page? A list of pages?) [16:54:17] [telegram] PHP (re @tehreedy: And get it from where? Some PHP code? Javascript? Somewhere else?) [16:57:11] [telegram] Which file should I edit to get content from the database on the pages? (re @tehreedy: MediaWiki doesn't have a concept of "posts". Are you meaning pages? The content of a page? A list of pages?) [16:58:30] [telegram] Why do you need to edit anything? What are you trying to do? [16:59:40] [telegram] #missingFosdem [16:59:53] [telegram] Because i want create extension for get content of database (re @tehreedy: Why do you need to edit anything? What are you trying to do?) [17:00:38] [telegram] All of the content? Just one specific page? [17:02:49] [telegram] My extension must change login page or develop this (re @tehreedy: All of the content? Just one specific page?) [17:04:30] [telegram] If you're wanting to modify the login page, you probably want to use https://www.mediawiki.org/wiki/Manual:Hooks/AuthChangeFormFields [17:05:28] [telegram] I think it would be a good idea to hear what problem the extension is trying to solve in general. I am afraid there is a very high chance hitting the [[w:XY problem]] here. [17:06:30] [telegram] eh, it's this weekend, but online it's not the same thing... (re @siebrand: #missingFosdem) [17:07:02] [telegram] I think that's Siebrands point ;) [17:07:28] [telegram] Yes. I'm writing that I feel the same 😊 [17:09:47] [telegram] Absolutely not the same thing. I’m so done with online (re @LorenzoLosa: eh, it's this weekend, but online it's not the same thing...) [17:12:00] [telegram] Thanks ,for learn hooks should I read mediawiki site? (re @tehreedy: If you're wanting to modify the login page, you probably want to use https://www.mediawiki.org/wiki/Manual:Hooks/AuthChangeFormF...) [17:12:41] [telegram] Forwarded from unknown: Earn money daily profit in the home of tradingπŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡@Crypto_Singalx13 [17:12:54] [telegram] Probably. https://www.mediawiki.org/wiki/Manual:Hooks is a good place to start [17:13:06] [telegram] But as Bohdan said, it would be helpful to know what your overall goal actually is [17:17:51] [telegram] But mediawiki have not example of hooks (re @tehreedy: Probably. https://www.mediawiki.org/wiki/Manual:Hooks is a good place to start) [17:18:10] [telegram] Yes it does? [17:18:11] [telegram] https://www.mediawiki.org/wiki/Manual:Hooks#Handling_hooks_in_MediaWiki_1.35_and_later [17:18:32] [telegram] Answer Bohdan's and Sam's question and perhaps the answers you get will be better [17:18:43] [telegram] this is Bohdan's question (re @Thecladis: I think it would be a good idea to hear what problem the extension is trying to solve in general. I am afraid there is a very hi...) [17:18:54] [telegram] and this is Sam's question (re @tehreedy: But as Bohdan said, it would be helpful to know what your overall goal actually is) [17:21:23] [telegram] πŸ™πŸ™πŸ™πŸŒΉ (re @tehreedy: https://www.mediawiki.org/wiki/Manual:Hooks#Handling_hooks_in_MediaWiki_1.35_and_later) [17:21:39] [telegram] πŸ™πŸ™ (re @Thecladis: I think it would be a good idea to hear what problem the extension is trying to solve in general. I am afraid there is a very hi...) [17:27:08] [telegram] My idea is : i want connect mediawiki to another site and get data from that site and show in mediawiki (re @Thecladis: I think it would be a good idea to hear what problem the extension is trying to solve in general. I am afraid there is a very hi...) [17:37:56] [telegram] For this idea what i do? (re @M: My idea is : i want connect mediawiki to another site and get data from that site and show in mediawiki [17:37:57] [telegram] First user must be logi...) [17:38:49] [telegram] How do you plan to obtain data from that other site? Via some kind of API? [17:40:32] [telegram] Yes I want get data from api json and then insert in database and show in pages (re @Thecladis: How do you plan to obtain data from that other site? Via some kind of API?) [17:41:07] [telegram] > First user must be login [17:41:07] [telegram] in MediaWiki? [17:41:46] [telegram] Well strictly for this task itself it is not necessary to write the information to the DB I think, although for caching purposes it is a good idea probably [17:42:23] [telegram] No i want set login center from that site and also mediawiki logged (re @Thecladis: > First user must be login [17:42:24] [telegram] in MediaWiki?) [17:43:35] [telegram] Now , how do i this ? [17:43:36] [telegram] I change which one files? [17:43:37] [telegram] Or create extension ? [17:43:39] [telegram] In all what i do? (re @Thecladis: Well strictly for this task itself it is not necessary to write the information to the DB I think, although for caching purposes...) [17:43:55] [telegram] I think there is an extension that allows to log in to MediaWiki via OAuth from another website I think, perhaps folks know a better way (re @M: No i want set login center from that site and also mediawiki logged) [17:45:24] [telegram] Now , how do i this ? [17:45:25] [telegram] I change which one files? [17:45:27] [telegram] Or create extension ? [17:45:28] [telegram] In all what i do? (re @Thecladis: I think there is an extension that allows to log in to MediaWiki via OAuth from another website I think, perhaps folks know a be...) [17:46:33] [telegram] It seems that this is the current one for that https://www.mediawiki.org/wiki/Extension:WSOAuth . But if you need some either means than OAuth then I guess you would either need to find another extension or do the necessary changes yourself (re @Thecladis: I think there is an extension that allows to log in to MediaWiki via OAuth from another website I think, perhaps folks know a be...) [17:47:36] [telegram] https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Special_pages this one is quite comprehensible I think (re @M: Now , how do i this ? [17:47:37] [telegram] I change which one files? [17:47:39] [telegram] Or create extension ? [17:47:40] [telegram] In all what i do?) [17:51:25] [telegram] This two link enough for make this my idea? (re @Thecladis: https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Special_pages this one is quite comprehensible I think) [17:53:00] [telegram] On the precondition that that other website supports oauth login, they should be enough. if not then probably some extra stuff would be needed [17:54:24] [telegram] Then ,for insert json data and show in mediawiki what i doing? (re @Thecladis: On the precondition that that other website supports oauth login, they should be enough. if not then probably some extra stuff w...) [17:55:16] [telegram] Has quite comprehensive guide what to do. At this point it starts to look as though you want people to write code for you :) (re @Thecladis: https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Special_pages this one is quite comprehensible I think) [17:55:40] [telegram] Please read that help page through first [17:59:47] [telegram] Very thanks 😊❀️🌹 [17:59:48] [telegram] No i want know which files should i edit for this [17:59:49] [telegram] I don't want that people writing code for meπŸ˜… (re @Thecladis: Has quite comprehensive guide what to do. At this point it starts to look as though you want people to write code for you :)) [18:07:08] [telegram] Generally if you're "editing" MediaWiki cores to implement an extension, you're (probably) doing it wrong [18:10:16] [telegram] So what is solution? (re @tehreedy: Generally if you're "editing" MediaWiki cores files to implement an extension, you're (probably) doing it wrong) [18:10:38] [telegram] Do it in your own files. That's how other extensions do it... And we have 900+ examples of extensions [18:13:50] [telegram] I am beginner [18:13:51] [telegram] How do i this work? (re @tehreedy: Do it in your own files. That's how other extensions do it... And we have 900+ examples of extensions) [18:14:07] [telegram] https://www.mediawiki.org/wiki/Manual:Developing_extensions [20:29:44] [telegram] πŸ™πŸŒΉ (re @tehreedy: https://www.mediawiki.org/wiki/Manual:Developing_extensions)