Page MenuHomePhabricator

redrooster (Red Rooster)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

User Since
Sep 20 2017, 3:14 PM (352 w, 6 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Red Rooster [ Global Accounts ]

Recent Activity

Oct 19 2021

redrooster added a comment to T293767: Thumbnailing on panorama .jpgs.

But why does the mediawiki image-viewer try to show this version? What tells the image-viewer that this 1920px version should exist?

I don't think anything tells it it exists. I'm guessing it's some maths of screen size and image size

Oct 19 2021, 3:51 PM · MediaViewer, MediaWiki-File-management
redrooster added a comment to T293767: Thumbnailing on panorama .jpgs.

You are right with your example. But using the 404 thumb handler would solve nothing, because the bug here is that the thumbnail creation of the 1920px version is not even triggered according to my research. Thus, it never can be shown of course. But why does the mediawiki image-viewer try to show this version? What tells the image-viewer that this 1920px version should exist?

Oct 19 2021, 3:06 PM · MediaViewer, MediaWiki-File-management
redrooster added a comment to T293767: Thumbnailing on panorama .jpgs.

P.S.: I tried to upload that failing jpg, but my browser didn't let me...

Oct 19 2021, 1:03 PM · MediaViewer, MediaWiki-File-management
redrooster created T293767: Thumbnailing on panorama .jpgs.
Oct 19 2021, 1:02 PM · MediaViewer, MediaWiki-File-management

Mar 23 2021

redrooster added a comment to T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.

Trust me, "existing values only" is true by default in REL1_35 and also
5.1. And no, I have not something like "existing values only=false" in
my field definition. I sent a patch that fixes this, without that there
is no way to turn off "existing values only" because this is a bug in
the code.

Mar 23 2021, 8:49 AM · MediaWiki-extensions-Page_Forms

Mar 17 2021

redrooster closed T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template as Resolved.
Mar 17 2021, 8:39 AM · MediaWiki-extensions-Page_Forms

Mar 12 2021

redrooster added a comment to T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.

I rolled back to REL1_35 to restore the used functionality and I discovered, that comboboxes in this version have the same bug as in 5.1. It looks like the option "existing values only" at comboboxes is set by default. I think this is the reason why comboboxes blank out existing values (because if they only accept existing values and a different text is given, the combo simply refuses to show that value and thus, blanks out the value in the template on saving the article). Is there any way to switch this off?

Mar 12 2021, 7:58 AM · MediaWiki-extensions-Page_Forms

Mar 10 2021

redrooster added a comment to T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.

This is a code snippet from the person form we have. It works perfectly
with tag REL1_35 (shows a text input with autocomplete). But in 5.1 this
shows an empty combobox and blanks out the attribute (Nachname) on the
template if I save. Note: "Nachname" had already a value, but the combo
does not show it and stays empty. This is the reason why it blanks out
the attribute on save, because the combo can not read the "Nachname"
attribute at loading.

Mar 10 2021, 8:04 AM · MediaWiki-extensions-Page_Forms

Mar 8 2021

redrooster added a comment to T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.

I will answer tomorrow, because I am back on my computer then. Thanks for
your quick response anyway! And yes, I meant Text with autocomplete, which
shows as combobox in 5.1.

Mar 8 2021, 5:46 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.

I mean, autocomplete text.

Mar 8 2021, 5:36 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.

It happens if the input type is autocomplete test. I could not test the
other options, because I had to quickly roll back before more data loss
happened than in just a few articles.

Mar 8 2021, 5:36 PM · MediaWiki-extensions-Page_Forms
redrooster created T276746: PageForms 5.1 "autocomplete text" fields blank out existing text of the template.
Mar 8 2021, 8:08 AM · MediaWiki-extensions-Page_Forms

Dec 1 2020

redrooster created T269110: Notice: Undefined offset: 1 in /Scribunto/includes/engines/LuaStandalone/LuaStandaloneInterpreter.php on line 326.
Dec 1 2020, 12:05 PM · Scribunto

Feb 26 2018

redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

I figured the problem out myself now. The problem is, that the strtotime-function of php can not figure out the dateformat "YYYY/MM". So I added a little workaround in the PF_DateInput.php that solves that Problem:

Feb 26 2018, 3:10 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

In wikis with chronic you have one page for every day, for example "3. Juli" and also a page for every year, say "2008". To link that pages properly to the semantic dates i have written a little date-parser with the onboard parser functions of mediawiki that simply parses the date-data from "2018/07/03" down to "[[3. Juli]] [[2018]]". But in the case you just give month and year you get "July 2018" as output, which should be transformed "Juli [[2018]]", which is not easy because of the different dateformat for that case.

Feb 26 2018, 12:13 PM · MediaWiki-extensions-Page_Forms

Feb 12 2018

redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

Semantic Mediawiki understands the "Month YYYY" format, that's not the Problem. But SMW also understands "YYYY/MM". But the datepicker only understands "Month YYYY" and not "YYYY/MM", which should be fixed.

Feb 12 2018, 4:49 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

@Yaron_Koren - Exactly, I parse the dates to create user friendly templates that work together with semantic mediawiki. SMW already perfectly understands the dateformat YYYY/MM, your patch managed that the datepicker returns that dateformat, now I need the datepicker to use this format as input, too (if the date-value is already given).

Feb 12 2018, 4:30 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

In semantic Mediawiki you just have a Template which holds the date and if you call "Edit with Form" the right datepicker shows the given date. But the PageForms datepicker can not read the new dateformat YYYY/MM, just the old one like "Monthname YYYY".

Feb 12 2018, 4:12 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

The datepicker should be able to show its own date. But this does not work if the datefield is filled with a date in the YYYY/MM format. The datepicker only shows the correct date, if the date-field is filled with the old format (Monthname YYYY).

Feb 12 2018, 12:57 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

Ok, that patch worked for the output-part of the datepicker. But the Problem now is, that the datepicker still can not parse the YYYY/MM Format.

Feb 12 2018, 12:35 PM · MediaWiki-extensions-Page_Forms
redrooster added a comment to T176322: Fix handling of dates in YYYY/MM format.

@Yaron_Koren : The Problem is, that the Dateformat is inconsistent. If you pick day, month, year the format is YYYY/MM/DD, which is perfect. But if you pick just month and year, the format changes to Month YYYY (instead of YYYY/MM). That makes it hard to parse the date, because you never know if the month is a two-digit-integer or a word (it depends on what the user typed into the datefield). And if the Month is a word, it depends on the language how that specific date is named. If the Format would be YYYY/MM then I knew for sure, that the two digits after the first "/" stand for the month.

Feb 12 2018, 11:42 AM · MediaWiki-extensions-Page_Forms

Sep 20 2017

redrooster created T176322: Fix handling of dates in YYYY/MM format.
Sep 20 2017, 3:21 PM · MediaWiki-extensions-Page_Forms