Last modified: 2014-08-29 02:10:17 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 51503 - ResoureLoader: Add self-explanatory comment to load.php about ResourceLoader
ResoureLoader: Add self-explanatory comment to load.php about ResourceLoader
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.22.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: documentation
  Show dependency treegraph
 
Reported: 2013-07-17 02:59 UTC by MZMcBride
Modified: 2014-08-29 02:10 UTC (History)
4 users (show)

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


Attachments

Description MZMcBride 2013-07-17 02:59:16 UTC
ResourceLoader's load.php is nice, but it minifies (and to an extent, obfuscates) JavaScript and CSS. This harms an open Web.

load.php comes with a debug parameter, but this isn't obvious. An HTML comment explaining load.php or pointing to more information about load.php would be good to have in the page source.
Comment 1 Krinkle 2013-08-29 16:06:18 UTC
Removing "easy" keyword for now until we know whether and if, what, this comment should say and point to.
Comment 2 Krinkle 2014-08-29 02:08:11 UTC
Content or scripts can also contain urls to index.php and api.php, where are their parameters documented?

At least api.php has a help page when requested without any parameters. Perhaps we should point to https://www.mediawiki.org/wiki/ResourceLoader/Features or https://www.mediawiki.org/wiki/ResourceLoader/Features#Debug_mode from load.php, as it currently only says "no modules were requested. Max made me put this here"
Comment 3 Krinkle 2014-08-29 02:10:17 UTC
> Expand load.php's "no modules requested" output to be friendlier
>
> Change-Id: I9300ec4d86a364034a70ce4204a0d9c1ac44b60f

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


Navigation
Links