Page MenuHomePhabricator

wikidiff2Component
ActivePublic

Details

Description

PHP-extension to generate faster diffs for MediaWiki.

Recent Activity

Apr 30 2024

tstarling merged T363810: Publish wikidiff2 to pecl into T196132: wikidiff2 binaries are not distributable due to PHP / GPL license incompatibilities.
Apr 30 2024, 10:29 AM · WMDE-TechWish-Maintenance, Software-Licensing, wikidiff2
tstarling merged task T363810: Publish wikidiff2 to pecl into T196132: wikidiff2 binaries are not distributable due to PHP / GPL license incompatibilities.
Apr 30 2024, 10:28 AM · wikidiff2
tstarling added a comment to T363810: Publish wikidiff2 to pecl.

We can't, due to T196132: wikidiff2 binaries are not distributable due to PHP / GPL license incompatibilities

Apr 30 2024, 10:28 AM · wikidiff2
XtexChooser created T363810: Publish wikidiff2 to pecl.
Apr 30 2024, 10:13 AM · wikidiff2

Apr 10 2024

MusikAnimal moved T332268: Define release plan for Better Diff from In Development 💻 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:35 PM · wikidiff2, Better-Diffs-2023, Community-Tech (CommTech-Kanban)
MusikAnimal moved T344295: Document new Wikidiff2 php.ini parameters from In Development 💻 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:34 PM · wikidiff2, Community-Tech (CommTech-Kanban), Better-Diffs-2023
MusikAnimal moved T335804: Inline Diff: Visual marker for paragraph splits from Ready 🎬 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:34 PM · Better-Diffs-2023, wikidiff2, MediaWiki-Page-diffs, Community-Tech (CommTech-Kanban)
MusikAnimal moved T331933: Release plan for Better Diff improvements from Needs Attention 👀 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:34 PM · Community-Tech (CommTech-Kanban), MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
MusikAnimal moved T324803: Better Diffs: Wikidiff2 revise algorithm from Needs Attention 👀 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:34 PM · Better-Diffs-2023, wikidiff2, Community-Tech (CommTech-Kanban)
MusikAnimal moved T336909: Logic for VE diff switch should have an inclusive check from Ready 🎬 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:33 PM · MediaWiki-Page-diffs, Community-Tech (CommTech-Kanban), wikidiff2, Better-Diffs-2023
MusikAnimal moved T324755: Inline Diff: Update visual markers for text changes from Ready 🎬 to Done 🏁 on the Community-Tech (CommTech-Kanban) board.
Apr 10 2024, 4:32 PM · Better-Diffs-2023, wikidiff2, MediaWiki-Page-diffs, Community-Tech (CommTech-Kanban)

Apr 4 2024

Izno added a project to T350150: Special:Diff should gloss over semantically inconsequential changes: wikidiff2.
Apr 4 2024, 6:13 AM · wikidiff2, MediaWiki-Page-diffs, Better-Diffs-2023
Izno added a project to T15466: Design of diffs should be improved to indicate white space changes better: MediaWiki-Page-diffs.
Apr 4 2024, 6:11 AM · MediaWiki-Page-diffs, I18n, RTL, Design, wikidiff2

Mar 29 2024

hashar closed T188482: Test against PHP extensions in 32-bit as Declined.
Mar 29 2024, 3:03 PM · wikidiff2, LuaSandbox, Continuous-Integration-Infrastructure

Mar 19 2024

thiemowmde closed T202304: Mobile diff does not show the cutting points between two diffs as Resolved.

Looks like there are in the visual diffs now at exactly the points where we missed them before.

Mar 19 2024, 6:22 AM · MediaWiki-Page-diffs, Design, patch-welcome, wikidiff2, Mobile
tstarling added a watcher for wikidiff2: tstarling.
Mar 19 2024, 4:07 AM
Jdlrobson edited projects for T202304: Mobile diff does not show the cutting points between two diffs, added: MediaWiki-Page-diffs; removed Platform Team Workboards (Clinic Duty Team), MobileFrontend (Tracking).

Is this ticket still relevant? Untagging MobileFrontend as MobileFrontend no longer has any diff code.

Mar 19 2024, 12:24 AM · MediaWiki-Page-diffs, Design, patch-welcome, wikidiff2, Mobile
Jdlrobson closed T281056: Diffs hard to read in Special:MobileDiff (broken up into per word) as whitespace is considered a delimiter as Resolved.

The mobile site now uses the same code as the desktop site. Please see T358293 for more information. For any new or related bugs please file them under MediaWiki-Page-diffs

Mar 19 2024, 12:04 AM · Platform Team Workboards (Clinic Duty Team), MobileFrontend (Tracking), Mobile, wikidiff2

Feb 27 2024

Maintenance_bot removed a project from T202476: Give thiemowmde permission to upload wikidiff2 releases (releasers-wikidiff2): Patch-For-Review.
Feb 27 2024, 1:31 PM · SRE, SRE-Access-Requests, User-Addshore, wikidiff2

Dec 6 2023

