Last modified: 2011-08-13 17:27:51 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 T28283, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26283 - Previewing user JS/CSS page doesn't load other user JS/CSS pages
Previewing user JS/CSS page doesn't load other user JS/CSS pages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-08 20:19 UTC by Roan Kattouw
Modified: 2011-08-13 17:27 UTC (History)
3 users (show)

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


Attachments

Description Roan Kattouw 2010-12-08 20:19:45 UTC
When previewing a user JS page, say User:Catrope/vector.js the code submitted for preview is loaded, but the other user JS files (User:Catrope/common.js in this case; both when previewing a third user JS file) are not loaded.

This is because the code providing the JS preview has logic to not load the user module (containing all user JS) when previewing. This was a good thing when there was only one user JS file, but now there's two, and it would've already failed when previewing a non-skin JS file even before the introduction of common.js
Comment 1 Roan Kattouw 2011-01-06 15:37:59 UTC
Applies to CSS preview too
Comment 2 Roan Kattouw 2011-08-13 17:27:51 UTC
Fixed in r94421.

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


Navigation
Links