Last modified: 2010-11-20 15:36:38 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 T27944, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25944 - Styles are not loaded
Styles are not loaded
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-16 01:12 UTC by DaSch
Modified: 2010-11-20 15:36 UTC (History)
1 user (show)

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


Attachments

Description DaSch 2010-11-16 01:12:38 UTC
I updated from 1.5.2 to 1.5.3 and now styles are not loaded anymore/do not appear anywhere in the page
My MediaWiki Version is 1.17alpha (r76433)
Comment 1 DaSch 2010-11-16 01:32:43 UTC
And by the way... entering Userpages I get this error

Fatal error: Call to a member function isTemplate() on a non-object in /.../httpdocs/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Declare.php on line 26
Comment 2 Jeroen De Dauw 2010-11-16 06:27:32 UTC
(In reply to comment #0)
> I updated from 1.5.2 to 1.5.3 and now styles are not loaded anymore/do not
> appear anywhere in the page
> My MediaWiki Version is 1.17alpha (r76433)

Can you link to this, or reproduce it on a public wiki?

(In reply to comment #1)
> And by the way... entering Userpages I get this error
> 
> Fatal error: Call to a member function isTemplate() on a non-object in
> /.../httpdocs/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Declare.php
> on line 26

There is a known issue with #declare in 1.5.3, which has been fixed since the release. Using the latest svn version of SMW (which, as far as I know, is stable) should help you out.
Comment 3 DaSch 2010-11-16 08:47:14 UTC
Here you can see the error, the SMW-Box at the bottom of the page has no styles
http://www.wecowi.de
Comment 4 Jeroen De Dauw 2010-11-16 09:56:04 UTC
(In reply to comment #3)
> Here you can see the error, the SMW-Box at the bottom of the page has no styles
> http://www.wecowi.de

Ok, I see. It's not immediately clear to me what's going wrong when looking at the code. I'll try to reproduce this and fix it if needed before the next SMW release. Until then you can stick to MW 1.16 (where the styles should load correctly), which I'd recommend loose from this issue, as many extensions are not yet fully working with 1.17.
Comment 5 Jeroen De Dauw 2010-11-20 15:36:38 UTC
I just fixed the issue. You can get the working code from SVN trunk or wait for SMW 1.5.4 (no idea when it'll be released).

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


Navigation
Links