Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Next/previous articles

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


stigmj at gmail

Aug 6, 2008, 5:17 AM

Post #1 of 10 (506 views)
Permalink
Next/previous articles

I'm posting this question here as it's kind of specific to wikipedia/media
as well as it's a possible mediawiki-feature-request.

Would it be possible to add some kind of feature or extension which enables
users to either;
- get a list of the next/previous articles alphabetically (a short index) in
a separate box/window, or
- get a summary of the next articles at the bottom of current article (to
simulate a book)

There has been some suggestions to add a transcluded
Special:Prefixindex/{{PAGENAME}} to the stub-templates, but I have warned
them off with a possible hit in uncacheable pages.. Adding some
AJAX-functionality would also need some kind of uncacheable special-page
output.

I guess there's always a way to do a quick hack of this, but doing it in a
way that's cacheable and meaningful is another problem.

Stigmj [at] nowik
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


lars at aronsson

Aug 6, 2008, 6:43 AM

Post #2 of 10 (490 views)
Permalink
Re: Next/previous articles [In reply to]

Stig Meireles Johansen wrote:

> Would it be possible to add some kind of feature or extension
> which enables users to either;
> - get a list of the next/previous articles alphabetically (a
> short index) in a separate box/window, or
> - get a summary of the next articles at the bottom of current
> article (to simulate a book)

It would be nice if this was based on {{DEFAULTSORT:}} so that
the article [[August Strindberg]] would appear together with other
people having the same surname.



--
Lars Aronsson (lars [at] aronsson)
Aronsson Datateknik - http://aronsson.se

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Simetrical+wikilist at gmail

Aug 6, 2008, 7:48 AM

Post #3 of 10 (494 views)
Permalink
Re: Next/previous articles [In reply to]

On Wed, Aug 6, 2008 at 8:17 AM, Stig Meireles Johansen <stigmj [at] gmail> wrote:
> Would it be possible to add some kind of feature or extension which enables
> users to either;
> - get a list of the next/previous articles alphabetically (a short index) in
> a separate box/window, or

That shouldn't be hard to do at all.

> - get a summary of the next articles at the bottom of current article (to
> simulate a book)

Not clear what this means.

> There has been some suggestions to add a transcluded
> Special:Prefixindex/{{PAGENAME}} to the stub-templates, but I have warned
> them off with a possible hit in uncacheable pages..

It would be cached perfectly fine. It just wouldn't update when new
pages are created, until the cache expires or is purged. (Have you
read [[WP:PERF]]?)

> Adding some
> AJAX-functionality would also need some kind of uncacheable special-page
> output.

AJAX isn't relevant at all here.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


magnusmanske at googlemail

Aug 6, 2008, 8:27 AM

Post #4 of 10 (496 views)
Permalink
Re: Next/previous articles [In reply to]

On Wed, Aug 6, 2008 at 3:48 PM, Simetrical
<Simetrical+wikilist [at] gmail> wrote:
>> Adding some
>> AJAX-functionality would also need some kind of uncacheable special-page
>> output.
>
> AJAX isn't relevant at all here.

Well, one could use a trivial JavaScript, using (on [[Biochemistry]]):
http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfrom=Biochemistry&apdir=descending&aplimit=2
http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfrom=Biochemistry&aplimit=2
to determine the previous/next article.

Magnus

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


stigmj at gmail

Aug 6, 2008, 8:36 AM

Post #5 of 10 (492 views)
Permalink
Re: Next/previous articles [In reply to]

Check http://no.wikipedia.org/wiki/Bruker:Stigmj/Nextpage-preview for a
*very* quick hack just to show what I mean with "get a summary of the next
articles at the bottom of current article (to simulate a book)". Mind you,
this is not meant as anything more than show what I am thinking. If it's not
clear, do tell...

Regarding [[WP:PERF]].. sure, but when I make lists like
http://no.wikipedia.org/wiki/Liste_over_verdens_stater_etter_befolkningsstørrelse/vedlikehold<http://no.wikipedia.org/wiki/Liste_over_verdens_stater_etter_befolkningsst%C3%B8rrelse/vedlikehold>I
suddenly have to think about the user experience... ;)

/Stig

On Wed, Aug 6, 2008 at 4:48 PM, Simetrical
<Simetrical+wikilist [at] gmail<Simetrical%2Bwikilist [at] gmail>
> wrote:

> On Wed, Aug 6, 2008 at 8:17 AM, Stig Meireles Johansen <stigmj [at] gmail>
> wrote:
> > Would it be possible to add some kind of feature or extension which
> enables
> > users to either;
> > - get a list of the next/previous articles alphabetically (a short index)
> in
> > a separate box/window, or
>
> That shouldn't be hard to do at all.
>
> > - get a summary of the next articles at the bottom of current article (to
> > simulate a book)
>
> Not clear what this means.
>
> > There has been some suggestions to add a transcluded
> > Special:Prefixindex/{{PAGENAME}} to the stub-templates, but I have warned
> > them off with a possible hit in uncacheable pages..
>
> It would be cached perfectly fine. It just wouldn't update when new
> pages are created, until the cache expires or is purged. (Have you
> read [[WP:PERF]]?)
>
> > Adding some
> > AJAX-functionality would also need some kind of uncacheable special-page
> > output.
>
> AJAX isn't relevant at all here.
>
> _______________________________________________
> Wikitech-l mailing list
> Wikitech-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Simetrical+wikilist at gmail

Aug 6, 2008, 9:29 AM

