Last modified: 2014-08-29 02:10:17 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 T53503, the corresponding Phabricator task for complete and up-to-date bug report information.
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