Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RULE] 内置维基百科规则导致无法登陆 #36

Open
GoogleCodeExporter opened this issue Apr 23, 2015 · 7 comments
Open

[RULE] 内置维基百科规则导致无法登陆 #36

GoogleCodeExporter opened this issue Apr 23, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

访问
https://zh.wikipedia.org/zh-cn/Wikipedia:%E9%A6%96%E9%A1%B5

点击登录,跳转到
https://zh.wikipedia.org/zh-cn/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%
BB%E5%BD%95&returnto=Wikipedia%3A%E9%A6%96%E9%A1%B5&returntoquery=variant%3Dzh-c
n

若进禁用规则,则应跳转到:
https://zh.wikipedia.org/w/index.php?title=Special:%E7%94%A8%E6%88%B7%E7%99%BB%E
5%BD%95&returnto=Wikipedia%3A%E9%A6%96%E9%A1%B5&returntoquery=variant%3Dzh-cn

Original issue reported on code.google.com by [email protected] on 21 Oct 2013 at 11:07

@GoogleCodeExporter
Copy link
Author

对了,我将内置规则改成了https适用

Original comment by [email protected] on 21 Oct 2013 at 11:21

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 21 Oct 2013 at 3:02

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

退出也不行……

Original comment by [email protected] on 21 Oct 2013 at 3:14

@GoogleCodeExporter
Copy link
Author

这条规则只是一个[EXAMPLE],只考虑了较简单的情况。

Original comment by [email protected] on 21 Oct 2013 at 3:16

@GoogleCodeExporter
Copy link
Author

如何修复?
Firefox 上我是用笨办法的——其实是我的正则会的很少——
zh-?(hans|hk|mo|sg|tw|)

替换这个为zh-cn
Chrome 上不会写了,总是出错……

Original comment by [email protected] on 21 Oct 2013 at 3:31

@GoogleCodeExporter
Copy link
Author

我觉得wikipedia应该能够记住你的语言偏好,禁用该规则就可��
�了吧?这条规则主要是演示正则表达式中lookahead结构“(?!patt
ern)”的用法。

Original comment by [email protected] on 21 Oct 2013 at 3:39

@GoogleCodeExporter
Copy link
Author

这个貌似是碰到过搜索过来就跳到另外一种语言了……

当然可能更需要的是amo
不过现在又用不着了……

Original comment by [email protected] on 21 Oct 2013 at 3:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant