13 Feb 2019 |
Bryan Hilderbrand | I'd like to make the Result of $2 bold | 20:12:04 |
Bryan Hilderbrand | Or:
Welcome to the {{SITENAME}}!
Site Link: $4
I'd like to combine the two. If Wikitext worked:
Welcome to the [$4 {{SITENAME}}]! | 20:13:43 |
hexmode | So, what message are you looking at modifying? | 20:14:10 |
hexmode | I see enotif_body, as an example of one | 20:14:25 |
Bryan Hilderbrand | Createaccount-text | 20:14:28 |
Bryan Hilderbrand | Although, it's very low on my priority. If there was an easy answer, I'd be interested. Sounds like the easy answer is, nope. | 20:15:28 |
hexmode | so, it passes through wfMessage()->inLanguage()->text() (at least in this MW version.) | 20:18:30 |
hexmode | I think you're limited because it doesn't use parse(), right, cicalese ? | 20:18:56 |
cicalese | I think so. I had the same problem sending out email notifications at one point. Also, isn't it a complicated by the fact that the email is sent as text, not html? | 20:20:06 |
hexmode | yes, Echo does some html email, but not core MW | 20:20:52 |
hexmode | bryandamon: file a bug ! 😀 | 20:21:31 |
Bryan Hilderbrand | Bug = Feature request? Bug seems so harsh. I've got it in my ToDo, but it doesn't seem all that important. This would be nice though:
https://phabricator.wikimedia.org/T140068
The ability to remove the "This is my own work" checkbox on image/file uploads using VisualEditor or the wikitext editor. | 20:25:29 |
Bryan Hilderbrand | For 3rd party wikis, it's super annoying for users and not usually necessary (in my experience). | 20:26:07 |
hexmode | feature request, yes | 20:26:53 |
cicalese | I remember seeing that a few months ago. Has anybody investigated what would be involved in implementing a flag to remove the checkbox? | 20:28:57 |
hexmode | I did a while back, briefly, but I think I was looking to see if it was possible w/o modifying core. | 20:30:39 |
hexmode | I think I determined it wasn't possible w/o modifying core. And then gave up. :P | 20:31:16 |
14 Feb 2019 |
tgr | bryandamon: you can modify messages by editing the corresponding MediaWiki: page | 01:09:44 |
tgr | MediaWiki core doesn't really support HTML emails at the moment, though | 01:10:08 |
tgr | when you see decently looking emails, those come from Echo | 01:10:24 |
tgr | cf https://phabricator.wikimedia.org/T15303 | 01:10:46 |
tgr | and also https://phabricator.wikimedia.org/T128351 | 01:11:24 |
Bryan Hilderbrand | Gotcha, thanks @tgr:matrix.org! | 01:14:27 |
tgr | re: own work, adding a feature flag seems trivial, I'm sure a patch would be accepted | 01:15:33 |
tgr | although it might be more useful to write an alternative upload dialog since you might want to also skip adding a description etc. - I'd imagine most enterprise wikis would want a "just upload the file and don't bother me" behavior on drag&drop. | 01:16:55 |
tgr | ...I came here to note that WikiApiary is down | 01:17:40 |
| * tgr needs to get better at not getting distracted | 01:17:53 |
jamesmontalvo3 | Description is still useful as long as it's optional. The problem with ownwork in an enterprise case is that neither option is really true...i may have done the work, but I don't own it (the company/org does). Or I may not have done the work but I still have authority to upload it. | 01:41:04 |
revansx | So true | 01:41:40 |
tgr | RfC discussion on using GitHub login in mediawiki.org today (or tomorrow, depending on your time zone): https://phabricator.wikimedia.org/T215046 | 02:02:46 |