[Bug 39665] ApiQuery-makeGeneratorList autoloads all query classes

2012-08-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39665

--- Comment #3 from Domas Mituzas domas.mitu...@gmail.com 2012-08-27 11:50:04 
UTC ---
introducing reflection inference is already a breaking change :-)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39665] ApiQuery-makeGeneratorList autoloads all query classes

2012-08-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39665

--- Comment #4 from Sam Reed (reedy) s...@reedyboy.net 2012-08-27 15:49:33 
UTC ---
(In reply to comment #3)
 introducing reflection inference is already a breaking change :-)

It's not new, just has been refactored...

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39665] ApiQuery-makeGeneratorList autoloads all query classes

2012-08-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39665

--- Comment #1 from Sam Reed (reedy) s...@reedyboy.net 2012-08-26 15:40:39 
UTC ---
Yay, reflection. Done like this, it's always going to be costly

This is at least somewhat better than it was (changed recently), in some cases,
where this list would be created twice...

We stick this in some apc (maybe the simplest way), or memcached, though that
feels slightly strange

Other than that, I suppose we could have this defined in code, rather than the
current resultant iteration over $wgAPIPropModules and $wgAPIListModules

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 39665] ApiQuery-makeGeneratorList autoloads all query classes

2012-08-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=39665

Sam Reed (reedy) s...@reedyboy.net changed:

   What|Removed |Added

   Severity|normal  |minor

--- Comment #2 from Sam Reed (reedy) s...@reedyboy.net 2012-08-26 17:18:54 
UTC ---
(In reply to comment #1)
 We stick this in some apc (maybe the simplest way), or memcached, though that
 feels slightly strange

Though, it would need to vary on dbname, due to various different extensions
being enabled on different wikis...


Also, removing the reflection inference is a bit of a breaking change,
requiring extension authors to update their extensions where necessary.,

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l