Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Read data from text file

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


zebran75 at gmail

Apr 11, 2010, 11:05 AM

Post #1 of 4 (467 views)
Permalink
Read data from text file

Hi

How can i read data from a text file and present it on my mediawiki?

Best Regards
Peter
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Apr 11, 2010, 2:32 PM

Post #2 of 4 (440 views)
Permalink
Re: Read data from text file [In reply to]

Peter wrote:
> Hi
>
> How can i read data from a text file and present it on my mediawiki?
>
> Best Regards
> Peter

php maintenance/importTextFile.php --title MyFile ~/Documents/MyFile.txt


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


zebran75 at gmail

May 3, 2010, 1:25 PM

Post #3 of 4 (335 views)
Permalink
Re: Read data from text file [In reply to]

Hi. Thanks for your help.

How can i import the text to a specific place on the mediawiki?

Example: Line 20 <text>
Example: Uptime: <text>

Best Regards
Peter

On 11 April 2010 23:32, Platonides <Platonides [at] gmail> wrote:

> Peter wrote:
> > Hi
> >
> > How can i read data from a text file and present it on my mediawiki?
> >
> > Best Regards
> > Peter
>
> php maintenance/importTextFile.php --title MyFile ~/Documents/MyFile.txt
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l [at] lists
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

May 3, 2010, 3:25 PM

Post #4 of 4 (334 views)
Permalink
Re: Read data from text file [In reply to]

Peter wrote:
> Hi. Thanks for your help.
>
> How can i import the text to a specific place on the mediawiki?
>
> Example: Line 20 <text>
> Example: Uptime: <text>
>
> Best Regards
> Peter

You need to change the whole page. You could download it, change the
Uptime, then set the changed text, but you may be better using
templates: Uptime: {{Uptime}} and writing to Template:Uptime the whole
text, with the template taking care of the replacement.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.