Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 760 Bytes

changeIndexNodeTitle.md

File metadata and controls

18 lines (13 loc) · 760 Bytes

Change title of index node

Changing Standard Titles

A convenience function exists. The function change_node_title can be found at
Sefaria-Project/sefaria/helper/schema.py
change_node_title accepts four arguments:

  • snode: The node that is recieving a title change
  • old_title: The title being replaced
  • lang: Language. Must be either 'en' of 'he'
  • new_title: Replacement title

Note on changing English Primary Titles
Changing an English primary title requires a cascade operation to be performed on the database. This is an expensive and possibly long running operation and should be made with caution. It is recommended not to change primary English titles during peak traffic.

Changing Shared Titles

TODO