Post #6 of 10 (492 views)
Permalink
Re: Next/previous articles [In reply to]

On Wed, Aug 6, 2008 at 11:27 AM, Magnus Manske
<magnusmanske [at] googlemail> wrote:
> Well, one could use a trivial JavaScript, using (on [[Biochemistry]]):
> http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfrom=Biochemistry&apdir=descending&aplimit=2
> http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfrom=Biochemistry&aplimit=2
> to determine the previous/next article.

That's not technically AJAX. And more to the point, JavaScript hacks
don't need to be discussed on Wikitech-l. They're for people without
commit access.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


magnusmanske at googlemail

Aug 6, 2008, 11:48 AM

Post #7 of 10 (495 views)
Permalink
Re: Next/previous articles [In reply to]

On Wed, Aug 6, 2008 at 5:29 PM, Simetrical
<Simetrical+wikilist [at] gmail> wrote:
> On Wed, Aug 6, 2008 at 11:27 AM, Magnus Manske
> <magnusmanske [at] googlemail> wrote:
>> Well, one could use a trivial JavaScript, using (on [[Biochemistry]]):
>> http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfrom=Biochemistry&apdir=descending&aplimit=2
>> http://en.wikipedia.org/w/api.php?action=query&list=allpages&apfrom=Biochemistry&aplimit=2
>> to determine the previous/next article.
>
> That's not technically AJAX. And more to the point, JavaScript hacks
> don't need to be discussed on Wikitech-l. They're for people without
> commit access.

Wow, somebody's in a bad mood...

Beg pardon, but it is AJAX. I said JavaScript, and I provided XML
sources. Do it asynchronously, and voila, AJAX.

And it's relevant to this list because it shows an easy way to solve
the problem without the need for commit access.

Magnus

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Simetrical+wikilist at gmail

Aug 6, 2008, 12:04 PM

Post #8 of 10 (504 views)
Permalink
Re: Next/previous articles [In reply to]

On Wed, Aug 6, 2008 at 2:48 PM, Magnus Manske
<magnusmanske [at] googlemail> wrote:
> Wow, somebody's in a bad mood...

Not at all. I'm just not a fan of JavaScript hacks.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


s.mazeland at xs4all

Aug 6, 2008, 1:40 PM

Post #9 of 10 (485 views)
Permalink
Re: Next/previous articles [In reply to]

The extension "Back and Forth"[1] written by the excellent but unfortunately
disappeared Rob Church, does the following: 'Adds "Next" and "Previous"
alphabetic paging links to the top of pages'. A screenshot can be found at
[1].

It has already been localised in the following 74 localisations: af, ang,
ar, as, ast, avk, bcl, be-tarask, bg, bn, br, cs, da, de, dsb, el, eo, ext,
fi, fr, frp, gag, gl, hi, hr, hsb, hu, hy, ia, io, is, it, ja, jv, kaa, km,
kn, ksh, lb, lt, ml, mr, nah, nds, nl, nn, no, nso, oc, pl, pms, ps, pt, ru,
sah, scn, sk, sr-ec, srn, stq, su, sv, ta, te, tg-cyrl, th, tr, uk, vec, vi,
vo, yue, zh-hans, zh-hant

There is also "Page After And Before"[2] by Jean-Lou Dupont, but I have no
idea how that behaves. I usually only install extensions from the MediaWiki
source code repository.

Requesting new extensions to be installed on the Wikimedia farm currently
has a backlog of about 3-6 months. There are about 10 extensions on the
list[3]. Since 19 May no extensions in the queue have been processed.

Cheers! Siebrand

[1] http://www.mediawiki.org/wiki/Extension:Back-and-Forth
[2] http://www.mediawiki.org/wiki/Extension:PageAfterAndBefore
[3] http://www.mediawiki.org/wiki/Review_queue#Extensions

-----Oorspronkelijk bericht-----
Van: wikitech-l-bounces [at] lists
[mailto:wikitech-l-bounces [at] lists] Namens Stig Meireles
Johansen
Verzonden: woensdag 6 augustus 2008 14:18
Aan: Wikitech-l [at] lists
Onderwerp: [Wikitech-l] Next/previous articles

I'm posting this question here as it's kind of specific to wikipedia/media
as well as it's a possible mediawiki-feature-request.

Would it be possible to add some kind of feature or extension which enables
users to either;
- get a list of the next/previous articles alphabetically (a short index) in
a separate box/window, or
- get a summary of the next articles at the bottom of current article (to
simulate a book)

There has been some suggestions to add a transcluded
Special:Prefixindex/{{PAGENAME}} to the stub-templates, but I have warned
them off with a possible hit in uncacheable pages.. Adding some
AJAX-functionality would also need some kind of uncacheable special-page
output.

I guess there's always a way to do a quick hack of this, but doing it in a
way that's cacheable and meaningful is another problem.

Stigmj [at] nowik


_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Simetrical+wikilist at gmail

Aug 6, 2008, 2:56 PM

Post #10 of 10 (486 views)
Permalink
Re: Next/previous articles [In reply to]

On Wed, Aug 6, 2008 at 4:40 PM, Siebrand Mazeland <s.mazeland [at] xs4all> wrote:
> Requesting new extensions to be installed on the Wikimedia farm currently
> has a backlog of about 3-6 months. There are about 10 extensions on the
> list[3]. Since 19 May no extensions in the queue have been processed.

. . . but talking to Tim personally would probably get the job done
right away, for a simple extension by a known good author like Rob.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.