User "Freakolowsky" posted a comment on MediaWiki.r89409.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89409#c17534
Commit summary:

* suggestion for using tables.sql parsing instead of database query for tables 
list needed for phpunit
* would be better option IMO since the database is not necesserally dedicated 
to MW install

Comment:

TRUE, but those tables could "register" their tables trough a hook like with 
ExtensionUpdater (also work in progress).

The final product of this thought pattern would be somthing like:
* get standard tables from tables.sql (parsing is easy and only one point to 
maintain)
* as the processing passes back trough db-specific overload it might want to 
change some things (not sure what ATM, but let's leave the option)
* run hooks like the updater does and ask extensions that are "smart enough" to 
give their list of tables
* do the disco-hustle

PS: damn you're trigger-happy on the 'fixme' button.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to