Age | Commit message (Collapse) | Author |
|
|
|
Implemented for regular wikilinks, with a test suite.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
to avoid confusion.
|
|
|
|
Implemented for git and svn so far.
Note that rcs_commit_staged does assume that the rcs has the ability to
"stage" multiple changes for a later commit. Support for this varies, but
all we really care about is staging removals and renames, which, AFAIK, all
modern rcs's support.
|
|
|
|
|
|
|
|
Break out into function so it can be done up-front before confirmation too.
|
|
|
|
|
|
As noted, this may be overkill..
|
|
Other plugins will need to use this.
|
|
|
|
|
|
|
|
Conflicts:
debian/changelog
|
|
That syntax made little sense previously, and this allows sites to put
"most" of their tags under $tagbase.
|
|
|
|
|
|
I think this used to be a fatal error, not just inline error, so I don't
know why it was never noticed, but if a page that an img directive mentions
gets deleted, bestlink() returns a file that no longer exists, and
srcfile() throws an error.
Note that bestlink's behavior of returning a deleted file could be
considered buggy. But, if it's changed to not do that, the page with the img
on it is not updated at all when the file is removed.
|
|
|
|
|
|
|
|
Including a check the the file is in the srcdir, as opposed to some other
directory.
|
|
|
|
also, there's no titlepage conversion issues
|
|
|
|
|
|
Still need to consider all the edge cases..
|
|
|
|
This is overkill for delete, since it's only used on Cancel. But it will be
crucial for rename, so as to restore any pending edits after renaming a
page.
|
|
|
|
Add '.example' so it's not installed with the other plugins.
|
|
The Z term prefix is for stemming and shouldn't be used here.
X is for custom fields.
|
|
* Add a postscan hook.
* search: Use postscan hook, avoid updating index when previewing.
|
|
What was really going on is that expanding a smiley modified the string and
reset the match process. Force set pos so it continues on from the expanded
smiley.
|
|
Smileys need to be double-escaped to work, since the smiley plugin runs as
a sanitize hook, and markdown helpfully removes one level of escapes first.
There were some bugs in the smiley handling code that made escaped smileys
still be expanded. After unescaping a smiley, it needed to move pos forward
past it or the next pass would expand it.
Also, once the m//g got to the end, it seemed to loop back through and make
one more pass (a difference in perl 5.10's regexp exngine? I observed that
pos was undefined when this happened, so added a `last unless defined pos`.
|
|
|
|
|
|
* Renamed to parentlinks every single variable or function called
pedigree
* Removed the parentlinks function from Render.pm
* Enabled the new parentlinks plugin by default
* Adapted testsuite and documentation to reflate the above facts
Signed-off-by: intrigeri <intrigeri@boum.org>
|
|
Signed-off-by: intrigeri <intrigeri@boum.org>
|
|
(and updated testsuite + docs accordingly)
Signed-off-by: intrigeri <intrigeri@boum.org>
|