Topic on Extension talk:Push

Guiwp (talkcontribs)

Could you please fix the warning that appears when we open the Special Page? I don't known PHP, and I'm an amateur in programming, I could remove the warning, but I don't known if its the best way to do it (I just saw some functions and... tried to do something that looks like its right hehe funny, but worked!)

#Push_Body.php
	public function getTitle($subpage = false) {
		return version_compare( $GLOBALS['wgVersion'], '1.18', '>' ) ? parent::getTitle($subpage) : $GLOBALS['wgTitle'];
	}

Sugestion. Could you please add an option to specify an account without the need to hardcode the password in the... LocalSettings.php? I don't think its the best option we would have... There should be a way to specify a username in the wiki where Push is installed, and the Push, retrieve the password from the database...

Thanks to be more one that helps the community!

MarkAHershberger (talkcontribs)

The extension could be modified so that you could supply a username/password when you submit a form instead of saving them in LocalSettings.

Guiwp (talkcontribs)

Tutorials/examples. Mark, could you please, point me to some simple examples showing how usually we could access the database from the internal php mediawiki API? My knowledge about php and the mediawiki is too little, but anyway, I want to see how it would be done. Do you known any simple extension that access the user accounts in the db? I think that it could help me...

The way accounts/passwords are stored. But there is something that I'm thinking, the way the passwords is stored. I'm almost sure that they are store using hashes right? Thats good for security. But with that we need to think another way of authentication...

Ideia. I have a little idea, maybe when I log in the local wiki, I could at the same time, log in the remote wiki too (like a global account), that would solve the problem. But again, how I would use the API do it? hehe.

Once again, thanks.

Reply to "Fix & Suggestion"