Gary Guo

Results 147 comments of Gary Guo

The restoration code still needs to restore volatiles, since personality function may choose to set them to certain values (although I think this rarely happens in practice). They can also...

I noticed that your gimli PR was merged and I updated the PR to use new gimli types. CI is happy now, but it does spit a lot warnings that...

The c_unwind shouldn't be removed until the final c_unwind stabilisation completes. One issue with the naked function macro is that it will export additional symbols, where built-in naked function will...

曾经是有过(bd46fb779535b54be5170c64ffb1ce621813dda5)在允许管理员任意页面置顶一个评论的功能的,不过由于权限以及UI设计上太过于麻烦取消掉了

> 原来那个管理员置顶功能强烈建议改回来,还有热评那里应该设计成3个赞以上再上热评,很多用户自己发完评论点一下赞就上热评了,这个很不科学的说呢。。。。(能不能设计个管理员可以无限多点赞的功能呢_(:з」∠)_,类似e站) `$wgFlowThreadConfig['PopularPostThreshold'] = 3`.

As far as I know ARM has special ways of doing exception handling that is slightly different from all other archs, so it might not be as easy to support...

SocialProfile 的 Avatar URL 格式是什么?

> 本插件的头像获取函数在./assets/common.js中,如下: `function getAvatar(id, username) { if (id === 0) { return config.AnonymousAvatar; } else { return config.Avatar.replace(/\$\{username\}/g, username); } }` id就是获取的用户id,config.AnonymousAvatar就是从你Localsettings里设置的头像url。 因此,只需要将else后的return值改一下就行,改成: `return config.Avatar+"你的维基前缀,可以去SocialProfile头像保存目录查看_"+id+"_l.png"` > > 同时将你的LocalSettings里的设置进行更改即可 `$wgFlowThreadConfig['Avatar']='https://你的网站网址/你的SocialProfile头像保存目录';` 比如我的avatar保存在“/images/avatars”,那就改为...

这个是 by-design。主要原因是父评论被删除以后还是能被恢复的,因此就没有递归删除子评论。如果父评论被彻底删除以后子评论也会被彻底删除。如果你有更好的的解决方法的话欢迎提建议。