mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
c93047666e
Linkpreview will try to fetch a text extract using the api and, if this doesn't fail, show the extract as a drawer with a button "Continue to article". If the query fails, it will redirect the user to the article directly. Bug: T113243 Depends-On: I6d8c5b80e70c3d8d1a92a70cc91e1b90d598cb0f Change-Id: Idbaae9fe2decd89b73e623a25fbd39464c316fb2
29 lines
393 B
Plaintext
29 lines
393 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,
|
|
"browser": true,
|
|
/* Local */
|
|
"predef": [
|
|
"mediaWiki",
|
|
"jQuery",
|
|
"moment",
|
|
"QUnit",
|
|
"OO"
|
|
]
|
|
} |