Removed in r36693
<http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36693>.
In the time I had been on the user end of MediaWiki I heard a lot of
comments on [[Foo]]'s not linking the 's, which lead to some editors
using [[Foo|Foo's]] which another fair number of editors complaining
that it's unnecessary duplication of the text, just to append a simple
's to the word. Some wiki adopt the [[Foo|Foo's]] method, and others use
[[Foo]]'s and silently grumble that the 's is not in the link but ignore
it because it's cleaner in the code.
Perhaps I should trudge into the backend and setup a cleaner system for
auto-redirects. I was thinking of creating a regex-redirect and a
deep-redirect extension. But perhaps I could make redirect patterns
something a bit more part of core. My original purpose was for
entertainment wiki redirecting things like Ep 0*([0-9]+?) to [[Episode
$1]]. If a default "/(.+?)'s/" => "$1" pattern was used then
[[Foo's]]
could be linked, and it would link to [[Foo's]] which if did not exist,
would be an automatic redirect to [[Foo]]. Then the 's stays out of the
link when you don't want it, you can add the 's when you want it, and
you don't need to create a redirect for every word with 's appended to it.
Btw, if you were wondering about my reference to a Deep Redirect the
point was; If you put #DEEPREDIRECT [[Bar]] on [[Foo]] then if you went
to [[Foo/Foo]] and it did not exist it would be an automatic redirect to
[[Bar/Foo]]. It was another extension suited for use over at Wikia ACG.
~Daniel Friesen(Dantman) of:
-The Nadir-Point Group (
http://nadir-point.com)
--It's Wiki-Tools subgroup (
http://wiki-tools.com)
--Games-G.P.S. (
http://ggps.org)
-And Wikia ACG on
Wikia.com (
http://wikia.com/wiki/Wikia_ACG)
Charlotte Webb wrote:
On 6/26/08, Petr Kadlec <petr.kadlec(a)gmail.com>
wrote:
Yep, it is a so-called "linktrail"
definition, and it is dependent on
content language.
I don't think it has been an "accidental side effect", as it is
mentioned in the commit message; this change has been made by Daniel
Friesen about 14 days ago, see
http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=36253 and
it has also been shortly discussed on this list, see
http://thread.gmane.org/gmane.science.linguistics.wikipedia.technical/38639…
Thank you for the information but I do not think this is desirable
behavior and have filed
https://bugzilla.wikimedia.org/show_bug.cgi?id=14655 (albeit with a
minor fuck-up on my part).
—C.W.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l