tstarling added a comment to T340738: wikidiff installed +x.

This is not specific to wikidiff2. The problem is somewhere in the PHP build system.

Dec 6 2023, 8:23 PM · wikidiff2
tstarling closed T237386: Send language code and split out Thai word-break handling as Declined.

I don't really think it's necessary. Pages can have multiple languages on them. The content language is not necessarily correct. We're detecting whether the page contains Thai characters and running Thai word breaking only if Thai was detected. Profiling indicates that this is not a significant performance problem.

Dec 6 2023, 8:20 PM · Technical-Debt, wikidiff2
tstarling updated subscribers of T164795: Added or removed lines in between changes messes with diff alignment.

Example reported at T7072

Dec 6 2023, 8:08 PM · wikidiff2
tstarling closed T339915: Show wikidiff2 version in Special:Version's softwareInformation as Resolved.
Dec 6 2023, 8:04 PM · MW-1.41-notes (1.41.0-wmf.16; 2023-07-04), wikidiff2
tstarling closed T234603: Report wikidiff2 version on Special:Version as Resolved.

This was done in ecdd1a34bef120d6ddd6ff3e4e37faecc1bfb922, citing T339915.

Dec 6 2023, 8:03 PM · wikidiff2
tstarling closed T237390: Investigate how to refactor wikidiff2 as Resolved.

I split off a formatter hierarchy in 6d62f503fd7063a8d3b57f50e85da5b7780b5a6b. I hope that solves the problem sufficiently.

Dec 6 2023, 8:00 PM · WMDE-TechWish-Maintenance, Technical-Debt, wikidiff2
tstarling closed T240620: Wikidiff2 makes apache2 crash as Resolved.

There was a bug in argument parsing which could have caused this, and it was fixed in c77f72ee4d6f95d25d14f89c2a9f670f2bf438e5. Please reopen this task if the crash is reproducible with wikdiff2 1.14.1.

Dec 6 2023, 7:58 PM · wikidiff2
tstarling closed T190173: Prepare threshold change in local settings as Resolved.

wikidiff2 configuration settings are now available as $wgWikidiff2Options in MediaWiki.

Dec 6 2023, 7:47 PM · WMDE-TechWish-Maintenance, wikidiff2, WMDE-QWERTY-Sprint-2018-03-20
tstarling closed T234748: Organize wikidiff2 source files into a src directory as Resolved.
Dec 6 2023, 7:42 PM · patch-welcome, WMDE-TechWish-Maintenance, Technical-Debt, wikidiff2

Nov 22 2023

thiemowmde changed the subtype of T140340: Connect moved paragraphs by arrows from "Task" to "Design".
Nov 22 2023, 9:42 AM · WMDE-TechWish, wikidiff2, German-Community-Wishlist, Design, WMDE-Design

Nov 15 2023

MusikAnimal closed T341753: Wikidiff2 paragraph split parameter tuning as Declined.

The project has been deemed complete, with no tuning needed! Closing as declined.

Nov 15 2023, 7:51 PM · wikidiff2, Community-Tech (CommTech-Kanban), Better-Diffs-2023

Oct 30 2023

Korg added a comment to T349963: Diff does not accurately show deleted text.

It is not just in the module namespace. The same problem also occurs in the main namespace:

Oct 30 2023, 12:16 AM · wikidiff2, MediaWiki-Page-diffs
Korg renamed T349963: Diff does not accurately show deleted text from Diff shown is not accurate in module namespace to Diff does not accurately show deleted text.
Oct 30 2023, 12:06 AM · wikidiff2, MediaWiki-Page-diffs

Oct 29 2023

Ammarpad added a project to T349963: Diff does not accurately show deleted text: wikidiff2.
Oct 29 2023, 3:05 PM · wikidiff2, MediaWiki-Page-diffs

Oct 21 2023

PatchDemoBot added a comment to T331589: Inline Switch: VE should activate/deactivate inline format toggle .

Test wiki on Patch demo by HMonroy (WMF) using patch(es) linked to this task was deleted:

Oct 21 2023, 1:35 PM · MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Patch-For-Review, MediaWiki-Page-diffs, Better-Diffs-2023, wikidiff2, Community-Tech (CommTech-Kanban)
PatchDemoBot added a comment to T330229: Inline Switch: Add inline format toggle when wikidiff2 is installed .

Test wiki on Patch demo by HMonroy (WMF) using patch(es) linked to this task was deleted:

Oct 21 2023, 1:35 PM · MW-1.41-notes (1.41.0-wmf.15; 2023-06-27), Patch-For-Review, MediaWiki-Page-diffs, Better-Diffs-2023, wikidiff2, Community-Tech (CommTech-Kanban)
PatchDemoBot added a comment to T324759: Inline Diff: Add legend and tooltips.

Test wiki on Patch demo by HMonroy (WMF) using patch(es) linked to this task was deleted:

Oct 21 2023, 1:34 PM · MW-1.41-notes (1.41.0-wmf.16; 2023-07-04), WMF-Internships-2023, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023, Community-Tech (CommTech-Kanban)
PatchDemoBot added a comment to T324759: Inline Diff: Add legend and tooltips.

