Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stridey

macrumors 65816
Original poster
Hey,

Any MediaWiki experts? I want to link not just to an article, but specifically to the edit page for it. Not really sure how to do it though...
 
stridey said:
Hey,

Any MediaWiki experts? I want to link not just to an article, but specifically to the edit page for it. Not really sure how to do it though...

can't you just click on Edit and link to that URL?

arn
 
The magic formula is [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} edit this page]

(If you wanted to do another specific page, say the AppleCare article, you would hardcode that bit with [{{SERVER}}{{localurl:AppleCare|action=edit}} edit AppleCare] )
 
iMeowbot: Thanks, that did the trick! 😀

arn: What I was trying to do was to make it a bit easier for your "average" user to edit this page without getting mucked up in the html.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.