Last modified: 2014-09-09 12:03:11 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 T71243, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69243 - Specific commonswiki page title too long making all scripts fail on that page
Specific commonswiki page title too long making all scripts fail on that page
Status: UNCONFIRMED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
https://commons.wikimedia.org/wiki/Co...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-07 14:57 UTC by merl
Modified: 2014-09-09 12:03 UTC (History)
2 users (show)

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


Attachments

Description merl 2014-08-07 14:57:05 UTC
On commonswiki there exists https://commons.wikimedia.org/wiki/Commons:Deletion_requests/File:US_Navy_070210-N-7643B-079_The_statue_%5Eldquo,Unconditional_Surrender,%5Erdquo,_which_represents_a_famous_photo_taken_by_Alfred_Eisenstaedt_of_a_Sailor_kissing_a_nurse_in_Time_Square,_New_York_City_1945,_was_dedicated_to_the_city.jpg

But the page is unusable because of length it is not possible to create internal links like
[[:commons:Commons:Deletion requests/File:US Navy 070210-N-7643B-079 The statue ^ldquo,Unconditional Surrender,^rdquo, which represents a famous photo taken by Alfred Eisenstaedt of a Sailor kissing a nurse in Time Square, New York City 1945, was dedicated to the city.jpg]]

and json object contains wrong information, too:

"wgPageName":"Commons:Deletion_requests/File:US_Navy_070210-N-7643B-079_The_statue_^ldquo,Unconditional_Surrender,^rdquo,_which_represents_a_famous_photo_taken_by_Alfred_Eisenstaedt_of_a_Sailor_kissing_a_nurse_in_Time_Square,_New_York_City_1945,_was_dedicated_to_the_ci","wgTitle":"Deletion requests/File:US Navy 070210-N-7643B-079 The statue ^ldquo,Unconditional Surrender,^rdquo, which represents a famous photo taken by Alfred Eisenstaedt of a Sailor kissing a nurse in Time Square, New York City 1945, was dedicated to the ci","wgCurRevisionId":0,"wgRevisionId":0,"wgArticleId":0

So all scripts fail on this page. How could this page ever be created?
Comment 1 Andre Klapper 2014-08-16 11:01:57 UTC
(In reply to merl from comment #0)
> So all scripts fail on this page

What are "all scripts", for example?
Comment 2 Andre Klapper 2014-09-07 19:20:41 UTC
(In reply to merl from comment #0)
> So all scripts fail on this page

What are "all scripts", for example?
Comment 3 merl 2014-09-09 11:12:45 UTC
I detected this problem because my labs database bot created links which were not linked on rendered view (example [[de:Special:Permalink/132869819]]).

But this also affects all javascript gadgets on commons reading wgArticleId or wgPageName. The last one is used by all gadgets linking to toollabs for example.
Comment 4 Bartosz Dziewoński 2014-09-09 11:32:23 UTC
(In reply to merl from comment #0)
> and json object contains wrong information, too:

I can't reproduce this, the variables are all sane for me.

This page title without namespace is 253 bytes, which is just within the limit.
I wonder why the links break.
Comment 5 Daniel Kinzler 2014-09-09 12:03:11 UTC
Note that the limit for file names (and thus titles in the File namespace) is 240 characters, not 255 as for other pages. No idea if that is the problem here, but it's something to keep in mind.

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


Navigation
Links