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@mail.huji.ac.il To: Al Johnson alj62888@yahoo.com; MediaWiki announcements and site admin list mediawiki-l@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@yahoo.com:
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@mail.huji.ac.il To: Al Johnson alj62888@yahoo.com; MediaWiki announcements and site admin list mediawiki-l@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@yahoo.com:
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@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