Page MenuHomePhabricator

Tpt (Tpt)
User

Projects (13)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Friday

  • Clear sailing ahead.

User Details

User Since
Oct 7 2014, 5:56 AM (356 w, 21 h)
Availability
Available
IRC Nick
Tpt
LDAP User
Tpt
MediaWiki User
Tpt [ Global Accounts ]

Recent Activity

Sat, Jul 31

Tpt renamed T287809: phpcs should validate @return phpdoc annotations of abstract methods from phpcs should warn against common type variants like "boolean" or "integer" in PHPdoc comments to phpcs should validate @return phpdoc annotations of abstract methods.
Sat, Jul 31, 7:38 AM · MediaWiki-Codesniffer
Tpt added a comment to T287809: phpcs should validate @return phpdoc annotations of abstract methods.

@DannyS712 Thank you! I have understood why e.g. https://phabricator.wikimedia.org/diffusion/EPRP/browse/master/includes/Pagination/Pagination.php$25 is not flagged by these sniffs. It's because abstract methods are not covered by the lint: https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/5f813f727ee47d5c90981b44e82f0c5a0263e933/MediaWiki/Sniffs/Commenting/FunctionCommentSniff.php#L198

Sat, Jul 31, 7:33 AM · MediaWiki-Codesniffer
Tpt created T287809: phpcs should validate @return phpdoc annotations of abstract methods.
Sat, Jul 31, 7:18 AM · MediaWiki-Codesniffer

Mon, Jul 19

Tpt added a comment to T230689: Preload the next page's image on proofreading view.

Thank you @Ankry, @Xover @Inductiveload! So I guess rel="preload" seems the way to go for the next page image. What about using rel="prefetch" for the previous one? This way, it gets a good chance to be loaded too but with less priority. What do you think about it?

Mon, Jul 19, 5:18 PM · Community-Tech (CommTech-Sprint-6), MW-1.37-notes (1.37.0-wmf.17; 2021-08-02), Patch-For-Review, MW-1.36-notes (1.36.0-wmf.20; 2020-12-01), ProofreadPage

Sat, Jul 17

Tpt added a comment to T230689: Preload the next page's image on proofreading view.

@Ankry Thank you! So, I guess that the main goal is to make sure that the image thumbnail is already generated when a Page: page is displayed.

Sat, Jul 17, 4:28 PM · Community-Tech (CommTech-Sprint-6), MW-1.37-notes (1.37.0-wmf.17; 2021-08-02), Patch-For-Review, MW-1.36-notes (1.36.0-wmf.20; 2020-12-01), ProofreadPage
Tpt added a comment to T230689: Preload the next page's image on proofreading view.

If I remind correctly preload is to ask the browser to aggressively fetch a content for the current page rendering and prefetch is to ask the browser to load the content for future use in the navigation.

Sat, Jul 17, 7:41 AM · Community-Tech (CommTech-Sprint-6), MW-1.37-notes (1.37.0-wmf.17; 2021-08-02), Patch-For-Review, MW-1.36-notes (1.36.0-wmf.20; 2020-12-01), ProofreadPage

Tue, Jul 13

Tpt created T286582: Duplicated links to Page: pages should be allowed in Index: pages relying on a PDF/DjVu file.
Tue, Jul 13, 6:01 PM · Patch-For-Review, All-and-every-Wikisource, ProofreadPage

Jun 30 2021

Tpt added a comment to T285610: Pages corresponding to tables of contents' second links are not provided the first link as the "prev" parameter for headers generated with <pages>.

But aiui the granularity would be per-project and not per-index. How would a project start experimenting with this or avoid the need for a big bang migration? Use two toc fields in the index, one for the traditional way and one for a "Wikidata-based toc"? That would necessitate PRP differentiate between "present" and "non-empty" for the index data field tagged with "data": "toc", I think. That sounds a little more complicated, but is perhaps not too much so?

Jun 30 2021, 8:04 PM · Patch-For-Review, ProofreadPage

Jun 29 2021

Tpt added a comment to T285610: Pages corresponding to tables of contents' second links are not provided the first link as the "prev" parameter for headers generated with <pages>.

Thank you @Mahir256 and @Xover for this discussion.

