About this board

KrissThePlayer (talkcontribs)

Thank you for being nice and friendly to MediaWiki! Please stay healthy and safe next time!

Reply to "A kitten for you!"

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

Be the first to comment! • 13:46, 11 April 2020 1 year ago
Reply to "how to use primary key in wamp server while using php?"
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"

Don’t ignore the question

Incnis Mrsi (talkcontribs)

You used sysop privileges to block a user for alleged “abuses” without explaining when and where did the abuse happen. Do you deem possible to replicate on this site actions by en.Wikipedia of questionable relevance?

Reply to "Don’t ignore the question"
Jonathan Manjarrez (talkcontribs)
Reply to "A cheeseburger for you!"

Please provide feedback on suggested improvements to the Code of Conduct

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"
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)


// 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
     -> )

  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
    -> )

  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)}',

  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)
Reply to "PHP/MySQL question"