From d80e48ae7830ccfb15809a93a12bc2a2ec01a399 Mon Sep 17 00:00:00 2001 From: "http://www.larted.org.uk/~dom/" Date: Thu, 8 Oct 2009 11:38:34 -0400 Subject: add cpanrt (cherry picked from commit 79f3e32ea7adf3e5adbef0a8c9c68cd32a67cac4) --- shortcuts.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 1347e853..1f37ca5c 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -59,6 +59,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=flickr url="http://www.flickr.com/photos/%s"]] * [[!shortcut name=man url="http://linux.die.net/man/%s"]] * [[!shortcut name=ohloh url="http://www.ohloh.net/projects/%s"]] +* [[!shortcut name=cpanrt url="https://rt.cpan.org/Ticket/Display.html?id=%s" desc="CPAN RT#%s"]] To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, "%s" is replaced with the -- cgit v1.2.3 From 4def48d68cc32cbc9c130111df380ea2ee9ede70 Mon Sep 17 00:00:00 2001 From: lnussel Date: Tue, 13 Oct 2009 05:09:37 -0400 Subject: add shortcut for novell bugzilla (cherry picked from commit 68433d82b88e93962561d6ddad8689984398def1) --- shortcuts.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 1f37ca5c..acac0eac 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -60,6 +60,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=man url="http://linux.die.net/man/%s"]] * [[!shortcut name=ohloh url="http://www.ohloh.net/projects/%s"]] * [[!shortcut name=cpanrt url="https://rt.cpan.org/Ticket/Display.html?id=%s" desc="CPAN RT#%s"]] +* [[!shortcut name=novellbug url="https://bugzilla.novell.com/show_bug.cgi?id=%s" desc="bug %s"]] To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, "%s" is replaced with the -- cgit v1.2.3 From 63c335fc1df0552a43a8712792ee6bf3951906ac Mon Sep 17 00:00:00 2001 From: PaulePanter Date: Thu, 2 Sep 2010 14:09:55 +0000 Subject: Use HTTPS version for [Wikimedia](https://secure.wikimedia.org/) and Google (noted by using DuckDuckGo.com which is directing there) (cherry picked from commit 704038db298c0f3a8039dcfe8d3a801c26fadf15) Conflicts: shortcuts.mdwn --- shortcuts.mdwn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index acac0eac..3f6e9547 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -11,13 +11,13 @@ Some examples of using shortcuts include: This page controls what shortcut links the wiki supports. -* [[!shortcut name=google url="http://www.google.com/search?q=%s"]] +* [[!shortcut name=google url="https://encrypted.google.com/search?q=%s"]] * [[!shortcut name=archive url="http://web.archive.org/*/%S"]] * [[!shortcut name=gmap url="http://maps.google.com/maps?q=%s"]] * [[!shortcut name=gmsg url="http://groups.google.com/groups?selm=%s"]] -* [[!shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%S"]] -* [[!shortcut name=wikitravel url="http://wikitravel.org/en/%s"]] -* [[!shortcut name=wiktionary url="http://en.wiktionary.org/wiki/%s"]] +* [[!shortcut name=wikipedia url="https://secure.wikimedia.org/wikipedia/en/wiki/%S"]] +* [[!shortcut name=wikitravel url="https://wikitravel.org/en/%s"]] +* [[!shortcut name=wiktionary url="https://secure.wikimedia.org/wiktionary/en/wiki/%s"]] * [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]] * [[!shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] * [[!shortcut name=debpkg url="http://packages.debian.org/%s"]] -- cgit v1.2.3 From 4dc98973e7eb3a323506ef71416ee7f167edc885 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~kralph" Date: Mon, 27 Jun 2011 08:09:17 +0000 Subject: add ubuntu packages search (cherry picked from commit c2278f83a93f039c1dfc364904452bb0afd735bb) --- shortcuts.mdwn | 1 + 1 file changed, 1 insertion(+) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 3f6e9547..a5d169b6 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -61,6 +61,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=ohloh url="http://www.ohloh.net/projects/%s"]] * [[!shortcut name=cpanrt url="https://rt.cpan.org/Ticket/Display.html?id=%s" desc="CPAN RT#%s"]] * [[!shortcut name=novellbug url="https://bugzilla.novell.com/show_bug.cgi?id=%s" desc="bug %s"]] +* [[!shortcut name=ubupkg url="http://packages.ubuntu.com/%s"]] To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, "%s" is replaced with the -- cgit v1.2.3 From 30c9cfd9a222a2690529b4eb1ff89105353d16d6 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~kralph" Date: Mon, 27 Jun 2011 08:22:23 +0000 Subject: add mozillazine KB, FreeBSD wiki, and Haskell hackage (cherry picked from commit 30a66bf5bcc26ca779ac60cfcd2b380524774001) --- shortcuts.mdwn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index a5d169b6..b870256d 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -62,6 +62,9 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=cpanrt url="https://rt.cpan.org/Ticket/Display.html?id=%s" desc="CPAN RT#%s"]] * [[!shortcut name=novellbug url="https://bugzilla.novell.com/show_bug.cgi?id=%s" desc="bug %s"]] * [[!shortcut name=ubupkg url="http://packages.ubuntu.com/%s"]] +* [[!shortcut name=mozillazinekb url="http://kb.mozillazine.org/%s"]] +* [[!shortcut name=freebsdwiki url="http://wiki.freebsd.org/%s"]] +* [[!shortcut name=hackage url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%s"]] To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, "%s" is replaced with the -- cgit v1.2.3 From dedc632bf49fae8358c4ab55a5dd21caead5a91b Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~kralph" Date: Mon, 27 Jun 2011 08:35:43 +0000 Subject: newer hackage url (cherry picked from commit 6350accb8bfa0c7867a9d90e51b05cdf0af29e6b) --- shortcuts.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index b870256d..94a7a901 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -64,7 +64,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=ubupkg url="http://packages.ubuntu.com/%s"]] * [[!shortcut name=mozillazinekb url="http://kb.mozillazine.org/%s"]] * [[!shortcut name=freebsdwiki url="http://wiki.freebsd.org/%s"]] -* [[!shortcut name=hackage url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%s"]] +* [[!shortcut name=hackage url="http://hackage.haskell.org/package/%s"]] To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, "%s" is replaced with the -- cgit v1.2.3 From 1599c52e4b56a20f42441d45728442117d29f310 Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Fri, 5 Aug 2011 06:02:31 -0400 Subject: point [[!debss]] shortcut to snapshot.debian.*org* now that it exists (cherry picked from commit a8788935853e6e1e92de9272d807d6b57d3376d5) Conflicts: shortcuts.mdwn --- shortcuts.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 94a7a901..15e29ef6 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -26,7 +26,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=debmsg url="http://lists.debian.org/msgid-search/%s"]] * [[!shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]] * [[!shortcut name=debss url="http://snapshot.debian.org/package/%s/"]] - * Usage: `\[[!debss package]]` or `\[[!debss package/version]]`. See http://snapshot.debian.org for details. + * Usage: `\[[!debss package]]` or `\[[!debss package/version]]`. See for details. * [[!shortcut name=debwiki url="http://wiki.debian.org/%s"]] * [[!shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] * [[!shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]] -- cgit v1.2.3 From 5c97b2f9e7e5812401de3dfd4b73bca3bc4b9ae1 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Tue, 11 Oct 2011 10:40:09 -0400 Subject: wikipedia now supports ssl properly and the URLs changed accordingly (cherry picked from commit 2c8ca894d6b773db2c7c278cfc4dd62ff54cdc43) Conflicts: shortcuts.mdwn --- shortcuts.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 15e29ef6..fc48ae46 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -15,9 +15,9 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=archive url="http://web.archive.org/*/%S"]] * [[!shortcut name=gmap url="http://maps.google.com/maps?q=%s"]] * [[!shortcut name=gmsg url="http://groups.google.com/groups?selm=%s"]] -* [[!shortcut name=wikipedia url="https://secure.wikimedia.org/wikipedia/en/wiki/%S"]] +* [[!shortcut name=wikipedia url="https://en.wikimedia.org/wiki/%S"]] * [[!shortcut name=wikitravel url="https://wikitravel.org/en/%s"]] -* [[!shortcut name=wiktionary url="https://secure.wikimedia.org/wiktionary/en/wiki/%s"]] +* [[!shortcut name=wiktionary url="https://en.wiktionary.org/wiki/%s"]] * [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]] * [[!shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] * [[!shortcut name=debpkg url="http://packages.debian.org/%s"]] -- cgit v1.2.3 From 6946c0a5026a64ab7218080d2f2880760445d928 Mon Sep 17 00:00:00 2001 From: JoshTriplett Date: Wed, 23 Nov 2011 20:46:54 -0400 Subject: Change all shortcuts to use https where possible. (cherry picked from commit ae7fbb50e53c68862485101be4efa25ea143b968) Conflicts: shortcuts.mdwn --- shortcuts.mdwn | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index fc48ae46..93b8b845 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -13,27 +13,27 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=google url="https://encrypted.google.com/search?q=%s"]] * [[!shortcut name=archive url="http://web.archive.org/*/%S"]] -* [[!shortcut name=gmap url="http://maps.google.com/maps?q=%s"]] -* [[!shortcut name=gmsg url="http://groups.google.com/groups?selm=%s"]] +* [[!shortcut name=gmap url="https://maps.google.com/maps?q=%s"]] +* [[!shortcut name=gmsg url="https://groups.google.com/groups?selm=%s"]] * [[!shortcut name=wikipedia url="https://en.wikimedia.org/wiki/%S"]] * [[!shortcut name=wikitravel url="https://wikitravel.org/en/%s"]] * [[!shortcut name=wiktionary url="https://en.wiktionary.org/wiki/%s"]] * [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]] -* [[!shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] +* [[!shortcut name=deblist url="https://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] * [[!shortcut name=debpkg url="http://packages.debian.org/%s"]] * [[!shortcut name=debpkgsid url="http://packages.debian.org/sid/%s"]] * [[!shortcut name=debpts url="http://packages.qa.debian.org/%s"]] -* [[!shortcut name=debmsg url="http://lists.debian.org/msgid-search/%s"]] +* [[!shortcut name=debmsg url="https://lists.debian.org/msgid-search/%s"]] * [[!shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]] * [[!shortcut name=debss url="http://snapshot.debian.org/package/%s/"]] * Usage: `\[[!debss package]]` or `\[[!debss package/version]]`. See for details. -* [[!shortcut name=debwiki url="http://wiki.debian.org/%s"]] +* [[!shortcut name=debwiki url="https://wiki.debian.org/%s"]] * [[!shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] * [[!shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]] -* [[!shortcut name=gnomebug url="http://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]] -* [[!shortcut name=linuxbug url="http://bugzilla.kernel.org/show_bug.cgi?id=%s" desc="Linux bug #%s"]] +* [[!shortcut name=gnomebug url="https://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]] +* [[!shortcut name=linuxbug url="https://bugzilla.kernel.org/show_bug.cgi?id=%s" desc="Linux bug #%s"]] * [[!shortcut name=mozbug url="https://bugzilla.mozilla.org/show_bug.cgi?id=%s" desc="Mozilla bug #%s"]] -* [[!shortcut name=gnulist url="http://lists.gnu.org/mailman/listinfo/%s" desc="%s@gnu.org"]] +* [[!shortcut name=gnulist url="https://lists.gnu.org/mailman/listinfo/%s" desc="%s@gnu.org"]] * [[!shortcut name=marcmsg url="http://marc.info/?i=%s"]] * [[!shortcut name=marclist url="http://marc.info/?l=%s"]] * [[!shortcut name=gmane url="http://dir.gmane.org/gmane.%s" desc="gmane.%s"]] @@ -43,7 +43,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=hoogle url="http://haskell.org/hoogle/?q=%s"]] * [[!shortcut name=iki url="http://ikiwiki.info/%S/"]] * [[!shortcut name=ljuser url="http://%s.livejournal.com/"]] -* [[!shortcut name=rfc url="http://www.ietf.org/rfc/rfc%s.txt" desc="RFC %s"]] +* [[!shortcut name=rfc url="https://www.ietf.org/rfc/rfc%s.txt" desc="RFC %s"]] * [[!shortcut name=c2 url="http://c2.com/cgi/wiki?%s"]] * [[!shortcut name=meatballwiki url="http://www.usemod.com/cgi-bin/mb.pl?%s"]] * [[!shortcut name=emacswiki url="http://www.emacswiki.org/cgi-bin/wiki/%s"]] @@ -53,12 +53,12 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=gpg url="http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s"]] * [[!shortcut name=perldoc url="http://perldoc.perl.org/search.html?q=%s"]] * [[!shortcut name=whois url="http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain"]] -* [[!shortcut name=cve url="http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]] +* [[!shortcut name=cve url="https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]] * [[!shortcut name=cia url="http://cia.vc/stats/project/%s"]] * [[!shortcut name=ciauser url="http://cia.vc/stats/user/%s"]] -* [[!shortcut name=flickr url="http://www.flickr.com/photos/%s"]] +* [[!shortcut name=flickr url="https://secure.flickr.com/photos/%s"]] * [[!shortcut name=man url="http://linux.die.net/man/%s"]] -* [[!shortcut name=ohloh url="http://www.ohloh.net/projects/%s"]] +* [[!shortcut name=ohloh url="https://www.ohloh.net/p/%s"]] * [[!shortcut name=cpanrt url="https://rt.cpan.org/Ticket/Display.html?id=%s" desc="CPAN RT#%s"]] * [[!shortcut name=novellbug url="https://bugzilla.novell.com/show_bug.cgi?id=%s" desc="bug %s"]] * [[!shortcut name=ubupkg url="http://packages.ubuntu.com/%s"]] -- cgit v1.2.3 From c3e9e7e06d2ee8968d7145b4121fe19e62022a3a Mon Sep 17 00:00:00 2001 From: "http://smcv.pseudorandom.co.uk/" Date: Wed, 25 Jan 2012 04:55:25 -0400 Subject: Fix wikipedia URL: wikipedia.org, not wikimedia.org (cherry picked from commit a8ded6bf1d8ac389100ac3f3c55a075065290cb1) Conflicts: shortcuts.mdwn --- shortcuts.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 93b8b845..b8e157d0 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -15,7 +15,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=archive url="http://web.archive.org/*/%S"]] * [[!shortcut name=gmap url="https://maps.google.com/maps?q=%s"]] * [[!shortcut name=gmsg url="https://groups.google.com/groups?selm=%s"]] -* [[!shortcut name=wikipedia url="https://en.wikimedia.org/wiki/%S"]] +* [[!shortcut name=wikipedia url="https://en.wikipedia.org/wiki/%S"]] * [[!shortcut name=wikitravel url="https://wikitravel.org/en/%s"]] * [[!shortcut name=wiktionary url="https://en.wiktionary.org/wiki/%s"]] * [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]] -- cgit v1.2.3 From 4479d6d533caf33477ed267bd535730a5f4528eb Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 3 Mar 2012 11:27:59 -0400 Subject: shortcut: Support Wikipedia's form of url-encoding for unicode characters I think it's the wrong encoding, seems like mojibake to me, but it works now. Closes: #661198 (cherry picked from commit 78737cbfbf91c7b31ed5d216a23de8d360a76392) Conflicts: shortcuts.mdwn --- shortcuts.mdwn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index b8e157d0..cf7ebc17 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -15,7 +15,7 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=archive url="http://web.archive.org/*/%S"]] * [[!shortcut name=gmap url="https://maps.google.com/maps?q=%s"]] * [[!shortcut name=gmsg url="https://groups.google.com/groups?selm=%s"]] -* [[!shortcut name=wikipedia url="https://en.wikipedia.org/wiki/%S"]] +* [[!shortcut name=wikipedia url="https://en.wikipedia.org/wiki/%W"]] * [[!shortcut name=wikitravel url="https://wikitravel.org/en/%s"]] * [[!shortcut name=wiktionary url="https://en.wiktionary.org/wiki/%s"]] * [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]] @@ -69,8 +69,10 @@ This page controls what shortcut links the wiki supports. To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, "%s" is replaced with the text passed to the named shortcut, after [[!wikipedia url_encoding]] -it, and '%S' is replaced with the raw, non-encoded text. The optional -`desc` parameter controls the description of the link. +it, and '%S' is replaced with the raw, non-encoded text. +Additionally, `%W` is replaced with the text encoded just right for +Wikipedia. The optional `desc` parameter controls the description of +the link. Remember that the `name` you give the shortcut will become a new [[ikiwiki/directive]]. Avoid using a `name` that conflicts -- cgit v1.2.3 From e2c3cc45a4bd1cfd7950b75b4e5ec1bb089e66dc Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 27 Sep 2012 20:25:07 -0400 Subject: remove obsolte cia shortcuts (cherry picked from commit 268c4e9c857e222a22b836a3a895500012ccb296) Conflicts: git.mdwn --- shortcuts.mdwn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/shortcuts.mdwn b/shortcuts.mdwn index cf7ebc17..978cca6c 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -7,7 +7,7 @@ Some examples of using shortcuts include: \[[!google foo]] \[[!wikipedia War_of_1812]] \[[!debbug 12345]] - Check the \[[!cia ikiwiki desc="CIA page for %s"]]. + Check the \[[!google ikiwiki desc="google search for %s"]]. This page controls what shortcut links the wiki supports. @@ -54,8 +54,6 @@ This page controls what shortcut links the wiki supports. * [[!shortcut name=perldoc url="http://perldoc.perl.org/search.html?q=%s"]] * [[!shortcut name=whois url="http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain"]] * [[!shortcut name=cve url="https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]] -* [[!shortcut name=cia url="http://cia.vc/stats/project/%s"]] -* [[!shortcut name=ciauser url="http://cia.vc/stats/user/%s"]] * [[!shortcut name=flickr url="https://secure.flickr.com/photos/%s"]] * [[!shortcut name=man url="http://linux.die.net/man/%s"]] * [[!shortcut name=ohloh url="https://www.ohloh.net/p/%s"]] -- cgit v1.2.3 From 530184405147dbebfaa99f1c4de14d8a93ef376c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 Jun 2011 15:21:59 -0400 Subject: WIP (cherry picked from commit b66261d08bb978a1c5b1fe02ef25b49b4cd9d9e6) --- .templates/editpage.tmpl | 85 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 78 insertions(+), 7 deletions(-) diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl index 1ecbd0a9..b151fd05 100644 --- a/.templates/editpage.tmpl +++ b/.templates/editpage.tmpl @@ -1,3 +1,5 @@ + +
@@ -43,21 +45,90 @@ if there are questions.

Attachments -
- + - - - + +
+
+
+ + + -
+ + + + + + + + + + + +
+
+ + +
" />
+ +
-
-- cgit v1.2.3 From 52ffbc165735ebbf8c1f61faa5b84dae8eb4246b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 Jun 2011 18:37:12 -0400 Subject: WIP (cherry picked from commit f77452b7caa7346625882d20f396b7154cda6a54) --- .templates/editpage.tmpl | 73 +++++++++++++----------------------------------- 1 file changed, 20 insertions(+), 53 deletions(-) diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl index b151fd05..d2f68074 100644 --- a/.templates/editpage.tmpl +++ b/.templates/editpage.tmpl @@ -45,38 +45,25 @@ if there are questions.

Attachments -
-
- - - - - - -
+ + + + + + + - - - - - - -
@@ -124,6 +86,11 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
+ + + + +
-- cgit v1.2.3 From c033aed1c05231bad75841824803af38c6bbb3a6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 15 Jun 2011 19:08:40 -0400 Subject: load attachment javascript into template the clean way (cherry picked from commit e2b43578a677894d23fa526d9201e5a89b231abc) --- .templates/editpage.tmpl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl index d2f68074..ed12b98f 100644 --- a/.templates/editpage.tmpl +++ b/.templates/editpage.tmpl @@ -1,5 +1,3 @@ - -
@@ -47,12 +45,6 @@ if there are questions.

Attachments
- - - - - - -- cgit v1.2.3 From 43a3e7e5a316c063ee2ec671a9df312b7798b377 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Jul 2011 21:38:48 -0400 Subject: Display attachment manipulation links always, since attachments can be uploaded via javascript. Could arrange for them to be in a span that is hidden when there are no attachments and make the javascript upload unhide it; this is a quick fix. (cherry picked from commit 20577d8ecb18f7954a97800cb9b9dca981d2b53e) --- .templates/editpage.tmpl | 2 -- 1 file changed, 2 deletions(-) diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl index ed12b98f..0dd86c10 100644 --- a/.templates/editpage.tmpl +++ b/.templates/editpage.tmpl @@ -80,9 +80,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
- -
-- cgit v1.2.3 From aba24efd8c926d7032af4477b4a88da628ba5454 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 12 Jul 2011 15:16:44 -0400 Subject: auto-check just uploaded attachments This may make it easier to eg, Insert Links after dropping in a lot of files. (cherry picked from commit 1aad46e15e4329eff066fc8a68719e0c27f07891) --- .templates/editpage.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl index 0dd86c10..cafb653b 100644 --- a/.templates/editpage.tmpl +++ b/.templates/editpage.tmpl @@ -62,7 +62,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget