I have a wiki that uses a default skin (a copy of the Monobook skin but with a background image defined in headbg.jpg file in that skin's directory). After installing the Usability Initiative extension, when I connect to the wiki as an anonymous user, I get the blank (Vector?) skin without my background image. After I log in, I get my default skin, as I should. Logging out gives me the blank (Vector?) skin again without my background image.
Anybody got any clues?
The local settings has defined
$wgDefaultSkin = 'cancervoicesnsw';
bobj
Vector does away with the book background image in favor of a gradient.
- Trevor
On 11/8/10 9:51 PM, Dr Bob Jansen wrote:
I have a wiki that uses a default skin (a copy of the Monobook skin but with a background image defined in headbg.jpg file in that skin's directory). After installing the Usability Initiative extension, when I connect to the wiki as an anonymous user, I get the blank (Vector?) skin without my background image. After I log in, I get my default skin, as I should. Logging out gives me the blank (Vector?) skin again without my background image.
Anybody got any clues?
The local settings has defined
$wgDefaultSkin = 'cancervoicesnsw';
bobj
Hello,
I'm creating wiki pages automatically using the script ImportTextFile.php (thank you Sam :-) ). But I need to be able update these pages without deleting the possible user comment.
To do that, the only solution that I found, on the web, is to get the content of my wiki page with the php script "getText.php" (from maintenance) and do the merge by myself but this script seems to have been deleted in the last version of mediawiki.
Is there a new script or a other way to get the content of my wiki page ? What other solutions to update wiki pages or part of them ?
Sorry for my english, I'm french,
Yanick
Are the user comments included as part of the wiki text? Or do you mean the comments that a user supplies when editing a page?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: Tuesday, November 09, 2010 5:58 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] How can I get the content of a wiki page
Hello,
I'm creating wiki pages automatically using the script ImportTextFile.php (thank you Sam :-) ). But I need to be able update these pages without deleting the possible user comment.
To do that, the only solution that I found, on the web, is to get the content of my wiki page with the php script "getText.php" (from maintenance) and do the merge by myself but this script seems to have been deleted in the last version of mediawiki.
Is there a new script or a other way to get the content of my wiki page ? What other solutions to update wiki pages or part of them ?
Sorry for my english, I'm french,
Yanick _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This e-mail and any attachments are for the intended recipient(s) only and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.
I'm mean the user comments included as part of the wiki text not the comments that a user supplies when editing a page
Date: Tue, 9 Nov 2010 07:24:47 -0500 From: deswing@vsticorp.com To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] How can I get the content of a wiki page
Are the user comments included as part of the wiki text? Or do you mean the comments that a user supplies when editing a page?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: Tuesday, November 09, 2010 5:58 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] How can I get the content of a wiki page
Hello,
I'm creating wiki pages automatically using the script ImportTextFile.php (thank you Sam :-) ). But I need to be able update these pages without deleting the possible user comment.
To do that, the only solution that I found, on the web, is to get the content of my wiki page with the php script "getText.php" (from maintenance) and do the merge by myself but this script seems to have been deleted in the last version of mediawiki.
Is there a new script or a other way to get the content of my wiki page ? What other solutions to update wiki pages or part of them ?
Sorry for my english, I'm french,
Yanick _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This e-mail and any attachments are for the intended recipient(s) only and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
If your pages have a consistent area where the users provide their comments, you may need to write something that parses the current contents of the page, and then appends the comments section to the new page contents. The more structured the page is, the easier it would be to parse.
You can use api.php to retrieve the current page contents (as well as load new contents).
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: Tuesday, November 09, 2010 7:36 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] How can I get the content of a wiki page
I'm mean the user comments included as part of the wiki text not the comments that a user supplies when editing a page
Date: Tue, 9 Nov 2010 07:24:47 -0500 From: deswing@vsticorp.com To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] How can I get the content of a wiki page
Are the user comments included as part of the wiki text? Or do you
mean
the comments that a user supplies when editing a page?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: Tuesday, November 09, 2010 5:58 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] How can I get the content of a wiki page
Hello,
I'm creating wiki pages automatically using the script ImportTextFile.php (thank you Sam :-) ). But I need to be able update these pages without deleting the possible user comment.
To do that, the only solution that I found, on the web, is to get the content of my wiki page with the php script "getText.php" (from maintenance) and do the merge by myself but this script seems to have been deleted in the last version of mediawiki.
Is there a new script or a other way to get the content of my wiki
page
? What other solutions to update wiki pages or part of them ?
Sorry for my english, I'm french,
Yanick _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This e-mail and any attachments are for the intended recipient(s) only
and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This e-mail and any attachments are for the intended recipient(s) only and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.
To import a new page, I used the script ImportTextFile.php.
I just had to create a text file with the content of my new page and call the script with my text file as argument like that :
php ImportTextFile.php MyTextFile.txt
I don't see how I could do the same with the api.php. Can you tell me what is the command line to retrieve the current page or a page name "PAGE_1" with the script api.php?
I tried some lines found on the web using action=query and export but I don't get anywhere. It's seems I'm not using as I should de script api.php.
Date: Tue, 9 Nov 2010 08:00:39 -0500 From: deswing@vsticorp.com To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] How can I get the content of a wiki page
If your pages have a consistent area where the users provide their comments, you may need to write something that parses the current contents of the page, and then appends the comments section to the new page contents. The more structured the page is, the easier it would be to parse.
You can use api.php to retrieve the current page contents (as well as load new contents).
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: Tuesday, November 09, 2010 7:36 AM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] How can I get the content of a wiki page
I'm mean the user comments included as part of the wiki text not the comments that a user supplies when editing a page
Date: Tue, 9 Nov 2010 07:24:47 -0500 From: deswing@vsticorp.com To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] How can I get the content of a wiki page
Are the user comments included as part of the wiki text? Or do you
mean
the comments that a user supplies when editing a page?
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of yanick bajazet Sent: Tuesday, November 09, 2010 5:58 AM To: mediawiki-l@lists.wikimedia.org Subject: [Mediawiki-l] How can I get the content of a wiki page
Hello,
I'm creating wiki pages automatically using the script ImportTextFile.php (thank you Sam :-) ). But I need to be able update these pages without deleting the possible user comment.
To do that, the only solution that I found, on the web, is to get the content of my wiki page with the php script "getText.php" (from maintenance) and do the merge by myself but this script seems to have been deleted in the last version of mediawiki.
Is there a new script or a other way to get the content of my wiki
page
? What other solutions to update wiki pages or part of them ?
Sorry for my english, I'm french,
Yanick
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This e-mail and any attachments are for the intended recipient(s) only
and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This e-mail and any attachments are for the intended recipient(s) only and may contain proprietary, confidential material. If you are not the intended recipient, (even if the email address above is yours) do not use, retain, copy or disclose any part of this communication or any attachment as it is strictly prohibited and may be unlawful. If you believe that you have received this e-mail in error, please notify the sender immediately and permanently delete. This email may be a personal communication from the sender and as such does not represent the views of the company.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Wed, Nov 10, 2010 at 3:53 AM, yanick bajazet yanick1bjazet@hotmail.com wrote:
To import a new page, I used the script ImportTextFile.php.
I just had to create a text file with the content of my new page and call the script with my text file as argument like that :
php ImportTextFile.php MyTextFile.txt
I don't see how I could do the same with the api.php. Can you tell me what is the command line to retrieve the current page or a page name "PAGE_1" with the script api.php?
I tried some lines found on the web using action=query and export but I don't get anywhere. It's seems I'm not using as I should de script api.php.
$wgDefaultSkin = 'cancervoicesnsw';
Is that variable reset to 'vector' farther down in your LocalSettings.php?
If the variable is set in more than one place in LocalSettings.php, the last value set is the value PHP uses. PHP reads LocalSettings.php from top to bottom.
Roger
mediawiki-l@lists.wikimedia.org