[01:05:25] waifu, ~{3,5} is part of wikitext, it doesn't work for other content types. what's your use case, exactly? [01:07:31] MaxSem: The wiki I'm on stores price data for items in game and my bot updates those prices, including a timestamp of when it updated (in addition to the previous update) [01:07:43] https://runescape.wikia.com/wiki/Module:Exchange/Bucket is what it looks like on FANDOM [01:08:52] I want to do something similar on a non FANDOM wiki and was surprised it didn't work the same way [01:09:47] meh, the bot should just insert the timestamps [01:10:41] well, Wikia is on 1.19 forever - we changed this behavior at some point because this stuff is not wikitext, strictly speaking [01:11:22] Understandable, thanks for the reply :) [10:25:54] hi [10:27:06] can i stick files into /var/www/html/mediawiki/images directly without using the upload form ? [10:33:06] deebee: no. mediawiki will not know about them. [10:33:24] deebee: but you can use maintenance/importImages.php from the command line [10:34:56] thanks daniel, i do not mind using the upload form on th ui, however i cannot upload anything larger than 8mb and all settings in both instances of php.ini had been set [10:35:46] deebee: this one, too? https://www.mediawiki.org/wiki/Manual:$wgMaxUploadSize [10:35:56] that goes into LoacalSettings.php, not php.ini [10:36:23] but the import script can also be used to import larger files, afaik [10:37:08] deebee: also note that you will have to restart the web server after modifying php.ini [10:38:59] fun. one page says $wgMaxUploadSize isn't enforced for direct uploads. The other page says it is enforced. [10:39:37] aaahh ... lol when i added that line in my LocalSettings i added a M and then the ui broke, after deleting it came right. i will use above info and see if i come right now [10:39:51] thank you so far [10:40:38] Looking at UploadBase::verifyUpload, $wgMaxUploadSize does seem to be enforced [13:57:45] Hi [13:57:55] Any Mediawiki developers in? [13:58:00] I've noted this https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements [13:58:14] on Mozzila upcoming features.. [13:58:20] *Mozila [13:58:26] *Mozilla even [13:59:30] hi [14:01:24] MatmaRex: As you know Mediawiki uses some custom HTML [14:01:33] like tags to mark certain things [14:02:06] I was wondering if the above functions would be useful in doing that [14:02:55] so insted of a generating a LOT of code it generates a

...

instead which is cleaner... [14:05:42] ShakespeareFan00: hmm, that would be kind of cool, but i think this requires implementing the "behavior" for the custom element in JavaScript, so we couldn't use it for all users [14:09:57] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @leszek_wmde & @Pablo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:09:59] Naturally, you'd still have to have fallbacks [14:11:18] And different approaches for mobile and so on [14:11:54] MatmaRex: Is there somewhere I could suggest investigations into this new feature? [14:12:26] Also is there a list of pusedo-tags generated by Mediawiki or extensions? [14:16:53] ShakespeareFan00: at the bottom of Special:Version: https://en.wikipedia.org/wiki/Special:Version#mw-version-parser-extensiontags (the supported tags depend on the extensions installed on a given wiki) - i don't think we have a "master" list anywhere [14:20:13] ShakespeareFan00: i imagine you'd want to file a phabricator task, or email the wikitech-l list. personally, i think it would not be beneficial to use these in most cases. we would have to maintain two versions of the code, and i don't think we actually gain anything by using the custom elements [14:21:41] ShakespeareFan00: the main point of this technology is that the "contents" of the custom elements are isolated from the rest of the page, so e.g. other CSS and JS code can't affect them. which would be useful sometimes, but most of the time it would just prevent the site from customizing MediaWiki, since code from MediaWiki:Common.css etc. could no longer style those elements [14:23:24] i could see us using it for some things that are only generated in JS, the styling of which can occasionally conflict with existing on-wiki customizations – let's say the interactive maps () or maybe the fancy blue buttons. but even then, we would again have to maintain two versions of the code, since the feature is not yet widely supported (e.g. no IE) [14:24:23] So this is a 'Not yet'? [14:24:36] Fair enough, I asked for technical opinion and got one :) [14:27:26] yeah [15:00:54] hi I have a question, can anyone help me out? [15:01:53] you probably want to start by asking your actual question :) [15:03:12] I am looking to start a mediawiki instance, and was wondering if there is any support for IBM ClearCase? I googled around a bit and looked through the extensions pages, but could not find anything. [15:29:41] devin_: not that I know of. There's a vagrant bundle, and docker support is being added. People are looking into Kubernetis for the future. Support for etcd was added recently for real time config management. [18:42:48] Is it possible to run a query on an out of the box mediawiki install to determine when a user last logged in? [19:19:17] Ulfr, well, one of the things that logging in will do is update user_touched [19:19:37] but there are other things that'll update user_touched [19:19:41] "user_touched the last time a user made a change on the site, including logins, changes to pages (any namespace), watchlistings, and preference changes. [19:19:41] The user_touched time resets when a user is left a talkpage message." [19:20:10] Ulfr, why do you ask? [19:20:24] it may be easier to find out the last logged in action or edit [19:23:34] @Krenair I was asked to figure out how many users had actually logged in within the last six months, but user_touched doesn't seem to have the data I'm looking for unless I'm misinterpreting what the database comes back with [19:23:46] what does it come back with? [19:24:02] are we talking about a wiki to which you need to log in to view anything? [19:25:15] Correct. A user has to login to do anything, and the account I was logged in as came back with a value of 20160121163956, which isn't a timestamp and if it reflected a UTC would mean I logged in two years ago, despite being logged in then [19:27:59] Ulfr, is $wgReadOnly set? [19:30:41] I know for a fact it was set at one point. I don't THINK it's set right now, but the machine is running a backup so I can't confirm [19:32:52] when it's doe, check it [19:33:06] if it's set then I would not expect any DB updates to have happened since it was set [19:33:14] your next best bet may be logs [19:33:49] Okay. I may be losing my ind. [19:33:50] mind* [19:34:15] When I select `user_touched` from the database I get 20160329122609 as the output [19:34:52] when I query `user_touched` > 201800000000 I get a return that includes my username [19:34:55] what is this sorcery [19:36:01] Oh. It just returned every user. [19:36:02] :| [19:56:52] @Krenair Negative, the wiki doesn't have readonly set. Whereabouts can I find these logs? [21:08:46] How do I create a static URL to toggle on or off a gadget in preferences? I know I can do mywiki.com/index.php?title=Special:Preferences&wpminordefault=0#mw-prefsection-editing to disable "Mark edits as minor by default", but I haven't figured out how to do it with a gadget. [21:09:22] The input is defined as: [21:10:15] I've tried anything I could think of like &wpgadgets['NoLama']=0 but to no avail. [21:19:27] Ulfr, I was referring to your web server logs [21:19:29] unless you have some debug logging turned on I don't think MW will write this sort of stuff out