On 3/7/07, Rob Church <robchur(a)gmail.com> wrote:
If it can be assumed that by clicking on the link
generated by [[this
is some pretty link text]] in page A, we also want to change links in
any other page pointing to that one, then you *can* quite easily find
out where it's being linked from, using the link tables...with the
caveat that there will also be link table entries on pages where links
have come from a template.
That's a good point - and a strong assumption. John, would you want to
change the text of _all the links_ that link to a given page, or just one a
time? I may have misunderstood the problem statement.
On 3/7/07, Platonides <Platonides(a)gmail.com> wrote:
Maybe creating a redirect on this page is a valid
solution ?
A solution to which part?
A solution for John Moorhouse, which has the problem.
I'm not sure of
having understood the problem.
Sorry about that. I'll clarify. There are two major problem segments (that
I know of) in implementing a solution to John's request:
1) Determining which page is to receive the edits (assuming you hook the
AlternateEdit event or similar)
2) Determining where in the wikitext to make the change.
I didn't understand which one of these the Redirection was meant to
address. If we go with the assumption that the user wants to update all
links everywhere, then a redirection would work for problem #1 - if not,
then I'm not so sure.
But you pages will grow, and which do you choose to
show?
Ah, but that's where the Ajaxy autocomplete textbox comes in :) Just start
typing and it suggests what you might want by wildcard querying the title
table.
-- Jim
On 3/7/07, Platonides <Platonides(a)gmail.com> wrote:
>
> Jim Wilson wrote:
> >> Maybe creating a redirect on this page is a valid solution ?
> >
> > A solution to which part?
>
> A solution for John Moorhouse, which has the problem. I'm not sure of
> having understood the problem.
>
>
> John Moorhouse wrote:
> > I'm with you here Jim I think this is most elegant solution, to main
> > idea behind this my query which is to provide a way that editors can
> > select the page title they are linking to rather than having to remember
> > it and type it in (there is an extension that does this for categories
> > when it lists all the categories at the bottom of the page and you can
> > just select one or more from there.)
> mmm... Writing [[ or {{ and having a dropbox with titles appear could be
> nice.
But you pages will grow, and which do you choose to
show?
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)lists.wikimedia.org
>
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>