[Mediawiki-l] integrate data from external database

Jim Hu jimhu at tamu.edu
Thu Mar 20 16:36:36 UTC 2008


Be careful with permissions using this approach, of course!!

On Mar 18, 2008, at 4:06 PM, Daniel Barrett wrote:

> One approach: Write a custom tag (say, <mydatabase>) that hits your
> database using the API at http://us.php.net/mysql and returns results.
> For example, <mydatabase>select foo, bar from blat</mydatabase> could
> produce an HTML table of the results, with the column names (foo, bar)
> as the table headings.
>
> DanB
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054




More information about the MediaWiki-l mailing list