[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 327 – Long titles not truncated in Title object for checks

Last modified: 2005-01-30 04:46:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 327 - Long titles not truncated in Title object for checks
Long titles not truncated in Title object for checks
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-03 03:22 UTC by Timwi
Modified: 2005-01-30 04:46 UTC (History)
1 user (show)

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


Attachments

Description Timwi 2004-09-03 03:22:12 UTC
BUG MIGRATED FROM SOURCEFORGE
http://sourceforge.net/tracker/index.php?func=detail&aid=879509&group_id=34373&atid=411192
Originally submitted by Nobody/Anonymous - nobody  2004-01-19 00:09


Article titles get truncated to 255 characters.

On the test wikipedia, I created [[TestA]] 
(contents: "This is '''TestA'''. I will create [[TestB]].") 
and [[TestB]] (contents: "This is '''TestB'''. I created 
[[TestA]]."), then moved both [[TestA]] and then 
[[TestB]] to [[123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456789 123456789 123456789 
123456789 123456789 123456]]. The final 6 was 
truncated from the resulting article title, leaving a 
broken redirect to the full title from [[TestA]] and 
[[TestB]]. The article at [[123...345]] is the previous 
[[TestA]]. The previous [[TestB]] appears to be gone.

I prefer not to perform the experiment on a real 
wikipedia, and I don't have sysop access on the test 
wikipedia, so I haven't been able to try 
deleting/restoring it, to see if the contents or history of 
[[TestB]] survived somehow.

[[User:Cyp| ''Cyp'']] 23:07, 18 Jan 2004 (UTC)

------------------------- Additional comments ------------------------
Date: 2004-03-15 16:49
Sender: SF user hashar

Related to bug 855544 (long page name)  
https://sourceforge.net/tracker/?
func=detail&atid=411192&aid=855544&group_id=34373

Software should not allow a title to be changed to a title that 
don't fit in the database. Code is already patched when 
creating a new page, need to be implemented when moving 
page now :0)
Comment 1 Timwi 2004-09-03 21:51:50 UTC
Sounds like a security problem; raising priority.
Comment 3 Brion Vibber 2005-01-30 04:46:55 UTC
In REL1_4 and current HEAD there is a hard-coded check in Title::secureAndSplit(), which does the validity checks. Too-long 
titles are rejected explicitly now, rather than truncated silently.

Resolving as FIXED.

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


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011