In the old days, RecentChanges was a regular page, and now it's a special page. That's sensible, but one thing that we lost was the ability to edit the text at the top.
Since this is the one page that everyone sees every day, it would be an ideal place for me to place 'message of the day' type announcements and reminders. That's what I used to use it for.
Today I would like to post a gentle reminder about etiquette, because we've had a few too many etiquette breaches lately, and I want to remind people that personal attacks are not allowed.
How hard would it be to make this page editable, either just by me, or whatever? (This would probably need to be a protected page, as it's a prime target for vandalism.)
I could always just edit the code, I guess, but that seems icky.
--Jimbo
On ĵaŭ, 2003-02-13 at 09:47, Jimmy Wales wrote:
How hard would it be to make [Recentchanges] editable, either just by me, or whatever? (This would probably need to be a protected page, as it's a prime target for vandalism.)
Easy as pie; the text at the top can simply be sucked from the database instead of a string constant. Adding an "edit this page" link would require some slight more changes if desired, but just adding "Wikipedia:Recentchanges" and making it protected should be sufficient.
I could always just edit the code, I guess, but that seems icky.
Ewwww! :)
-- brion vibber (brion @ pobox.com)
On ĵaŭ, 2003-02-13 at 10:14, Brion Vibber wrote:
On ĵaŭ, 2003-02-13 at 09:47, Jimmy Wales wrote:
How hard would it be to make [Recentchanges] editable, either just by me, or whatever? (This would probably need to be a protected page, as it's a prime target for vandalism.)
Easy as pie; the text at the top can simply be sucked from the database instead of a string constant. Adding an "edit this page" link would require some slight more changes if desired, but just adding "Wikipedia:Recentchanges" and making it protected should be sufficient.
Okay, go knock yourself out: http://www.wikipedia.org/wiki/Wikipedia:Recentchanges
If the page is missing or blank, the default text is displayed.
-- brion vibber (brion @ pobox.com)
Brion Vibber wrote:
On ĵaŭ, 2003-02-13 at 09:47, Jimmy Wales wrote:
How hard would it be to make [Recentchanges] editable, either just by me, or whatever? (This would probably need to be a protected page, as it's a prime target for vandalism.)
Easy as pie;
Yes, but prior suggestions of that were turned down due to the additional database traffic. But, I guess a single query more won't hurt :-)
Magnus
On ĵaŭ, 2003-02-13 at 10:35, Magnus Manske wrote:
Yes, but prior suggestions of that were turned down due to the additional database traffic. But, I guess a single query more won't hurt :-)
I can assure you, there's *far* more database traffic from checking the existence of various linked pages (those linked in the header text as well as user pages and user talk pages linked throughout the list).
Old code: $wgOut->addWikiText( wfMsg( "recentchangestext" ) );
New code:
$rctext = wfMsg( "recentchangestext" ); $sql = "SELECT cur_text FROM cur WHERE cur_namespace=4 AND cur_title='Recentchanges'"; $res = wfQuery( $sql, $fname ); if( ( $s = wfFetchObject( $res ) ) and ( $s->cur_text != "" ) ) { $rctext = $s->cur_text; } $wgOut->addWikiText( $rctext );
-- brion vibber (brion @ pobox.com)
Good evening
I'd like to change my mailing adress for the mailing list. Can it be done ? Or should I need to unregister from one adress and then register again from the new one ?
Anth�re
__________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
Good evening
I'd like to change my mailing adress for the mailing list. Can it be done ? Or should I need to unregister from one adress and then register again from the new one ?
Anth�re
__________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
On Thu, 13 Feb 2003, Anthere wrote:
I'd like to change my mailing adress for the mailing list. Can it be done ? Or should I need to unregister from one adress and then register again from the new one ?
Hmm, I think that's how it's done.
There may be a way for a list admin to do it directly, but I don't know. Unsubscribe & resubscribe will do the job, though.
-- brion vibber (brion @ pobox.com)
I can make the change for all of your list memberships... Just let me know where you want it sent.
Jason
Anthere wrote:
Good evening
I'd like to change my mailing adress for the mailing list. Can it be done ? Or should I need to unregister from one adress and then register again from the new one ?
Anthère
Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com _______________________________________________ Wikitech-l mailing list Wikitech-l@wikipedia.org http://www.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org