Recent Changes - Search:

I'm a member of a gym http://atsora.com/index.php/prescription-drugs-for-low-blood-pressure-0ea3.pdf#fleet fda approved generic drugs However, last minute changes are likely as a meeting ofsenior officials who prepare the weekly cabinet meeting'sdecisions was cancelled on Thursday and several ministers werestill at odds about who should foot the bill.

 http://www.hoteldaina.lv/order-winstrol-online-canada-431c.pdf before after winstrol pictures  Surprisingly, during the vast majority of that time period, they employed some of the most blatantly corrupt city officials, mayors and politicians imaginable. That city’s corruption spilled over and infected the state of Illinois, including many of it’s Governors, who have done and are doing time in prison. “JustSayin’”
 http://cristianoweb.net/testosterone-cypionate-200-mg-ml-im-oil-a6be.pdf#advertising watson testosterone cypionate reviews  "While we appreciate House Republicans' newfound interest inthe implementation of health reform, it is clear they are notinterested in anything other than continuing their desperatedrive to sabotage this law, which so far has included shuttingdown the government," said Drew Hammill, spokesman for HouseDemocratic Leader Nancy Pelosi.
 http://brenchleyandmatfield.co.uk/1rxonlinepillsnet-e520.pdf#practise awc-drugstore.co  Municipal officials are offering a gram of gold — worth about $45 at current prices — for each kilogram of weight lost in a 30-day challenge. The minimum drop is two kilograms, or 4.4 pounds, to cash in.
 http://jar400.pl/comprar-citrato-de-sildenafila-50mg-d334.pdf#wholly cijena sildenafila  President Giorgio Napolitano, the man who would have to decide whether to call new elections if the coalition fell apart, urged calm, as did Letta, and given the August holiday lull, we shouldn’t overstate the threat.

SiteDocumentation

Magyar? English

Documentation of how this web site is configured.

(:toc:)

Convention to classify wiki pages by page_type

By convention, each wiki page in the group Web/? should have a page text variable that indicates its primary purpose of that page:

VariableValueMeaningExample pages
page_typeweb"web" pageHome, News?
 cmsStructural page etcSideBar

page_type=cms: Structurally important wiki pages

Wiki pages that are used to create the structure, or add functionality, to this web site is listed below. This category also includes documentation pages and test pages. Please note that most of them are tagged by having the variable page_type set to cms.

Desc: Only exists to set the passwords for this group
Desc:
Desc: Lists recently changed pages
Desc: Sets how search results are presented
Desc: Documents the web site's configuration and structure
Title: A modified title...
Desc: A page used for testing wiki markup etc
Desc: Test page with no contents, nor footers etc
Desc: A page used for testing the google custom search markup etc
Desc: Default wiki home page of this group. This page is note used by the "webW pages

page_type=web: Web pages

Wiki pages that primarily comprise the content of the web site.

Title: Bai1y's at home
Desc: recipe, drink
Title: Wineliqueur
Desc: recipe, drink
Title: Picture gallery
Desc: alex, alexware, kpek, pictures
Desc: recipe, quick cookie
Title: Onion soup
Desc: recipe, soup
Title: Homepage
Desc: homepage, alex, alexware
Title: Who is he?
Desc: alex, alexware, poem
Desc: To be added..
Desc:
Title: PICkit2 and Debian Etch
Desc: pickit2, debian, linux, programming
Title: PIC and the Sdcc
Desc: pic, sdcc, make, makefile, example
Title: PIC and USB
Desc: pic, sdcc, usb, make, makefile, example
Title: Hope
Desc: alex, alexware, vers
Title: Installing Sdcc
Desc: pickit2, debian, linux, programming
Title: Bushwackers
Desc:
Title: Everything passed
Desc:
Title: PIC disassembly
Desc: pic, sdcc, make, makefile, diassembly, reverse engineering
Title: Crossway
Desc: alex, alexware, poem
Title: Extremeties?
Desc: alex, alexware, poem
Title: Wisdoms
Desc: alex, alexware, wisdom, saying

