Page MenuHomePhabricator

inyono (Jonas Keinholz)
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Monday

  • No visible events.

User Details

User Since
Feb 21 2016, 10:04 AM (511 w, 6 d)
Availability
Available
LDAP User
Inyono
MediaWiki User
Inyono [ Global Accounts ]

Recent Activity

Mar 1 2016

inyono reopened T123511: [Task] adapt primary sources tool to text/icon changes as "Open".

my bad, I missed that: https://github.com/google/primarysources/pull/81

Mar 1 2016, 2:45 PM · patch-welcome, good first task, Wikidata-Gadgets, MediaWiki-extensions-Wikibase-Repo, Wikidata
inyono reopened T123511: [Task] adapt primary sources tool to text/icon changes, a subtask of T87757: [Story] Add icons to text in toolbars, as Open.
Mar 1 2016, 2:45 PM · Wikidata-Sprint-2015-12-01, Wikidata-Sprint-2015-11-17, Patch-For-Review, Wikidata-Sprint-2015-11-03, Story, Wikidata, MediaWiki-extensions-Wikibase-Repo
inyono closed T123511: [Task] adapt primary sources tool to text/icon changes as Resolved.
Mar 1 2016, 1:38 PM · patch-welcome, good first task, Wikidata-Gadgets, MediaWiki-extensions-Wikibase-Repo, Wikidata
inyono closed T123511: [Task] adapt primary sources tool to text/icon changes, a subtask of T87757: [Story] Add icons to text in toolbars, as Resolved.
Mar 1 2016, 1:38 PM · Wikidata-Sprint-2015-12-01, Wikidata-Sprint-2015-11-17, Patch-For-Review, Wikidata-Sprint-2015-11-03, Story, Wikidata, MediaWiki-extensions-Wikibase-Repo
inyono claimed T123511: [Task] adapt primary sources tool to text/icon changes.

Thanks for the link. I created a Pull Request: https://github.com/google/primarysources/pull/80

Mar 1 2016, 1:30 PM · patch-welcome, good first task, Wikidata-Gadgets, MediaWiki-extensions-Wikibase-Repo, Wikidata
inyono added a comment to T123511: [Task] adapt primary sources tool to text/icon changes.

Should be solved by https://www.wikidata.org/wiki/User:Inyono/freebase2wikidata.js (starting point: https://www.wikidata.org/wiki/User:Tomayac/freebase2wikidata.js). Not sure how to submit the changes, though.

Mar 1 2016, 1:10 PM · patch-welcome, good first task, Wikidata-Gadgets, MediaWiki-extensions-Wikibase-Repo, Wikidata

Feb 25 2016

inyono added a comment to T106855: Extra space after equations in MathML mode..

Okay, apparently the line break before the fallback image is the reason for the space. This works:

The formula, <span><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML">
  <semantics>
    <mrow class="MJX-TeXAtom-ORD">
      <mstyle displaystyle="true" scriptlevel="0">
        <mi>E</mi>
        <mo>=</mo>
        <mi>m</mi>
        <msup>
          <mi>c</mi>
          <mrow class="MJX-TeXAtom-ORD">
            <mn>2</mn>
          </mrow>
        </msup>
      </mstyle>
    </mrow>
    <annotation encoding="application/x-tex">{\displaystyle E=mc^{2}}</annotation>
  </semantics>
</math></span><meta class="mwe-math-fallback-image-inline" aria-hidden="true" style="background-image: url('https://www.mediawiki.org/api/rest_v1/media/math/render/svg/9f73dbd37a0cac34406ee89057fa1b36a1e6a18e'); background-repeat: no-repeat; background-size: 100% 100%; vertical-align: -0.338ex;height: 2.676ex; width: 9.025ex;"></span>, is valid.
Feb 25 2016, 9:53 AM · Math
inyono added a comment to T106855: Extra space after equations in MathML mode..

DOM in Firefox:

