Commit Graph

2124 Commits

Author SHA1 Message Date
Brian Curry
514878af35 * modules/creole.pl (CreoleRule): Allow one newline character following an explicit pipe character to end a table. 2008-10-06 22:21:17 +00:00
Brian Curry
f583456681 * wiki.pl (ApplyRules): Ensure the regular expression match
position returns the length of the matched string on finishing
application of all rules. ("creole.pl" and "creoleaddition.pl" now
depend on this; it notifies them that rules are now finished.)
* modules/creoleaddition.pl (CreoleAdditionRule): Injected a sanity
check, to ensure closure of blockquotes at the end of a page.
* modules/creole.pl ($CreoleTableCellsAllowBlockLevelElements): New
option.
* modules/creole.pl (CreoleRule): The last, one hopes, of all Creole
table markup modifications (for the moment). The rather complex
table markup code has been modified so as to use the new option, has
been refactored for robustness and strict conformance to the Wiki
Creole standard, and has been well-documented.
* modules/creole.pl (CreoleGetTableHtmlAttributes): Deleted function.
2008-10-06 06:11:20 +00:00
Alex Schroeder
a32b1eaaa5 Copyright year, GPLv3 2008-10-04 22:31:11 +00:00
Alex Schroeder
1587adcc79 (DoAtom): Call print GetRcAtom instead of DoRc
GetRcAtom.
(GetRcAtom): Call ProcessRcLines instead of GetRc.
(DoAtomSave): No longer call DeletePermanentAnchors.
2008-10-04 22:30:20 +00:00
Alex Schroeder
c8025e67af (CreoleRule): Added link around image for the
[[url|{{url}}]] rule.
2008-10-04 11:07:54 +00:00
Brian Curry
0fd92d4419 * modules/creole.pl (CreoleRuleRecursive): New function. Permits embedding
of Wiki Creole syntax within Wiki Creole syntax. (Yes... This is confusing?)
* modules/creole.pl (CreoleRule): Used the new function. Specifically, you
can now embed Creole and CreoleAddition syntax (such as bold, italics, small
caps, and so on) within URL and Wiki link text, ala
  "[[Some_Page|Wow! **Quite** an //%%interesting page%%// page, here]]."