Jun 29 2021, 8:08 PM · Patch-For-Review, ProofreadPage

Jun 8 2021

Tpt added a comment to T274350: ProofreadPage source tab not shown in the Minerva skin.

The "Source" tab is currently inserted using javascript ("modules/article/ext.proofreadpage.article.js"). It might be possible to use the same trick for Minerva. But migrating everything to PHP would be nicer.

Jun 8 2021, 7:14 AM · MinervaNeue (Tracking), Mobile, ProofreadPage
Tpt added a comment to T284504: ProofreadPages: Allow <pages/> tag on index pages.

@Tpt Is there a technical reason for this?

Jun 8 2021, 4:46 AM · ProofreadPage

May 22 2021

Tpt closed T268932: Add Bengali numerals to pagelist as Resolved.

Done and deployed

May 22 2021, 1:43 PM · MW-1.36-notes (1.36.0-wmf.28; 2021-01-26), Bengali-Sites, I18n, ProofreadPage
Tpt added a comment to T279255: GSoC 2021 Proposal: Add zoom and pan to the Wikisource Pagelist Widget.

Sorry for stepping in. A maybe relevant task when designing a new zooming system: T43614

May 22 2021, 12:53 PM · Patch-For-Review, ProofreadPage, Google-Summer-of-Code (2021)

Mar 27 2021

Tpt added a comment to T93608: Switch ProofreadPage to use indicator tags.

@He7d3r @GOIII are you fine with me closing this task as "declined" or do you want to move this forward, maybe by getting feedback from the Wikisource community?

Mar 27 2021, 12:35 PM · ProofreadPage
Tpt added a comment to T93608: Switch ProofreadPage to use indicator tags.

After thinking a little bit (and asking my wife who does not contribute to Wikisource), I have a feeling using an indicator is maybe not highlighting enough the proofreading level information: it's the first thing people are often looking for if they go to a page: page. But I am not an UX design expert so maybe an indicator is good enough.

Mar 27 2021, 8:03 AM · ProofreadPage
Tpt added a comment to T93608: Switch ProofreadPage to use indicator tags.

Thank you for pushing this. I am a bit afraid it might create a backlash with some contributors feeling that the proofreading level is not highlighted enough. It might be nice to start a discussion on the biggest Wikisource communities. A first step is maybe to move the quality level from the <pages> tag and in the Index namespaces to an indicator.

Mar 27 2021, 7:54 AM · ProofreadPage
Tpt added a comment to T53980: Source tab not showing up in the Translation namespace.

This is presumably very nearly T239033, since if the extension can add a "Source" link for a mainspace page user of <pages/>, it can do it in any other namespace?

Mar 27 2021, 7:26 AM · ProofreadPage
Tpt added a comment to T239033: Make ProofreadPage insert the "Source" link server side in the main namespace.

@Inductiveload Yes, I guess it should be also done in onSkinTemplateNavigation. The tricky part is that the "source" link is not known from the current page title but from the parser output, and onSkinTemplateNavigation do not have access to the parser output. It's why I have not done the migration to server side yet. There is maybe a good solution, I have not taken much time to look for an alternative yet.

Mar 27 2021, 7:24 AM · ProofreadPage

Mar 26 2021

Tpt moved T278564: Codesniffer should warn if output functions like print are used from Untriaged to Proposed rule changes on the MediaWiki-Codesniffer board.
Mar 26 2021, 4:33 PM · phan, MediaWiki-Codesniffer
Tpt created T278564: Codesniffer should warn if output functions like print are used.
Mar 26 2021, 4:33 PM · phan, MediaWiki-Codesniffer

Mar 25 2021

Tpt added a comment to T215165: Allow an individual CSS page for any book.

@Tpt, is that fix complete or is there more that needs to be considered.

Mar 25 2021, 3:52 PM · MW-1.36-notes (1.36.0-wmf.37; 2021-03-30), TemplateStyles, ProofreadPage, All-and-every-Wikisource
Tpt added a comment to T215165: Allow an individual CSS page for any book.

