User talk:Jasper Deng

Jump to: navigation, search

About this board

For older discussions, see User talk:Jasper Deng/old. For stuff not related to this website, see en:User talk:Jasper Deng.


By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Jonathan Manjarrez (talkcontribs)
How about fries and a coke with that Jonathan Manjarrez (talk) 08:38, 18 September 2016 (UTC)
Reply to "A cheeseburger for you!"

Please provide feedback on suggested improvements to the Code of Conduct

1
MediaWiki message delivery (talkcontribs)

Thanks to everyone who’s helped work on the Code of Conduct so far.

People have brought up issues they feel were missed when working on "Unacceptable behavior" and "Report a problem". Consultants have also suggested changes in these same sections.

These are important sections, so please take a look at the proposed changes. I apologize that this feedback arrived later than planned, but I think this will create a better document.

If you prefer to give your opinion privately, feedback via e-mail is welcome at conduct-discussionwikimedia.org.

Thanks. Mattflaschen-WMF via

Reply to "Please provide feedback on suggested improvements to the Code of Conduct"
Pine (talkcontribs)

Would deleting the page User:Pine on this wiki allow for my Meta page to transclude here? If so, please delete the User:Pine pave. Thanks!

Reply to "Request for deletion"

how to use primary key in wamp server while using php?...

Be the first to comment! • 21:44, 20 January 2016 10 months ago
0
Reply to "how to use primary key in wamp server while using php?..."
DennisCohick (talkcontribs)

hi @Jasper Deng um i really like how you say thinks by describing them a lot

Reply to "hi"
Fuse809 (talkcontribs)

Hi, I just wanted to ask you a question. Do you know anyone with the skill and the inclination to write an extension similar to the Jmol extension (https://www.mediawiki.org/wiki/Extension:Jmol) but for the 2D chemical structure viewer and editor, Marvin JS? I personally do not have the skill to write such an extension but as Marvin JS is written in Javascript I wouldn't imagine it'd be too difficult for someone with the programming skill to create such an extension. Fuse809 (talk) 18:41, 3 February 2015 (UTC)

Jasper Deng (talkcontribs)

Unfortunately I do not. If it's in JS, a gadget might be a better idea - Extension:Gadgets.

Reply to "Marvin JS extension"
Lieutenant S. Reznov (talkcontribs)

I'm working on a form application that I plan to use as a basis for the contact form extension I'm working on. (the login would be removed, as MediaWiki would provide the user accounts)

There's a problem that I get when I try to run the script for creating the database tables.

This is the page that has the script: ($dbprefix is just for this application, I'll change it to the one MediaWiki uses when I make the extension. I believe I may have entered that right)

<?php

// Get user account information from installation form

$new_admin_username = trim($_REQUEST['new_admin_username']);
$new_admin_password = trim($_REQUEST['new_admin_password']);

// Create the user table

$create_user_table = "
mysql> CREATE TABLE /*$dbprefix*/users (
     -> user_id    int           AUTO_INCREMENT PRIMARY KEY,
     -> username   varchar(30)   NOT NULL,
     -> password   varchar(30)   NOT NULL
     -> )
";

mysql_query($create_user_table)
  or die(mysql_error());

// Create table for storing messages

$create_message_table = "
mysql> CREATE TABLE /*$dbprefix*/messages (
    -> message_id      int           AUTO_INCREMENT PRIMARY KEY,
    -> sender_name     varchar(50)   NOT NULL,
    -> sender_email    varchar(50)   NOT NULL,
    -> sender_message  varchar(2000) NOT NULL
    -> )
";

mysql_query($create_message_table)
  or die(mysql_error());

// Create user account

$new_admin_create_account = "
mysql> INSERT INTO /*$dbprefix*/users (username, password)
            VALUES ('{mysql_real_escape_string($new_admin_username)}',
                    '{mysql_real_escape_string($new_admin_password)}');
";

mysql_query($new_admin_create_account)
  or die(mysql_error());

?>

Here's the error I get:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysql> CREATE TABLE /**/users ( -> user_id int AUTO_INCREMENT ' at line 1

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Lieutenant S. Reznov (talkcontribs)

Never mind, I fixed it.

This post was posted by Lieutenant S. Reznov, but signed as Inquisitor Ehrenstein.

Reply to "PHP/MySQL question"

i can not post my homepage link to my user profile...?

Be the first to comment! • 21:36, 23 October 2015 1 year ago
0
Reply to "i can not post my homepage link to my user profile...?"
Reply to "are you there ?"
Nicole Sharp (talkcontribs)

Sorry, I just saw your post after posting to [user talk:Quiddity (WMF)]. I still cannot post my homepage or homewiki link to my userprofile. ~~~~

Never mind, issue resolved. ~~~~

Reply to "user:Nicole Sharp"