Hi Matthew,
This is fantastic! I'm glad you are making good use of External Data, and some of its more advanced features like prepared SQL statements. It's great to see the whole assembly line in one place.
I put in a link to your tutorial video here: https://www.mediawiki.org/wiki/Extension:External_Data/Databases#External_li...
My only comment is that it would be better to put all that complex code into templates, like "Office" or "Employee", and then put in calls to those templates on each page, rather than pasting in the entire set of code every time - it's easier to add, and of course easier to modify the code later on.
-Yaron
On Mon, Jul 1, 2024 at 11:35 AM Matthew Shell matt@mshell.net wrote:
Hello,
I recently configured my MediaWiki instance to pull data from a mySQL server using the External Data connector. It was a bit tricky, and I couldn’t find any existing tutorials, so I decided to create one.
This page has the step-by-step instructions: https://mshell.net/wikidemo
I hope you find this helpful!
Matt _______________________________________________ MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/