@Inductiveload https://gerrit.wikimedia.org/r/672760 generated "null pointer exceptions" during Page: pages rendering if the page was not already connected to an index (trace in T278379). Antoine and I reverted the change to fix this error. It was the simplest way we found to fix this error quickly on Wikisource, sorry. I have started to write a change that should fix this problem: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/674691/1/includes/Page/PageContent.php
Feel free to integrate it into your change and push it again to gerrit.
Sorry again the quick revert.

Mar 25 2021, 12:33 PM · MW-1.36-notes (1.36.0-wmf.37; 2021-03-30), TemplateStyles, ProofreadPage, All-and-every-Wikisource

Mar 19 2021

Tpt added a comment to T267617: Index page's page links should have the page index-in-file in them (e.g. as attribute).

@Tpt: hmm, but how will you then get the prp-pagequality-N qualityN classes applied? Or do that manually?

It should be automatically as part by the LinkRenderer: the classes are added by a linker hook.

Mar 19 2021, 1:56 PM · ProofreadPage
Tpt added a comment to T267617: Index page's page links should have the page index-in-file in them (e.g. as attribute).

@Inductiveload I believe we could switch <pagelist> rendering to outputting HTML. $parser->getLinkRenderer()->makeLink allows to easily reuse MediaWiki linking system.

Mar 19 2021, 8:27 AM · ProofreadPage

Mar 18 2021

Tpt updated the task description for T269609: Ensure all ToolsDB databases comply with current naming conventions.
Mar 18 2021, 8:42 PM · Developer-Advocacy (Jul-Sep 2021), cloud-services-team (Kanban), Data-Services
Tpt added a comment to T277283: Add Index namespace on enWS to the $wgTemplateStylesNamespaces list.

@Inductiveload Yes, ProofreadPageInit.php is a good place for that.

Mar 18 2021, 10:20 AM · All-and-every-Wikisource, Wikimedia-Site-requests

Mar 16 2021

Tpt added a comment to T215165: Allow an individual CSS page for any book.

Not sure if that's a use case that is needed?

Mar 16 2021, 3:10 PM · MW-1.36-notes (1.36.0-wmf.37; 2021-03-30), TemplateStyles, ProofreadPage, All-and-every-Wikisource
Tpt added a comment to T215165: Allow an individual CSS page for any book.

@Inductiveload I believe it should be better to use templatestyle because it does a lot of nice and useful CSS transformation and sanitization.

Mar 16 2021, 1:41 PM · MW-1.36-notes (1.36.0-wmf.37; 2021-03-30), TemplateStyles, ProofreadPage, All-and-every-Wikisource

Mar 9 2021

Tpt closed T276881: WSexport: Harmonize format options between the download button and the sidebar as Resolved.
Mar 9 2021, 9:36 AM · MW-1.36-notes (1.36.0-wmf.35; 2021-03-16), Community-Tech, WS Export, All-and-every-Wikisource
Tpt created T276881: WSexport: Harmonize format options between the download button and the sidebar.
Mar 9 2021, 7:34 AM · MW-1.36-notes (1.36.0-wmf.35; 2021-03-16), Community-Tech, WS Export, All-and-every-Wikisource

Mar 8 2021

Samwilson awarded T276418: WS export: Wikisource editors should have an easy way to bypass the cache a Like token.
Mar 8 2021, 7:13 AM · All-and-every-Wikisource, WS Export, Community-Tech

Mar 4 2021

Tpt created T276418: WS export: Wikisource editors should have an easy way to bypass the cache.
Mar 4 2021, 7:23 AM · All-and-every-Wikisource, WS Export, Community-Tech
Tpt created T276416: Auto close the "download" dialog after download.
Mar 4 2021, 7:15 AM · All-and-every-Wikisource, Community-Tech, WS Export

Feb 19 2021

Tpt closed T275190: "Index:" namespace pages on test2.wikipedia.org not working, show only "Avancement inconnu" etc as Resolved.
Feb 19 2021, 11:33 AM · Wikimedia-General-or-Unknown
Tpt updated subscribers of T275190: "Index:" namespace pages on test2.wikipedia.org not working, show only "Avancement inconnu" etc.

@Aklapper @jayantanth Sorry for this problem. It's now fixed. I have changed the "index template" to allow @Tshrinivasan to play with Index: template rendring using Lua modules.