The formula, <span><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML">
  <semantics>
    <mrow class="MJX-TeXAtom-ORD">
      <mstyle displaystyle="true" scriptlevel="0">
        <mi>E</mi>
        <mo>=</mo>
        <mi>m</mi>
        <msup>
          <mi>c</mi>
          <mrow class="MJX-TeXAtom-ORD">
            <mn>2</mn>
          </mrow>
        </msup>
      </mstyle>
    </mrow>
    <annotation encoding="application/x-tex">{\displaystyle E=mc^{2}}</annotation>
  </semantics>
</math></span>
<meta class="mwe-math-fallback-image-inline" aria-hidden="true" style="background-image: url('https://www.mediawiki.org/api/rest_v1/media/math/render/svg/9f73dbd37a0cac34406ee89057fa1b36a1e6a18e'); background-repeat: no-repeat; background-size: 100% 100%; vertical-align: -0.338ex;height: 2.676ex; width: 9.025ex;"></span>, is valid.

Somehow, the outer span is wider than the inner ones (although there are no interesting styles set according to the Firefox style inspector. The fallback image is not at fault, you can safely delete it from the DOM and the spacing effect still occurs. If we modify the DOM a little bit, it works:

The formula, <span><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML">
  <semantics>
    <mrow class="MJX-TeXAtom-ORD">
      <mstyle displaystyle="true" scriptlevel="0">
        <mi>E</mi>
        <mo>=</mo>
        <mi>m</mi>
        <msup>
          <mi>c</mi>
          <mrow class="MJX-TeXAtom-ORD">
            <mn>2</mn>
          </mrow>
        </msup>
      </mstyle>
    </mrow>
    <annotation encoding="application/x-tex">{\displaystyle E=mc^{2}}</annotation>
  </semantics>
</math></span>, is valid.
<meta class="mwe-math-fallback-image-inline" aria-hidden="true" style="background-image: url('https://www.mediawiki.org/api/rest_v1/media/math/render/svg/9f73dbd37a0cac34406ee89057fa1b36a1e6a18e'); background-repeat: no-repeat; background-size: 100% 100%; vertical-align: -0.338ex;height: 2.676ex; width: 9.025ex;"></span>

But inserting it after the fallback image does not work either:

<p>The formula, <span><span class="mwe-math-mathml-inline mwe-math-mathml-a11y" style="display: none;"><math xmlns="http://www.w3.org/1998/Math/MathML">
  <semantics>
    <mrow class="MJX-TeXAtom-ORD">
      <mstyle displaystyle="true" scriptlevel="0">
        <mi>E</mi>
        <mo>=</mo>
        <mi>m</mi>
        <msup>
          <mi>c</mi>
          <mrow class="MJX-TeXAtom-ORD">
            <mn>2</mn>
          </mrow>
        </msup>
      </mstyle>
    </mrow>
    <annotation encoding="application/x-tex">{\displaystyle E=mc^{2}}</annotation>
  </semantics>
</math></span>
<meta class="mwe-math-fallback-image-inline" aria-hidden="true" style="background-image: url('https://www.mediawiki.org/api/rest_v1/media/math/render/svg/9f73dbd37a0cac34406ee89057fa1b36a1e6a18e'); background-repeat: no-repeat; background-size: 100% 100%; vertical-align: -0.338ex;height: 2.676ex; width: 9.025ex;">, is valid.</span></p>
Feb 25 2016, 9:50 AM · Math

Feb 24 2016

inyono added a comment to T103269: <math> tags duplicate content in section headers when MathML is used.

@Physikerwelt I'm glad it helped :)

Feb 24 2016, 9:41 PM · MW-1.27-release (WMF-deploy-2016-03-01_(1.27.0-wmf.15)), Patch-For-Review, MediaWiki-General, Math
inyono added a comment to T103269: <math> tags duplicate content in section headers when MathML is used.

The problem seems to be that the parser also replaces markers in the mw-editsection. If we comment out the actual mathml rendering, we get the following DOM tree:

Feb 24 2016, 4:40 PM · MW-1.27-release (WMF-deploy-2016-03-01_(1.27.0-wmf.15)), Patch-For-Review, MediaWiki-General, Math