[00:33:27] i don't see #mediawiki-services ? [00:34:26] wikimedia-services [00:34:34] kk [03:56:51] does mediawiki have an api (via extension?) to replace Nth template instance on a page with a custom string? [03:57:23] say i have {{hello|bob}}, {{hello|rob}} etc on a page, i'd like to do an in-place replacement of Nth instance of that via api [04:10:33] No. [04:10:43] But you could just count the instances yourself? [04:10:48] Sveta: ^ [04:11:05] What's your real question? [04:16:59] ivy i could count them from a javascript, but that'd require writing a javascript parser for wiki markup [04:18:15] on my wiki a template occurs 10-20 times on a page and based on some human judgment criteria they later need to be replaced with something else [04:51:50] Why? [05:01:39] depending on whether page is in a category or not, but i think thats fixable with another extension [05:01:47] ie catinpage [05:01:54] err pageincat [05:01:56] so i think it should be ok [11:28:04] Hi, is it possible to remove the "discussion" tabs? [12:31:06] giby_the_kid: yes [12:31:32] thanks harmaahylje … How to? [12:31:50] giby_the_kid: https://www.mediawiki.org/wiki/Manual:Remove_Tabs [12:32:12] although that doesn't actually *remove* it [12:32:15] just hides [13:21:30] harmaahylje, Thanks [18:44:50] Hello :) [18:45:07] I have a quick question: what is the difference between these two dumps: "All pages with complete edit history" and "All pages with complete page edit history"? [19:39:54] hi, i searching for way to show manipulated data on my wikimedia pages. i have web with restapi that can return the manipulated data. [19:40:59] i can think about two potential ways to do that, on is to dynamicly post to web site nd show this on the website from any page, the other is to write bot that adds this data once a while. what will be best practice for this? [19:42:47] didn't quite understand [19:43:06] what do you mean by manipulated data? [19:43:24] Do you want to take something from a wiki, then manipulate it, and put it back? [19:43:33] not from wiki, from another source [19:43:57] ok [19:44:09] maybe there is an extension out there [19:44:35] I think you're gonna need for the server to do the requests [19:44:57] there is a way to send post\get request when mediawiki page is loading and show the answer? [19:45:12] depending on the backend you are working with, if it allows requests from anywhere, you could do some javascript in order to load the data onto the page [19:45:47] niso: I don't really know, I would guess not, as it could easily be abused on public wikis [19:46:27] bot that will update this once a while will be good way to approach this? [19:46:34] if you are getting data, you don't need POST [19:46:56] that's a decent idea [19:47:24] im getting data by unique id like key [19:47:32] I haven't done anything like that, but that might be the simplest way, as you don't need to do anything to mediawiki [19:48:40] ive start searching for python package to wrap the basics on that and saw some ( https://github.com/Riamse/ceterach, https://github.com/mwclient/mwclient, https://github.com/earwig/mwparserfromhell ... ) there is any idea which is the popular for this porpuse? [20:01:02] for what? [20:01:49] ahh, mediawiki bot? [20:03:03] maybe one of those would cut it, try them out [20:03:12] if you just need something simple, you could make your own script [20:03:48] Using something existing probably allows you to expand later on in a way that is more manageable