Apparently this is what I'm referring to - I just set the title via editing Mediawiki:MySpecialPage - thankyou!
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Jamie Bliss Sent: Tuesday, June 21, 2005 5:14 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Re: How to create a new Special page
Are you refering to SpecialPage::getDescription()? (Which, by default, calls wfMsg() with the lowercase version of the page name. So if your special page is called SomeSpecialPageIWrote, you would want to look at [[MediaWiki:somespecialpageiwrote]].)
On 6/21/05, Bart Q. Simon bqs@bluefang.com wrote:
Yeah I'm aware that special pages are php (I made one that's working beautifully).
I'm just trying to figure out a way to give a new special page a title without hard-coding it in PHP. I'm pretty sure there is a way to do it (I looked through my old custom-made special page, and there isn't a title in there - yet it still has the right title when I browse to
it).
I recollect it being something like this, but not quite like this:
That appears to be for the HTML <title> tags. I assume you're talking about the title at the top of the page.
Maybe I'm losing it :).
That's entirely possible. However, this is not an authoritative source in the areas of mental stability. ;)
Can anyone help?
I want to edit the footer of my wiki.... The area where the Mediawiki logo, page access / modification details, etc is kept....
Essentially, I want very much to add a universal Creative Commons license to my pages...
Try as I might, however, I can't discover how do this.... The documentation seems to be missing or well-hidden!
Can anyone on-list please point me to online documentation / instructions for editing the footer? Alternatively, can anyone let me know how to make a start on this?
-----------------------
Paul James Cowie BA Hons (Sydney) GradDipEd MA (Macquarie) PhD in candidato
London, England and Sydney, Australia
Editor, http://www.ancientneareast.net/ Area Supervisor, Tel Rehov Excavations, Israel Committee Member, Friends of the Petrie Museum of Egyptian Archaeology
PhD Candidate, Department of Ancient History and Archaeology, Macquarie University, Sydney, Australia
On 6/22/05, Paul James Cowie editor@ancientneareast.net wrote:
Can anyone help?
I want to edit the footer of my wiki.... The area where the Mediawiki logo, page access / modification details, etc is kept....
Essentially, I want very much to add a universal Creative Commons license to my pages...
If you just want to change the license it's built-in. You just have to initialize the right variables in LocalSettings.php Here's what I have in mine:
## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation ## License and Creative Commons licenses are supported so far. $wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license $$wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/2.5/"; $wgRightsText = "Attribution-NonCommercial-ShareAlike"; $wgRightsIcon = "http://creativecommons.org/images/public/somerights20.gif"; # $wgRightsCode = "by-nc-sa"; # Not yet used
This will put the Creative Commons icon in the footer with a link to the license. Of course the obvious changes would be needed to support other forms of CC licenses.
On 6/22/05, Rick DeNatale rick.denatale@gmail.com wrote:
If you just want to change the license it's built-in. You just have to initialize the right variables in LocalSettings.php Here's what I have in mine:
## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation ## License and Creative Commons licenses are supported so far. $wgEnableCreativeCommonsRdf = true; $wgRightsPage = ""; # Set to the title of a wiki page that describes your license $$wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/2.5/";
FYI, that's one $. not two. $wgRightsUrl = "http://creativecommons.org/licenses/by-nc-sa/2.5/";
$wgRightsText = "Attribution-NonCommercial-ShareAlike"; $wgRightsIcon = "http://creativecommons.org/images/public/somerights20.gif"; # $wgRightsCode = "by-nc-sa"; # Not yet used
This will put the Creative Commons icon in the footer with a link to the license. Of course the obvious changes would be needed to support other forms of CC licenses.
Hi, all, I'm trying to create a new kind of special page; if you have any php that you'd be happy to share with a struggling neophyte to help me learn the ropes please contact me! What I'm actually trying to do is create a new user type (teacher) who will have a special page that lists all his/her students, who will also be users...
If there's anyone doing something similar, let's talk.
Cheers, andrea
On 6/22/05, Bart Q. Simon bqs@bluefang.com wrote:
Apparently this is what I'm referring to - I just set the title via editing Mediawiki:MySpecialPage - thankyou!
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Jamie Bliss Sent: Tuesday, June 21, 2005 5:14 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Re: How to create a new Special page
Are you refering to SpecialPage::getDescription()? (Which, by default, calls wfMsg() with the lowercase version of the page name. So if your special page is called SomeSpecialPageIWrote, you would want to look at [[MediaWiki:somespecialpageiwrote]].)
On 6/21/05, Bart Q. Simon bqs@bluefang.com wrote:
Yeah I'm aware that special pages are php (I made one that's working beautifully).
I'm just trying to figure out a way to give a new special page a title without hard-coding it in PHP. I'm pretty sure there is a way to do it (I looked through my old custom-made special page, and there isn't a title in there - yet it still has the right title when I browse to
it).
I recollect it being something like this, but not quite like this:
That appears to be for the HTML <title> tags. I assume you're talking about the title at the top of the page.
Maybe I'm losing it :).
That's entirely possible. However, this is not an authoritative source in the areas of mental stability. ;)
--
http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
take me of list
-------Original Message-------
From: Andrea Forte Date: 09/08/05 13:39:14 To: MediaWiki announcements and site admin list Subject: [Mediawiki-l] Creating a new special page
Hi, all, I'm trying to create a new kind of special page; if you have any php that you'd be happy to share with a struggling neophyte to help me learn the ropes please contact me! What I'm actually trying to do is create a new user type (teacher) who will have a special page that lists all his/her students, who will also be users...
If there's anyone doing something similar, let's talk.
Cheers, andrea
On 6/22/05, Bart Q. Simon bqs@bluefang.com wrote:
Apparently this is what I'm referring to - I just set the title via editing Mediawiki:MySpecialPage - thankyou!
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org] On Behalf Of Jamie Bliss Sent: Tuesday, June 21, 2005 5:14 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Re: How to create a new Special page
Are you refering to SpecialPage::getDescription()? (Which, by default, calls wfMsg() with the lowercase version of the page name. So if your special page is called SomeSpecialPageIWrote, you would want to look at [[MediaWiki:somespecialpageiwrote]].)
On 6/21/05, Bart Q. Simon bqs@bluefang.com wrote:
Yeah I'm aware that special pages are php (I made one that's working beautifully).
I'm just trying to figure out a way to give a new special page a title without hard-coding it in PHP. I'm pretty sure there is a way to do it (I looked through my old custom-made special page, and there isn't a title in there - yet it still has the right title when I browse to
it).
I recollect it being something like this, but not quite like this:
That appears to be for the HTML <title> tags. I assume you're talking about the title at the top of the page.
Maybe I'm losing it :).
That's entirely possible. However, this is not an authoritative source in the areas of mental stability. ;)
--
http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB. _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Wynandus DeVaal wrote:
take me of list
Look at the footer of every message:
TAKE YOURSELF OFF THE LIST AND SHUT UP!
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
Jamie Bliss wrote:
Wynandus DeVaal wrote:
take me of list
Look at the footer of every message:
TAKE YOURSELF OFF THE LIST AND SHUT UP!
I'd like to ask everybody to please stop on this thread; I removed the person from the subscriber list manually two days ago.
If anybody's got an exact description of how to make the footer say "To unsubscribe, go to:" or make unsubscribing easier once there, please feel free to let me know. General squabbling is not, however, welcome.
-- brion vibber (brion @ pobox.com)
Andrea Forte wrote:
Hi, all, I'm trying to create a new kind of special page; if you have any php that you'd be happy to share with a struggling neophyte to help me learn the ropes please contact me! What I'm actually trying to do is create a new user type (teacher) who will have a special page that lists all his/her students, who will also be users...
While I am not working, I (and the rest of this list) can try to help you with specific issues.
Selecting where students are assigned (teacher-wise) requires your own table (or modification to user), and then likely modifying the User object (User.php) so that it has methods for listing teachers and/or students (or creating a new class to handle it).
If you have specific issues, please share and be specific.
-- Jamie ------------------------------------------------------------------- http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
Thanks, I am wondering, does it make a difference if I create a new database to use alongside the wikidb that contains pointers to tables in the wikidb? For example, the new db could contain tables that associate userIDs with their status as teachers/students and tables that associate teachers and students with courses, etc.
I was thinking that this would make it more modular--easier to upgrade the wiki later with the least possible revision to my new code?? Is there any drawback to using two separate databases that I'm not foreseeing? I'm realtively new to this. :-)
andrea
On 9/8/05, Jamie Bliss astronouth7303@gmail.com wrote:
Andrea Forte wrote:
Hi, all, I'm trying to create a new kind of special page; if you have any php that you'd be happy to share with a struggling neophyte to help me learn the ropes please contact me! What I'm actually trying to do is create a new user type (teacher) who will have a special page that lists all his/her students, who will also be users...
While I am not working, I (and the rest of this list) can try to help you with specific issues.
Selecting where students are assigned (teacher-wise) requires your own table (or modification to user), and then likely modifying the User object (User.php) so that it has methods for listing teachers and/or students (or creating a new class to handle it).
If you have specific issues, please share and be specific.
-- Jamie
http://endeavour.zapto.org/astro73/ Thank you to JosephM for inviting me to Gmail! Have lots of invites. Gmail now has 2GB.
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org