page_type=: Pages with page_type not set

Pages that do not have the page text variable "cms_page" set to anything (all pages should ideally have page_type set):

Desc:

www.lyx.org/

The web site http://www.lyx.org corresponds to the directory

/home/lyx/www/www-user/

on the computer aussie.lyx.org, which is aliased as www.lyx.org. The files in that directory are automatically exported from the project www-user in the Subversion repository whenever a commit takes place.

The notation <www-user> will henceforth be used in several meanings:

  • The first part of a URI that points to a LyX web site, e.g. although it could also be a mirror site, e.g.
  • The directory associated with the root of the web site, e.g.
    /home/lyx/www/www-user/

Hopefully the context will clarify the meaning and the difference will not be important as the web server is supposed to map e.g.

to the file path

/home/lyx/www/www-user/<x>
Gateways or access paths to the LyX web site

There are several ways (URIs) or gateways to access the LyX web site. They differ in how they show web pages and what functionality that is allowed.

http://www.lyx.org/
Standard gateway for normal users. By default pages appears as regular web pages. Automatically redirects to http://www.lyx.org/index.php.
http://www.lyx.org/index.php
Standard gateway for normal users.
http://wiki.lyx.org/wiki/index.php
Wiki gateway to web site for developers.

The scripts index.php are wrapper scripts that start the actual wiki engine, <www-user>/farm/pmwiki/pmwiki.php.

When starting, the wiki engine reads the following configuration scripts:

  • pmwiki/local/farmconfig.php
    This configuration script is common to all the gateways. Among other things, it defines passwords and sets the path to the directory <www-user>/farm/pub that contains world readable files such as CSS files and images.
  • config.php
    This configuration script is specific to the gateway. It's located in the same directory as the wrapper script (index.php).
Important files and directories
<www-user>/File path to www.lyx.org
index.phpWrapper script of the wiki engine
config.phpConfiguration file for the main web pages
wiki.d/Directory with source of wiki pages,
referenced using an absolute path
<Group>.<Page>Example of source of wiki page
wiki/
index.phpWrapper script of the wiki engine
config.phpConfiguration file for wiki/-gateway
farm/
farmconfig.phpConfiguration file for the wiki farm
cookbook/
LyX/LyX scripts and data for LyX web site
pub/
skins/
lyx/
lyx.tmplTemplate for the skin
images/
pmwiki/
pmwiki.phpThe PmWiki wiki enginge
test/Directory structure for testing

Directories and files

