|
Archive /
DisablingWikiWordsQuestionHow can I disable the WikiWords? on my site ? AnswerWikiWord links are now disabled by default from pmwiki 2.1 beta2 onwards. To enable Wikiword links you need to set in config.php or a local customisation file:
See also WikiWord.
Hint given by PM: you can totally disable WikiWords by setting: DisableMarkup('wikilink');
This will also prevent WikiWords from being embedded by a <span class='wikiword'></span>. Skrol29 Much of the page is now obsolete. Add the following in local/config.php file If your site is already existing, in order to help detection of existing WikiWords you can add temporarily the following in your local/config.php file
Markup('wikilink','>urllink',
"/\\b($GroupPattern([\\/.]))?($WikiWordPattern)/e",
"Keep('%red%+$0+%%', 'L')");
That will display +WikiWords+, but links will not be established.
WikiWords being used in the PmWiki documentation group, you need to enable the WikiWords for this group by writing in the page PmWiki.GroupHeader (if not already done) and the same page in your localized group, e.g. PmWikiFr.GroupHeader :
Actually, any WikiWords? in the PmWiki documentation that are also supposed to be links should be changed to [[...]] links on pmwiki.org. The idea is that PmWiki's documentation should not depend on WikiWords? being enabled. --Pm
PhilosophyMore than a technical question, disabling WikiWords is a 'philosophical' question. Here is an exerpt of the mailing list : Wade Hudson wrote: I am considering disabling WikiWords but I am concerned that doing so might deter experienced wiki users from contributing. One concern of mine is that we will be including the names of many websites that use the CamelBack format in the name of their organization. Presently, in those instances, I must use Another concern is that in general, I prefer that the site display regular words. They are easier to read and less puzzling to novices who suspect that the author made a typo. Patrick Michaud answer : After playing with this for a few years now, I don't see anything wrong with disabling WikiWords and restricting links to the I think there are good arguments for and against WikiWords depending on a site's purpose and audience. In your case I think you'd be better off disabling WikiWords. One other point that is often overlooked -- one can always configure PmWiki so that links are only formed if the target page exists... With this setting, "PmWiki" and "PmWiki.DocumentationIndex" will still become links to the corresponding pages, but "PhD" and "McDonald" will generally not become links (unless those pages are created by some other mechanism). Unfortunately the above also has the side-effect of getting rid of the edit page link for Note that you can also use the (`) character to suppress WikiWords -- DiscussionProblems
See alsoIn order to ease typing, you can also activate AtLinks? which allow to build links like Contributors |