Last modified: 2006-12-29 01:00:49 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 T10304, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8304 - Line breaks in autosummaries should be converted to spaces
Line breaks in autosummaries should be converted to spaces
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-18 09:36 UTC by Purodha Blissenbach
Modified: 2006-12-29 01:00 UTC (History)
1 user (show)

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


Attachments

Description Purodha Blissenbach 2006-12-18 09:36:26 UTC
For new pages, the beginning of their content is shown as edit 
summary by default. If there are line endings, they are 
converted to spaces for the edit history. Wikilinks remain 
wikilinks.

In the rc channel in irc.wikimedia.org, however, these 
summaries have line ends removed, and wikilinks are spelt out 
verbatim (i.e. not converted to links)

While the latter is fine with me, I think, line ends should 
not be dropped but rather converted to spaces, too.

Example:
- Copy & Paste from IRC :
10:10	rc	[[Francisco Pizarro]] N http://ksh.wikipedia.org/
wiki/Francisco_Pizarro * Purodha * (+553) New page: Em [[Joohr 
1533]] föhrtdä [[Konkißtadoor]] [[Francisco Pizarro]] dem 
[[Shpanije|shpanische Rish]] sing Troppeen_[[Amärrika]]jäje de 
[[Inka_Rish|Inkas ier Risch]]on zoschläijd_e...

- Copy & Paste from [[Special:Recentchanges]] :
N    10:11 Francisco Pizarro (diff; hist) . . Purodha (Talk | 
contribs | block) (New page: Em Joohr 1533 föhrt dä 
Konkißtadoor Francisco Pizarro dem shpanische Rish sing Troppe 
en_Amärrika jäje de Inkas ier Risch on zoschläijd_e...)

- Copy & Paste from page history at
http://ksh.wikipedia.org/w/
index.php?title=Francisco_Pizarro&action=history&uselang=en :
(cur) (last) 10:11, 18 December 2006 Purodha (Talk | contribs 
| block) (New page: Em Joohr 1533 föhrt dä Konkißtadoor 
Francisco Pizarro dem shpanische Rish sing Troppe en_Amärrika 
jäje de Inkas ier Risch on zoschläijd_e...) [rollback]

Mote that, the above was copied from browser display, so the 
html is not visible here.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-18 14:58:09 UTC
Normally it's not possible for line breaks to exist in edit summaries.  These
are automatically converted to spaces by the HTML specification, but that's
probably not great to rely on.
Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-22 19:59:22 UTC
Okay, it appears that something magically turns line breaks in the autosummary
to simple spaces (U+20) for new pages.  I'm guessing it's fixed on storage in
the database, but not on RSS feed or whatever RC bots use.  I've set it to
happen higher up in the code, r18500.  Please wait a few days for the code to be
resynced and then confirm whether it helped.
Comment 3 Purodha Blissenbach 2006-12-29 01:00:49 UTC
I did help. I've seen several instances of spaces in places 
of line breaks on RC on IRC, no more concatenated lines.

Thanky you!

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


Navigation
Links