Thread:Project:Support desk/Getting page last modified/reply

Hi Sean,

I don't know how, meaning from where you use Java.

If it is running on the same server as MediaWiki, then you can use MySQL to get the content of the field page_touched. Btw. the field page_touched should contain a timestamp in the format yyyymmddhhmmss. I guess you see this strange output, because the field is binary. You have to convert the number, which you see there, to an integer before you can use it.

If Java is running on another machine, then you might want to query the API, especially prop=info, which also gives you the last-changed-date (example).