Hello All,
My <Pre> tag is rendered normally in the mediawiki articles. resulting in
table tags being written a <table instead of <table. Making the articles
look funny.
Can you please help ?
Thank you for your time,
Waleed A. Meligy
--
Thank you for your time,
Waleed A. Meligy
Hello,
I want to create an external link from wiki to a html-page in a parallel directory. Is there any possibility to adress this page about a relative path (../directory/file.html) ?
The name of the computer or the IP-adress shouldn't appear in this link.
Thanks for help!
Hendrik
Hi Wikian!
I have been reading and reading about templates. I have figured out how
to create a simple template. Now I am attempting to create a more
advanced template. But I am not sure it can be done! I am trying to
create a Staff Directory by using the information off of the User:* pages.
I created a template (Template:DI) that all of my users must use to set
up their User:username page. Now I want to create another template that
will pull select pieces of information out of the User:username page and
display it on a Staff Directory page. Can I refer to data stored on a
page in a template on a total different template? I am confused just
asking the question.
Any advise would be welcomed!
Michael L. Bowden
mlbowden(a)comcast.net
> Gary wrote: ... Go to Special:Allmessages
> on your wiki ... a large (as in length and
> file size) page will display, showing every
> single piece of text in MediaWiki's interface,
> taken from MessagesXX.php in /languages,
> in the wiki's default language. The blocks
> of green show a non-default message is
> used - that is, it has been edited.
Peter Blaise responds: Thanks again, Gary, as Jan also pointed out this
resource.
In the HTML on-screen version of special:allmessages, that page has
links to each message shown in the list. When I sign in as "sysop"
equivalent, I can click any link and it will open a page showing the
contents of that variable for edit. I can change the contents of that
variable to my preference. Such as, in the special:allmessages screen,
if I click on the variable "yourpasswordagain" to see or change the
message users get of "Retype password" and make it say, "Ooops, please
try again!" or whatever.
And so on for 1,580 variables (MediaWiki v1.9.3) ... in alphabetical
order.
I just printed it to ~82 printed pages.
Fun reading.
Should I wait for the movie?
However, there are no explanations on what will happen when you change
anything. When a variable shows the word "discussion" (8 occurrences in
special:allmessages) or "search" (63 occurrences in
special:allmessages), there's no indication of where in the actual
MediaWiki screen those words will show up. So? So, change the ones you
find one at a time, checking the results in-between. Toggle back to
your MediaWiki page you're trying to effect, refresh the screen,
[Ctrl][F5] in Windows, and look for the changes you expect. If you find
that you didn't change the thing you thought you were changing, go back
to the variable control screen and unchange what you did. Then keep
searching the special:allmessages page for the next occurrence of the
thing you are trying to change, such as the next occurrence of
"discussion" or "search". Change the next variable and see what that
does. I use the browser page search function, [Ctrl][F] in Windows, to
find all occurrences of the word I'm trying to find and control.
Thanks - special:allmessages is truly a great resource. But, it's a bit
like handing someone a dictionary and saying, "Here, learn to speak the
language!" We also need encyclopedias and narratives and so on.
And, of course, in spite of special:allmessages 1,580 variables, it's
not all there is to controlling what's appearing on any MediaWiki
screen.
So much more to do!
Thanks for the help, folks.
-- Peter Blaise
------------------------------
> Dave wrote: Yep .. discussion is for the
> full page ..
Peter Blaise responds: Okay, that's one for the wish list, then.
I watch the end user as they move their mouse around the MediaWiki
screen trying to cause it to make sense to them. When they edit a
section, there's a [discussion] tab in view, so it makes sense to them
(and to me) that they can then click on [discussion] and discuss the
section they are editing. Nope! They get a discussion/talk page for
the entire article, not for the section they were just looking at!
In response to such surprises, I'm constantly reconfiguring my MediaWiki
to not get people caught in such traps, where the programmer's logic
conflicts with the intuitive, presumptive logic of a new user.
So, I'll break up our original documents into a series of sectionless
sub-documents, then build a table of contents to introduce each group of
pages that result, and then put a [previous][next] set of links across
the bottom (and top?) of each of the many pages that makes up the total
original document. An additional challenge is what to call all the
smaller pieces of the original full-size single document so the user can
find them and go to them using the
search
[__________]
[Go][Search]
area directly (whatever that's called!).
You know the next logical question: "Does anyone have a lead on tools
that assist in automating this?" I've found that Word2wiki
http://www.mediawiki.org/wiki/Extension:Word2MediaWikiPlus
is a useful tool to manually convert and upload one document at a time
once that document has been cleaned up and prepared. That was fine when
I uploaded 17 chapters as 17 documents = 17 tasks. Now, I find that the
MediaWiki on-screen presentation of such legacy documents demands that I
break up the original documents into many separate pieces, instead.
Suddenly I've got to re-cut-and-paste 4,500 sections from those 17
chapters, and then upload those 4,500 sections one at a time. That's
9,000 tasks steps (at least), not 17! It also requires much new data
entry to create and manage 4,500 new sub-documents, name them, keep
track of them, and build links across them so a visitor can read them
all in order. The metrics here are orders of magnitude more complex and
time consuming, hence my search for automation tools. No one has done
this before?
This is what we need a big budget for, in order to actually implement a
MediaWiki using legacy documents - *usable* document conversion and
import is arduous.
Any leads on how to print any group of MediaWiki pages as a book, or
print the whole MediaWiki namespace as a book, or convert and whole or
selected pieces as PDF on demand?
Thanks!
-- Peter Blaise
PS - One reason I'm happy to chat here is to allow others, especially
newbies, to see what I'm going through. If it helps them accurately
anticipate their challenge, fine. Everyone says building a wiki is easy
- and it is, I have found(!). But the challenge for me lies in building
a working, reliable, maintainable wiki, importing legacy document
contents, and empowering the end user to get the same benefits they had
before considering search and replace, print sections or whole, and so
on.
> Dave wrote: [change the logo] ... Try the
> FAQs
http://www.mediawiki.org/wiki/Manual:FAQ#How_do_I_customize_the_logo_in_
the_top_left_corner.3F_Can_I.3F
Peter Blaise responds: Actually, that was just one example. The total
question was "how do I know where to find the name of the part, then
control anything on a MediaWiki screen?" We just lucked out that what I
called a log was also called a logo by the MediaWiki community. What
are the names of the other on-screen parts. Especially the one that have
on-screen names but I've found are not actually called that (like
discussion = talk)?
A search at MediaWiki.org for [change the logo] actually brings up a
more precise response form none other than our own esteemed Rob Church:
http://www.mediawiki.org/wiki/User:Robchurch/FAQ_redesign/Change_the_log
o
What did I do? I simply browsed my \mediawiki\ directory looking for
pictures, found one that looked the same, right-clicked it and asked for
properties, then copied my own image to the same dimensions over the
same file name. Plan B. For MediaWiki v1.10, it's in
\mediawiki\skins\common\images\ and the two file I copied over are
"wiki.png" 135 x 135 pixels and "poweredby_mediawiki_88x31.png" which
is, of course, 88 x 31 pixels. Larger images work, also. Try them and
adjust to taste. By the way, I replaced "Powered by MediaWiki" with
"Powered by Win/Apache/MySQL/PHP/MediaWiki/USTrademarks" (because I'm
inside the US Trademark office). Anyway ...
The fact that your link brings more than 400 additional words to expand
the [change the logo] subject, and hardly duplicates much from Rob's 94
words on the subject is a clue, a reminder of the old adage:
The simpler the question, the more complex the answer; the more complex
the question, the simpler the answer!
Nevertheless, thanks for the link. It also reminds me that building a
MediaWiki gazetteer and unambiguously structured encyclopedia is not
easy. Simple? Yes. Easy? No.
Now, aside form my Plan B above, how would we find on MediaWiki.Org how
to change the "powered by..." image and link, and what does anyone call
it?
And so on for every piece and part in view on any MediaWiki screen!
-- Peter Blaise
Has anyone ever considered integrating mediawiki with svn
(subversion) so that editors could use svn to check out, edit, and
commit pages?
I maintain a number of small mediawiki sites for business use. I want
to use my favorite editor (emacs) to edit pages. But I don't want
just one-page-at-a-time editing. I want to work with a number of
pages concurrently, possibly editing them over hours or days, and
write them back to the wiki only when they are ready. In other words,
to work with pages just like I work with code.
I can do some of this with third-party tools like Perl's
CMS::Mediawiki or with WikipediaFS. But even then I have no easy way
to merge the latest changes from the wiki with my files, or to see
what changes I've made, or to see version history, etc. In other
words, I want all the features of a real version control client like
svn.
Imagine:
% cd /path/to/my/wiki
# Download all new pages and changes from the wiki
# Obviously not something you could do with wikipedia.com :) -
but great for small-to-medium wikis
% svn update
# See what pages I've modified
% svn status
# Compare my modifications to the server's versions
% svn diff
# Add a few new pages
% svn add System_functions.wk User_API.wk
# Commit all my changes
% svn commit
So. My crazy idea is to modify mediawiki (or write a mediawiki
plugin) to keep a svn repository in sync with mediawiki's own page
version database.
Here's a rough outline of how this might work.
In the mediawiki code:
* When a new wiki is created, create an empty svn repository in a
configurable directory. The repository could be configured to use a
single flat directory (for small wikis), or an alphabetical
hierarchical directory A/, B/, C/ (for larger wikis). Each wiki page
will be represented by a file named like "The_page_title.wk".
* Whenever a new page is created via the web site, "svn add" a
new .wk file in the repository.
* Whenever a new version of an existing page is saved via the
website, also modify the file in the server's svn repository and "svn
commit" it.
And in an svn commit hook:
* Whenever a new page is added, issue a web request (or a command-
line php script) to create it in mediawiki's database too.
* Whenever a change is committed, issue a web request (or a command-
line php script) to make that change in mediawiki's database too.
Same with delete, rename, etc. Whatever happens to the mediawiki
database needs to happen to svn, and vica versa.
Caveats: I don't have an in-depth knowledge of the mediawiki php code
so I don't know how centralized functions are, e.g. if there a single
place in the code where pages get added, saved, and deleted. And I
might be vastly underestimating how easy it is to keep these two
datastores in sync.
Feedback, pointers, references to similar work, or gentle
explanations of why I'm insane are greatly appreciated.
Thanks for reading this far :),
Jon
I'm trying to import about 200+ images into my wiki. When I run the
command:
php5 importImages.php ~/afcgoc.org/html/conference/2007/Photos/bak JPG
The files are not loaded and I get:
Warning: Invalid argument supplied for foreach() in
/home/u7/theadmin/afcgoc.org/html/w/maintenance/importImages.php on line 47
Any ideas why/what to do?
Hi all,
For months i'm trying to catalog all my city , that it's not big. To
catalog the city (Companys, public places, Houses to sell and rent) i'm
using mediawiki that in my opinion is the best in my case. Looking
extensions that could help me in my task i didn't find nothing specific
for this. My idea will be have an easy way to add information in a
window with pre-definied fields. This could be something like what
www.wikicompany.org did. Example:
http://wikicompany.org/wiki/Special:WCPublish
And when saved could appear in a Map, to add the map script i think
could be used www.openlayers.org that can use sources of maps from
google, nasa, microsoft, yahoo and..
seeing Semantic mediawiki i think this could be great to have some
categorization when filter results to appear in Map. I think could have
advanced filter mechanism.
Example: if I select House to sell and select 2 bedrooms, i'll see all
houses to sell with 2 bedrooms. If i select Company, select kind:
Supermarket and city: New york, i'll see all supermarkets located in new
york. But if i let city field blank, i'll see all supermarket that exist
on database.
I don't know develop, but if someone would like to help me with this.
I'll be helpful. Really would like this.