I know I can duplicate that part, even if its just putting an arbitrary date in such as the time the user registered. I'm more concerned about user_token, because inserting a fake user_token (one I copied from another user's data) did not make mediawiki recognize the new username.
On Fri, 2005-09-23 at 22:20 +0100, Rob Church wrote:
Ah, well, proprietary timestamp then. :)
Rob Church
On 23/09/05, Erin Spiceland erin@spiceland.org wrote:
Thanks for replying. Its not a Unix timestamp, it starts with 2005, not 112etc..., which is why I figured it was YYYYMMDDHHSSMM.
On Fri, 2005-09-23 at 20:23 +0100, Rob Church wrote:
user_touched, I'd imagine, would be a Unix timestamp field. You ought to be able to generate this in PHP using time().
Rob Church
On 23/09/05, Erin Spiceland erin@spiceland.org wrote:
I'm using mediawiki on a site that employs three other web apps that require authentication. I'm trying to write a register script that will insert the desired authentication and profile data into all 3 apps' databases at the same time, so that users won't have to register 3 separate times. I've got it working on both of the other apps, but mediawiki says that the username doesn't exist when I can clearly see it in the table. I think it has something to do with my values of "" that I'm putting in the user_token and/or user_touched fields. I did this for testing purposes simply because I didn't know what was supposed to go there. What are these fields and what should I put there? Or is there something else I'm not aware of that could be causing this? user_touched looks like a date in the format YYYYMMDDHHSSMM. is that correct?
Erin
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l