/home/lyx/www/www-user/		- Automatically exported from SVN:www-user
|-- index.php			- wiki engine wrapper script
|-- config.php			- config file for web pages
|
|-- images/
|   |-- about/
|   '-- LGT/
|
|-- farm/
|   |-- farmconfig.php		= Farm configuration file
|   |-- farmmap.txt		= Inter-link prefixes for wikis in the farm
|   |
|   |-- pmwiki/			= $FarmD
|   |   |-- pmwiki.php
|   |   |-- cookbook -> ../cookbook
|   |   |-- docs/
|   |   |-- local/
|   |	|   |-- config.php	= Blocks acces to 'home' wiki
|   |   |   |-- farmconfig.php -> ../../farmconfig.php
|   |   |   '-- farmmap.txt -> ../../farmmap.txt
|   |   |-- pub -> ../pub	 
|   |   `-- scripts/
|   |
|   |-- cookbook/		= Custom scripts (recipes)
|   |   `-- LyX/		= Scripts specific for LyX
|   |
|   `-- pub/			- <- FarmPubDirUrl
|       |-- css/
|       |-- guiedit/
|       `-- skins/
|	    |-- <various-skins>/
|           |-- lyx/
|           |   `-- images/
|           `-- print/
|
|-- test/
|   |
|   ...
|
|-- wiki/			- 
|   |-- index.php
|   '-- config.php
|
`-- wiki.d/			- web page files are stored here

Location of source of web pages (page files)

The web/wiki pages are stored as separate files, each page in its own page. The default configuration of PmWiki is to look for a local directory called wiki.d/. However, in this setup the wiki engine is told that the page files are to be found in the directory with the absolute path

/home/lyx/www/www-user/wiki.d

This is done in the file farm/farmconfig.php by setting the variable $WorkDir and then specify this as the location for storing page files. Note that '$WorkDir' is a link that you can click to see more details about this path variable.

Deployment and update procedure

The web site (wiki installation) was initially deployed using a svn checkout. Now, after a commit to the www-user repository, a 'post commit hook' is executed that does a svn update on the deployment directory.

In addition, note that when a web page is modified through the wiki interface, this results in a page that is changed in the directory wiki.d/. These modified files need to be manually committed from the deployment directory.

Pages with some kind of password

Below is a list of pages with some kind of password attribute that is specific to that page:

See SiteAdmin.AuthList for the entire wiki.

Recipes

In test installation

The following recipes are enabled by the farm installation, i.e. in farmconfig.php, for all wikis in the wiki farm.

The following recipes are enabled by the wiki installation, i.e. in config.php, on a per-wiki basis.

Custom scripts and recipes

in cookbook\LyX

  • blanket-permission.php - input: blanket-permission.inc (generated by generate_contributions.py)
  • credits.php - input: credits.inc (generated by generate_contributions.py)
  • i18n.php - input: i18n.inc
  • news.php - input: news.inc
  • paypal.php

Special pages with generated content

These sections describes how to modify the content of the pages BlanketPermission?, Credits?, News? and I18n? which are generated automatically.

Blanket Permission

The text below is shown on the wiki page blanket permission? when logged in with edit permissions.

To add people to the list below, check out <www-user> from the SVN repository. Then replace and commit the file:

<www-user>/farm/cookbook/LyX/blanket-permissions.inc

Committing automatically deploys the file to the web server (it can take a few seconds).

Note that the file blanket-permissions.inc should be replaced by output from the script generate_contributions.py. This script can be found in the current SVN trunk, and this is where actual changes should be done.

Credits

The text below is shown on the wiki page credits? when logged in with edit permissions.

The information about credits is defined in the file

<www-user>/farm/cookbook/LyX/credits.inc

To add credits for someone, checkout the project <www-user> from SVN, replace the above file and commit the changes. Committing automatically deploys the file to the web server (it can take a few seconds).

Note that the file credits.inc should be replaced by output from the script generate_contributions.py. This script can be found in the current SVN trunk, and this is where actual changes should be done.

News

The text below is shown on the wiki page news? when logged in with edit permissions.
News items (the headers of the most recent items) are also shown on the main page.

The information about news is currently defined in the file

<www-user>/farm/cookbook/LyX/news.inc

To add a news item, modify the above file and commit the changes. Committing automatically deploys the file to the web server (it can take a few seconds).

I18n

The text below is shown on the wiki page I18n? when logged in with edit permissions.

To update the information in the table below, check out <www-user> from the SVN repository. Then replace and commit the file:

<www-user>/farm/cookbook/LyX/i18n.inc

Committing automatically deploys the file to the web server (it can take a few seconds).

Note that the file i18n.inc is automatically generated from the po files. To update the web site, issue make i18n.inc in the po/ directory of the lyx stable branch, and replace the file in <www-user> with the autogenerated file. Do not edit the file manually, and do not use the development branch!

Local pagelist template to list pages

This section defines a local pagelist template that is used to generate the lists of pages on this page.

[[#withdesc]]
* [[{=$FullName}|{=$Name}]] %rfloat%[-[[Edit->{=$FullName}?action=edit]]-]%%
(:if ! equal "{=$Name}" "{=$Title}":)-> [-''Title:''-] {=$Title}(:ifend:)
-> [-''Desc:''-] {=$:description}
[[#withdescend]]

Local wiki styles defined in GroupHeader

The following wiki styles are defined in the group header:

note - for minor notes.
This is a note (created through %note% ... %%
important - for important notes and messages.

This is an important note

The line above was created with:
%important%This is an important note%%

An alternative:

An important note, over several lines. Usage:

>>rnote<<
...
>><<
@@rnote - for floating notes on the right side.


This text was created from an 'rnote'. Usage:

[[<<]]
>>rnote<<
...
>><<
[[<<]]


The markup [[<<]] is to cause a break, since the note is implemented using a float.

A more advanced example that only shows up when the viewer has permission to edit a page, i.e. when the person is logged in. First the wiki markup:

(:if auth edit:)
[[<<]]
>>rnote<<
This text is only visible when logged in.
>><<
[[<<]]
(:ifend:)

Then the result.

This text is only visible when logged in.


If you don't see anything above, it's because you are not logged in.

Mapping old web pages to new locations

The sections below tabulate old web pages, and their corresponding new wiki pages. Ideally, all the old URIs should eventually map to a valid new page.

Note some of the .php-files might not actually be pages, and also that I might have forgotten some pages. Not all .txt-files are listed for instance.

Finally note that page names in the tables below that are shown in a special colour have been redirected somehow, even if only through manually created HTML-files. When marked with a another special colour, it means they're redirected through a mechanism that invokes the php-script <www-user>/redirect_to_old_pages.php. That's a temporary hackish solution, requiring the old .php-files to remain. When marked with another special colour, the script <www-user>oldpage.php?n=<old-page-name-or-path> is used.

Plan for re-mapping

Maybe use some patterns expressions on URIs and pass them along to a script that then redirects to the correct page?

Note: For now, Christian does some manual remapping by replaing e.g. news.php with HTML-code that does a redirect.

Here are the page URIs that we need to match:

And then there are patterns we need to match.

A wiki page could be used to store the data with regular expressions and target page, making it easy to do future redirects.

http://www.lyx.org/ (incomplete - site_map.php missing)

Old pageNew pageComment
LyXWeb:/Homei.e. index.php
LyXWeb:donations.phpDonate?
LyXWeb:feedback.phpMailingLists?
LyXWeb:mailing.phpMailingLists?
LyXWeb:news.phpNews?
LyXWeb:site_map.php Needs to be created.

http://www.lyx.org/about (done)

Old pageNew pageComment
LyXWeb:about/About LyX?i.e. about/index.php
LyXWeb:about/credits.phpCredits? 
LyXWeb:about/blanket-permission.phpBlanketPermission? 
LyXWeb:about/features.phpFeatures? 
LyXWeb:about/i18n.phpI18n? 
LyXWeb:about/intro.phpWhatIsLyX? 
LyXWeb:about/klyx.php No equivalent; KLyX appears to be abandoned and not linked to.
LyXWeb:about/license.phpLicense 
LyXWeb:about/press.phpPressAboutLyX? 
LyXWeb:about/screenshots.phpVisualTour? 

http://www.lyx.org/announce Comment...

This directory stores announcement texts. Will not redirect it. Link to LyXWeb:announce?.

Perhaps add an index.php or something that lists the announcements? Or redirect to a page that lists them using a special directive?
Old pageNew pageComment
LyXWeb:announce/N/Ano announce/index.php
LyXWeb:announce/1_1_5fix1.txtN/A 
LyXWeb:announce/... 

http://www.lyx.org/LGT

Moved the .php-files to misc/LGT in case we need to look at them. Images have been moved to images/LGT. Now all redirected.

Old pageNew pageComment
LyXWeb:LGT/Walkthrough?LGT/index.php
LyXWeb:LGT/final.phpWalkthrough5? 
LyXWeb:LGT/math.phpWalkthrough4? 
LyXWeb:LGT/figure.phpWalkthrough3? 
LyXWeb:LGT/body.phpWalkthrough2? 

http://www.lyx.org/internet

Old pageNew pageComment
LyXWeb:internet/No equivalent; redirect to Homei.e. internet/index.php
LyXWeb:internet/mailing.phpMailingLists?

http://www.lyx.org/news

None of the LDN was ported to the new site. Either this should be done, or all pages in this section should probably redirect to News?. -Rex

Old pageNew pageComment
LyXWeb:news/ i.e. news/index.php
LyXWeb:news/all-tips.php
LyXWeb:news/archive.php
LyXWeb:news/<many>.php e.g. 20000217.php

http://www.lyx.org/download

Old pageNew pageComment
LyXWeb:download/Download?i.e. download/index.php
LyXWeb:download/contrib.phpAdditionalSoftware? 
LyXWeb:download/related.phpAdditionalSoftware? 
LyXWeb:download/versions.phpVersioningSystem? 

http://www.lyx.org/feedback

Note: these pages all appear to not exist or be abandoned. -Rex

I agree, and removed them from SVN. I consider them dealt with. /Christian
Old pageNew pageComment
LyXWeb:feedback ? index.php ?
LyXWeb:feedback/phpMai.php
LyXWeb:feedback/phpEasyMail.php
LyXWeb:feedback/phpMailStats.php

http://www.lyx.org/devel (devel/changetracking.php incomplete)

Old pageNew pageComment
LyXWeb:devel/Development?i.e. index.php
LyXWeb:devel/changetracking.phpNo equivalentI (Rex) don't know if this feature is still used or if this page is relevant; either this page should be ported or the link should redirect to Home
LyXWeb:devel/cvs.phpHowToUseSVN? 
LyXWeb:devel/guii.phpDevelopment?Obsolete
LyXWeb:devel/i18n.phpI18n? 
LyXWeb:devel/mirror.phpMirror?Port this page
LyXWeb:devel/references.phpDeveloperResources? 
LyXWeb:devel/roadmap.phpRoadMap? 
LyXWeb:devel/translation.phpTranslation? 
LyXWeb:devel/tasks.phpRoadMap?Obsolete, redirected to RoadMap?
LyXWeb:devel/translation_hints.phpTranslationHints?Port?

Setting up a mirror site

Information on how to set up a mirror site will be placed on the page mirror?.

This section should eventually contain instructions for setting up a mirror site of www.lyx.org (the web pages).

Upgrading the wiki engine

Sometimes a new release of the wiki engine (PmWiki) is released and we want to upgrade. Below is the recommended procedure. It's a bit unusual due to our farm setup and use of Subversion.

These instructions assume that you do the upgrade on aussie.

# Go to your working directory
cd www-user/
# Update it, just in case
svn update
# Check that you don't have outstanding commits
svn status
# Get IP address of 'pmwiki.org', e.g 74.200.73.46
# (This is because of some bug in aussie)
host pmwiki.org
# Set name of repository
repo=svn://74.200.73.46/pmwiki/tags/latest
# Export latest version of PmWiki from it's repository
# First the top level and then selected subdirectories
svn --non-recursive --force export $repo farm/pmwiki
d=docs        ; svn --force export $repo/$d farm/pmwiki/$d
d=scripts     ; svn --force export $repo/$d farm/pmwiki/$d
d=wikilib.d   ; svn --force export $repo/$d farm/pmwiki/$d
d=pub         ; svn --force export $repo/$d farm/$d
d=cookbook    ; svn --force export $repo/$d farm/$d
# Check what has been changed
svn status

Changed files in farm/pmwiki/wikilib.d:

  • Any files called 'Site*' should probably be added. These correspond to pages in the groups 'Site' and 'SiteAdmin'.
  • Any files called 'PmWiki.*' should have been ignored. They correspond to the PmWiki documentation and can be read online instead.
  • Any files called 'Main.*' can probably be ignored.
# Commit changes.
svn ci -m "Upgrading PmWiki engine."

Finally test that the web site still works.

Some test:

  • Go to Home
  • Login
    • Test that editing a page works
  • Logout
    • Test that it's not possible to edit a page

Page variables

Edit - History - Print - Recent Changes - Search
Page last modified on November 16, 2008, at 12:45 AM