Last modified: 2011-04-14 15:11:13 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 T13543, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11543 - Replace hard-wired auto/truncated revision-summary length with a global
Replace hard-wired auto/truncated revision-summary length with a global
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-02 21:01 UTC by Aran
Modified: 2011-04-14 15:11 UTC (History)
0 users

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


Attachments

Description Aran 2007-10-02 21:01:53 UTC
Could someone please add a global variable (eg $wgTruncatedCommentLength) for specifying the length that long summaries or auto-summaries are truncated to? There's three places in Article.php where this is done in the functions getBlankingAutosummary(), getAutosummary() and the end of delete().
Comment 1 Brion Vibber 2007-10-02 23:18:07 UTC
Note that they should all be truncated to the defined field length (255 bytes) fairly consistently, but it wouldn't hurt to use a global var here, per http://c2.com/cgi-bin/wiki?MagicNumber :)

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


Navigation
Links