Signed-off-by: WaitSpring <me@waitspring.com>
这个提交包含在:
WaitSpring 2023-03-04 12:16:28 +08:00
父节点 ba22928de3
当前提交 eb04452299
共有 6 个文件被更改,包括 6848 次插入6878 次删除

查看文件

@ -1,17 +1,11 @@
{ {
"root": true, "root": true,
"plugins": [ "plugins": ["es5", "compat"],
"es5", "extends": [
"compat" "wikimedia/client-es5",
], "wikimedia/jquery",
"extends": [ "wikimedia/mediawiki"
"wikimedia/client-es5", ],
"wikimedia/jquery", "ignorePatterns": ["resources/libraries/", "*.json"],
"wikimedia/mediawiki" "rules": {}
], }
"ignorePatterns": [
"resources/libraries/",
"*.json"
],
"rules": {}
}

查看文件

@ -1,9 +1,9 @@
{ {
"extends": "stylelint-config-wikimedia", "extends": "stylelint-config-wikimedia",
"rules": { "rules": {
"no-duplicate-selectors": null, "no-duplicate-selectors": null,
"selector-max-id": null, "selector-max-id": null,
"declaration-no-important": null, "declaration-no-important": null,
"no-descending-specificity": null "no-descending-specificity": null
} }
} }

查看文件

@ -1,9 +1,9 @@
# About *Common Program of Qiuwen Baike* 关于《求闻百科共同纲领》 # About _Common Program of Qiuwen Baike_ 关于《求闻百科共同纲领》
The development of this software is subject to the *Common Program of Qiuwen Baike*, which is a constitutional document of *Qiuwen Baike* and its community and plays the role similar to Code of Conduct in other open-source communities. The development of this software is subject to the _Common Program of Qiuwen Baike_, which is a constitutional document of _Qiuwen Baike_ and its community and plays the role similar to Code of Conduct in other open-source communities.
本软件之开发遵循《求闻百科共同纲领》,该文件为求闻百科纲领性文件,起到类似其他开源社区中“行为准则”的作用。 本软件之开发遵循《求闻百科共同纲领》,该文件为求闻百科纲领性文件,起到类似其他开源社区中“行为准则”的作用。
You can read the *Common Program* at <https://qwbk.org/c/31162>. You can read the _Common Program_ at <https://qwbk.org/c/31162>.
您可以在下列网址查阅《共同纲领》:<https://qwbk.org/c/31162> 您可以在下列网址查阅《共同纲领》:<https://qwbk.org/c/31162>

查看文件

@ -6,13 +6,13 @@ _A MediaWiki skin based on Bootstrap 4._
## Installation ## Installation
* Download and place the file(s) in a directory called Write in your `skins/` - Download and place the file(s) in a directory called Write in your `skins/`
folder. folder.
* Add the following code at the bottom of your `LocalSettings.php`: - Add the following code at the bottom of your `LocalSettings.php`:
wfLoadSkin( 'Write' ); wfLoadSkin( 'Write' );
* Done - Navigate to `Special:Version` on your wiki to verify that the skin is - Done - Navigate to `Special:Version` on your wiki to verify that the skin is
successfully installed. successfully installed.
## Customization ## Customization
@ -38,8 +38,8 @@ Default value is `#3366cc` as used in Qiuwen Baike.
By default, the site logo is not shown at all. But if you want to show your By default, the site logo is not shown at all. But if you want to show your
logo with this skin, you can place it: logo with this skin, you can place it:
* in the upper main bar next to the site title, - in the upper main bar next to the site title,
* in the sidebar as usual in other skins like Monobook, Vector. - in the sidebar as usual in other skins like Monobook, Vector.
You just have to set `$wgWriteShowLogo` in your `LocalSettings.php`: You just have to set `$wgWriteShowLogo` in your `LocalSettings.php`:
@ -68,10 +68,10 @@ desktops and on mobile screens. If you need unresponsive design, just set in
You can set the content width with `$wgWriteContentWidth`, which has four You can set the content width with `$wgWriteContentWidth`, which has four
options: options:
* `default` - `default`
* `full` - `full`
* `narrow` - `narrow`
* `wide` - `wide`
At large screens, the main content container (with articles, texts, etc.) is At large screens, the main content container (with articles, texts, etc.) is
9/12 of the screen width and sidebar menu takes 2/12 of the screen width. It 9/12 of the screen width and sidebar menu takes 2/12 of the screen width. It
@ -120,12 +120,12 @@ Modified by Qiuwen Baike Contributors, since 2022.
This skin is: This skin is:
* based on [Skin:Example](https://www.mediawiki.org/wiki/Skin:Example) - based on [Skin:Example](https://www.mediawiki.org/wiki/Skin:Example)
(provided under CC0 license), (provided under CC0 license),
* using [Bootstrap](https://getbootstrap.com/) v4.6.0 (provided under MIT license), - using [Bootstrap](https://getbootstrap.com/) v4.6.0 (provided under MIT license),
* using [popper.js](https://popper.js.org/) v1.16.1 (provided under MIT license), - using [popper.js](https://popper.js.org/) v1.16.1 (provided under MIT license),
* created for [WikiSkripta](https://www.wikiskripta.eu) medical wiki, - created for [WikiSkripta](https://www.wikiskripta.eu) medical wiki,
* and released under Creative Commons Zero v1.0 Universal license. - and released under Creative Commons Zero v1.0 Universal license.
This software is distributed without any warranty. This software is distributed without any warranty.

13606
package-lock.json 自动生成的

文件差异内容过多而无法显示 加载差异

查看文件

@ -1,20 +1,20 @@
{ {
"private": true, "private": true,
"scripts": { "scripts": {
"eslint": "eslint .", "eslint": "eslint .",
"eslint:fix": "eslint . --fix", "eslint:fix": "eslint . --fix",
"stylelint": "stylelint resources/**/*.css", "stylelint": "stylelint resources/**/*.css",
"stylelint:fix": "stylelint resources/**/*.css --fix", "stylelint:fix": "stylelint resources/**/*.css --fix",
"minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/images" "minify-svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/images"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.23.0", "eslint-config-wikimedia": "0.23.0",
"eslint-plugin-compat": "^4.0.2", "eslint-plugin-compat": "^4.0.2",
"eslint-plugin-es5": "^1.5.0", "eslint-plugin-es5": "^1.5.0",
"eslint-plugin-unicorn": "^44.0.2", "eslint-plugin-unicorn": "^44.0.2",
"stylelint": "^14.14.1", "stylelint": "^14.14.1",
"stylelint-no-unsupported-browser-features": "^6.0.1", "stylelint-no-unsupported-browser-features": "^6.0.1",
"stylelint-config-wikimedia": "0.13.1", "stylelint-config-wikimedia": "0.13.1",
"svgo": "2.8.0" "svgo": "2.8.0"
} }
} }