Last modified: 2006-07-14 06:17:59 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 5128 - Invalid entries in image table for Estonian Wikipedia
Invalid entries in image table for Estonian Wikipedia
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Brion Vibber
http://et.wikipedia.org/w/index.php?t...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-28 09:21 UTC by Raul Kern
Modified: 2006-07-14 06:17 UTC (History)
2 users (show)

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


Attachments
Why the problem happens (2.95 KB, text/plain)
2006-03-06 07:36 UTC, Ævar Arnfjörð Bjarmason
Details

Description Raul Kern 2006-02-28 09:21:18 UTC
browsing back through Newimages gave at point
http://et.wikipedia.org/w/index.php?title=Eri:Newimages&until=20040805093611
following error message:

Image constructor given bogus title.

Backtrace:

    * GlobalFunctions.php line 604 calls wfBacktrace()
    * Image.php line 81 calls wfDebugDieBacktrace()
    * Image.php line 76 calls Image::Image()
    * SpecialNewimages.php line 137 calls Image::newFromTitle()
    * SpecialPage.php line 414 calls wfSpecialNewimages()
    * SpecialPage.php line 275 calls SpecialPage::execute()
    * Wiki.php line 155 calls SpecialPage::executePath()
    * Wiki.php line 47 calls MediaWiki::initializeSpecialCases()
    * index.php line 121 calls MediaWiki::initialize()
    * index.php line 3 calls require()
Comment 1 Rob Church 2006-03-06 07:25:20 UTC
Still throwing an exception for me when browsed this morning.
Comment 2 Ævar Arnfjörð Bjarmason 2006-03-06 07:36:01 UTC
Created attachment 1440 [details]
Why the problem happens

This happens because there's a null entry in the image table.
Comment 3 Ævar Arnfjörð Bjarmason 2006-03-06 08:02:40 UTC
And because there's even more crap there...


mysql> SELECT page_id,page_namespace,page_title FROM page LEFT JOIN revision ON
page_id = rev_page WHERE page_namespace = 6 AND page_title LIKE "Maul%"; 
+---------+----------------+----------------------+
| page_id | page_namespace | page_title           |
+---------+----------------+----------------------+
|   10884 |              6 | Mauleon-Licharre.jpg |
|   10884 |              6 | Mauleon-Licharre.jpg |
+---------+----------------+----------------------+
2 rows in set (0.00 sec)

mysql> SELECT /* wfSpecialNewImages */ img_size, img_name,
img_user_text,img_timestamp FROM `image` WHERE img_name LIKE "Maul%";
+----------+------------------------+---------------+----------------+
| img_size | img_name               | img_user_text | img_timestamp  |
+----------+------------------------+---------------+----------------+
|   120976 | Maul%E9on-Licharre.jpg | Urmas         | 20040801214040 |
|   120976 | Mauleon-Licharre.jpg   | Urmas         | 20040801214416 |
+----------+------------------------+---------------+----------------+
2 rows in set (0.00 sec)

mysql>
Comment 4 lɛʁi לערי ריינהארט 2006-07-13 12:29:03 UTC
http://et.wikipedia.org/w/index.php?title=Eri:Newimages&until=20040805093611
gives today:
Image constructor given bogus title.

Backtrace:

#0 /usr/local/apache/common-local/php-1.5/includes/SpecialNewimages.php(133):
Image->Image(NULL)
#1 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(511):
wfSpecialNewimages(NULL, Object(IncludableSpecialPage))
#2 /usr/local/apache/common-local/php-1.5/includes/SpecialPage.php(372):
SpecialPage->execute(NULL)
#3 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(156):
SpecialPage::executePath(Object(Title))
#4 /usr/local/apache/common-local/php-1.5/includes/Wiki.php(47):
MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage),
Object(WebRequest))
#5 /usr/local/apache/common-local/php-1.5/index.php(137):
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
Object(WebRequest))
#6 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...')
#7 {main}
Comment 5 Brion Vibber 2006-07-14 06:17:59 UTC
Ran corrections on bad entries.

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


Navigation
Links