Commit Graph

1270 Commits

Author SHA1 Message Date
Alex Schroeder
eee68cd057 (CreoleRule): Added link around image for the
[[url|{{url}}]] rule.
2008-10-04 11:07:54 +00:00
Alex Schroeder
d0a8ab50ab * 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
Alex Schroeder
244c8ca300 (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
Alex Schroeder
286cf97e7c * 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
Alex Schroeder
18a22d5266 (FootnotesInit): Prevented redefinition of $FootnotePattern, if already defined. 2008-10-01 06:21:46 +00:00
Alex Schroeder
5dfbc16f8c (FootnotesRule): Removed a shameful, shameful hack. 2008-10-01 06:20:48 +00:00
Alex Schroeder
194c9c7e2a * modules/creoleaddition.pl (CreoleAdditionRules): Corrected most of the previously failing test cases. 2008-09-30 07:56:18 +00:00
Alex Schroeder
30b7a8e84b * 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
Alex Schroeder
f167a88e2b * modules/poetry.pl: New. 2008-09-30 04:42:38 +00:00
Alex Schroeder
4a8b8cf69f (NewReCaptchaDoPost): Prevent display of the reCAPTCHA if an administrator. 2008-09-29 11:53:33 +00:00
Alex Schroeder
b6148f2f80 * 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
Alex Schroeder
217b9e22f7 * 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
Alex Schroeder
4582f4952f 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
Alex Schroeder
2ea933577d (HibernalInit): Removed the smarttitles.pl-specific hack; rewrote perldoc, elsewhere. 2008-09-28 02:51:50 +00:00
Alex Schroeder
47079d9537 Whitespace. 2008-09-26 23:02:28 +00:00
Alex Schroeder
0d0539976e Added semicolons back in. 2008-09-26 23:00:27 +00:00
Alex Schroeder
f6a0b32d7e New file by Andreas Hofmann 2008-09-26 22:59:31 +00:00
Alex Schroeder
bef05c34c3 (FlashboxRule): Corrected the slideshare.net URL. 2008-09-22 12:58:20 +00:00
Alex Schroeder
3b7e14031d Improved perldoc-style documentation. 2008-09-22 10:59:15 +00:00
Alex Schroeder
8ae87645ab 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
fc478a5b7c (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
31ca3899b6 Copyright year, GPL v3, updated comments to document the code. 2008-09-21 23:23:01 +00:00
Alex Schroeder
cd77c7d001 (JournalRssGetRcLines): Reimplemented the item limit using a different method. 2008-09-21 22:54:28 +00:00
Alex Schroeder
0d74c40eca (JournalRssGetRcLines): Reverse RSS sorting order. 2008-09-21 22:15:14 +00:00
Alex Schroeder
7366bc21de (JournalRssGetRcLines): New.
(DoJournalRss): Use JournalRssGetRcLines since GetRcRss was
changed.
2008-09-21 22:07:01 +00:00
Alex Schroeder
be2e68d25e New 2008-09-21 09:10:18 +00:00
Alex Schroeder
e74d11d696 (SearchFreeNewPages): Changed result
handling of call to GetRcLines.
2008-09-19 23:55:52 +00:00
Alex Schroeder
cc37d33cfb (NewNamespaceDoRc): No longer needed.
(NewNamespaceGetRcLines): New.
(NamespaceRcLines): No longer needed.
2008-09-19 23:55:19 +00:00
Alex Schroeder
3e84cdb451 modules/hibernal.pl: New. 2008-09-19 05:15:47 +00:00
Alex Schroeder
79a05812b9 (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
Alex Schroeder
3d8647c9bb (): A new configuration option, added so as to aid module, cookie, and query debugging. 2008-09-07 02:01:16 +00:00
Alex Schroeder
9a00b58c92 (QuestionAddTo): Use $ReCaptchaSecretKey
instead of 'question'.
(NewReCaptchaDoPost, NewReCaptchaDoPost, ReCaptchaQuestionAddTo):
Renamed QuestionAddTo to ReCaptchaQuestionAddTo.
2008-09-06 13:07:12 +00:00
Alex Schroeder
b5a4c75032 New. 2008-09-06 11:55:19 +00:00
Alex Schroeder
c9d810eda1 Corrected several (minor) syntactical and grammatical issues in the perldoc documentation. 2008-09-06 11:37:33 +00:00
Alex Schroeder
94addfedea Corrected several (minor) syntactical and grammatical issues in the perldoc documentation. 2008-09-06 10:25:09 +00:00
Alex Schroeder
5ec23ead61 New. 2008-09-06 04:09:04 +00:00
Alex Schroeder
6e2be155e1 New. 2008-09-06 04:03:46 +00:00
Alex Schroeder
312ed264a4 (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
2bdb32173f (NewWysiwygGetTextArea): Don't change the comment form ('aftertext'). 2008-07-18 13:28:54 +00:00
Alex Schroeder
0593ccd7e5 (WysiwygScript): Move into dojoroot. 2008-07-18 12:50:25 +00:00
Alex Schroeder
5d5dffd93b (WysiwygScript): Move into dojoroot. 2008-07-18 12:49:25 +00:00
Alex Schroeder
ac08b437f8 (@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
a62372e634 (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
Alex Schroeder
d26c55ce53 fix bugs. 2008-06-26 09:11:30 +00:00
Alex Schroeder
ad6bb5609f rollback to 1.12. 1.13 is broken. 2008-06-26 08:54:59 +00:00
Alex Schroeder
3744bedacc Change the markup. 2008-06-26 08:40:40 +00:00
Alex Schroeder
4c65fdffaf *** empty log message *** 2008-06-26 08:00:36 +00:00
Alex Schroeder
90fcfea4ec Updated to GPLv3. 2008-06-26 07:57:51 +00:00
Alex Schroeder
f216c310de Updated to GPLv3 and added a separate copyright line for Weakish Jiang. 2008-06-26 07:56:47 +00:00
Alex Schroeder
db5ed584cd (bbCodeRule): Implemented [center]. 2008-06-26 07:46:53 +00:00