[00:42:48] Could someone help me with the Mediawiki API? [00:43:40] I'm messing with the sandbox and can't get the parameters needed to return a list of search results with titles and url's to the actual page. It only returns title, snippet and pageid [00:43:59] an image would be nice too [00:47:29] dsound: not sure if there is a good way to do that [00:47:45] you can use generator=search, but then you don't get the snippet [00:49:10] I don't really need the snippet. I just need a user to be able to search a song title, submit then get results matching those titles with url's to the main wiki page about the song [00:50:42] Like if there are many songs called 'Love', it would return all results of existing songs called 'love' and the user can choose from the results and it will take them to a details page. [00:51:41] dsound: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=info&generator=search&inprop=url&gsrsearch=foo [00:51:56] Basically, use search as a generator for info [01:02:20] @MaxSem YES!!! THAT'S THE ONE!!! [02:31:13] JSON really needs comment support. [02:54:36] hi, is there a reason why on one machine, a describe statement would make a field show up as varchar, and on another it would show up as varbinary? [02:55:02] assuming they're both using mariadb [02:55:18] and the same mediawiki version [02:59:57] setian_: $wgDBmysql5 [03:00:48] Alternatively, they might have started with different MW versions [03:02:46] So thanks to you guys, I Finally got my shorturl working. [03:17:25] Anyone have experience with making mediawiki elements scale to the screen resolution? [03:32:26] exit [03:45:47] Hello, I restored from a backup & this notice is stubbornly refusing to go away. https://wikizilla.org/wiki/Special:RecentChanges -- I have already fixed the line it's talking about: https://www.mediawiki.org/wiki/Topic:U6733lwyzrvcih7q --- turning off error notifications on the .htaccess on public_html & the .htaccess on /wiki/ . I've set $wgShowExceptionDetails to false. There is no error_reporting( -1); in there either. [03:46:19] which "this notice"? [03:47:00] Notice: Undefined variable: type in /.../public_html/wiki/extensions/HeadScript/HeadScript.php on line 3 [03:47:02] On top [04:10:08] bangiras394: I would consider disabling that extesnion, it doesn't appear to be updated since 2015 so i wouldn't be surprised its broken against 1.30.X [04:13:26] This wiki has been 1.30 for months and it's worked. Only after upgrading to 1.31 (which long story short I had to revert from a backup back to 1.30) is it now continuing to show this error... [04:15:23] Commenting out the require_once "$IP/extensions/HeadScript/HeadScript.php"; doesn't seem to work either, or it's taking very long. A lot of extensions seem to have broken after restoring the backup [04:16:28] I overwrote all the extensions with 1.30 versions so if there were any differences between their 1.31 and 1.30 versions, that shouldn't be a problem. [04:19:16] SocialProfile and Comments seem to work. HeadScript, Popups, MsUpload, WikiEditor, references popping up when you hover over them, are examples of extensions which no longer work (and didn't work either when I tried to upgrade to 1.31 AND overwrote those with their apparently 1.31 versions according to extension distributor) [04:23:02] And that's all nice and problematic, but more pressingly I urgently need the notice being shown on the top of the site to be hidden away since that's very bad. It looks like the wiki is ignoring turning off errors in LocalSettings, the .htaccess files, php.ini ... even trying to make every page redirect to a 503.php page is being ignored [04:26:57] *I believe the HeadScript extension working, since on mobile Chrome the site is still showing a colored bar and etc. I added with it, but the error is persistent and doesn't want to go away. [05:35:04] Ok well I posted the persistent notice security issue problem on project help desk if anyone would like to help at a different time https://www.mediawiki.org/wiki/Topic:Uuqa8kbamxqxwffw [11:25:52] @LucasWerkmeister posted in How do I edit a particular slot? - https://discourse-mediawiki.wmflabs.org/t/how-do-i-edit-a-particular-slot/1175/1 [13:40:35] anyone knows how to enable CI for an extension ? [16:50:26] @LucasWerkmeister posted in Can bot passwords be used just like regular passwords? - https://discourse-mediawiki.wmflabs.org/t/can-bot-passwords-be-used-just-like-regular-passwords/1176/1 [19:37:10] HEy all! Thanks for all the help the past couple days. I have another question. Using the InputBox, is it possible to have the submit box not function if the article already exists, or return some sort of 'already exists, use another name' message? [21:25:27] i'm seeing a spurt of attacks trying to form SQL in URLs against my wiki [21:25:48] all union statements apparently [21:26:00] from all over the world and within the last 2 hours [21:26:29] they don't do anything but it still is odd [21:55:57] I finished up the first release of my mediawiki package manager just now :). Check it out: https://pypi.org/project/mwman/ [21:59:28] you should say what versions of mediawiki it works with [22:01:18] o i c, latest master [22:01:58] with all those limitations and being python it's not likely to get much play [22:02:26] peoples want they pkg mgr things to be stronk [22:02:44] Need some help. I'm trying to use the 3rd party DPL extension. For some reason, when I install it, it doesn't show my edit button on any pages. It also doesn't seem to have auto-generated the associated template. [22:04:26] Lycurgus: At the moment it's more of a pet project anyway. [22:04:56] people expect a pkgmgr for a thing to run in that thing [22:05:20] which is why pip is in python and not haskell or js [22:10:58] I also seem to get this error when trying to manually edit it via putting in the edit link. [22:11:01] The action you have requested is limited to users in the group: Users. [22:24:26] Anyone? [22:30:33] Aha, I got it. Apparently something is causing it not to generate the DPL template. Manually making it,then enabling the extension worked. Sheisty workaround, but... [22:45:59] I made a mediawiki installer and package manager as well, the only difference is that mine is a mess :V [22:48:32] mine isn't too clean either :/ [23:12:16] https://gitlab.com/N3X15/mwi [23:17:16] And a screenshot of it in use. https://i.imgur.com/bvPVhC9.png