merge with NewTagSave and NewTagDeletePage respectively.
(TagFind, NewTagGrepFiltered, NewTagSearchString): New functions
to use the tag file while searching.
(TagsInit, TagsGetLink): New
(TagsRule): Will now print RSS icon and link to a feed as well, if
an icon URL has been provided.
(NewTagSave, TagIndex): Hook into Save() and index the pages.
(NewTagDeletePage, TagDeletePage): Hook into DeletePage() and
remove tags and infos when pages are deleted.
to match $FreeLinkPattern instead of [^]:]+ as it interfered with
code examples containing regular expressions. As this is a macro,
it will remain tricky, unfortunately.
I'm wondering the usage of [^:] in the pattern matching. Unlike mediawiki,
we don't allow dt and dd in the same line, thus maybe [^:] is not necessary.
whitespace. Prior to this, this module correctly handled pre-line
whitespace (i.e., indentation) and post-line whitespace (i.e., line
breaks), but not excess whitespace within an actual line.
code into the ApplyRules() routine. This corrects a number of
subtle issues with the Crossbar module: especially, the Crossbar
module's erroneous handling of uploaded files. (Thanks, Ingo
Belka!)
* modules/crossbar.pl (CrossbarBeforeApplyRule): Corrected this
module's erroneous handling of uploaded files.
(RunMyRulesTocCrossbar): New function, offloading a Crossbar-
specific hack from "toc.pl" into this file. (This is still...
slightly hacky, but a bit better.)
* modules/toc.pl (TocRule): Allowed more than one table of contents
per page. Before, this module only recognized the first "<toc...>"
markup for a Wiki page: all subsequent "<toc...>" markup for that
page was studiously ignored. Correcting this improves integration
with the Crossbar module.
(RunMyRulesToc): Removed a Crossbar-specific hack.
(TocAfterApplyRule): Allowed more than one table of contents.
($TocIsApplyingAutomaticRules): New option, providing slightly
finer-grained control over Table of Contents handling.
the case of namespaces containing non-ASCII characters. This
should be legal, but lead to problems when generating links to
pages in such namespaces. The URL encoding of the non-ASCII
characters prevented the $InterSitePattern from matching. Instead
of using this regular expression, we now try and guess at the
string using URL constraints ([^/?&;=]+), URL decoding it, and
then checking the $InterSitePattern.
Wiki-provided correction, courtesy Bayle Shanks. Apparently, the
previous regular expression in this function failed to match the
Comment form's HTML. This patch corrects that! The reCAPTCHA widget
is now properly displayed by both the Comment and Edit forms.
Thanks, Bayle. (http://bayleshanks.com)
replacement for the Sidebar module, for all Sidebar users
requiring a cleaner integration of that module with other modules
such as "toc.pl" and "footnotes.pl". This new module also improves
Sidebar customizability by permitting users to place the "Crossbar"
at any position in any page.
* modules/forms.pl (FormsRules): Generalized so as to support both
the Sidebar and Crossbar modules.
* modules/toc.pl (RunMyRulesToc): Generalized so as to support both
the Sidebar and Crossbar modules.
* t/crossbar.t: New test suite, testing the Crossbar module.