* modules/creoleaddition.pl (CreoleAdditionRule): Renamed function from
"CreoleAdditionRules" to this.
2008-10-04 03:30:50 +00:00
Brian Curry
ea6ff73796 (CreoleAdditionRules): Corrected the definition list term's regular expression, which I'd quite munted with an earlier commit. 2008-10-02 00:12:04 +00:00
Brian Curry
674cb60c3d * modules/creole.pl: "There be dragons, here." This module now
supports a significantly stabler, more robust syntax--including:
multiline table cells, block level elements in table cells, CSS
stylization for images and image links, simpler, more efficient
regular expressions, new perldoc-style documentation, and a subtle
slew of other bug fixes. "Huzzah!"
* modules/creoleaddition.pl (AddOrCloseCreoleAdditionEnvironment): New
function.
(CreoleAdditionRules): Usage of the new function.
* t/creole.pl: Corrected all non-XPath-dependent tests.
* t/creoleaddition.pl: Corrected all non-XPath-dependent tests.
2008-10-01 07:54:44 +00:00
Brian Curry
2fea88a16d (FootnotesInit): Prevented redefinition of $FootnotePattern, if already defined. 2008-10-01 06:21:46 +00:00
Brian Curry
303d1e1fbc (FootnotesRule): Removed a shameful, shameful hack. 2008-10-01 06:20:48 +00:00
Brian Curry
097244fedc * modules/creoleaddition.pl (CreoleAdditionRules): Corrected most of the previously failing test cases. 2008-09-30 07:56:18 +00:00
Brian Curry
a80c361a82 * modules/creoleaddition.pl: New perldoc-style documentation.
($CreoleAdditionSmallCaps): New option.
(CreoleAdditionInit): New function.
(CreoleAdditionRules): Improved handling of existing markup rules,
so as to allow markup nesting; and implemented handling of the new
%%small caps%% markup rule.
2008-09-30 06:32:32 +00:00
Brian Curry
1ddfa96658 * modules/poetry.pl: New. 2008-09-30 04:42:38 +00:00
Brian Curry
e3a1130301 (NewReCaptchaDoPost): Prevent display of the reCAPTCHA if an administrator. 2008-09-29 11:53:33 +00:00
Brian Curry
38a7d51350 * modules/recaptcha.pl: New perldoc-style documentation.
($ReCaptchaTheme): New option.
($ReCaptchaTabIndex): New option.
(ReCaptchaGetQuestionHtml): New function. Permits site-specific
customization of module-emitted HTML and CSS.
(ReCaptchaGetQuestion): Rewritten so as to leverage the two new options and
one new function.
2008-09-29 07:33:32 +00:00
Brian Curry
e15360431a * modules/toc.pl: New perldoc-style documentation.
($TocHeaderText): New option.
(TocPageHtml): Introduced a Footnotes extension-specific hack, so
as to circumvent footnote indexing errors after generating the
table of contents.
2008-09-29 03:14:39 +00:00
Brian Curry
da7862ff25 modules/footnotes.pl: Refactored. Yet another flashy rewrite; it improves integration with toc.pl, and provides improved HTML configurability, CSS styleability, and perldoc-style documentation. 2008-09-28 07:00:34 +00:00
Brian Curry
c73669ec25 (HibernalInit): Removed the smarttitles.pl-specific hack; rewrote perldoc, elsewhere. 2008-09-28 02:51:50 +00:00
Alex Schroeder
c865451a80 Whitespace. 2008-09-26 23:02:28 +00:00
Alex Schroeder
0b0bffb4cb Added semicolons back in. 2008-09-26 23:00:27 +00:00
Alex Schroeder
da5e3364c3 New file by Andreas Hofmann 2008-09-26 22:59:31 +00:00
Brian Curry
b6481c1f15 (FlashboxRule): Corrected the slideshare.net URL. 2008-09-22 12:58:20 +00:00
Brian Curry
4ef34f4e84 Improved perldoc-style documentation. 2008-09-22 10:59:15 +00:00
Brian Curry
16e89bc816 modules/smarttitles.pl: Refactored. This is a flashy rewrite; it improves integration with creole.pl, poetry.pl, et al., HTML configurability, CSS styleability, and perldoc-style documentation. 2008-09-22 10:08:23 +00:00
Alex Schroeder
c7d95bb83b (NewNamespaceGetAuthorLink): New hook into
GetAuthorLink to make sure the author link is never considered
invalid using NewNamespaceValidId.
(NamespaceValidId): Deleted.
(NewNamespaceValidId): Fully featured replacement only used by
GetAuthorLink. $NamespaceSlashing remains unused.
2008-09-22 01:31:38 +00:00
Alex Schroeder
67ef82ed5b Copyright year, GPL v3, updated comments to document the code. 2008-09-21 23:23:01 +00:00
Alex Schroeder
c3cad241a6 (JournalRssGetRcLines): Reimplemented the item limit using a different method. 2008-09-21 22:54:28 +00:00
Alex Schroeder
d715051a90 (JournalRssGetRcLines): Reverse RSS sorting order. 2008-09-21 22:15:14 +00:00
Alex Schroeder
64a29b263d (JournalRssGetRcLines): New.
(DoJournalRss): Use JournalRssGetRcLines since GetRcRss was
changed.
2008-09-21 22:07:01 +00:00
Alex Schroeder
1dbaf37cd5 New 2008-09-21 09:10:18 +00:00
Alex Schroeder
b7492a0271 (SearchFreeNewPages): Changed result
handling of call to GetRcLines.
2008-09-19 23:55:52 +00:00
Alex Schroeder
5e8c218e2d (NewNamespaceDoRc): No longer needed.
(NewNamespaceGetRcLines): New.
(NamespaceRcLines): No longer needed.
2008-09-19 23:55:19 +00:00
Brian Curry
3236251fcf modules/hibernal.pl: New. 2008-09-19 05:15:47 +00:00
Alex Schroeder
99015c87ff (NewReCaptchaDoPost): Prevent a preview
from setting the cookie analogous to the questionasker.pl edit
dated 2008-06-11.
2008-09-10 09:51:33 +00:00
Brian Curry
b45680c786 (): A new configuration option, added so as to aid module, cookie, and query debugging. 2008-09-07 02:01:16 +00:00
Alex Schroeder
7424863587 (QuestionAddTo): Use $ReCaptchaSecretKey
instead of 'question'.
(NewReCaptchaDoPost, NewReCaptchaDoPost, ReCaptchaQuestionAddTo):
Renamed QuestionAddTo to ReCaptchaQuestionAddTo.
2008-09-06 13:07:12 +00:00
Brian Curry
4d308885fd New. 2008-09-06 11:55:19 +00:00
Brian Curry
0325109418 Corrected several (minor) syntactical and grammatical issues in the perldoc documentation. 2008-09-06 11:37:33 +00:00
Brian Curry
9d245e72de Corrected several (minor) syntactical and grammatical issues in the perldoc documentation. 2008-09-06 10:25:09 +00:00
Brian Curry
f4d4b13c56 New. 2008-09-06 04:09:04 +00:00
Brian Curry
ee50f1b73e New. 2008-09-06 04:03:46 +00:00
Alex Schroeder
698a16e9a0 (ImageSupportRule): Provide a default alt text
if linking to a local image.
(ImageGetExternalUrl, ImageGetInternalUrl): Make sure link uses _
instead of spaces if linking to a local image.
2008-07-30 07:18:17 +00:00
Alex Schroeder
e812432ff0 (NewWysiwygGetTextArea): Don't change the comment form ('aftertext'). 2008-07-18 13:28:54 +00:00
Alex Schroeder
9e2109a44b (WysiwygScript): Move into dojoroot. 2008-07-18 12:50:25 +00:00
Alex Schroeder
89cefd4bfe (WysiwygScript): Move into dojoroot. 2008-07-18 12:49:25 +00:00
Alex Schroeder
0b70d67ecf (@DojoGroups): Deleted.
(@DojoPlugins, $DojoTheme): New.
(WysiwygScript): A whole lot of new javascript.
(NewWysiwygGetTextArea): Add a hidden input field, add id to
textarea.
2008-07-18 10:36:00 +00:00
Alex Schroeder
96af4f07fd (CreoleListRule): New. Added with a very late
priority.
(CreoleNewLineRule): Add two more newline oriented rule items and
moved priority even further back.
(CreoleRule): Removed list items and newline rules.
2008-07-12 15:27:54 +00:00
Weakish Jiang
06866b08ea fix bugs. 2008-06-26 09:11:30 +00:00
Weakish Jiang
c7a4ba3139 rollback to 1.12. 1.13 is broken. 2008-06-26 08:54:59 +00:00
Weakish Jiang
e6f549bc15 Change the markup. 2008-06-26 08:40:40 +00:00