Test wiki on Patch demo by GMikesell-WMF using patch(es) linked to this task was deleted:

Oct 21 2023, 1:33 PM · MW-1.41-notes (1.41.0-wmf.16; 2023-07-04), WMF-Internships-2023, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023, Community-Tech (CommTech-Kanban)

Oct 17 2023

Sollyucko added a comment to T326773: Wikidiff2 considers each space to be a separate word.

In T117279: [EPIC] Core should provide inline diffs as well as side by side (Move InlineDifferenceEngine into core / remove MobileDiff), I posted an example of how bad this can get in MobileDiff:

Screenshot_20231016_143926_Firefox.jpg (2×1 px, 695 KB)

Oct 17 2023, 1:03 AM · Patch-For-Review, wikidiff2

Oct 16 2023

MusikAnimal edited projects for T347013: Include line numbers for every line of the inline diffs on code pages, added: wikidiff2; removed Community-Tech, MediaWiki-Page-diffs, Better-Diffs-2023.

This would require a change to wikidiff2 to work on our cluster, which at this stage is outside the scope of the Better-Diffs-2023 project.

Oct 16 2023, 10:59 PM · wikidiff2

Sep 24 2023

Maintenance_bot edited projects for T336716: Inline format: place inline switch next to mode toggle, added: User-notice-archive; removed User-notice.
Sep 24 2023, 4:31 PM · User-notice-archive, wikidiff2, MediaWiki-Page-diffs, Better-Diffs-2023, Community-Tech (CommTech-Kanban)

Sep 21 2023

MusikAnimal added a project to T156439: Improve diff to handle splitting a paragraph: Community-Wishlist-Survey-2023.
Sep 21 2023, 6:09 PM · Community-Wishlist-Survey-2023, Better-Diffs-2023, wikidiff2, Community-Wishlist-Survey-2016
MusikAnimal closed T156439: Improve diff to handle splitting a paragraph as Resolved.

This was solved by @tstarling and Community-Tech as part of the Better-Diffs-2023 project. That project still isn't officially over (we've got a few lingering bugs here and there to fix), but this task I think can safely be resolved. The example diff looks pretty easy to interpret now :)

Sep 21 2023, 6:09 PM · Community-Wishlist-Survey-2023, Better-Diffs-2023, wikidiff2, Community-Wishlist-Survey-2016

Sep 20 2023

Maintenance_bot removed a project from T334011: Add diff-style parameter to Compare API: Patch-For-Review.
Sep 20 2023, 5:11 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
ReleaseTaggerBot added projects to T334011: Add diff-style parameter to Compare API: MW-1.40-notes, MW-1.39-notes.
Sep 20 2023, 5:01 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
gerritbot added a comment to T334011: Add diff-style parameter to Compare API.

Change 959311 merged by jenkins-bot:

[mediawiki/core@REL1_39] ApiComparePages: expose 'difftype' param if wikidiff2 is installed

https://gerrit.wikimedia.org/r/959311

Sep 20 2023, 4:49 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
gerritbot added a comment to T334011: Add diff-style parameter to Compare API.

Change 959311 had a related patch set uploaded (by Reedy; author: MusikAnimal):

[mediawiki/core@REL1_39] ApiComparePages: expose 'difftype' param if wikidiff2 is installed

https://gerrit.wikimedia.org/r/959311

Sep 20 2023, 4:29 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
gerritbot added a comment to T334011: Add diff-style parameter to Compare API.

Change 959275 merged by jenkins-bot:

[mediawiki/core@REL1_40] ApiComparePages: expose 'difftype' param if wikidiff2 is installed

https://gerrit.wikimedia.org/r/959275

Sep 20 2023, 4:14 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
gerritbot added a project to T334011: Add diff-style parameter to Compare API: Patch-For-Review.
Sep 20 2023, 3:59 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
gerritbot added a comment to T334011: Add diff-style parameter to Compare API.

Change 959275 had a related patch set uploaded (by Reedy; author: MusikAnimal):

[mediawiki/core@REL1_40] ApiComparePages: expose 'difftype' param if wikidiff2 is installed

https://gerrit.wikimedia.org/r/959275

Sep 20 2023, 3:59 PM · MW-1.39-notes, MW-1.40-notes, MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Community-Tech (CommTech-Kanban), MediaWiki-Action-API, MediaWiki-Page-diffs, wikidiff2, Better-Diffs-2023
Pols12 updated subscribers of T346460: Confusing diff for spatially disparate changes.

@Umherirrender , it is a design issue, not a backend diff calculation issue.

Sep 20 2023, 1:58 PM · MW-1.41-notes (1.41.0-wmf.30; 2023-10-10), MW-1.42-notes (1.42.0-wmf.1; 2023-10-17), Community-Tech (CommTech-Kanban), MediaWiki-Page-diffs, Better-Diffs-2023
  NODES
Bugs 2
COMMUNITY 36
INTERN 2
Note 31
Project 17