wiki

Does there exist a “wiki” for editing doxygen comments? [closed]

浪子不回头ぞ 提交于 2019-12-12 07:44:53
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I'm working on a fairly big open source RTS game engine (Spring). I recently added a bunch of new C++ functions callable by Lua, and am wondering how to best document them, and at the same time also stimulate people to write/update documentation for a lot of existing Lua call-outs. So I figured it may be nice if I

MediaWiki 1.22 - Session Storage

你离开我真会死。 提交于 2019-12-12 04:36:17
问题 I am trying to use MySQL as session storage for MediaWiki. I've added: $wgSessionHandler = 'session_mysql'; to "LocalSettings.php", but I can't find any session table in associated MySQL DB. 回答1: If you set $wgSessionHandler = 'session_mysql'; , you ask PHP to internally manage the sessions with a MySQL backend instead of the default file backend. In this case, you have to install and configure this MySQL backend yourself (by quickly searching I found https://github.com/repoforge/rpms/blob

MediaWiki payment gateway

穿精又带淫゛_ 提交于 2019-12-12 04:29:54
问题 I would like to have a subscription sponsored wiki in MediaWiki. I want the paid members to have access to certain part of the wiki. How do I achieve that? Is there a plugin/extension or does it need a rewrite? In any case, how do I implement the payment gateway if I was flagging the paid users in the database? 回答1: You could use the Page Access Restriction extension: http://www.mediawiki.org/wiki/Extension:Page_access_restriction and a special group for paid members. edit: That being said

slack github integration doesn't find wiki repository

大憨熊 提交于 2019-12-12 04:02:32
问题 I'm trying to add a GitHub slack integration (https://slack.com/apps/A0F7YS2SX-github) that will post whenever a change is made to our repository's GitHub wiki. I can log in to GitHub just fine and I see my repositories, but I don't see the repository for the wiki. The wiki is an actual repository; I can clone it and view its history and everything. For example, if my repository were called myRepo, the wiki would be myRepo.wiki. But I only see myRepo in the list of repositories the

MediaWiki adjust system message language

爱⌒轻易说出口 提交于 2019-12-12 03:19:45
问题 i had been having a bug, where my system messages are shown in the wrong language. I have got one simple question: How do i set the system message to always be e.g. english or german without adding &uselang=de to the URL. Is there a way to permanently change it in the local settings? 回答1: Yes, you need to change it in your file LocalSettings.php . For example, if you want to use Brazilian Portugese change it to: $wgLanguageCode = 'pt-br'; For more info, see the manual: Manual:$wgLanguageCode

MediaWiki language bug still persists

杀马特。学长 韩版系。学妹 提交于 2019-12-12 02:15:26
问题 This is on en.myDomain.org This is in a logged out state on Chrome. As soon as i log in though, everything is in english, as it should be. Same happens on firefox. Anyone got any clue where this could stem from? 回答1: Looks like you set the language in your user preferences to English. To set the global language to English, change/put this in your LocalSettings.php: $wgLanguageCode = "en"; 来源: https://stackoverflow.com/questions/34917625/mediawiki-language-bug-still-persists

How can I fix this wiki link parsing regular expression?

≡放荡痞女 提交于 2019-12-12 01:56:28
问题 I've got an old wiki that I'm converting to a new wiki which uses Markdown and [[]] wiki link format. Unfortunately, the old wiki is really old and had many ways of producing links, incl. CamelCase, single-bracket ( [] ) wiki links, among others. I'm converting w/regular expressions in sed and use the following regular expression to convert stand-alone CamelCase links to double-bracket ( [[]] ) wiki links: s/([^[|])([A-Z][a-z]+[A-Z][A-Za-z]+)([^]|])/\1\[\[\2\]\]\3/g Unfortunately, the one

MediaWiki Special:MyPage/common.js not working

我的梦境 提交于 2019-12-11 18:38:22
问题 MediaWiki Version and LocalSettings.php MediaWiki 1.22.4 $wgAllowUserJs = true; $wgUseSiteJs = true; Browser Version FireFox 28.0 JavaScript Code $ gvim common.js function myFunction() { alert("Hello World!"); } var onClickAttribute = document.createAttribute("onclick"); onClickAttribute.value="myFunction()"; var button = document.createElement("button"); button.setAttributeNode(onClickAttribute); button.innerHTML = "Say hello"; if (document.URL === 'http://mywiki.com/w/index.php/User:Pjc

MediaWiki fails executing JavaScript which gets executed fine in browser console

纵然是瞬间 提交于 2019-12-11 17:59:20
问题 The following global JavaScript code is the only JavaScript code I use in my entire all-core, Hebrew, MediaWiki 1.33.0 website: /* כל הסקריפטים הנכתבים כאן ייטענו עבור כל המשתמשים בכל טעינת עמוד. */ const list = document.querySelector("#footnotes_list"); document.querySelectorAll(".footnote>sup").forEach((footnote, i) => { const li = document.createElement("li"); li.append(...footnote.childNodes); // move content list.appendChild(li); footnote.textContent = i+1; }); Related templates The

Simple Wiki Parser And Link Autodetection

最后都变了- 提交于 2019-12-11 09:57:21
问题 I'm using the following functions: function MakeLinks($source){ return preg_replace('!(((f|ht){1}tp://)[-a-zA-Zа-яА-Я()0-9@:%_+.~#?&;//=]+)!i', '<a href="/1">$1</a>', $source); } function simpleWiki($text){ $text = preg_replace('/\[\[Image:(.*)\]\]/', '<a href="$1"><img src="$1" /></a>', $text); return $text; } The first one converts http://example.com into http://example.com link. The second function turns strings like [[Image:http://example.com/logo.png]] into an image. Now if I have a text