Feb 19 2021, 11:33 AM · Wikimedia-General-or-Unknown

Jan 22 2021

Tpt added a comment to T271869: Wikisource Ebooks: Implement New Download Experience (first iteration).

Why is MOBI described as being for Calibre? I would've thought EPUB would be closer to Calibre's "default" format.

Jan 22 2021, 8:42 AM · MW-1.36-notes (1.36.0-wmf.30; 2021-02-09), Community-Tech (Kanban-2020-21-Q3), WS Export

Jan 21 2021

Tpt closed T272163: Install the Wikisource extension on oldwikisource as Resolved.
Jan 21 2021, 8:11 PM · All-and-every-Wikisource, Wikimedia-Site-requests

Jan 20 2021

Tpt added a comment to T272163: Install the Wikisource extension on oldwikisource.

@Urbanecm Sure. Here it is: https://wikisource.org/wiki/Wikisource:Scriptorium#MediaWiki_Wikisource_extension_installation

Jan 20 2021, 8:32 PM · All-and-every-Wikisource, Wikimedia-Site-requests
Tpt closed T258484: It should be possible to hide the navigation links in Special:IndexPage as Resolved.
Jan 20 2021, 7:46 PM · MW-1.36-notes (1.36.0-wmf.26; 2021-01-12), good first task, ProofreadPage, All-and-every-Wikisource
Tpt added a comment to T258484: It should be possible to hide the navigation links in Special:IndexPage.

@Yash9265 wrote a change that removes navigation links when transcluding Special:IndexPages. I believe this problem is now solved.

Jan 20 2021, 7:46 PM · MW-1.36-notes (1.36.0-wmf.26; 2021-01-12), good first task, ProofreadPage, All-and-every-Wikisource
Tpt added a comment to T272440: WS Export: Only show export links on certain namespaces.

I believe we want to display the export links only in namespaces where ProofreadPage allows the transclusion to happen and displays its navigation links.
For now it's only the main namespace but some Wikisource requested to be able to use it in other namespace (T53980).
Possible way to fix both problems at the same time is maybe create a per-wiki config inside of ProofreadPage and reuse it for the Wsexport link.

Jan 20 2021, 6:45 AM · Community-Tech, WS Export

Jan 15 2021

Tpt added a project to T272163: Install the Wikisource extension on oldwikisource: All-and-every-Wikisource.
Jan 15 2021, 4:37 PM · All-and-every-Wikisource, Wikimedia-Site-requests
Tpt added a comment to T256392: Wikisource Export: Migrate WSExport Gadget to Wikisource Extension.

We don't show the links on https://wikisource.org. I don't know if this matters. I don't know if users use that site.

Jan 15 2021, 4:36 PM · MW-1.36-notes (1.36.0-wmf.27; 2021-01-19), Community-Tech (Kanban-2020-21-Q3), WS Export
Tpt created T272163: Install the Wikisource extension on oldwikisource.
Jan 15 2021, 4:35 PM · All-and-every-Wikisource, Wikimedia-Site-requests

Jan 13 2021

Tpt closed T268906: Add Thai numerals to pagelist as Resolved.

The change adding "thai" numerals support is now deployed on Wikisource.

Jan 13 2021, 8:18 PM · MW-1.36-notes (1.36.0-wmf.25; 2021-01-05), I18n, ProofreadPage, All-and-every-Wikisource
Tpt reopened T268932: Add Bengali numerals to pagelist as "Open".

Sorry, I confused this task with an other one.

Jan 13 2021, 8:17 PM · MW-1.36-notes (1.36.0-wmf.28; 2021-01-26), Bengali-Sites, I18n, ProofreadPage
Tpt closed T268932: Add Bengali numerals to pagelist as Resolved.
Jan 13 2021, 8:16 PM · MW-1.36-notes (1.36.0-wmf.28; 2021-01-26), Bengali-Sites, I18n, ProofreadPage
Tpt added a comment to T258192: Wikisource: footnote links do not work for large books.

My 2 cents: I like the idea of using Calibre ePub to ePub to do the file split in case of too big files. The current implementation in Wsexport is very bad. An other option would be to fix it inside of Wsexport by having a look of what Calibre is actually doing internally.

