Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Why does MDC reload pages when it's not necessary?

3 views
Skip to first unread message

Eric Jung

unread,
Apr 11, 2009, 11:33:15 AM4/11/09
to dev...@lists.mozilla.org
Hi,

Why does MDC reload the current page when I click on an anchor in the table
of contents on the page? For example, go to
https://developer.mozilla.org/en/Code_snippets/Dialogs_and_Prompts. Click on
anything in the table of contents on the right. The entire page reloads.
Anyway this can be fixed? In addition to minimizing load on the
already-taxed MDC server, it would make the site easier to use.

Eric

vb.dude

unread,
Apr 11, 2009, 2:35:42 PM4/11/09
to

Eric Jung

unread,
Apr 11, 2009, 4:02:45 PM4/11/09
to dev...@lists.mozilla.org
On Sat, Apr 11, 2009 at 2:35 PM, vb.dude <aavi...@gmail.com> wrote:

Yeah, I saw that right *after* my post (it figures), but I've been meaning
to write about it for months now.
But how about a server-side fix instead having to use GreaseMonkey? I go
through a new Firefox profile almost every day, and have 2-3 different ones
active at any one time. To install GreaseMonkey on all of these (or any
other consistent addon) is nearly impossible without using the
application-wide addon installation method that I don't want to use.

Eric

Mike Shaver

unread,
Apr 12, 2009, 2:19:23 AM4/12/09
to eric...@yahoo.com, dev...@lists.mozilla.org

I don't see that behaviour (I was expecting it was en vs En fail, but
didn't see even that -- clicking the ToC entries just scrolls me).

Eric Jung

unread,
Apr 12, 2009, 10:57:41 AM4/12/09
to dev...@lists.mozilla.org


Retested and I don't see that behavior anymore. Perhaps something was
changed? It was doing this for months... I only got around to complaining
about it now.

Eric

Ran Ari-Gur

unread,
Apr 12, 2009, 11:13:39 AM4/12/09
to dev...@lists.mozilla.org
Regardless, as Mike Shaver alluded to,
https://developer.mozilla.org/En/Code_snippets/Dialogs_and_Prompts has this
problem (due to "en vs En fail", as he put it).

-Ran

> _______________________________________________
> dev-mdc mailing list
> dev...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-mdc
>

Colby Russell

unread,
Apr 12, 2009, 11:31:26 AM4/12/09
to
Indeed, the en/En discrepancy happens to me often enough. As far as I
can tell from a quick test, the capitilized form creeps in when using
breadcrumbs, or coming in from a search engine using that form, or
anyone else linking into Devmo with that form. vb.dude's suggestion of
making the links point to the section title would work, but I think the
ideal solution would be to return HTTP 301 for /En/ pages, rather than
the current approach of silently passing content through. This would
prevent fragmentation and (presumably?) PageRank issues that might
result from it, amongst other things.

vb.dude

unread,
Apr 12, 2009, 12:56:04 PM4/12/09
to
Yeah, it's not even a "Greasemonkey" solution. Greasemonkey is really
just JavaScript with a few extra api's from Firefox (which I didn't
use), so until a real solution is issued, the <script> tags can be
used to include it. idk

Sheppy

unread,
Apr 13, 2009, 11:38:33 AM4/13/09
to
On Apr 11, 11:33 am, Eric Jung <eric.j...@yahoo.com> wrote:
> Hi,
>
> Why does MDC reload the current page when I click on an anchor in the table
> of contents on the page? For example, go tohttps://developer.mozilla.org/en/Code_snippets/Dialogs_and_Prompts. Click on

> anything in the table of contents on the right. The entire page reloads.
> Anyway this can be fixed? In addition to minimizing load on the
> already-taxed MDC server, it would make the site easier to use.

I've filed a ticket with IT to see about addressing this:

https://bugzilla.mozilla.org/show_bug.cgi?id=488121

Eric Shepherd
Developer Documentation Lead
Mozilla Corporation
http://www.bitstampede.com/

Sheppy

unread,
Apr 13, 2009, 11:46:44 AM4/13/09
to
On Apr 13, 11:38 am, Sheppy <the.she...@gmail.com> wrote:
> On Apr 11, 11:33 am, Eric Jung <eric.j...@yahoo.com> wrote:
>
> > Hi,
>
> > Why does MDC reload the current page when I click on an anchor in the table
> > of contents on the page? For example, go tohttps://developer.mozilla.org/en/Code_snippets/Dialogs_and_Prompts. Click on
> > anything in the table of contents on the right. The entire page reloads.
> > Anyway this can be fixed? In addition to minimizing load on the
> > already-taxed MDC server, it would make the site easier to use.
>
> I've filed a ticket with IT to see about addressing this:

Turns out this is fixed in Deki Lyons, which we should be installing
very soon. Woo!

0 new messages