Page MenuHomePhabricator

Create and implement naming convention for API and Special pages
Closed, ResolvedPublic

Description

When reaching Phase κ, we should have a good idea about our terminology. We should settle on a naming and prefixing convention, if any, for API modules and Special pages and revisit the current names and see if they need an update.

Event Timeline

This is the list of Special pages: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiLambda/+/refs/heads/master/includes/Special/

I suggest to do the following renames:

  • CreateZObject -> CreateObject or NewObject
  • EvaluteFunctionCall -> RunFunction
  • ListDuplicateZObjectLabels -> ListDuplicateObjectNames
  • ListZObjectsByType -> ListObjectsByType

This is the list of APIs: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/WikiLambda/+/refs/heads/master/includes/API/

I look through the APIs and noticed a few superfluous Zs, but in the end, nothing that I thought would be really necessary to rename. I would just leave the APIs as is.

Change 940419 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Rename Special pages ahead of launch

https://gerrit.wikimedia.org/r/940419

Change 940419 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Rename Special pages ahead of launch

https://gerrit.wikimedia.org/r/940419

Change 940943 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Follow-up 9e6d122b6: Fix display name of Special:ListObjectsByType

https://gerrit.wikimedia.org/r/940943

Change 940943 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Follow-up 9e6d122b6: Fix display name of Special:ListObjectsByType

https://gerrit.wikimedia.org/r/940943