Jan 13 2021, 8:01 PM · All-and-every-Wikisource, Community-Tech
Tpt updated the task description for T256392: Wikisource Export: Migrate WSExport Gadget to Wikisource Extension.
Jan 13 2021, 4:15 PM · MW-1.36-notes (1.36.0-wmf.27; 2021-01-19), Community-Tech (Kanban-2020-21-Q3), WS Export
Tpt updated the task description for T256392: Wikisource Export: Migrate WSExport Gadget to Wikisource Extension.
Jan 13 2021, 4:11 PM · MW-1.36-notes (1.36.0-wmf.27; 2021-01-19), Community-Tech (Kanban-2020-21-Q3), WS Export

Jan 10 2021

Tpt added a comment to T232477: Placement of pagenum span on page-spanning tables.

So, the question is: Can the ProofreadPage extension be smarter about where the pagenum template is inserted to avoid putting it in "dead" table space?

Jan 10 2021, 2:54 PM · ProofreadPage

Dec 16 2020

Tpt created T270337: "sql tools" returns "connection refused" from freebase tool.
Dec 16 2020, 7:44 PM · Data-Services

Dec 2 2020

Tpt added a comment to T268424: Wikisource: Reinstate OPDS export.

Thank you! It looks like a great plan!

Dec 2 2020, 7:03 AM · Community-Tech (Kanban-2020-21-Q3), WS Export

Nov 28 2020

Tpt added a comment to T268424: Wikisource: Reinstate OPDS export.

I just had a look at the logs. The OPDS update cron job started to fail in September because of out of memory errors.

Nov 28 2020, 2:01 PM · Community-Tech (Kanban-2020-21-Q3), WS Export
Tpt added a comment to T268592: Indic numeral numbering through <pagelist/>.

I just wrote a patch that should make the addition of all numbering system supported by CLDR/ICU easy: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/644010

Nov 28 2020, 1:27 PM · I18n, ProofreadPage
Tpt added a comment to T268906: Add Thai numerals to pagelist.

Hi! It's definitely doable.

Nov 28 2020, 10:38 AM · MW-1.36-notes (1.36.0-wmf.25; 2021-01-05), I18n, ProofreadPage, All-and-every-Wikisource
Tpt added a comment to T264458: Grant Sohom Datta +2 right on ProofreadPage.

Thank you!

Nov 28 2020, 8:24 AM · ProofreadPage, Gerrit-Privilege-Requests

Oct 27 2020

Tpt placed T192199: Proofread scan appearing tiny in wikisource, when creating or editing Page: pages up for grabs.
Oct 27 2020, 3:51 PM · MW-1.32-notes (WMF-deploy-2018-05-22 (1.32.0-wmf.5)), ProofreadPage, All-and-every-Wikisource

Oct 21 2020

Tpt added a comment to T266085: Wikisource Export: Drop Wikibooks support.

Yes, I believe it would be better.

Oct 21 2020, 7:27 AM · WS Export, Community-Tech

Oct 15 2020

Tpt added a comment to T265571: MediaWiki 1.36/wmf.13 needlessly HTML encodes ASCII characters in DjVu text layer.

… then I probably still don't get how the scary output shown in T263371 was created. If this can not happen in production, why is there a ticket?

Oct 15 2020, 6:57 PM · MW-1.36-notes (1.36.0-wmf.14; 2020-10-20), ProofreadPage, Editing-team, MediaWiki-DjVu, All-and-every-Wikisource
Tpt added a comment to T265571: MediaWiki 1.36/wmf.13 needlessly HTML encodes ASCII characters in DjVu text layer.

@thiemowmde T263371 is indeed an XSS attack vector if you output directly the file content in HTML. But ProofreadPage only uses the file content to prefill a Wikitext content area when a Page: page is created. So, I guess there are no extra threat here compared with just allowing anyone to edit the wiki.

Oct 15 2020, 4:19 PM · MW-1.36-notes (1.36.0-wmf.14; 2020-10-20), ProofreadPage, Editing-team, MediaWiki-DjVu, All-and-every-Wikisource
Tpt added a comment to T265571: MediaWiki 1.36/wmf.13 needlessly HTML encodes ASCII characters in DjVu text layer.

