Thanks Jim that worked fine!
Paul
On 3/18/07 1:35 AM, "Jim Wilson" wilson.jim.r@gmail.com wrote:
Is there an easy way to change this to make it consistent with the other link? I am looking to change it to a hard coded URL (mydomain.com) which I understand will lose the previous page info.
Yes there is. To do so, log in as a Sysop and go to the article called "MediaWiki:Whitelistedittext".
One easy way to get there is to search for this string using the "Go" button
- then choose the "create this page" link from the search results page.
The edit box should be preloaded with this text:
You have to $1 to edit pages.
Change this to the following:
You have to <span class="plainlinks">[http://mydomain.com log in]</span>
to edit pages.
Save the page with your changes. That's it!
In general, when you want to change static text that appears in the wiki, that text is stored in a system message that can be overridden via an article in the MediaWiki namespace (as above).
To see a list of all such system messages, check out "Special:Allmessages".
Hope this helps.
-- Jim R. Wilson (jimbojw)
On 3/17/07, Paul Coghlan pcoghlan@usa.net wrote:
I have installed the AuthDrupal extension for Drupal integration and all is working fine now but I still have a login message I need to change.
The 'login/create account' link in the top right has successfully been redirected to take the visitor the Drupal registration page.
However, when I view pages and attempt to edit them whilst logged out I receive a message "You have to log in to edit pages." This is in the mideel of the screen/page. It directs me to :
Special:Userlogin&returnto=PageWhereIAmNow.
Is there an easy way to change this to make it consistent with the other link? I am looking to change it to a hard coded URL (mydomain.com) which I understand will lose the previous page info.
Thanks, Paul
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l