mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox
synced 2024-11-15 03:04:52 +00:00
7096213874
If the user does not enter a title in the <inputbox> for type=create and hits the submit button, it opens the Main page for editing (or view-source) due to empty title= param in URL. Greying out the submit button until user enters the title solves the issue. Bug: 61606 Bug: 62975 Change-Id: I5c6c34b90c6c499ef7cb96ad8d47fdbbcbbcd8a8
41 lines
548 B
Plaintext
41 lines
548 B
Plaintext
{
|
|
/* Common */
|
|
|
|
// Enforcing
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": "single",
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
// Legacy
|
|
"onevar": true,
|
|
|
|
/* Local */
|
|
|
|
// Enforcing
|
|
"bitwise": true,
|
|
"forin": false,
|
|
"regexp": false,
|
|
"strict": true,
|
|
// Relaxing
|
|
"laxbreak": true,
|
|
"smarttabs": true,
|
|
"multistr": true,
|
|
// Environment
|
|
"browser": true,
|
|
|
|
"predef": [
|
|
"mediaWiki",
|
|
"jQuery",
|
|
"QUnit"
|
|
]
|
|
}
|