Probably caused by https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ProofreadPage/+/628753

This seems to be indeed the problem cause. I have submitted a revert for review: https://gerrit.wikimedia.org/r/634105

Oct 15 2020, 2:37 PM · MW-1.36-notes (1.36.0-wmf.14; 2020-10-20), ProofreadPage, Editing-team, MediaWiki-DjVu, All-and-every-Wikisource

Oct 9 2020

Tpt added a comment to T265133: Export Wikisource texts in ALTO-XML format.

@Tderrick Sadly, the Wikisource transcription system does not keep word coordinates. There might be something to do by trying to match Wikisource transcription with an OCR with coordinates to attempt to fix the OCR with the transcription but it's not an easy task at all.

Oct 9 2020, 5:22 PM · WS Export
Tpt added a comment to T265133: Export Wikisource texts in ALTO-XML format.

ALTO XML seems to be an XML format designed for OCR output. It encodes the text positioning data that we do not keep in Wikitext. It's closer to the DjVu OCR format.

Oct 9 2020, 3:28 PM · WS Export

Oct 7 2020

SGill awarded T264458: Grant Sohom Datta +2 right on ProofreadPage a Like token.
Oct 7 2020, 10:48 AM · ProofreadPage, Gerrit-Privilege-Requests

Oct 5 2020

Tpt added a comment to T256986: wikisource: improve date display on first page [placeholder].

Yes, please!

Oct 5 2020, 10:39 AM · WS Export, Community-Tech

Oct 4 2020

Tpt created T264524: Do not include the cover image and the scribe image if the "no image" option is enabled.
Oct 4 2020, 10:06 AM · Community-Tech, WS Export

Oct 3 2020

Tpt added a comment to T257902: Wikisource: Investigate using Parsoid HTML for Wsexport [8h].

Migrating to Parsoid will require to update the HTML cleaning code (here and here)

Oct 3 2020, 8:46 AM · Community-Tech (Kanban-2020-21-Q2), All-and-every-Wikisource, WS Export

Oct 2 2020

DannyS712 awarded T264458: Grant Sohom Datta +2 right on ProofreadPage a Like token.
Oct 2 2020, 9:16 PM · ProofreadPage, Gerrit-Privilege-Requests
Tpt created T264458: Grant Sohom Datta +2 right on ProofreadPage.
Oct 2 2020, 5:55 PM · ProofreadPage, Gerrit-Privilege-Requests

Aug 1 2020

Tpt added a comment to T258484: It should be possible to hide the navigation links in Special:IndexPage.

It's strange. There should not be any cache on this page.

Aug 1 2020, 9:28 PM · MW-1.36-notes (1.36.0-wmf.26; 2021-01-12), good first task, ProofreadPage, All-and-every-Wikisource
Tpt added a comment to T258484: It should be possible to hide the navigation links in Special:IndexPage.

The special page we are talking about is Special:IndexPages. To display something you need to have already created some pages in the "Index:" namespace.
The code of this special page is in includes/Special/SpecialProofreadPages.php.php.

Aug 1 2020, 6:19 PM · MW-1.36-notes (1.36.0-wmf.26; 2021-01-12), good first task, ProofreadPage, All-and-every-Wikisource

Jul 24 2020

Tpt added a comment to T258776: Add Structured Data on Commons M-ID to Wikidata dumps.

As far as I’m aware, the real URL in RDF is more like http://commons.wikimedia.org/wiki/Special:FilePath/Leon%20Cogniet%20-%20Jean-Francois%20Champollion.jpg – the query service UI rewrites it to the file description URL (/wiki/File:) on display.
I also don’t understand your first example – is sdoc:P18 meant to be something like sdoc:M123 instead?

Jul 24 2020, 2:47 PM · StructuredDataOnCommons, Wikidata-Query-Service, Wikidata
Tpt updated the task description for T258776: Add Structured Data on Commons M-ID to Wikidata dumps.
Jul 24 2020, 2:45 PM · StructuredDataOnCommons, Wikidata-Query-Service, Wikidata
Tpt updated the task description for T258776: Add Structured Data on Commons M-ID to Wikidata dumps.
Jul 24 2020, 2:44 PM · StructuredDataOnCommons, Wikidata-Query-Service, Wikidata
Tpt added a comment to T258731: Error in RDF dump of structured data on Commons.

