<
从版本< 13.1 >
xu yang编辑
在2021/12/08 03:39上
到版本
xu yang编辑
在2021/12/08 02:36上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -1,50 +1,54 @@
1 -{{toc/}}
1 +{{box cssClass="floatinginfobox"}}
2 +{{velocity}}
3 +{{html clean="false"}}
4 +## Chrome's XSS Auditor blocks the preview action if:
5 +## * the submitted content has an iframe with an external URL
6 +## * the preview action displays the submitted iframe
7 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
8 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
9 +#set ($iframe = 'iframe')
10 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
11 +{{/html}}
12 +{{/velocity}}
13 +{{/box}}
2 2  
3 -= WIKI复活了 =
15 += Welcome to your wiki =
4 4  
17 +XWiki is the best tool to organize your knowledge. A //wiki// is organized in a hierarchy of //pages//. You can create multiple wikis, each with its own set of pages.
5 5  
6 -== 1. ==
19 +XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet.
7 7  
8 -第一版本的Wiki是18年末搞的,当时大学还没有毕业,当年11月份到瓜子网实习,入职的第一天感觉一切都是崭新的,公司内的框架、组件、还有各种工具都是之前没有接触过的。
21 += The basics =
9 9  
10 -最开始搭wiki的想法是很简单的:
23 +To make the most out of your wiki, log-in and:
11 11  
12 -1.为了记录工作上的任务和一些经验,但是公司是不允许使用云笔记相关的软件的,(个人wiki应该也属于违禁的一种,但是检测不出来)
25 +Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
13 13  
14 -2.一起实习的小伙伴们可以一起记录一些资料,大家互相成长,快速进步
27 +Use the {{velocity}}$services.icon.render('add'){{/velocity}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
15 15  
16 -第一个版本的wiki选用的就是XWIKI,选择这款软件是因为它免费,并且很多功能都和Confluence相似。
29 +Use the {{velocity}}$services.icon.render('home'){{/velocity}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
17 17  
18 -很遗憾的是最开始的WIKI只活了不到半年,死掉的原因也很简单:没钱。
31 +You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
19 19  
20 -那时我和d哥每人开了一个阿里云学生服务器,10块钱一个月,由于服务器的配置实在过于垃圾,最后的方案是一台服务器用作web后端,一台服务器用作数据库。
33 + {{box}}Learn more on how to use XWiki with the {{velocity}}[[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome?version=$xwiki.version]]{{/velocity}}.{{/box}}
21 21  
22 -Web后端的服务费先欠费的,我没有续费上,然后数据库那边就也给停掉了,当时的文档也就全都丢了,很可惜,也很抱歉之前小伙伴们的知识分享和贡献。
35 +(% class="row" %)
36 +(((
37 +(% class="col-xs-12 col-sm-6" %)
38 +(((
39 += Extend your wiki =
23 23  
24 -== 2. ==
41 +To extend the power and functionalities of your wiki with the features that //you// need, head over to the {{velocity}}[[Extension Manager>>path:$xwiki.getURL($services.model.createDocumentReference('wiki', 'XWiki', 'XWikiPreferences'), 'admin', 'editor=globaladmin&section=XWiki.Extensions')]]{{/velocity}} where you can search for and install extensions.
25 25  
26 -第二版本的Wiki是19年末搞的,当时已经正式入职了,当年的双11腾讯云给了一波不错的优惠,300多块钱买了两年,在这两年里wiki主要的状态就是**服务不可用**,原因还是也比较简单:
43 +To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]].
44 +)))
27 27  
28 -1.机器虽小任务太多,2c4g的机器要运行着我的Wiki服务(光这个服务的常驻就吃掉了我300多M的内存),mysql服务器,mongodb服务器,梯子代理,加密货币监控报警服务,qq群商品推销等等,由于在瓜子的工作实在清闲,这两年搞了好多个项目,可惜大多数都烂尾了。
46 +(% class="col-xs-12 col-sm-6" %)
47 +(((
48 += Create your application =
29 29  
30 -2.云服务器不问题、Wiki本身不太稳定,这个wiki经常莫名其妙的就被Kill掉了,这个时候就需要手动通过tomcat部署重新run,很多时候我并不知道它挂掉了
50 +Go beyond the available extensions and define the //structure// of your data based on //your// needs, creating //your// own applications with [[App Within Minutes>>AppWithinMinutes]] (AWM).
31 31  
32 -总的来说,这俩年里这个Wiki其实并没有贡献出太多对工作帮助的事情,大多的时间都是在默默的吃灰或者默默地挂掉了。但是反过来一想,真的一点作用也没有么?
33 -
34 -当然不是,在我即将结束我的第一份工作之前,我把面试中常见的问题,每次面试之后的想法都保留了下来,这些东西帮我很有效地记下了常见的Java八股文和算法题,以至于我的人生第一次跳槽拿了很多的offer以及比较满意的涨薪幅度。也基于这点我决定要一直维护这个Wiki下去,尽管它经常在我不知情的时候挂掉。
35 -
36 -== 3. ==
37 -
38 -在21年的双11,我的服务器又到期了,虽然我已经决定要把这个Wiki保留下来,但是当看到续费价格的时候我还是咽了口唾沫(然后狠狠地在心里骂了tx的老母),光一个月就要260多块钱,尽管我已经工作两年了但是这笔钱还是太多了。所以我只好出此下策——把Wiki内的数据转移,重新买一台服务器,毕竟新买台机器三年才200块(新玩家人上人,老玩家不如狗)。
39 -
40 -很高兴地说,经历了几天的捣鼓,**我的Wiki复活了!**
41 -
42 -除了做了文档的迁移外,我还升级了一下Wiki的版本号,新的版本比以前支持的功能更多了,编辑器也确实更好用了,也可以明显地感觉到不像老版本的wiki那样卡顿(不过软件的内存占用依然还是很高),除了这些我最满意的就是这个Wiki终于支持Draw.io和PlantUML作图了,虽然使用的场景还是有一些受限制。迁移不是完美的,代价就是文章中的一些插图都丢失了,这点还是比较遗憾的。
43 -
44 -不过人生就是这样嘛,有得有失。
45 -
46 -从总体来说我还是很满意的,用一段文字记录一段时光,这种感觉怎么形容呢?就好像回到了初中时的中二少年,在QQ空间写垃圾话、发牢骚,几年之后回头看过去仿佛回到了当年的时光,仿佛回到了那个黄土地的校园。
47 -
48 -算了。。不说这些。
49 -
50 -新的Wiki将会记录未来三年的时光,希望不负自己,不负周围的人。
52 +AWM will take care of making it easy for you and your users to create and manage the data.
53 +)))
54 +)))