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,
"plugins": [
"es5",
"compat"
],
"extends": [
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"ignorePatterns": [
"resources/libraries/",
"*.json"
],
"rules": {}
}
{
"root": true,
"plugins": ["es5", "compat"],
"extends": [
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"ignorePatterns": ["resources/libraries/", "*.json"],
"rules": {}
}

查看文件

@ -1,9 +1,9 @@
{
"extends": "stylelint-config-wikimedia",
"rules": {
"no-duplicate-selectors": null,
"selector-max-id": null,
"declaration-no-important": null,
"no-descending-specificity": null
}
}
{
"extends": "stylelint-config-wikimedia",
"rules": {
"no-duplicate-selectors": null,
"selector-max-id": null,
"declaration-no-important": 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>

查看文件

@ -6,13 +6,13 @@ _A MediaWiki skin based on Bootstrap 4._
## 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.
* Add the following code at the bottom of your `LocalSettings.php`:
- Add the following code at the bottom of your `LocalSettings.php`:
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.
## 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
logo with this skin, you can place it:
* in the upper main bar next to the site title,
* in the sidebar as usual in other skins like Monobook, Vector.
- in the upper main bar next to the site title,
- in the sidebar as usual in other skins like Monobook, Vector.
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
options:
* `default`
* `full`
* `narrow`
* `wide`
- `default`
- `full`
- `narrow`
- `wide`
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
@ -120,12 +120,12 @@ Modified by Qiuwen Baike Contributors, since 2022.
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),
* 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),
* created for [WikiSkripta](https://www.wikiskripta.eu) medical wiki,
* and released under Creative Commons Zero v1.0 Universal 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),
- created for [WikiSkripta](https://www.wikiskripta.eu) medical wiki,
- and released under Creative Commons Zero v1.0 Universal license.
This software is distributed without any warranty.

13606
package-lock.json 自动生成的

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

查看文件

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