[01:00:33] 1.32.0. If I add to LocalSettings.php "wfLoadExtension( 'WikiEditor' );" then all pages come up blank, with no source and no error. I set wgDebugLogFile, and it writes to it if I comment out WikiEditor, but writes nothing to the log file when WikiEditor is loaded. Is there a way I can debug this a bit further to make a better report than "this doesn't work?" [01:01:06] Don't know if it matters, but I'm just using the default Vector skin. I also tried WikiEditor's git master. [01:01:49] !whitepage [01:01:52] meh [01:01:59] jamespharvey20: anyway blank white page indicates php errors [01:03:00] if you have error logs for your server, check there if php is being logged there [01:03:20] otherwise you can add at the top of your LocalSettings.php (under the that will cause an error message to be output to your browser [01:04:17] Skizzerz: Awesome, thanks! [01:04:35] !500 [01:04:35] A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [01:04:56] thanks bawolff [01:05:23] !blankpage is A blank page or HTTP 500 error usually indicates a fatal PHP error. For information on debugging (including viewing errors), see . [01:05:24] Key was added [01:13:48] Go figure, now it works. Can't replicate getting it to fail. [01:14:58] Using VisualEditor, I can switch to source editing, and any changes made in VisualEditor transfer over. Going the other way, from source editing to Visual, I get a confirmation "Cancel | Discard my changes and switch", and it does lose unsaved changes. Any way around that? [01:17:27] did you make changes in the source editor before trying to switch? [01:18:17] Skizzerz: yes [01:19:28] If I click Discard, it puts me at "&veaction=edit&oldid=1773&wteswitched=1" even though there's no newer version [01:20:04] if you save, then try to edit again, does VE work? [01:20:45] If I go from VisualEditor to source, it puts me at "action=submit&veswitched=1" and gives a preview of changes, so maybe that's how it's moving the data to source, and there isn't a reverse way to do it. [01:20:52] Skizzerz: yes, saving then editing works [01:21:00] sounds like a VE bug then [01:21:02] *editing with VE [01:43:37] can someone explain to me how this continue api param thing works [01:54:07] like "cmcontinue": "page|4935303030383337|266955", [01:54:13] wtf do i do with that [01:54:21] and wtf does this mean "continue": "-||" [02:42:14] o.O [03:02:26] this channel is completely usless [03:02:27] lol [08:59:18] Is it possible to put an extra search box (with autocomplete) in the middle of a page? The idea would be to create a google style front page on Main_Page. [09:49:55] !e InputBox | Clockwork22 [09:49:55] Clockwork22: https://www.mediawiki.org/wiki/Extension:InputBox_ [09:50:49] Is this still working? https://www.mediawiki.org/wiki/Extension:Score [09:51:24] I'd like to set up my first mediawiki instance only if that thing works. :) [09:54:28] siers: it should, its deployed to the wikimedia sites such as wikimedia commons [09:55:21] Great to hear! Should it be straight forward to add this extension if I'd provision mediawiki with the public docker images? [10:05:56] I guess I'll find out. :o) [10:59:53] hi, is it possible to find the last modification version of a line in a page ? (like a git blame) [11:00:53] i have a page with many versions, comments can't tell me which one is the good, and i would see the precedent version of this line only [11:01:23] p858snake | Thanks, i see no option for autocomplete on the inputbox [11:10:44] ok :o) [11:11:21] i was starting to like the git blame function (or similar in gitlab :) ) [11:11:24] thx [11:14:24] dcpc007: There's some third party tools that will build diffs too [12:33:30] Reedy, any idea of the names ? (and it's for very old mediawiki, i'm doing some content analyses) [12:34:01] https://en.wikipedia.org/wiki/Wikipedia:WikiBlame is one [12:34:06] i can't migrate directly some config we use are not possible now [12:38:22] thx, it's only on therir site or local install possible ? [12:40:05] Code is available at https://sourceforge.net/projects/wikiblame/ [12:42:22] yes, on it, looking if there is some instructions and prerequisite [12:43:05] our oldest mediawiki is 1.7.1 :) [12:44:18] I'm guessing it'll use the API [12:44:20] let's have a look [12:44:27] For something that old, you're probably going to struggle [12:47:44] yep .... [12:48:02] but at least this one is still better than O365 versionning ^^ [12:48:17] i try to save it [12:48:40] Could be as well scripting something and saving the pages into a git repo... [12:49:39] ha at final gloablly i want to sace a wiki application [12:49:43] sav [12:50:22] but no hours officially to look how migrate a so old version with content and the partial secure wiki [12:50:32] (half open, half via auth) [12:50:44] and the config used is no more available [12:51:00] and start to take time to study this [12:51:40] and switch to other wiki apps ... most will not be able to take the history, or even the content :( [13:27:11] hi [13:27:21] any good advise on having [13:27:52] like after 100 edits you might be able to edit without review etc? [13:29:16] what is "review"? [13:29:43] like i edit a page and then someone reviews before it goes live [13:29:47] or something? [13:40:47] andre__: idas? [13:40:50] andre__: ideas? [13:54:21] maybe flaggedrevs [14:00:14] biberao: There are FlaggedRevs and Approved Revs [14:00:20] but not sure what your questions is [14:00:38] the name of extensions? or how to change settings for a specific extension? [14:14:33] like havin an user be autopromoted after several edits etc [14:29:46] is there a policy on mediawiki that users can't do tests on their own userpage or write a word in another language? [14:29:56] why? [14:30:08] is that a theoretical question? [14:30:29] do you mean the software, or the mediawiki.org website? [14:30:42] Did you mean "mediawiki.org" maybe? We don't run all websites which use MediaWiki [14:31:14] i meant mediawiki.org given the debate i'm having with leaderboard about userpage deletions... [14:31:45] Mostly people would probably suggest User:Foo shouldn't be for testing, as other people may view it to see more about you [14:31:53] Certainly User:Foo/test (etc) should be all good [14:32:19] i agree but i don't see the problem and I don't think we should be deleting user pages on the basis that they're "test pages" because someone wrote "accountant" on it [14:32:33] Got an example or two? [14:32:39] Cause often, stuff like that is spam [14:33:16] Reedy: i'm pretty good at spotting spambots but idk, i don't think this was spam. more so a misguided user but i'm hesitant to delete pages that aren't explicitly out of scope or spam/spambots/vandalism [14:33:31] https://www.mediawiki.org/wiki/User:Anto_bandaso [14:35:08] Seems https://id.wikipedia.org/wiki/Pengguna:Anto_bandaso was deleted [14:35:12] It's slightly odd as the only contrib [14:36:32] 🤷 [14:36:45] like i said probably misguided but i don't think it warrants deletion [14:37:54] anywho [14:37:59] back to deleting deckers vandalism everywhere [15:43:35] does wikipedia use any SSO system? [15:43:40] or wikimedia for that matter? [15:44:01] yes [15:44:02] CentralAuth [15:46:49] thanks [15:47:22] would there be a way to have auth0 work with mediawiki? [15:47:35] ive seen theres the issue of populating users and groups rights [15:47:52] There's always a way, if you can get the necessary code written [15:47:58] ya [15:48:01] ive read this [15:48:25] one moment to get the link [15:48:46] Hi, I've been using mediawiki for a while, happy user, but my users complain it's a little too hard. Like adding images. Is there a slightly more graphic editor, or a drag and drop image plugin I could add? [15:48:54] !visualeditor [15:48:54] VisualEditor is a project to create a simple editor for MediaWiki that would make it far simpler for people to contribute to Wikimedia projects. See also https://www.mediawiki.org/wiki/VisualEditor and #mediawiki-visualeditor channel. [15:49:22] https://www.mediawiki.org/wiki/Topic:Unkyknid91262a0x <- here [15:49:59] "Right now, the only way to integrate external group information is to write an extension that implements PluggableAuth's PluggableAuthPopulateGroups hook. You can see an example in the SimpleSAMLphp extension." [15:54:18] Thanks Reedy, seems heavy on the dependancy of parsoid. ( But I can understand why it needs something heavy if it needs to do al of that translating) [16:01:33] ideas Reedy Skizzerz ? [16:01:47] biberao: Write an extesnion then [16:05:40] I just need to have that code and register the extension? [16:05:54] that function* [16:08:17] It might need customising for your use case [16:08:21] It's hard to say [16:09:34] oh [16:10:49] Making MW auth against something else isn't a trivial thing [16:13:18] ya i bet [16:15:55] if it's not something covered by existing extensions, you'll pretty much for-sure need to write your own (or hire someone to write it for you) [16:16:24] subtle differences in auth flows make it very difficult to make an extension compatible with more than 1 particular thing [16:16:52] true [16:16:53] thanks [19:00:24] lol (change visibility) 18:56, 24 January 2019 Clump (talk | contribs | block) blocked BanTester (talk | contribs) with an expiration time of indefinite (account creation blocked, e-mail blocked, cannot edit own talk page) (Vandalism: test complete I guess) (unblock | change block) [19:38:28] I have a simple question. I saw one time an extension for Mediawiki that allow specific user group to add SQL quires locally into wikipedia. Instead of running these queries outside, then embed the results into Wikipedia again. [19:39:51] For examle, instead of using SQL query to get all the broken redirects in Quarry. The extension allow us to write the query inside a page, and it will be executed in a specific time. [19:40:07] Can you please remind me the name of extension? [19:42:13] ASammour: there used to be a special page to run SQL queries I think [19:42:25] This would of been a long time ago [19:42:38] Before my time [19:42:45] Maybe circa 2003 [19:43:51] No of course :) I see it in 2016, but I don't know where. [19:43:56] ASammour: I think it was https://m.mediawiki.org/w/index.php?oldid=2044513 [19:44:51] Maybe you are thinking of things that allow you to query with a custom nonsql syntax [19:45:07] Like DynamicPageList extension [19:46:04] Or something like SemanticMediaWiki or Cargo (neither of these have ever been used on wikipedia) [19:47:04] As I remember, That extension works like template e.g. "{{runSQL|query here}}" [19:47:50] All you have to do is write the query inside the template, and it will be executed in a specific time each day. [19:48:18] SQL queries I mean. [19:49:25] If such extension was exist, is it allowed to be implement in any wikipedias? Arabic wikipedia for example. [19:50:17] Maybe it was a bot [19:50:44] That just looked for the template and then ran the query on quarry [19:52:45] Maybe. But I'm very sure that I see such a thing in one of Wikipedia versions. [19:58:46] We're not going to be adding a Special page or similar again [19:59:31] Maybe you are thinking of https://en.m.wikipedia.org/wiki/Wikipedia:Database_reports [20:01:24] bawolff2: No unfortunately. [20:03:34] It's not a problem at all. I have the ability to write an extension to apply this idea. But the question is: "Does Wikimedia allow adding such extension to a specific version of wikipedia?. Like Arabic wikipedia?" [20:04:12] We allow extensions on different wikis, yes [20:04:25] But we're not going to allow running SQL query directly through a special page [20:07:38] Reedy: Not through a special page. I'll explain the idea. I want for example run a query that get Top 10 users with number of edits in a day. All I have to do is create a new page like "wp:stats/top 10 users" and then add a template like this "{{runSQL|query here}}". When I save the page, the extension will run the query each day in a specific time, and output the results. [20:07:50] No [20:07:55] That's no better or worse than a special page [20:08:14] You're potentially allowing random SQL that means sanitisation, validation etc is needed [20:10:26] What if we restrict using the extension for a specific user group?. Like sysops?. I'm just wondering. [20:11:11] It doesn't sound very safe [20:11:33] Could you make a bot that queries the database in the way you want, and updates some static page in some intervals? [20:14:02] Yes of course. It's just an idea to reduce dependencies to other external tools, toolforge...etc. [20:14:29] That's kinda the point of labs/quarry etc [20:14:41] So you can self serve these stuff, while allowing us to sanitise the data shown to the public [20:14:58] Trying to restrict access to templates/parserfunctions etc to user groups is going error prone and awkward [20:14:59] that's pretty much guaranteed to never happen; in addition to the security issues that can be caused by arbitrary queries, people could write poor performance queries that bring the primary db servers down or severely bog them down, rendering the site unavailable to others [20:15:31] so the tools Reedy mentioned are your best bet [20:15:58] I'm pretty sure there's bots prewritten that can take your SQL and dump the results to a specific page etc [20:16:03] nice points Skizzerz, didn't even think of it from that perspective. [20:18:23] Thank you all. I already run my bot to run SQL queries via Tool-forge, but I think of this way to guarantee running these queries 24/7 [20:18:42] cron? :) [20:18:55] well, cron submitting to the grid engine thingy [20:19:07] Yes of course I use cron :) [20:19:40] The whole idea is about reduce depend on other bots, or external services :) [21:00:43] is it possible to send a login cookie to mediawiki with curl or something? [23:31:19] I mean, Special pages or extensions that provide Special pages could easily do this. [23:31:31] Re: database reports on-wiki. [23:31:36] But page history is kind of nice. [23:31:49] biberao: Hmmm, what's your real question? [23:32:18] Yes, of course curl can be used to do nearly anything with an HTTP request.