File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ def create(
5656                    globalID = f"{ self .id }  ,
5757                    label = self .name ,
5858                    version = self .version ,
59+                     requiredExtensions = self .requiredExtensions ,
60+                     requiredPackages = self .requiredPackages ,
5961                    description = self .description ,
6062                    baseURL = f"https://raw.githubusercontent.com/" 
6163                    f"{ self .repo_org }  
@@ -75,4 +77,4 @@ def create(
7577            skip_slot_suffix_for_main = creation_config .skip_slot_suffix_for_main ,
7678        )
7779        # Create the page package in the working directory 
78-         wtsite .create_page_package (config = config )
80+         wtsite .create_page_package (WtSite . CreatePagePackageParam ( config = config ) )
Original file line number Diff line number Diff line change @@ -223,6 +223,15 @@ class PagePackageMetaData(BaseModel):
223223    """List of the page titles (full page titles with namespace, e.g. 'Category:Entity') 
224224     to be packaged.""" 
225225
226+     requiredExtensions : Optional [List [str ]]
227+     """The default value for PagePackage.requiredExtensions. 
228+     An array of the names of any extensions required for this package to work. (In 
229+     the future, this parameter may also allow defining specific versions that are 
230+     required for specific extensions, but this is not currently possible.)""" 
231+     requiredPackages : Optional [List [str ]]
232+     """The default value for PagePackage.requiredPackages. 
233+     An array of the names of any additional packages required by this package.""" 
234+ 
226235
227236# Special namespace mappings (default is namespace_const = "NS_" + namespace.upper()) 
228237NAMESPACE_CONST_TO_NAMESPACE_MAPPING  =  {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments