summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-28Mark as doneSimon McVittie
2009-08-28Avoid duplicating debug message for building a page due to a dependencySimon McVittie
As per Joey's review
2009-08-28Force %depends_exact to lower case, fixing incorrect case-sensitivitySimon McVittie
2009-08-28Auto-detect "simple dependencies" instead of requiring callers to use ↵Simon McVittie
add_depends_exact()
2009-08-28Fix typo in dependency debug messageSimon McVittie
2009-08-28Add depends_exact: simplified dependency tracking for dependencies on a ↵Simon McVittie
single page Let E be the number of dependencies per page of the form "A depends on B and nothing else", let D be the number of other dependencies per page, let P be the total number of pages, and let C be the number of changed pages in a refresh. This patch should speed up a refresh from O(E*C*P + D*C*P) to O(C + E*P + D*C*P), assuming that hash lookups are O(1). In practice, plugins like inline and map produce a lot of these very simple dependencies, and my album plugin's combination of inline with a large number of pages causes it to suffer particularly badly. In testing on a wiki with about 7000 objects (3500 full pages, 3500 images), a full rebuild continued to take about 5:30, and a refresh after touching about 350 pages and 350 images reduced from 5:30 to 1:30. As with my previous optimizations, this change will result in downgrades not working correctly until the wiki is rebuilt.
2009-08-28inline: if using pagenames, don't add a dependency on "page1 or page2 or..."Simon McVittie
This is unnecessary and just slows us down (by a factor of 2, in the pessimal case where every page has an inline with pagenames); it's also not possible to optimize it into add_depends_exact calls.
2009-08-28Fix typo in underlay.setupSimon McVittie
2009-08-28follow-upintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28doc/po: bug report + patch proposal wrt. inline's post form's rootpageintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28Merge commit 'intrigeri/po'Joey Hess
2009-08-28both changes pickedJoey Hess
2009-08-28po: favor the type of linking page's masterpage on page creationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28po: fix interdiction to create pages of type pointrigeri
... which was broken by the new page_types code. Signed-off-by: intrigeri <intrigeri@boum.org> (cherry picked from commit 1914ae2fd24e1e8021404eae847d70c710f8542d)
2009-08-28doc/po: reported bug + patches wrt. created page typeintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28po: favor the type of linking page's masterpage on page creationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28po: fix interdiction to create pages of type pointrigeri
... which was broken by the new page_types code. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28Czech basewiki enabledJoey Hess
2009-08-28Initial Czech translation of basewiki/Miroslav Kure
2009-08-28merge updates to danish translation from l10nJoey Hess
2009-08-27print which remotes are failingJoey Hess
2009-08-27responseJoey Hess
2009-08-27mention ignore branchJoey Hess
2009-08-27Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2009-08-27avoid fetching tags from random remotesJoey Hess
git makes it too easy to get crap tags into origin
2009-08-28Explain my depends-exact branchSimon McVittie
2009-08-27htmltidy: Return an error message if tidy fails. Closes: #543722Joey Hess
On second^Wthird^Wfourth thought, putting the message into the page seems better than using stderr.
2009-08-27fix mergedJoey Hess
2009-08-27Merge commit 'intrigeri/po'Joey Hess
2009-08-27fix cherry-pickedJoey Hess
2009-08-27po: override the title template variable for coherent homepage titlingintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org> (cherry picked from commit 6c0f9c691c3df3a2ec30dec626c997623568a400)
2009-08-27change cherry-picked; move to discussionJoey Hess
2009-08-27po(scan): removed scary comment about only wanting to change the first linkintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org> (cherry picked from commit 3c2bffe21b91684971155ab41b15dacc515b2fc5)
2009-08-27doc/po(self-links): follow-upsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27po: do not inject custom bestlink function when po_link_to eq defaultintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27doc/po: follow-upintrigeri
2009-08-27po: override the title template variable for coherent homepage titlingintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27doc/po: follow-upintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27po(scan): removed scary comment about only wanting to change the first linkintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27Merge commit 'upstream/master' into prv/pointrigeri
2009-08-27followupsJoey Hess
2009-08-27cherry-picked fix for recentchanges linksJoey Hess
2009-08-27po: do not beautify urls on the recentchanges pageintrigeri
... else, the recentchanges page shows a link such as "sandbox.es". But, clicking on it goes to the English (or negotiated language) version of the page. It is better in this one case if the link goes direct to the translated version of the page. (cherry picked from commit 496e8523c6706d096f1b794e3f3ba5dd2fa260f3)
2009-08-27unsure if this patch is enoughJoey Hess
2009-08-27forwardedJoey Hess
2009-08-26initial patch proposalintrigeri
2009-08-26Forgot to mention I have multimarkdown enabledhttps://infosoph.myopenid.com/
2009-08-26htmltidy: Print a warning message if tidy fails. Closes: #543722Joey Hess
2009-08-26close; multimarkdown not enabled by defaultJoey Hess
2009-08-26translation of directivesJoey Hess