Sorry for this problem.

Jul 24 2020, 8:23 AM · Wikidata-Query-Service, Dumps-Generation, Commons, Wikidata
Tpt created T258776: Add Structured Data on Commons M-ID to Wikidata dumps.
Jul 24 2020, 8:18 AM · StructuredDataOnCommons, Wikidata-Query-Service, Wikidata
Tpt updated subscribers of T258590: Change incorrect usage of HTTP to HTTPS for concept URIs on Commons.

I guess that Wikidata concept URIs are using http:// because it is what is usually done by RDF datasets (DBpedia...), mostly for backward compatibility reasons.
I would be slightly in favor of using http:// URI for Commons entities in order to have all Wikibase entities and relations using http:// instead of having some with http:// and some with https;//.

Jul 24 2020, 7:49 AM · Structured-Data-Backlog (Current Work), StructuredDataOnCommons, Commons, Wikidata-Query-Service, Wikidata

Jul 21 2020

Tpt created T258484: It should be possible to hide the navigation links in Special:IndexPage.
Jul 21 2020, 10:32 AM · MW-1.36-notes (1.36.0-wmf.26; 2021-01-12), good first task, ProofreadPage, All-and-every-Wikisource

Jul 16 2020

Tpt added a comment to T258184: Call to undefined method Wikibase\Client\Hooks\OtherProjectsSidebarGenerator::buildProjectLinkSidebarFromItemId().

@Lucas_Werkmeister_WMDE @Addshore Thank you very much for having handled this error and sorry for having introduced it. You are amazing!

Jul 16 2020, 6:24 PM · Patch-For-Review, MW-1.36-notes (1.36.0-wmf.5; 2020-08-18), Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), MW-1.35-notes (1.35.0-wmf.41; 2020-07-14), Wikidata, ArticlePlaceholder, Wikimedia-production-error
Tpt added a comment to T256986: wikisource: improve date display on first page [placeholder].

@Samwilson Yes, it's exactly what I mean. This way, we don't need to install all locales in the Wsexport servers.

Jul 16 2020, 8:21 AM · WS Export, Community-Tech

Jul 14 2020

Tpt added a comment to T255512: Wikisource Ebooks: Consolidate WSExport issues on Phabricator instead of Github [Medium].

It's a great idea. Thank you!

Jul 14 2020, 10:45 AM · Community-Tech (Kanban-2020-21-Q1), WS Export
Tpt added a comment to T256985: Wikisource Ebooks: investigate improve rendering of mathematical formulas on wikisource [8H].

Some relevant links:

Jul 14 2020, 10:43 AM · WS Export, Community-Tech
Tpt added a comment to T256986: wikisource: improve date display on first page [placeholder].

The PHP Intl extension is now much more common than it was in 2012. It might be relevant to use here the IntlDateFormatter class that allows to easily fix this problem.

Jul 14 2020, 10:37 AM · WS Export, Community-Tech
Tpt created T257902: Wikisource: Investigate using Parsoid HTML for Wsexport [8h].
Jul 14 2020, 10:33 AM · Community-Tech (Kanban-2020-21-Q2), All-and-every-Wikisource, WS Export
Tpt added a comment to T257886: Wikisource Export: Remove dependency on phetools/credits.py.

I believe that the credit list is not a "hard" requirement. For example, the common pattern for citing Wikipedia articles is only to link to the Wikipedia page and stating that the author lists could be found here. And Wikisource contributors have a much weaker authorship relation to the content than the Wikipedia contributors. So, I guess that a rewording of the credits page might to the job (but I'm not a lawyer...).

Jul 14 2020, 10:29 AM · Community-Tech (CommTech-Sprint-1), WS Export

Jul 13 2020

Tpt closed T256570: Remove OtherProjectsSidebar hook from Wikibase as Resolved.
Jul 13 2020, 4:31 PM · MW-1.35-notes (1.35.0-wmf.41; 2020-07-14), Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), MediaWiki-extensions-WikibaseClient, Wikidata

