Last modified: 2014-07-17 12:51:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67942, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65942 - Headers should be split from other wiki text in a unit at Special:PageMigration
Headers should be split from other wiki text in a unit at Special:PageMigration
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Pratik Lahoti
:
Depends on:
Blocks: 65740
  Show dependency treegraph
 
Reported: 2014-05-30 12:54 UTC by Pratik Lahoti
Modified: 2014-07-17 12:51 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Pratik Lahoti 2014-05-30 12:54:14 UTC
As of now, as splitting is done on '\n\n', some units contain a mix of headers and text when a newline is not present in the old translations after the header.

i.e, Observed translation unit:

== Some header ==
Dummy content dummy content dummy content

Expected output:

Unit 1: == Some header ==
Unit 2: Dummy content dummy content dummy content

Thus, headers need to be split from the content in such cases for improving alignment.
Comment 1 Gerrit Notification Bot 2014-05-30 15:13:17 UTC
Change 136326 had a related patch set uploaded by BPositive:
Split headers from other wiki text in translation units at Special:PageMigration

https://gerrit.wikimedia.org/r/136326
Comment 2 Gerrit Notification Bot 2014-05-30 15:35:45 UTC
Change 136326 abandoned by BPositive:
Split headers from other wiki text in translation units at Special:PageMigration

Reason:
The patch set should actually depend on https://gerrit.wikimedia.org/r/#/c/135750/

https://gerrit.wikimedia.org/r/136326
Comment 3 Gerrit Notification Bot 2014-05-30 15:57:05 UTC
Change 136334 had a related patch set uploaded by BPositive:
Split headers from other wiki text in translation units at Special:PageMigration

https://gerrit.wikimedia.org/r/136334
Comment 4 Nemo 2014-06-04 15:27:32 UTC
The bug summary here may not be in sync with comment 0 and the associated patch. Anyway, lowering priority given the challenges encountered.
Comment 5 Pratik Lahoti 2014-06-05 04:56:49 UTC
Changing the bug summary. Sorry for using the phrase "aligned correctly". I didn't mean it that way as alignment goes hand in hand with the correctness of source units when they were marked for translation. That is something I will be taking care of in Step 1 anyway - ensuring that a newline is present after the section header :)
Comment 6 Nemo 2014-06-05 06:45:53 UTC
(In reply to Pratik Lahoti from comment #5)
> Changing the bug summary. Sorry for using the phrase "aligned correctly".

Ok, I think that was the summary of the bug I had asked you to file, but we had not understood each other on the meaning; I filed bug 66162 with a stub of description of what I thought this bug was about.
Comment 7 Gerrit Notification Bot 2014-07-17 12:50:22 UTC
Change 136334 merged by jenkins-bot:
Split headers from other wiki text in translation units at Special:PageMigration

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links