Thank you
________________________________
From: Amir E. Aharoni <amir.aharoni(a)mail.huji.ac.il>
To: Al Johnson <alj62888(a)yahoo.com>om>; MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Sent: Monday, December 10, 2012 12:42 AM
Subject: Re: [MediaWiki-l] Can I change the page title?
Internally, a redirect with a short title may do the work. You can
choose any string.
If the sentence is too long for a title, DISPLAYTITLE will probably help.
For the actual creation of the redirect you should probably create a
gadget or an extension. You can find instructions for that at
Thanks Amir. Allow me to back-up. My page titles may
have very long strings of text, such as a sentence; I know that sounds strange. But,
testing I see that there is a limit to how long a title can be. So, I would like to
override that somehow and use urls for all pages using a page ID instead of the page
title. And, obviously, allow the page title be set in the freetext area of the page by an
editor so there is no restriction on the page title length. I hope I described that ok.
Al
________________________________
From: Amir E. Aharoni <amir.aharoni(a)mail.huji.ac.il>
To: Al Johnson <alj62888(a)yahoo.com>om>; MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Sent: Monday, December 10, 2012 12:12 AM
Subject: Re: [MediaWiki-l] Can I change the page title?
The MediaWiki API can handle MediaWiki redirects, so it should work.
2012/12/10 Al Johnson <alj62888(a)yahoo.com>om>:
It is for general synchronization purposes with
an application that will need to make changes to a page based on the page ID. The app
will use the api to create/edit pages and store it's page id in another DB. The app
needs to be able to fetch the page and edit, etc, and needs an unchanging unique id to do
this. It's got to handle when someone changes the page title which is also a
requirement.
Al
________________________________
From: Amir E. Aharoni <amir.aharoni(a)mail.huji.ac.il>
To: Al Johnson <alj62888(a)yahoo.com>om>; MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Sent: Sunday, December 9, 2012 11:42 PM
Subject: Re: [MediaWiki-l] Can I change the page title?
It's hard to tell without knowing the nature of the back-end
application, but redirects should be robust enough. If they aren't,
then DISPLAYTITLE is probably OK, but I can't think of a reason for
redirects not to work.
2012/12/10 Al Johnson <alj62888(a)yahoo.com>om>:
I need the pages to be addressable by a unique id
that does not change for back-end applications reasons. Are redirects my only option?
________________________________
From: Amir E. Aharoni <amir.aharoni(a)mail.huji.ac.il>
To: Al Johnson <alj62888(a)yahoo.com>om>; MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Sent: Sunday, December 9, 2012 11:19 PM
Subject: Re: [MediaWiki-l] Can I change the page title?
Moving a page creates a redirect from the old name by default, so the
old URL still works.
You can also use the DISPLAYTITLE magic word, but it's less robust and
should only be used in special cases. See
https://www.mediawiki.org/wiki/Help:Magic_words .
--
Amir
2012/12/10 Al Johnson <alj62888(a)yahoo.com>om>:
Is there a way to change the page title to
something other than the default WITHOUT changing the URL to the page?
IOW, I want to make the page title editable and the link to the page before the edit to
still work. Possible?
Thanks,
Al
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l