Jul 9 2020

Tpt closed T257543: Error performing an external request (for phetools/credits.py) due to 404 URL as Resolved.

It should work now. The lighttpd configuration was not updated for the ToolsForge URL change.

Jul 9 2020, 9:48 AM · WS Export, Community-Tech

Jun 28 2020

Tpt created T256570: Remove OtherProjectsSidebar hook from Wikibase.
Jun 28 2020, 2:53 PM · MW-1.35-notes (1.35.0-wmf.41; 2020-07-14), Wikidata-Campsite (Wikidata-Campsite-Iteration-∞), MediaWiki-extensions-WikibaseClient, Wikidata

Jun 11 2020

Tpt added a comment to T128173: Represent editions as interwiki links on Wikisource.

Does that mean we should resolve this task? Or is the "other editions" bit also within this task? :)

Jun 11 2020, 9:40 AM · MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), All-and-every-Wikisource, Wikidata
Tpt added a comment to T128173: Represent editions as interwiki links on Wikisource.

Since yesterday, if a Wikisource page is connected to a Wikidata item that states that it is an edition of the work using P629, the sitelinks of the work item are displayed on the page in the "In other languages" sidebar.
The next step is to look for the other editions on Wikidata using P747.

Jun 11 2020, 6:26 AM · MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), All-and-every-Wikisource, Wikidata
Tpt closed T239546: Adds a hook to Wikibase allowing to add new sitelink easily from Wikibase content, a subtask of T128173: Represent editions as interwiki links on Wikisource, as Resolved.
Jun 11 2020, 6:21 AM · MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), All-and-every-Wikisource, Wikidata
Tpt closed T239546: Adds a hook to Wikibase allowing to add new sitelink easily from Wikibase content as Resolved.

The changes have been merged last week

Jun 11 2020, 6:21 AM · Wikidata-Campsite, All-and-every-Wikisource, Wikidata

Jun 6 2020

Tpt closed T254662: PageLevelTest test failures as Resolved.
Jun 6 2020, 6:39 PM · MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), ci-test-error (WMF-deployed Build Failure), ProofreadPage
Tpt claimed T254662: PageLevelTest test failures.
Jun 6 2020, 5:07 PM · MW-1.35-notes (1.35.0-wmf.36; 2020-06-09), ci-test-error (WMF-deployed Build Failure), ProofreadPage

May 31 2020

Tpt added a comment to T199992: Javanese OCR installation steps for Wikisource.

@Mahastama I have been bold and just created a beginning of script here: https://id.wikisource.org/wiki/Pengguna:Mahastama/OCR.js
I have put it in one of your user subpage to allow you to edit it. I hope it is fine for you.
It adds an "OCR" button to the page pages and calls the Trawaca API just like you presented.
However, currently the Trawaca API fails with an "authorization" error.
May you or one of the OCR developer have a look at it?
To reproduce it, you have to load the script (just like explained by @Xover, and try to run the OCR on any Page: page.

May 31 2020, 8:14 AM · Privacy Engineering, ProofreadPage, I18n, All-and-every-Wikisource

Apr 30 2020

Tpt added a comment to T104566: Join hyphenated words across pages.

I just tried to add recursiveTagParseFully and made a quick test.

Apr 30 2020, 9:09 AM · Parsoid (Tracking), MediaWiki-Language-converter, MW-1.32-notes (WMF-deploy-2018-09-25 (1.32.0-wmf.23)), Parsing-Team--ARCHIVED, ProofreadPage, All-and-every-Wikisource
Tpt committed R2221:207f0bd29c20: Adds back exact match support restricted to the IRIs defined by the vocabulary (authored by Tpt).
Adds back exact match support restricted to the IRIs defined by the vocabulary
Apr 30 2020, 8:24 AM
Tpt committed R2221:51f75bf8193a: Disables the exact match support (authored by Tpt).
Disables the exact match support
Apr 30 2020, 8:12 AM

Apr 29 2020

Tpt committed R2221:f96e03055c2f: Upgrades dependencies (authored by Tpt).
Upgrades dependencies
Apr 29 2020, 4:53 PM