[Wikitech-l] No such anchor: CITEREF...

2010-04-11 Thread jidanni
I don't get it. In e.g., http://en.wikipedia.org/wiki/Mumbai there are
tons of e.g.,
a href=#CITEREFPatelMasselos2003Patel amp; Masselos 2003/a
a href=#CITEREFMehta2004Mehta 2004/a
a href=#CITEREFHansen2001Hansen 2001/a
But no corresponding anchors. One will only get
No such anchor: CITEREFHansen2001
in ones browser. What's the deal?

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] No such anchor: CITEREF...

2010-04-11 Thread Petr Onderka
It's caused by incorrect use of templates for Harvard referencing like
Template:Harv.
Some of those errors are caused by a change in Template:Cite book and
similar few months back, when they were changed, so that they don't
produce the anchors on default, because it was often causing invalid
HTML. (This kind of errors can be fixed by adding the parameter
ref=harv to the appropriate citation template.)
The other errors are caused by typos or not understanding how Harvard
referencing works on WP.
And not many people check those errors or know how to fix them (my guess).

I created a (incomplete) list of articles with those errors at
http://svick.aspweb.cz/ (details for Mumbai are at
http://svick.aspweb.cz/Harv2.aspx/Detail/1933) and a user javascript
to show error messages for those errors at
http://en.wikipedia.org/wiki/User:Svick/HarvErrors.js.

Svick

On Thu, Apr 8, 2010 at 01:52,  jida...@jidanni.org wrote:
 I don't get it. In e.g., http://en.wikipedia.org/wiki/Mumbai there are
 tons of e.g.,
 a href=#CITEREFPatelMasselos2003Patel amp; Masselos 2003/a
 a href=#CITEREFMehta2004Mehta 2004/a
 a href=#CITEREFHansen2001Hansen 2001/a
 But no corresponding anchors. One will only get
 No such anchor: CITEREFHansen2001
 in ones browser. What's the deal?

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Languages

2010-04-11 Thread Aryeh Gregor
On Sat, Apr 10, 2010 at 8:20 AM, Roan Kattouw roan.katt...@gmail.com wrote:
 There's no config var for that like there is for the skin, cache and
 upload paths, but you could always use symlinks for the
 /languages/messages/ directory (provided you're not on Windows).

Symlinks theoretically exist in recent versions of Windows, although I
don't know how bad compatibility problems are in practice.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Wiki syntax for representing that a page is a child of another page?

2010-04-11 Thread Aryeh Gregor
On Fri, Apr 9, 2010 at 11:36 PM, Jack Bates ms...@freezone.co.uk wrote:
 Does there exist a recommended wiki syntax for representing that a page
 is hierarchically a child of another page?

 I don't want to rename the pages

Not in stock MediaWiki.  The typical way to do this is to use subpages:

http://www.mediawiki.org/wiki/Help:Subpages

But you have to rename the pages (and the names can get long/ugly).

 Among the reasons for doing this is that, to build the PDF based on the
 static index, currently I recursively concatenate first the body of a
 page, followed by each of its children

I don't know how it works, but Extension:Collector might be useful to you:

http://www.mediawiki.org/wiki/Extension:Collection

 I thought transclusion was a candidate, because pages are recursively
 transcluded to build the PDF, http://www.mediawiki.org/wiki/Transclusion

 In the wiki however, I don't actually want to display pages embedded in
 each other - instead I want links to child pages. This represents enough
 information about the hierarchical structure to build the PDF

It might be possible in principle to use some kind of template that
normally renders as a link, but could be persuaded to render as an
inclusion under some conditions.  I'm not sure offhand what the best
way to do this would be.

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Languages

2010-04-11 Thread Huib Laurens
I'm using the symlinks now and it works great.

Thank you :)

Huib

2010/4/11, Aryeh Gregor simetrical+wikil...@gmail.com:
 On Sat, Apr 10, 2010 at 8:20 AM, Roan Kattouw roan.katt...@gmail.com
 wrote:
 There's no config var for that like there is for the skin, cache and
 upload paths, but you could always use symlinks for the
 /languages/messages/ directory (provided you're not on Windows).

 Symlinks theoretically exist in recent versions of Windows, although I
 don't know how bad compatibility problems are in practice.

 ___
 Wikitech-l mailing list
 Wikitech-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikitech-l



-- 

The soldiers graves are great preachers of peace

http://commons.wikimedia.org/wiki/User:Abigor

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] No such anchor: CITEREF...

2010-04-11 Thread jidanni
Thanks. It would have got to you faster but I have been placed under 
moderation.
 PO == Petr Onderka gsv...@gmail.com writes:
PO I created a (incomplete) list of articles with those errors at
PO http://svick.aspweb.cz/
See also
http://en.wikipedia.org/wiki/Wikipedia:Help_desk#No_such_anchor:_CITEREF...
http://en.wikipedia.org/wiki/Template_talk:Harvard_citation_no_brackets#Bombay

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Mailing list owner

2010-04-11 Thread Mark Clements (HappyDog)
Tim Starling tstarl...@wikimedia.org wrote in message 
news:hohver$vt...@dough.gmane.org...
I wrote:
 I've made myself mailing list owner of mediawiki-l and wikitech-l
 temporarily, since I don't think Brion is interested in moderating
 either of them anymore.

 But it's a relatively simple task, and it seems to me that it could be
 done by someone with more spare time and less awesome hacking skills ;)

 Three people applied. After conferring some people on IRC, I chose
 Huib Laurens a.k.a. User:Abigor for the job.

 Big thanks to Huib for taking this on.

Would be great if either you or they could update 
http://www.mediawiki.org/wiki/Mailing_lists with the new admin details.

Cheers,

-- Mark Clements (HappyDog) 



___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Commonist now supporting the new login token

2010-04-11 Thread Marcin Cieslak
Hello,

I have hacked up a patched version[1] of a popular Commonist tool[2]
so that it can now login to commons.

[1] http://saper.info/files/commonist-0.3.43-patched.jar
[2] http://commons.wikimedia.org/wiki/Commons:Tools/Commonist

-- 
   Marcin Cieslak // sa...@saper.info 


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Re: [Wikitech-l] Languages

2010-04-11 Thread Platonides
Aryeh Gregor wrote:
 On Sat, Apr 10, 2010 at 8:20 AM, Roan Kattouw roan.katt...@gmail.com wrote:
 There's no config var for that like there is for the skin, cache and
 upload paths, but you could always use symlinks for the
 /languages/messages/ directory (provided you're not on Windows).
 
 Symlinks theoretically exist in recent versions of Windows, although I
 don't know how bad compatibility problems are in practice.

And in not so recent too, since you could deal this with junctions.


___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l